/* =============== GOOGLE FONTS ======================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&family=Poppins:wght@400;500&display=swap');

/* =============== VARIABLES CSS ======================== */
:root{
--header-height: 3.5rem;

/* ============ colors ================= */
/* color mode HSL (hue, saturation, lightness) */
--title-color: hsl(0, 0% , 95%);
--text-color: hsl(0, 0% , 70%);
--text-color-light: hsl(0, 0% , 60%);
--body-color: hsl(0, 0% , 0%);
--container-color: hsl(0, 0% , 8%);
--accent-color: hsl(42, 100%, 50%);

/* =============== Font and Typography ======================== */
/* .5rem = 8px | 1rem = 16px */
--body-font: "Poppins", sans-serif;
--second-font: "Montserrat", sans-serif;
--biggest-font-size: 2.75rem;
--h1-font-size: 1.5rem;
--h2-font-size: 1.25rem;
--h3-font-size: 1rem;
--normal-font-size: .938rem;
--small-font-size: .813rem;
--smaller-font-size: .75rem;

/* ============ Font weight ================= */
--font-regular: 400;
--font-medium: 500;
--font-semi-bold: 600;

/* ============ z index ================= */
--z-tooltip: 10;
--z-fixed: 100;
}

/* =============== Responsive typography ======================== */
@media screen and (min-width: 1152px) {
    :root{
        --biggest-font-size: 5.5rem;
        --h1-font-size: 2.5rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem;
    }
}

/* =============== BASE ======================== */
*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html{
    scroll-behavior: smooth;
}

body,button,input{
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    color: var(--text-color);
}

body{
    background-color: var(--body-color);
}

button,input{
    outline: none;
    border: none;
}

h1,h2,h3,h4{
    color: var(--title-color);
    font-family: var(--second-font);
    font-weight: var(--font-semi-bold);
}

ul{
    list-style: none;
}

a{
    text-decoration: none;
}

img{
    display: block;
    max-width: 100%;
    height: auto;
}

/* =============== REUSEABLE CSS CLASSES ======================== */
.container{
    max-width: 1120px;
    margin-inline: 1.5rem;
}

.grid{
    display: grid;
    gap: 1.5rem;
}

.section{
    padding-block: 5rem 1rem;
}

.section__title{
    text-align: center;
    font-size: var(--h1-font-size);
    margin-bottom: 1.5rem;
}

.main{
    overflow: hidden;      /* For animation ScrollReveal */
}

/* =============== HEADER & NAV ======================== */
.header{
    position:fixed;
    width: 100%;
    background-color: transparent;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 0.75;
    z-index: -50;
  }

  video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
  }

.nav{
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo{
    color: var(--title-color);
    font-family: var(--second-font);
    font-weight: var(--font-semi-bold);
    display: flex;
    flex-direction: row;
    row-gap: 2.5rem;
}

.nav__toggle,.nav__close{
    display: flex;
    font-size: 1.25rem;
    color: var(--title-color);
    color: pointer;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1023px) {
    .nav__menu{
        position: fixed;
        top: -100%;
        left: 0;
        background-color: hsla(0, 0%, 0%, .3);
        width: 100%;
        padding-block: 4rem;
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);  /* safari */
        transition: top .4s;
    }
}

.nav__list{
    text-align: center;
    display: flex;
    flex-direction: column;
    row-gap: 2.5rem;
}

.logo{
    position: absolute;
    display: flex;
}

.logo img{
    position: absolute;
    top: -40px;
}

.logo-text{
    position: relative;
    left: 75px;
    top: -10px;
}

.nav__link{
    position: relative;
    color: var(--title-color);
    font-family: var(--second-font);
    font-weight: var(--font-medium);
}

.nav__link::after{
    content: '';
    width: 0%;
    height: 2px;
    background-color: var(--accent-color);
    position: absolute;
    left: 0;
    bottom: -.5rem;
    transition: width .3s;
}

.nav__link:hover::after{
    width: 70%;
}

