@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Poppins', Arial, sans-serif;
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
     transition: background 0.4s ease, color 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
body{
    font-family: Arial, Helvetica, sans-serif
}
span{
    color: rgb(21, 126, 247);
    font-weight: bold;
}
.box{
    width: 80%;
    height: auto;
    background: rgb(245, 247, 248);
    margin: 0 auto;
}
.header{
    width: 90%;
    height: 630px;
    background: rgb(204, 226, 243);
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    border-radius: 10px;
}
.header.Active{
    background: rgb(84, 74, 74);
    color: white;
     background: rgb(84, 74, 74);
    border: 10px solid rgb(5, 4, 4);
    margin-top: 10px;
}
nav{
    width: 90%;
    height: 70px;
    background: rgb(254, 253, 253);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-left: 5%;
    margin-right: 5%;
    padding-left: 4%;
    padding-right: 4%;
    border-radius: 10px;
}
nav.Active{
        background: rgb(72, 64, 64);
        color: white;
}
.bl1{
    width: 15%;
    height: 50px;
    background: none;
    border-radius: 10px;
    padding-top: 10px;
}
.bl2{
    width: 65%;
    height: 50px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    border-radius: 10px;
}
.bl3{
    width: 15%;
    height: 50px;
    border-radius: 10px;
    padding-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;

}
.block1{
    width: 40%;
    height: 300px;
    display: flex;
    justify-content: space-evenly;
    align-items: start;
    padding-top: 30px;
    padding-right: 2%;
    flex-direction: column;
}

.btn{
    width: 50%;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
    padding-right: 2%;
    flex-direction: row;
}
.info-box {
    display: none; /* скрыты по умолчанию */
    margin-top: 15px;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-left: 4px solid #007BFF;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    font-size: 14px;
    color: #333;
    max-width: 400px;
    transition: all 0.3s ease;
}

