@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
:root{
    --textColor: #000000;
    --lightTextColor: rgba(0, 0, 0, 0.4);
    --colorBackground: #F2F5F8;
    --colorBg: #fff;
    --colorAction: #5CBF7F;
    --colorActionHover: #1fad51;
    --specialGrey: #bdbdbd;
}
html {
  scroll-behavior: smooth;
}
.buttonMainAction{
    color: var(--colorBg);
    background-color: var(--colorAction);
    border: none;
    padding: 1.5rem 3rem;
    border-radius: 2.5rem;
    font-weight: 700;
    cursor: pointer;
    &:hover{
        background-color: var(--colorActionHover)
    }
}
.buttonSecondaryAction{
    display: flex;
    justify-self: start;    
    align-items: center;
    gap: .5rem;
    color: var(--textColor);
    background-color: var(--colorBg);
    border: 1px solid var(--colorAction);
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-weight: 700;
    cursor: pointer;
    &:hover{
        background-color: var(--colorActionHover);
        color: var(--colorBg) !important;
        & svg path{
            fill: var(--colorBg) !important;
        }
    }
}
.mainLink{
    display: block;
    text-align: start !important;
    width: 100% !important;
    color: var(--colorAction);
    text-decoration: none;
    &:hover{
        color: var(--colorActionHover);
    }
}
body{
    background-color: var(--colorBackground);
    scroll-behavior: smooth;
    max-width: 100%;
    width: 100%;
    font-family: "Outfit", sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  & *{
    transition: all 0.2s ease-in-out;
  }
}
main{
    overflow-x: hidden;
    min-height: 80vh;
}
#index section{
    text-align: center;
    max-width: 90%;
    margin: 5vh auto;
}
h1{
    font-size: 4vw;
    font-weight: 500;
    letter-spacing: 3%;     
}
h2{
    font-size: 6rem;
    font-weight: 600;
    margin: 0.5rem 0;
}
h3{
    font-size: 4rem;
    font-weight: 600;
    margin: 0.5rem 0;
}
p, a{
    text-decoration: none;
    font-size: 1.5rem;
    color: var(--lightTextColor);
}
.horizontalList{
    display: flex;
    gap: 2vw;
    overflow-x: auto;
    box-sizing: border-box;
}
.horizontalListItem{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-radius: 2em;
    max-width: 40ch;
    border: 1px solid var(--specialGrey);
    padding: 3em;
    cursor: pointer;
    box-sizing: border-box;
    &:hover{
        border: 1px solid transparent;
        box-shadow: 0 0 2vw rgba(0,0,0,0.1);
        & .secondaryLink{
            color: var(--colorAction);
        }
        & .fillInside rect{
            stroke: var(--colorAction);
        }
        & .fillInside path{
            fill: var(--colorAction);
        }
        & .fillOutline rect, & .fillOutline path{
            stroke: var(--colorAction);
        }
        & .bigGrayNumber{
            color: var(--colorAction);
        }
        & p{
            color: var(--textColor);
        }
    }
    & div{
        display: flex;
        & svg, & img{
            width: 100%;
            max-width: 4vw;
            height: 100%;
            max-height: 5vw;
            aspect-ratio: 1/1 !important;
        }
    }
    & a{
        text-align: start;
        font-size: 1.5em !important;
    }
    & h3{
        text-align: start;
        font-size: 2.3em;
        margin: 0;
    }
    aside{
        font-size: 5em !important;
        margin-bottom: 0;
        height: auto;
    }
    & p{
        font-size: 1.5em;
        color: var(--lightTextColor);
    }
    & .twoColumn{
        grid-template-columns: 1fr !important;
    }
}