.nav__close{
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

/* Show Menu */
.show-menu{
    top: 0;
}

/* Add blur to header*/
.blur-header::after{
    content: '';
    position: absolute;
    width: 1000%;
    height: 100%;
    background-color:  hsla(0, 0%, 0%, .3);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    top: 0;
    left: 0;
    z-index: -1;
}

/* Active link*/
.active-link::after{
    width: 70%;
}

/* =============== HOME ======================== */
.home{
    position: relative;
}

.home__bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 750px;
    object-fit: cover;
    object-position: center;
}

.home__shadow{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1500px;
    background: linear-gradient(180deg, hsla(0 , 0%, 0%, 0) 58%, hsl(0, 0%, 0%) 78%);
}


.home__container{
    position: relative;
    padding-top: 3rem;
    row-gap: 3rem;
}

.home__data{
    text-align: center;
}

.home__subtitle{
    font-size: var(--h3-font-size);
    margin-bottom: .5rem;
}

.home__title{
    font-size: var(--biggest-font-size);
    margin-bottom: 1rem;
}

.accent{
    color: var(--accent-color);
}

.home__description{
    margin-bottom: 2rem;
    color: var(--title-color);
}

.home__description__accent{
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.home__cards{
    grid-template-columns: 240px;
    justify-content: center;
}


.home__card{
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.home__card-img{
    transition: transform .4s;
}

.img-fluid{
    width: 100%;
    height: 195px;
}

.home__card-shadow{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(180deg,hsla(0, 0%, 0%, 0)50% , hsl(0, 0%, 0%)125%);
}

.home__card-title{
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    font-size: var(--h3-font-size);
    z-index: 1;
}

.hover-1-content{
    position: absolute;
    bottom: 0;
    z-index: 99;
    transition: all 0.4s;
}

.hover-2-content{
    position: absolute;
    width: 100%;
    bottom: 0;
    z-index: 99;
    transition: all 0.4s;
}

.home__card:hover .hover-2-content {
    bottom: 2rem;
  }

.home__card:hover .hover-1-content {
    bottom: 2rem;
  }

  .caption{
    position: relative;
    left: 1.5rem;
  }

.caption {
    transform: translateY(0.5rem);
    transition: all 0.4s;
    opacity: 0;
    color: var(--accent-color);
  }
  
  .home__card:hover .caption {
    opacity: 1;
    transform: none;
  }



.home__card:hover .home__card-img{
    transform: scale(1.2);
}

/* =============== BUTTON ======================== */

.button{
    background-color: hsla(0 , 0%, 100%, .2);
    padding: 1.25rem 1.5rem;
    color: var(--accent-color);
    display: inline-flex;
    align-items: center;
    column-gap: .5rem;
    font-family: var(--second-font);
    font-weight: var(--font-semi-bold);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px); /* safari*/
}

.button i{
    font-size: 1.25rem;
    transition: transform .4s;
    font-weight: initial;
}

.button:hover i{
    transform: translateX(.25rem)
}


/* =============== ABOUT ======================== */
.about__container{
    row-gap: 3rem;
}

.about{
    background-color: var(--body-color);
}

.about__data{
    text-align: center;
}

.about__description{
    margin-bottom: 2rem;
}

.about__image{
    position: relative;
    justify-self: center;
    overflow: hidden;
}

.about__img{
    width: 300px;
    transition: transform .4s;
    border-radius: 10px;
}

.about__shadow{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,hsla(0, 0%, 0%, 0)50%, hsl(0, 0%, 0%,)125%);
}

.about__image:hover .about__img{
    transform: scale(1.2);
}

.pad{
    margin-top: 50px;
}

.counter-wrapper{
    display: flex;
    text-align: center;
    align-content: center;
    justify-content: center;
    gap: 0.7rem;
}

/* =============== Popular ======================== */
.popular__container{
    padding-top: 1.5rem;
    grid-template-columns: 240px;
    justify-content: center;
    row-gap: 2.5rem;
}


.popular__image{
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
    border-radius: 10px;
}

.img-fluid-2{
    width: 100%;
    height: 230px;
}

.popular__img{
    transition: transform .4s;
}

.popular__shadow{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, hsla(0, 0%, 0%, 0)50% , hsl(0, 0%, 0%) 125%);
}