.but1{
    background: black;
    color: white;
    width: 40%;
    height: 40px;
    border-radius: 10px;
}
.but2{
    background: rgb(255, 253, 253);
    color: rgb(11, 10, 10);
    width: 40%;
    height: 40px;
    margin-left: 5%;
    border-radius: 10px;
}
a{
    color: black;
}
.chel{
    margin-left: 10%;
    position: absolute;
    top:150px;
    right: 500px;

}
.block2{
    width: 30%;
    height: 120px;
    background: red;
    margin-right: 26%;
    margin-top: 200px;
    z-index: 1;
    background: white;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;

}
.box2{
    width: 46%;
    height: 27px;
    background: rgb(204, 226, 243);
    margin: 5px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    flex-wrap: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
}
.bx{
    width: 20%;
    height: 20px;
}
h6{
    margin-right: 40%;
}
.section1{
    width: 90%;
    height: 400px;
    background: rgb(254, 255, 255);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    border-radius: 10px;
    margin-top: 10px;
}
.boox{
    width: 90%;
    height: 300px;
    background: none;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
}
.box3{
    width: 40%;
    height: 250px;
    background: rgb(254, 254, 254);
    margin: 0 5%;
    border-radius: 10px;
}
.box3.Active{
     background: rgb(146, 129, 129);

}
.box4{
    width: 40%;
    height: 200px;
    background: rgb(95, 132, 243);
    margin: 0 5%;
    border-radius: 10px;
}
.box4.Active{
     background:rgb(45, 63, 117);

}
.box7.Active{
     background:rgb(146, 129, 129);

}
.ppp1{
    padding-top: 100px;
    text-align: center;
    font-size: 35px;
    font-weight: bold;
}
.h11{
    text-align: center;
    font-size: 25px;
    padding-top: 20px;
}
.span1, .span3{
    color: rgb(99, 164, 225);
    font-weight: bold;
}
.span2{
    color: rgb(6, 6, 6);
    font-weight: bold;
}
.btn{
    margin-top: -30px;
}
.section2{
    width: 90%;
    height: 700px;
    background: rgb(254, 255, 255);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    border-radius: 10px;
    margin-top: 10px;
}
.boox2{
    width: 100%;
    height: 700px;
    background: none;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
}
.box5{
    width: 40%;
    height: 400px;
    background: none;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
}
.ppp2{
    width: 80%;
}
.box6{
    width: 45%;
    height: 400px;
}
.ii1{
    width: 100%;
}
.h222{
    text-align: center;
    font-size: 25px;
    padding-top: 20px;
}
.box7{
    width: 90%;
    height: 200px;
    background: rgb(254, 254, 254);
    margin: 0 5%;
    border-radius: 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
}
.box81{
    width: 30%;
    height: 50px;
    background: rgb(13, 12, 12);
    margin: 1%;
    color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
}
.box8{
    width: 30%;
    height: 50px;
    background: rgb(250, 249, 249);
    border: 2px solid rgb(8, 9, 9);
    margin: 1%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.section3{
    width: 100%;
    height: 900px;
    background: none;
    border: 2px solid black;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}
.bbb{
    width: 100%;
    height: 800px;
    background: none;
    border: 2px solid black;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.blochek1{
    width: 45%;
    height: 700px;
    background: rgb(94, 234, 110);
    border: 2px solid rgb(94, 234, 110);
    position: relative;


}
.blochek2{
    width: 45%;
    height: 700px;
    background: rgb(85, 118, 228);
    border: 2px solid rgb(85, 118, 228);
    position: relative;
    overflow: hidden;

}
.h1111{
    text-align: center;
}
.section4{
    width: 89%;
    height: 740px;
    background: rgb(252, 252, 253);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
        margin: 0 auto;
        margin-top: 50px;
}
.p9{
    width: 90%;
    text-align: center;
    font-size: 20px;
     margin-top: -90px;

}
.bj{
    width: 60%;
    height: 500px;
    
}
.ij{
    width: 40%;
    float: left;
    margin-left: 60px;
    margin-bottom: 20px;
    margin-top: 6px;
}
.section5{
    width: 89%;
    height: 700px;
    background: rgb(241, 241, 255);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    margin: 0 auto;
    margin-top: 10px;
}

.bax1{
    width: 80%;
    height: 600px;
    background: rgb(241, 241, 255);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    border: 2px solid black;
    flex-wrap: wrap;
    margin: 0 auto;
    margin-top: 50px;
}
.baax1{
    width: 30%;
    height: 400px;
    background: rgb(172, 172, 223);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    margin: 0 auto;
    margin-top: 50px;
}
.baax2{
    width: 30%;
    height: 400px;
    background: rgb(242, 242, 248);
    border-radius: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    border: 2px solid black;
    flex-wrap: wrap;
    padding-left: 3%;
    padding-top: 50px;

}
h1{
    color: red;
    margin-top: 30px;
}

.p44{
    color: red;
    font-size: 20px;
    width: 30%;
    margin-top: 15px;

}
.e1{
    margin-top: -30px;
}
.e2{
    margin-top: -10px;
}
.e3{
    margin-top: -5px;
}
.section6{
    width: 80%;
    height: 500px;
    background: rgb(241, 241, 255);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    margin: 0 auto;
    margin-top: 50px;
}

.bax11{
    width: 80%;
    height: 600px;
    background: rgb(14, 14, 49);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    border: 2px solid black;
    flex-wrap: wrap;
    margin: 0 auto;
    margin-top: 50px;
}
.baax11{
    width: 40%;
    height: 400px;
    background: rgb(248, 248, 248);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    margin: 0 auto;
    margin-top: 50px;
}
.baax21{
    width: 45%;
    height: 400px;
    background: rgb(242, 242, 248);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    border: 2px solid black;
    flex-wrap: wrap;

}
.baax21 img {
    width: 18%;
    height: 360px;
    object-fit: cover;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.5s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    filter: brightness(0.7);
}


.baax21 img:hover {
    filter: brightness(0.9);
    transform: scale(1.05);
}


.baax21 img.active {
    width: 60% !important;
    filter: brightness(1);
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}


.baax21 img.shrink {
    width: 10% !important;
    opacity: 0.8;
    filter: brightness(0.5);
}
.acc{
    width: 15%;
    height: 400px;
}
.acc2{
    width: 15%;
    height: 400px;
}
.acc3{
    width: 15%;
    height: 400px;
}
.acc4{
    width: 15%;
    height: 400px;
}
h1{
    color: red;
    margin-top: 30px;
}
.p44{
    color: red;
    font-size: 20px;
    width: 30%;
    margin-top: 15px;

}
.bl3{
    width: 15%;
    height: 50px;
    border-radius: 10px;
    padding-top: 10px;
    display: flex;
    justify-content: flex-start;
    padding-left: 15px;
    border-radius: 15px;
    align-items: center;
    background: red;
    padding-bottom: 5px;

}
.bl3.Active{
        background: rgb(123, 108, 108);
}
.krug{
    width: 25%;
    height: 40px;
    background: blue;
    border-radius: 100%;
     transition:1s ;
}
.krug.Active{
   margin-left: 50px;
}

p.Active{
    color: white;
}
a.Active{
    color: white;
}
.section1.Active{
    background: rgb(84, 74, 74);
    border: 10px solid rgb(5, 4, 4);
    margin-top: 10px;
}
.section2.Active{
    background: rgb(84, 74, 74);
     background: rgb(84, 74, 74);
    border: 10px solid rgb(5, 4, 4);
    margin-top: 10px;
}
.section3.Active{
    background: rgb(84, 74, 74);
     background: rgb(84, 74, 74);
    border: 10px solid rgb(5, 4, 4);
    margin-top: 10px;
}
.section4.Active{
    background: rgb(84, 74, 74);
     background: rgb(84, 74, 74);
    border: 10px solid rgb(5, 4, 4);
    margin-top: 10px;
}
.section5.Active{
    background: rgb(84, 74, 74);
     background: rgb(84, 74, 74);
    border: 10px solid rgb(5, 4, 4);
    margin-top: 10px;
}
.baax2.Active{
    background: rgb(146, 129, 129);
}








.but1, .but2 {
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.but1:hover {
    background: rgb(21, 126, 247);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.but2:hover {
    background: rgb(230, 238, 255);
    transform: translateY(-3px);
}
.box2 {
    border-radius: 8px;
    cursor: pointer;
}

.box2:hover {
    background: rgb(21, 126, 247);
    color: white;
    transform: scale(1.05);
}
.box3, .box4 {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.box3:hover {
    transform: translateY(-5px);
}

.span1, .span2, .span3 {
    cursor: pointer;
}

.span1:hover,
.span2:hover,
.span3:hover {
    color: rgb(21, 126, 247);
    text-shadow: 0 0 10px rgba(21,126,247,0.4);
}
.box81, .box8 {
    border-radius: 10px;
    cursor: pointer;
}

.box81:hover,
.box8:hover {
    transform: scale(1.07);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}
.ii1 {
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
.p44 {
    cursor: grab;
    border-radius: 8px;
    text-align: center;
}

.p44:hover {
    background: rgba(255,0,0,0.1);
    transform: scale(1.1);
}
.baax21 img {
    transition: all 0.6s cubic-bezier(.4,0,.2,1);
}
.bl3 {
    box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
    cursor: pointer;
}

.krug {
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
.section1,
.section2,
.section4,
.section5 {
    animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.baax1,
.baax2 {
  overflow: visible;
}
.bl3 {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    cursor: pointer;
    transition: all 0.5s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.bl3:hover {
    transform: scale(1.2) rotate(15deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.krug {
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: all 0.5s ease;
}

.bl3.Active .krug {
    background: yellow;
    transform: scale(1.5);
}
.krug-text {
    margin-left: 10px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.bl3.Active .krug-text {
    opacity: 1;
    color: yellow;
}
.box4 {
    width: 40%;
    min-height: 120px;
    height: auto;

    background: linear-gradient(135deg, #5f84f3, #6fa3ff);
    margin: 0 5%;
    border-radius: 16px;

    padding: 25px 30px;

    display: flex;
    justify-content: center;
    align-items: center;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);

    transition: 
        all 0.4s ease,
        height 0.4s ease;
}

.box4.Active {
    background: linear-gradient(135deg, #2d3f75, #3b5bd6);
}
.h11 {
    text-align: center;
    font-size: 20px;
    line-height: 1.6;

    color: #ffffff;
    font-weight: 500;

    transition: opacity 0.3s ease, transform 0.3s ease;
}
.h11 {
    opacity: 1;
    transform: translateY(0);

    transition: opacity 0.3s ease, transform 0.3s ease;

    text-align: center;
    font-size: 20px;
    line-height: 1.6;
    color: #fff;
}
.h11.hide {
    opacity: 0;
    transform: translateY(10px);
}
.box7 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.box81, .box8 {
    padding: 12px 0;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    background: #f1f5ff;
    color: #1e40af;
    transition: all 0.25s ease;
}

.box81:hover,
.box8:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.box7 .active {
    background: #2563eb;
    color: #fff;
    transform: scale(1.05);
}
.method-info {
    margin-top: 15px;
    font-size: 16px;
    color: #374151;
    font-style: italic;
}
.box7 {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.box81,
.box8 {
    padding: 10px 18px;        /* ⬅ пространство под текст */
    min-width: fit-content;   /* ⬅ ширина = текст */
    width: auto;              /* ⬅ не фиксируем */
    height: auto;             /* ⬅ высота по контенту */
    border-radius: 12px;
    white-space: nowrap;      /* ⬅ не переносить hide () */
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;

    background: #f1f5ff;
    color: #1e40af;

    transition: all 0.25s ease;
}

.box81:hover,
.box8:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}
.section5 {
  padding: 60px 20px;
}

.section5 h1 {
  text-align: center;
  margin-bottom: 40px;
}

.section5 span {
  color: #6c63ff;
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background: #111;
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  padding: 20px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header:hover {
  background: rgba(255,255,255,0.05);
}

.accordion-header .icon {
  font-size: 22px;
  transition: transform 0.3s ease;
}

.accordion-item.active .icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 20px;
  color: #ccc;
}

.accordion-item.active .accordion-content {
  padding: 20px;
  margin: 20px;
}

.accordion-content p,
.accordion-content li {
  line-height: 1.6;
}
li{
    margin: 20px;
}
.but2{
    width: 70%;
}
/* ================= DARK THEME ================= */

body.dark {
    background: #121212;
    color: #ffffff;
}

body.dark .box {
    background: #1e1e1e;
}

body.dark nav {
    background: #1a1a1a;
}

body.dark .header {
    background: #1c1c1c;
}

body.dark .section1,
body.dark .section2,
body.dark .section5 {
    background: #1f1f1f;
}

body.dark .box3,
body.dark .box4,
body.dark .box7 {
    background: #2a2a2a;
}

body.dark .box2 {
    background: #2c2c2c;
    color: white;
}

body.dark .accordion-item {
    background: #222;
}

body.dark a {
    color: #6fa3ff;
}

body.dark .method-info {
    color: #aaa;
}

/* Кнопка */
body.dark .but1 {
    background: #2563eb;
}

body.dark .but2 {
    background: #333;
    color: white;
}

/* Анимация кружка */
body.dark .krug {
    background: yellow;
    transform: scale(1.4);
}
/* =========================
   TABLET (до 1024px)
========================= */

@media (max-width: 1024px) {

    .box {
        width: 95%;
    }

    nav {
        flex-wrap: wrap;
        height: auto;
        padding: 15px;
        gap: 15px;
    }

    .bl1 {
        width: 30%;
    }

    .bl2 {
        width: 100%;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    .bl3 {
        margin: 0 auto;
    }

    .header {
        height: auto;
        padding: 40px 0;
        flex-direction: column;
    }

    .block1 {
        width: 80%;
        text-align: center;
        align-items: center;
    }

    .btn {
        width: 100%;
        flex-direction: column;
        gap: 15px;
    }

    .but1,
    .but2 {
        width: 70%;
    }

    .chel {
        position: static;
        margin: 30px auto;
        display: block;
        max-width: 70%;
    }

    .block2 {
        width: 90%;
        margin: 40px auto;
        height: auto;
        padding: 15px;
    }

    .boox,
    .boox2 {
        flex-direction: column;
        height: auto;
        gap: 40px;
    }

    .box3,
    .box4,
    .box5,
    .box6 {
        width: 90%;
    }

    .section2 {
        height: auto;
        padding-bottom: 60px;
    }

}


/* =========================
   MOBILE (до 768px)
========================= */

@media (max-width: 768px) {

    h1 {
        font-size: 24px;
        text-align: center;
    }

    .e1 {
        font-size: 26px;
    }

    .e2 {
        font-size: 18px;
    }

    .e3 {
        font-size: 14px;
    }

    .bl2 {
        flex-direction: column;
        align-items: center;
    }

    .bl2 a {
        padding: 8px 0;
    }

    .box7 {
        flex-direction: column;
        align-items: center;
    }

    .box8,
    .box81 {
        width: 100%;
        text-align: center;
    }

    .accordion {
        width: 95%;
    }

    .accordion-header {
        font-size: 16px;
    }

    .accordion-content {
        font-size: 14px;
    }
    .section1{
        height: 600px;
    }
    .but2 {
        margin-left: 0;
        
    }

}


/* =========================
   SMALL PHONES (до 480px)
========================= */

@media (max-width: 480px) {

    .block1 {
        width: 95%;
    }

    .but1,
    .but2 {
        width: 100%;
        
    }

    .chel {
        max-width: 90%;
    }

    .box3,
    .box4,
    .box5,
    .box6 {
        width: 100%;
    }
    .bl2{
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .q1{
        width: 30%;
        text-align: center;
        display: none;
    }



}
