* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    width: 100vw;
    height: 100vh;
    position: relative;
    z-index: 0;
    height: 100%;
    width: 100vw;
    overflow: hidden;
}

header {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 20%;
}

.logo {
    width: 25%;
    /* background: blue; */
    margin-left: 3%;
    margin-top: 2%;
    position: relative;
}

.word {
    position: absolute;
    margin-top: 8%;
    left: 8%;
}

.check {
    position: absolute;
    top: 24px;
    left: 149px;
}

.nav {
    width: 40%;
    position: relative;
    /* pseudo-elementlər üçün lazımdır */
    overflow-y: hidden;
}

.nav::before,
.nav::after {
    content: "";
    position: absolute;
    width: 200px;
    /* şəkilin ölçüsünü uyğunlaşdır */
    height: 200px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
    /* menyunun arxasında qalsın */
}

/* Sol tərəfdəki şəkil */
.nav::before {
    background-image: url("../img/background1.png");
    /* öz şəkil yolunu yaz */
    bottom: -50px;
    /* menyunun altına sürüşdürmək üçün */
    left: 0;
}

/* Sağ tərəfdəki şəkil */
.nav::after {
    background-image: url("../img/background2.png");
    bottom: -50px;
    right: 0;
    width: 395px;
}


.nav ul {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    list-style-type: none;
    margin-top: 40px;
    margin-left: 20px;
    list-style-type: none;

}

.nav ul li a {
    width: 40%;
    text-decoration: none;
    font-size: 26px;
    font-weight: 700;
    color: #6E666F;

}

.sign_log {
    display: flex;
    width: 30%;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    margin-bottom: 20px;
}

.sign_log a {
    font-size: 26px;
    font-weight: 700;
    text-decoration: none;
    color: #646E77;
}

.sign_log button {
    border-radius: 25px;
    padding: 10px 40px;
    margin-left: 15px;
    border: none;
    background-image: linear-gradient(to right, #73AFF3, #D766DD);


}

.sign_log button a {
    color: #fff;
    text-shadow: 0px 0px 3px #fff;

}

section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 62vh;
    overflow: hidden;
}

.bubble3,
.bubble4,
.bubble5,
.bubble6,
.bubble7 {
    position: absolute;
}

.bubble3 {
    top: 10%;
    left: 0;
}

.bubble4 {
    bottom: 40%;
    left: 10%;
    /* background-color: blue; */

}

.bubble5 {
    bottom: 40%;
    left: 33%;
    /* background-color: blue; */
}

.bubble6 {
    bottom: 40%;
    right: 5%;
    /* background-color: #6E666F; */
}

.bubble7 {
    top: 30px;
    right: 0;
    /* background: #000; */
}

.section_main {
    position: relative;
    height: auto;
    min-height: 100%;
    width: 50%;
    margin-top: 20%;
    margin-bottom: 20%;
    background: #fff;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
    box-sizing: border-box;

}

/* Gradient border üçün pseudo-element */
.section_main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    inset: 0;
    /* bütün div-in ətrafını əhatə edir */
    padding: 2px;
    /* border qalınlığı */
    border-radius: 20px;
    background: linear-gradient(to bottom, #0088FF, #D766DD);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    /* klikləri bloklamasın */
}

.section_main h2 {
    text-align: center;
    font-size: 48px;
}

.context_2 {
    color: #0088FF;
}

.context_1 {
    color: #25BB66;
}

.upload-box {
    position: relative;
    display: flex;
    flex-direction: row;
    /* elementlər yan-yana */
    height: auto;
    min-height: 30%;
    width: 60%;
    margin-top: 20px;
    background: #fff;
    border-radius: 20px;
    margin-bottom: 10px;
    justify-content: center;
    align-items: center;
    z-index: 2;
    box-sizing: border-box;
}

.upload-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    inset: 0;
    /* bütün div-in ətrafını əhatə edir */
    padding: 1px;
    /* border qalınlığı */
    border-radius: 20px;
    background: linear-gradient(to bottom, #0088FF, #D766DD);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    /* klikləri bloklamasın */
}

input[type="file"] {
    display: none;
}

.upload-box_left {
    width: 50%;
    margin-left: 30%;
}

.upload-label {
    font-size: 20px;
    position: absolute;
    left: 47%;

    /* sancaq ölçüsü */
    cursor: pointer;
    color: #555;
    transition: 0.3s ease;
}