.popular__title{
    font-size: var(--h3-font-size);
    margin-bottom: .5rem;
}

.populare__location{
    display: inline-flex;
    align-items: center;
    column-gap: .25rem;
    font-size: var(--small-font-size);
    font-family: var(--second-font);
    font-weight: 500;
}

.populare__location i{
    font-size: 1rem;
}

.popular__image:hover .popular__img{
    transform: scale(1.2);
}

.project-btn{
    display: flex;
    justify-content: center;
    margin-top: 75px;
}

/* =============== Explore ======================== */
.explore{
    position: relative;
}

.explore__image{
    position: absolute;
    overflow: hidden;
}

.explore__img{
    width: 100%;
    height: 333px;
    object-fit: cover;
    object-position: center;
}

.explore__shadow{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, hsl(0,0%,0%)5%, hsla(0,0%,0%,0)40%,hsla(0,0%,0%,0)60%,hsl(0,0%,0%)92% );
}

.explore__content{
    position: relative;
    padding-top: 16rem;
    text-align: center;
    row-gap: 2.5rem;
}

.explore__user{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    column-gap: .5rem;
}

.explore__prefil{
    width: 30px;
    border-radius: 50%;
}

.explore__name{
    font-size: var(--small-font-size);
    color: var(--title-color);
}

/* =============== Join ======================== */
.join__container{
    row-gap: 3rem;
    padding-bottom: 2.5rem;
}

.join__data{
    text-align: center;
}

.join__description{
    margin-bottom: 2rem;
}

.join__form{
    display: grid;
    row-gap: 1rem;
}

.join__input{
    padding: 1.25rem 1rem;
    background-color: var(--container-color);
}

.join__button{
    cursor: pointer;
}

.join__image{
    position: relative;
    justify-self: center;
    overflow: hidden;
    border-radius: 10px;
}

.join__img{
    width: 300px;
    transition: transform .4s;
}

.join__shadow{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, hsla(0,0%,0%,0)50%,hsl(0,0%,0%,125%));
}


.join__image:hover .join__img{
    transform: scale(1.2);
}


/* =============== About Page ======================== */

.care__container{
    padding-top: 2rem;
    row-gap: 2rem;
}

.care__img{
    width: 270px;
    filter: drop-shadow(--shadow-img);
    justify-self: center;
    z-index: 1;
    border-radius: 10px;
}

.care__list{
    display: grid;
    row-gap: 1rem;
    z-index: 1;
}

.care__item{
    display: flex;
    column-gap: .5rem;
    align-items: flex-start;
}

.care__item i{
    font-size: 1.5rem;
    color: var(--first-color);
}

.sponsor__container{
    grid-template-columns: repeat(auto-fit , minmax(110px, 1fr));
    row-gap: 5rem;
    justify-items: center;
    align-items: center;
}


/* =============== FOOTER ======================== */
.footer{
    padding-block: 2.5rem;
    background-color: var(--container-color);
}

.footer__content{
    row-gap: 3.5rem;
    justify-content: center;
}

.footer__logo{
    display: inline-block;
    color: var(--title-color);
    font-size: var(--h2-font-size);
    font-family: var(--second-font);
    font-weight: var(--font-semi-bold);
    margin-bottom: 1rem;
}

.footer__data{
    grid-template-columns: repeat(2, max-content);
    gap: 2.5rem 3.5rem;
}

.footer__title{
    font-size: var(--h3-font-size);
    margin-bottom: 1rem;
}

.footer__links{
    display: grid;
    row-gap: .75rem;
}

.footer__link{
    color: var(--text-color);
    transition: color .4s;
}

.footer__link:hover{
    color: var(--title-color);
}

.footer__group,.footer__social{
    display: flex;
}

.footer__group{
    margin-top: 5rem;
    flex-direction: column;
    align-items: center;
    row-gap: 2rem;
}

.footer__social{
    column-gap: 1.5rem;
}

.footer__social-link{
    color: var(--text-color);
    font-size: 1.25rem;
    transition: color .4s, transform .4s;
}

