* {
    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_1 {
    color: #0088FF;
}

.context_2 {
    color: #25BB66;
}

.section_main a {
    text-decoration: none;
    font-size: 32px;
    color: #fff;
    font-weight: 700;
    padding: 20px 100px;
    margin-top: 20px;
    background: linear-gradient(to right, #0088FF, #D766DD);
    border-radius: 15px;
    margin-bottom: 10px;
}

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;

}


/* 📱 1. Kiçik telefonlar üçün (max-width: 480px) */
@media (max-width: 480px) {

  body {
    width: 100%;
    height: auto;
    overflow-x: hidden;
  }

  header {
    flex-direction: column;
    align-items: center;
    height: auto;
  }

  .logo {
    width: 60%;
    margin: 10px auto;
    text-align: center;
  }

  .word, .check {
    position: static;
    margin: 5px auto;
  }

  .nav {
    width: 100%;
    text-align: center;
  }

  .nav ul {
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    margin-left: 0;
    gap: 10px;
  }

  .nav ul li a {
    font-size: 18px;
  }

  .sign_log {
    flex-direction: column;
    width: 100%;
    margin-top: 15px;
  }

  .sign_log a,
  .sign_log button {
    font-size: 18px;
    margin: 8px 0;
    padding: 8px 25px;
  }

  section {
    height: auto;
    padding: 20px 0;
  }

  .section_main {
    width: 90%;
    margin: 10px auto;
    padding: 20px 10px;
  }

  .section_main h2 {
    font-size: 24px;
  }

  .section_main a {
    font-size: 18px;
    padding: 10px 30px;
  }

  /* Bubble-lar gizlənsin */
  .bubble3, .bubble4, .bubble5, .bubble6, .bubble7 {
    display: none;
  }

  footer {
    height: auto;
    padding: 20px 0;
  }

  .top_contexts {
    flex-direction: column;
    align-items: center;
  }

  .about, .contact, .faq, .help {
    width: 90%;
    margin: 10px auto;
    text-align: center;
  }

  .middle {
    flex-direction: column;
    align-items: center;
  }

  .middle input {
    width: 80%;
    position: static;
    margin: 10px 0;
  }

  .send {
    margin-left: 0;
  }

  .bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
.bottom_left{
    width: 10%;
}
  .bottom_left, .bottom_right {
    margin: 10px auto;
    flex-direction: column;
  }

  .bottom_right p {
    font-size: 18px;
  }
}

/* 📲 2. Planşetlər üçün (max-width: 768px) */
@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: 100%;
  }

  .nav ul {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }

  .nav ul li a {
    font-size: 20px;
  }

  .sign_log {
    width: 100%;
    justify-content: center;
  }

  section {
    height: auto;
  }

  .section_main {
    width: 70%;
    margin: 10% auto;
  }

  .section_main h2 {
    font-size: 32px;
  }

  .section_main a {
    font-size: 20px;
    padding: 12px 50px;
  }

  .bubble3, .bubble4, .bubble5, .bubble6, .bubble7 {
    display: none;
  }

footer {
  height: auto;
  padding: 20px 0;
  width: 100%;
  box-sizing: border-box;
}

.top_contexts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
  row-gap: 5px;
  column-gap: 0; /* gap + margin üst-üstə düşməsin */
}

.about, .contact, .faq, .help {
  flex: 1 1 10%; /* hər biri 45% en alır, qalan 10% aralıq üçün */
  max-width: 45%;
  /* margin: 5px; */
  box-sizing: border-box;
}

.middle {
  display: flex;
  align-items: center;
  width: 100%;
}

.middle input {
  width: 70%;
  margin-left: 3px;
}

.middle a {
  margin-left: 100px;
  text-align: center;
}

.bottom {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-around;

}
.bottom_left{
    width: 9%;
    margin:0 auto;

}

.bottom_right{
    width: 60%;
}
.bottom_right p {
  font-size: 20px;
  margin-left: 20px;
  
}
}

/* 💻 3. Kiçik noutbuklar və böyük planşetlər üçün (max-width: 1024px) */
@media (max-width: 1024px) {
  header {
    justify-content: space-around;
  }

  .nav ul li a {
    font-size: 22px;
  }

  .section_main {
    width: 60%;
  }

  .section_main h2 {
    font-size: 36px;
  }

  footer {
    height: auto;
  }

  .top_contexts {
    justify-content: center;
  }

  .about, .contact, .faq, .help {
    margin: 15px;
  }

  .middle input {
    width: 50%;
  }
  .middle a{
    margin: 0 auto;
  }

  .bottom_right p {
    font-size: 22px;
  }
}