.secondaryLink{
    color: var(--textColor);
    text-decoration: none;
    gap: 1rem;
    font-size: 1.5rem;
    &:hover{
        color: var(--colorActionHover);
    }
}
.twoColumn{
    display: grid;
    gap: 4rem;
    text-align: start;
    grid-template-columns: 1fr 1fr;
    & img{
        width: 100%;
    }
}
.verticalList{
    list-style: none;
    padding: 0;
    & li{
        color: var(--specialGrey);
        font-size: 4rem;
        margin: 0.5rem 0;
        border-top: var(--specialGrey   ) .1rem solid;
        padding-top: 4rem;
        font-weight: 700;
        text-align: start;
        &:hover{
            color: var(--textColor);
        }
    }
}
footer{
    display: flex;
    flex-wrap: wrap;
    row-gap: 2rem;
    max-width: 100%;
    padding: 5vh 10vw;
    background-color: #F5F5F5;
    border-top: var(--lightTextColor) .2rem solid;
    justify-content: space-between;
    & img{
        background-color: transparent;
        width: 100%;
        max-width: 12vw;
    }
    & div{
        width: fit-content;
        flex-basis: 50%;
        &:nth-child(even){
            text-align: end;
        }
    }
}
.socialMediaLink{
    text-decoration: none;
    color: var(--textColor);
    & i{
        position: relative;
        padding: 1rem;
        width: 0.5ch;
        height: 0.5ch;
        border: 0.2rem solid var(--specialGrey);
        border-radius: 50%;
        &:before{
            font-size: 1.5rem;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
    }
    &:hover{
        color: var(--colorActionHover);
    }
}
.bigGrayNumber{
    margin-left: auto;
    font-size: 5rem;
    color: var(--specialGrey);
    font-weight: 800;
}
.navbar {
  position: fixed;
  width: calc(90% - 4rem);
  max-width: calc(90% - 4rem);
  left: 5%;
  top: 2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(2px);
  border: var(--textColor) 1px solid;
  border-radius: 32px;
}
.menuLogo {
  font-weight: bold;
  font-size: 2rem;
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
.profile-icon {
  font-size: 2rem;
  color: var(--colorAction);
  border: 2px solid var(--colorAction);
  padding: .5rem 1rem;
  border-radius: 1rem
}
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}






main:has(.formRegister, .paymentForm){
    display: flex;
    align-items: center;
    justify-content: center;
}
.formRegister{
    display: flex;
    flex-direction: column;
    align-items: start;
    background-color: var(--colorBg);
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    gap: 3rem;
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
    box-sizing: border-box;
    border-radius: 32px;
    & div{
        display: flex;
        width: 100%;
        flex-direction: column;
        gap: 1rem;
    }
    & h1{
        font-size: 2.5em;
        font-weight: 700;
        width: 100%;
        margin: 0;
    }
    & p{
        font-size: 1.5em;
        color: var(--textColor);
        width: 100%;
        margin: 0;
    }
    & label{
        font-size: 1.2em;
        color: var(--textColor);
        width: 100%;
    }
    & input{
        width: calc(100% - 2rem);
        padding: 1rem;
        margin-top: 1ch;
        border-radius: 16px;
        border: 1px solid var(--specialGrey);
        font-size: 1.5em;
        color: var(--textColor);
        background-color: var(--colorBg);
        &:focus{
            outline: none;
            border-color: var(--colorAction);
        }
    }
    & button{
        font-size: 1.5em;
        border-radius: 2rem;
        width: 100%;
    }
}



.highlightedDiscountCircle{
    color: var(--colorAction);
    height: fit-content;
    background-color: rgba(66, 161, 99, 0.226);
    border: 1px solid transparent;
    border-radius: 50px;
    padding: .5vw .5vw;
    overflow: visible;
}
.seperateTwoWays{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    & a{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }
}
.profileVericalList{
    display: grid;
    gap: 1rem;
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
}
@media screen and (max-width: 900px) {
    .profileVericalList{
        padding-left: 1rem;
        padding-right: 1rem;
    }
}


.paymentInfoList{
    list-style: none;
    padding: 0;
    & li{
        font-size: 1.2em;
        color: var(--textColor);
        margin: 0.5rem 0;
        display: flex;
        align-items: center;
        gap: 1rem;
        &:before{
            content: "\f00c"; /* Assuming Font Awesome is being used */
            font-family: "FontAwesome";
            color: var(--colorAction);
            font-weight: bold;
            font-size: 1.7em;
        }
    }
}

.profileInfoList{
    padding: 2rem;
    background-color: var(--colorBg);
    height: fit-content;
    border-radius: 2rem;
    box-shadow: 0 0 1rem rgba(0,0,0,0.1);
}
.priceGreen{
    color: var(--colorAction) !important;
    font-weight: 700;
    font-size: 2.5rem;
}
@media screen and (max-width: 900px) {
    .priceGreen{
        font-size: 1.5rem;
    }
    .formRegister{
        font-size: 0.6rem;
         & button{
            padding: 1rem;
         }
    }
    .paymentForm{
        grid-template-columns: 1fr !important;
        margin-bottom: 4vh !important;
        font-size: 0.8rem;
    }
}


@media screen and (max-width: 1600px) {
    h1{
        font-size: 5rem;
    }
    h2{
        font-size: 5rem;
    }
    h3{
        font-size: 4rem;
    }
    p, a{
        font-size: 1.3rem;
    }
    #hero p{
        font-size: 2.5rem;
    }
    #fanlar a{
        font-size: 1.3rem;
    }
    #qandayIshlaydi img{
        scale: 1.1;
    }
    .horizontalListItem{
        aspect-ratio: 1/1;
        padding: 2rem;
        & h3{
            font-size: 2.3em;
        }
        & p{
            font-size: 1.5em;
        }
        & img{
            max-width: 15vw !important;
            max-height: 15vw !important ;
        }
    }
    .verticalList li{
        font-size: 3rem;
        padding-top: 3rem;
    }
}
@media screen and (max-width: 900px) {
    .twoColumn{
        grid-template-columns: 1fr;
    }
    footer{
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    gap: 1rem;
    & a{
        font-size: 1.3em !important;
    }
    & div{
        width: 90%;
        text-align: start;
        &:nth-child(even){
            text-align: start;
        }
        & img{
            width: 100%;
            max-width: 10rem;
        }
        .socialMediaLink{
            & i{
                padding: 0.5rem;
                &:before{
                    font-size: 1rem;
                }
            }
        }
    }
    .secondaryLink{
        font-size: 1rem !important;
    }
    }
    .socialMediaLink i{
        width: 1.5rem;
        height: 1.5rem;
    }
}
@media (max-width: 860px) {

    .navbar:has(.open){
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }


    .navbar img{
        width: 6ch !important;
    }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    top: 60px;
    right: 0;
    gap: 1rem;
    background: #fff;
    flex-direction: column;
    align-items: flex-start; /* ⬅️ Change here */
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 10;
  }
  .navbar{
    height: 30px;
  }
  .navbar #hamburger{
    font-size: 1.4rem;
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .profile-icon {
    display: none;
    font-size: 1.2rem;
  }

  .nav-links a {
    display: inline;
    font-size: 1rem;
    width: 100% !important;
    padding: 0.5rem 1rem;
    box-sizing: border-box;
  }
}