.footer__social-link:hover{
    color: var(--title-color);
    transform: translateY(-.25rem);
}

.footer__copy{
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
    text-align: center;
}

/* =============== SCROLL BAR ======================== */
::-webkit-scrollbar{
    width: .6rem;
    border-radius: .5rem;
    background-color: hsl(0, 0%, 10%);
}

::-webkit-scrollbar-thumb{
    border-radius: .5rem;
    background-color: hsl(0, 0%, 20%);
}

::-webkit-scrollbar-thumb:hover{
    background-color: hsl(0, 0%, 30%);
}

/* =============== SCROLL UP ======================== */
.scrollup{
    position: fixed;
    right: 1rem;
    bottom: -50%;
    background-color: hsla(0 , 0%, 100%, .1);
    padding: 6px;
    display: inline-flex;
    color: var(--title-color);
    font-size: 1.25rem;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: var(--z-tooltip);
    transition: bottom .4s , transform .4s;
}

.scrollup:hover{
    transform: translateY(-.25rem);
}

/* Show scroll up */
.show-scroll{
    bottom: 3rem;
}

/* =============== BREAKPOINT ======================== */
/* For small devices */
@media screen and (max-width: 340px) {
    .container{
        margin-inline: 1rem;
    }

    .footer__data{
        grid-template-columns: max-content;
    }
}

/* For medium devices */
@media screen and (min-width: 576px) {
    .home__container, .about__container , .explore__content, .join__container{
        grid-template-columns: 380px;
        justify-content: center;
    }

    .care__container{
        grid-template-columns: 400px;
        justify-content: center;
    }
    
    .footer__data{
        grid-template-columns: repeat(3 , max-content);
    }
}

@media screen and (min-width: 768px) {
    .home__cards{
        grid-template-columns: repeat(2 , 240px);
    }
    
    .about__container, .join__container{
        grid-template-columns: repeat(2, 350px);
        align-items: center;
    }

    .about__data,.about__data .section__title,.join__data,.join__data .section__title{
        text-align: initial;
    }

    .popular__container{
        grid-template-columns: repeat(2, 240px);
    }

    .explore__img{
        width: 100vw;
    }

    .join__image{
        order: -1;
    }

    .footer__content{
        grid-template-columns: repeat(2, max-content);
        justify-content: space-between;
    }

    .footer__group{
        flex-direction: row;
        justify-content: space-between;
    }

    .footer__copy{
        order: -1;
    }
}

/* For large devices */
@media screen and (min-width:1023px) {
    .nav__close,.nav__toggle{
        display: none;
    }

    .nav__list{
        flex-direction: row;
        column-gap: 4rem;
    }

    .popular__container{
        grid-template-columns: repeat(3, 240px);
    }

    .footer__data{
        grid-template-columns: repeat(4, max-content);
        column-gap: 4.5rem;
    }
}

/* Media query Small tweaks START*/
@media (min-width: 320px) and (max-width: 1151px)
{
    .mod-ser{
        width: 100%;
        top: -18%;
    }
    .mod{
        width: 100%;
        top: -55%;
    }
    
    .mod-pro{
        width: 100%;
        top: -100%;
    }

    .mod-car{
        width: 100%;
        top: -700px;
        z-index: -1;
    }

    .mod-con{
        width: 100%;
        top: -700px;
        z-index: -1;
    }

    .abo-us{
        width: 100%;
        top: -50%;
    }

}

.icon-size{
    font-size: 30px;
}


@media (min-width:768px) and (max-width: 1151px)
{
    .added{
        height: 195px;
    }
}


@media (min-width:1440px) and (max-width: 3000px)
{
    .mod{
        width: 100%;
        top: -20%;
    }
}

@media (max-width: 767px)
{
    .explore__image{
        width: 100vw;
    }

}

@media (min-width: 1023px) 
{
    .fluid-added{
        height: 230px;
       
        }
}


/* Media query Small tweaks  STOP*/