.upload-label:hover {
    color: linear-gradient(to bottom, #8EE4B3, #19C162);
    transform: scale(1.1);
}

.upload-box h3 {
    font-size: 28px;
    color: #868693;
    font-weight: 800;
}





.upload-box_right {
    width: 30%;
    height: 40%;
    margin-left: 3px;
    position: relative;
}

.scan-btn {
    position: absolute;
    text-decoration: none;
    background: linear-gradient(to bottom, #8EE4B3, #19C162);
    color: #fff;
    top: 10px;
 right: 5px;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 20px;
    transition: 0.3s ease;
}

.scan-btn:hover {
    background: #006edc;
    transform: translateY(-1px);
}


footer {
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 60vh;

}

.footer_top {
    width: 100vw;

}

.top_contexts {
    display: flex;
    width: 100%;
    gap: 1rem;

}

.inside {
    background: #B1B2B7;
    height: 50vh;

}

.about {
    width: 10%;
    margin-left: 40%;
    margin-top: 20px;
}

.contact {
    width: 20%;
    margin-top: 20px;
    margin-left: 20px;

}

.faq {
    width: 10%;
    margin-top: 20px;
    margin-left: 20px;

}

.help {
    width: 10%;
    margin-top: 20px;
    margin-left: 20px;

}

.about h3,
.contact h3 {
    color: #fff;
    font-size: 20px;
}

.faq a,
.help a {
    color: #fff;
    font-size: 20px;
    text-decoration: none;
}

.about p,
.contact p {

    color: #D9D9D9;
    font-size: 20px;
}

.middle {
    margin-top: 30px;
    position: relative;
    display: flex;
}

.middle input {
    width: 20%;
    margin-left: 30px;
    position: absolute;
    top: 6px;
    padding: 15px;
    outline: none;
    color: #fff;
    background-color: #868693;
    flex: 1;
}

.middle input::placeholder {
    color: #fff;
    /* placeholder rəngi */
    opacity: 1;
}

.send {
    margin-left: 300px;
    cursor: pointer;
}

.hr {
    margin-top: 40px;
}

.bottom {
    display: flex;
    width: 100%;

}

.bottom img {
    margin-left: 20px;
}

.bottom_left {
    display: flex;
    margin-left: 25%;
    width: 20%;
}

.bottom_right {
    display: flex;
    margin-left: 200px;
}

.bottom_right p {
    margin-left: 40px;
    font-size: 26px;
    color: #fff;
    font-weight: 700;

}

/* ===================== RESPONSIVE ===================== */

/* ✅ Planşetlər üçün (768px və aşağı) */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
        /* sol küncə hizala */
        padding-left: 20px;
        /* bir az boşluq */
        height: auto;

    }

    .logo {
       width: 100%;
    display: flex;
    flex-direction: row; /* word bubble-ın üstünə düşsün */
    align-items: flex-start; /* hamısı sola */
    position: relative;
    margin-top: 10px;
    }

    .word {
        position: absolute;
        bottom: 1.5rem;
        left: 1.5rem;
    }

    .check {
         position: absolute;
        bottom: 2.5rem;
        left: 9.5rem;
    }

    .nav {
        width: 90%;
        margin: 10px auto;
    }

    .nav ul {
        flex-direction: column;
        align-items: center;
        margin: 10px 0;
        gap: 10px;
    }

    .nav ul li a {
        font-size: 22px;
    }

    .sign_log {
        flex-direction: column;
        width: 100%;
        margin: 10px 0;
    }

    .sign_log a {
        font-size: 22px;
    }

    .sign_log button {
        padding: 8px 25px;
    }

    section {
        height: auto;
        
    }

    .section_main {
        width: 80%;
        margin-top: 10%;
        height: auto;
        padding: 20px 0;
    }

    .section_main h2 {
        font-size: 34px;
    }

    .upload-box {
        flex-direction: column;
        width: 80%;
        padding: 10px;
    }

    .upload-label {
        font-size: 18px;
        position: static;
        margin-bottom: 10px;
        margin-left: 40px;
    }

    .upload-box_right {
        width: 100%;
        text-align: center;
        margin-top: 10px;
       overflow-y: hidden;
    }

    .scan-btn {
        position: static;
        font-size: 18px;
        padding: 6px 12px;
        

    }

 footer {
    height: auto; /* sabit hündürlük vermə */
    padding: 20px 0;
  }

  .inside {
    height: auto; /* 50vh çoxdu, adaptiv et */
    padding-bottom: 20px;
  }

  .top_contexts {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .about,
  .contact,
  .faq,
  .help {
    width: 90%;
    margin: 5px 0;
    text-align: center;
  }

  .about h3,
  .contact h3,
  .faq a,
  .help a {
    font-size: 16px; /* bir az kiçilt */
  }

  .about p,
  .contact p,
  .faq p,
  .help p {
    font-size: 14px;
  }

  .middle {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .middle input {
    width: 80%;
    margin-left: 0;
    position: static;
    padding: 10px;
  }

  .send {
    margin-left: 0;
    margin-top: 10px;
    transform: scale(0.9); /* bir az kiçilt */
  }

  .hr {
    margin-top: 20px;
  }

  .bottom {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .bottom_left,
  .bottom_right {
    margin: 5px 0;
    width: 100%;
    justify-content: center;
  }

  .bottom img {
    width: 30px;
    height: auto;
  }

  .bottom_right p {
    font-size: 16px;
    text-align: center;
  }
}

/* ✅ Telefonlar üçün (480px və aşağı) */
@media (max-width: 480px) {

       body {
        overflow-x: hidden;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
        /* sol küncə hizala */
        padding-left: 20px;
        /* bir az boşluq */
        height: auto;

    }

    .logo {
       width: 100%;
    display: flex;
    flex-direction: row; /* word bubble-ın üstünə düşsün */
    align-items: flex-start; /* hamısı sola */
    position: relative;
    margin-top: 10px;
    }
     .bubble{
        width: 10%;
     }

    .word {
        position: absolute;
        width: 20%;
        bottom: 1rem;
        left: 1rem;
    }

    .check {
         position: absolute;
        top: 0.6rem;
        left: 7.5rem;
    }


    .nav ul li a {
        font-size: 18px;
    }

    .section_main {
        width: 90%;
    }

    .section_main h2 {
        font-size: 26px;
        text-align: center;
    }

    .upload-box {
        width: 90%;
    }

    .upload-box h3 {
        font-size: 20px;
    }

    .scan-btn {
        font-size: 16px;
    }

    .about p,
    .contact p {
        font-size: 16px;
    }

    .bottom_right p {
        font-size: 18px;
    }

    .middle input {
        width: 80%;
        margin: 0 auto;
    }
}

/* ✅ Kiçik telefonlar üçün (320px və aşağı) */
@media (max-width: 360px) {
     body {
        overflow-x: hidden;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
        /* sol küncə hizala */
        padding-left: 20px;
        /* bir az boşluq */
        height: auto;

    }

    .logo {
       width: 100%;
    display: flex;
    flex-direction: row; /* word bubble-ın üstünə düşsün */
    align-items: flex-start; /* hamısı sola */
    position: relative;
    margin-top: 10px;
    }
     .bubble{
        width: 10%;
     }

    .word {
        position: absolute;
        width: 20%;
        bottom: 0.6rem;
        left: 0.6rem;
    }

    .check {
         position: absolute;
        top: 0.6rem;
        left: 5.4rem;
        width: 20px;
    }


    .nav ul li a {
        font-size: 16px;
    }

    .section_main {
        width: 80%;
        border-radius: 15px;
    }

    .section_main h2 {
        font-size: 22px;
    }

    .upload-box {
        width: 95%;
        padding: 5px;
    }

    .upload-label {
        font-size: 14px;
    }

    .scan-btn {
        font-size: 14px;
        padding: 4px 8px;
    }

    .about h3,
    .contact h3,
    .faq a,
    .help a {
        font-size: 16px;
    }

    .bottom_right p {
        font-size: 16px;
    }
}
@media (width:600px){
          body {
        overflow-x: hidden;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
        /* sol küncə hizala */
        padding-left: 20px;
        /* bir az boşluq */
        height: auto;

    }

    .logo {
       width: 100%;
    display: flex;
    flex-direction: row; /* word bubble-ın üstünə düşsün */
    align-items: flex-start; /* hamısı sola */
    position: relative;
    margin-top: 10px;
    }
     .bubble{
        width: 10%;
     }

    .word {
        position: absolute;
        width: 20%;
        bottom: 1rem;
        left: 1rem;
    }

    .check {
         position: absolute;
        top: 1.2rem;
        left: 8.5rem;
    }


    .nav ul li a {
        font-size: 18px;
    }

    .section_main {
        width: 90%;
    }

    .section_main h2 {
        font-size: 26px;
        text-align: center;
    }

    .upload-box {
        width: 90%;
    }

    .upload-box h3 {
        font-size: 20px;
    }

    .scan-btn {
        font-size: 16px;
    }

    .about p,
    .contact p {
        font-size: 16px;
    }

    .bottom_right p {
        font-size: 18px;
    }

    .middle input {
        width: 80%;
        margin: 0 auto;
    }
}