@media screen and (min-width: 1152px) {
    .container{
        margin-inline: auto;
    }

    .section{
        padding-block: 7rem 2rem;
    }

    .nav{
        height: calc(var(--header-height) + 1.5rem);
    }
    
    .blur-header::after{
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
    }

    .home__container{
        grid-template-columns: initial;
        justify-content: initial;
        row-gap: 4rem;
        padding-top: 6.5rem;
    }

    .home__shadow{
        height: 980px;
        top: -200px;
    }

    .mod{
        height: 1380px;
    }

    .home__data{
        text-align: initial;
        width: 480px;
    }

    .home__subtitle{
        font-size: var(--h2-font-size)
    }

    .home__description{
        margin-bottom: 2.5rem;
    }

    .home__cards{
        grid-template-columns: repeat(4, 260px);
    }

    .home__card-title{
        left: 1.5rem;
        bottom: 1.5rem;
    }

    .button{
        column-gap: 1.5rem;
    }

    .about__container{
        grid-template-columns: 400px 460px;
        column-gap: 8.5rem;
        padding-block: 1rem;
    }

    .about__description{
     margin-bottom: 3rem;
    }

    .about__img{
        width: 460px;
    }

    .care__container{
        grid-template-columns: 480px 385px;
        align-items: center;
        column-gap: 8rem;
        padding-top: 3rem;
    }

    .care__img{
        width: 480px;
    }

    .care__list{
        row-gap: 1.5rem;
    }

    .popular__container{
        grid-template-columns: repeat(3, 300px);
        column-gap: 3rem;
        padding-top: 4rem;
    }

    .popular__title{
        font-size: var(--h2-font-size);
    }

    .populare__location{
        font-size: var(--normal-font-size);
    }

    .explore__img{
        height: 600px;
    }

    .explore__content{
        padding-top: 28rem;
        grid-template-columns: 670px 1fr;
    }

    .explore__data,.explore__data .section__title{
        text-align: initial;
    }

    .explore__user{
        justify-content: flex-end;
        align-self: flex-end;
        margin-bottom: 1.25rem;
    }

    .join__container{
        grid-template-columns: 460px 340px;
        column-gap: 8.5rem;
        padding-block: 1rem 5rem;
    }

    .join__img{
        width: 460px;
    }

    .join__description{
        margin-bottom: 3rem;
    }

    .footer{
        padding-block: 5rem 3rem;
    }

    .footer__title{
      margin-bottom: 1.5rem;  
    }

    .footer__group{
        margin-top: 7rem;
    }

    .footer__social{
        column-gap: 2rem;
    }

    .footer__social-link{
        font-size: 1.5rem;
    }

    .scrollup{
        right: 3rem;
    }
}

@media screen and (min-width: 2864px) {
    .mod{
        height: 1580px;
    }
}
/* counter  */
.counter{
    font-size: var(--h1-font-size);
    color: var(--title-color);
    font-family: var(--second-font);
    font-weight: var(--font-semi-bold);
}

/* carousel */
.card__container {
    padding-block: 5rem;
  }
  
  .card__image {
    position: relative;
    background-color: var(--first-color-light);
    padding-top: 1.5rem;
    margin-bottom: -.75rem;
  }
  
  
  .card__img {
    width: 300px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
    border-radius: 10px;
  }
  
  .card__shadow {
    width: 200px;
    height: 200px;
    background-color: var(--first-color-alt);
    border-radius: 50%;
    position: absolute;
    top: 3.75rem;
    left: 0;
    right: 0;
    margin-inline: auto;
    filter: blur(45px);
  }
  
  
  /* Swiper class */
  .swiper-button-prev:after,
  .swiper-button-next:after {
    content: "";
  }
  
  .swiper-button-prev,
  .swiper-button-next {
    width: initial;
    height: initial;
    font-size: 3rem;
    color: var(--second-color);
    display: none;
  }
  
  .swiper-button-prev {
    left: 0;
  }
  
  .swiper-button-next {
    right: 0;
  }
  
  .swiper-pagination-bullet {
    background-color: hsl(0, 0%, 100%);
    opacity: 1;
  }
  
  .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
  }

  /* Affiliates */
  .content{
    margin-top: 30px;
  }

  .content_bt{
    margin-bottom: 50px;
  }
  
  /*=============== BREAKPOINTS ===============*/
  /* For small devices */
  @media screen and (max-width: 320px) {
    .card__data {
      padding: 1rem;
    }
  }
  
  /* For medium devices */
  @media screen and (min-width: 768px) {
    .card__content {
      margin-inline: 3rem;
    }
  
    .swiper-button-next,
    .swiper-button-prev {
      display: block;
    }
  }
  
  /* For large devices */
  @media screen and (min-width: 1120px) {
    .card__container {
      max-width: 1120px;
    }
  
    .swiper-button-prev {
      left: -1rem;
    }
    .swiper-button-next {
      right: -1rem;
    }
  }

/*=============== PROJECTS PAGE ===============*/
.container_pro {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    padding: 20px;
}

.height{
    min-height: 40vh;
}

.flex{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.tag_icon{
    height: 35px;
    width: 35px;
}

.fix{
    padding-left: 15px;
}

.tag_icon_1{
    height: 55px;
    width: 55px;
}

.fix_1{
    display: flex;
    align-items: center;
    flex: 1;
    flex-wrap: wrap;
}


.box {
    padding: 20px;
    /* border: 1px solid var(--accent-color); */
    background-color: var(--body-color);
    z-index: 1;
    border-radius: 10px;
}

/* Responsive adjustments */
@media (min-width: 320px) {
    .container_pro {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 600px) {
    .container_pro {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 900px) {
    .container_pro {
        grid-template-columns: 1fr 1fr;
    }

    .height{
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* Responsive Indentation adjustments */
@media (min-width: 900px){
   .center{
    grid-template-columns: 1fr;
    width: 100%;
    align-items: center;
    justify-content: center;
    }
}

@media (min-width: 768px){
    .center{
        grid-template-columns: 1fr;
        width: 100%;
    }
}

.above{
    z-index: 1;
}

/*=============== CONTACT PAGE ===============*/
.contact_body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    position: relative;
    padding: 20px; 
}

.contact h2{
     font-size: 40px;
     color: #ededed;
     text-align: center;
     margin-bottom: 10px;
}

.contact form{
    width: 600px;
    text-align: center;
}

form .input-box{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.input-box .input-field {
    width: 48.5%;
}

.field .item {
    width: 100%;
    padding: 18px;
    background: transparent;
    border: 1px solid var(--accent-color);
    outline: none;
    border-radius: 10px;
    font-size: 16px;
    color: #ededed;
    margin: 12px 0;
}

.field.error .item{
    border-color: #d93025;
}

.field .item::placeholder{
    color: rgba(255, 255, 255, 0.812);
}

.field.error .error-txt{
    display: block;
}

.field .error-txt{
    font-size: 14.5px;
    color: #d93025;
    text-align: left;
    margin: -5px 0 10px;
    display: none;
}

form .textarea-field .item{
    resize: none;
}

form .textarea-field .error-txt{
    margin-top: -10px;
}

form button{
    padding: 12px 32px;
    background: var(--accent-color);
    border: none;
    outline: none;
    border-radius: 6px;
    box-shadow: 0 0 10px var(--accent-color);
    font-size: 16px;
    color:  #333;
    letter-spacing: 1px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: .5s;
}

form button:hover{
    box-shadow: none;
}

.front{
    z-index: 1;
}


option{
    background-color: black;
}

/* Media Queries for Responsive Design */

/* For tablets (768px and smaller) */
@media (max-width: 768px) {
    .contact form {
        width: 90%; 
    }

    .input-box .input-field {
        width: 100%; 
        margin-bottom: 10px; 
    }

    .contact h2 {
        font-size: 32px; 
    }

    form button {
        width: 100%; 
    }
}

/* For mobile devices (480px and smaller) */
@media (max-width: 480px) {
    .contact h2 {
        font-size: 28px; 
    }

    form .input-box {
        flex-direction: column; 
        justify-content: flex-start;
    }

    .input-box .input-field {
        width: 100%;
    }

    form button {
        width: 100%;
        font-size: 14px;
        padding: 10px 24px; 
    }

    .field .item {
        padding: 15px; 
    }
}
