* { margin: 0; padding: 0; }
p { margin: 5px 0 10px 0; }


body {
    background-color: #fff;
    color: #000;
    font-weight: 400;
    font-size: 16px;
    font-family: Arial, sans-serif;
    line-height: 1.2;
}

.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 768px) {
    .container {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 1140px;
    }
}



a {
    text-decoration: none;
    transition: .2s;
    color: #000;
}
a:hover, a:active, a:focus {
    color: #025489;
    outline: none;
    border-color: #025489;
}

.clearfix {
    clear: both;
}

.error-page {
    min-height: 80vh;
    font-size: 20px;
}




/* manual */
.flex-between-center {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

.content {
    min-height: 600px;
    overflow: hidden;
}



/* header */

header {
    /* position: fixed; 
    top: 0;
    left: 0;
    width: 100%; 
    z-index: 1000; */
    background-color: #fff;  
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 5px 0; 
}

.header {
    display: flex;
    height: 100px;
    align-items: center;
    justify-content: space-between;
}
.head-logo img {
    width: 150px;
}
.head-tel-btn {
    font-size: 30px;
    font-weight: 700;
    color: #d42827;
}

.btn-primary {
    background: #d42827;
    color: #fff;
    border-radius: 4px;
    border: none;
    padding: 12px 24px;
    text-transform: uppercase;
    font-size: 16px;
    transition: .2s;
}
.btn-primary:hover,
.btn-primary:active {
    background: #025489;
}
.head-contact-item {
    margin-bottom: 7px;
    position: relative;
    padding-left: 30px;
}
.head-contact-item:last-of-type {
    margin-bottom: 0;
}

.head-contact-item:before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background: url(/assets/img/phone-solid.svg) no-repeat;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-size: contain;
}
.head-contact-item-1:before  {
    width: 22px;
    height: 22px;
    filter: brightness(0) saturate(100%) invert(23%) sepia(43%) saturate(7244%) hue-rotate(351deg) brightness(89%) contrast(85%);
}
.head-contact-item-2:before  {
    background: url(/assets/img/timer-svgrepo-com.svg) no-repeat;
}

.head-contact-item-3:before  {
    background: url(/assets/img/mail-svgrepo-com.svg) no-repeat;
}

.trust-icon {
    padding-top: 12px;
}

/* Email + Insta Header Style */
.insta,.fb {
    padding-left: 20px;
}

.insta ul, .email ul, .fb ul {
  list-style: none; /* Прибираємо стандартні маркери */
  padding-left: 0;  /* Видаляємо відступ */
}

.insta ul li, .email ul li, .fb ul li {
  position: relative; /* Для використання псевдоелемента */
  padding-left: 30px; /* Зазор для іконки */
}

.insta ul li::before, .email ul li::before, .fb ul li::before {
  content: ""; /* Псевдоелемент */
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px; /* Розмір іконки */
  height: 20px;
  background-size: contain; /* Масштабування іконки */
  background-repeat: no-repeat; /* Запобігаємо повторенню */
}

.fb ul li::before {
  background-image: url('/assets/img/fb2.svg'); /* Посилання на іконку SVG */
}

.insta ul li::before {
  background-image: url('/assets/img/insta.svg'); /* Посилання на іконку SVG */
}

.email ul li::before {
  background-image: url('/assets/img/mail-svgrepo-com.svg'); /* Посилання на іконку SVG */   
}

/* End */


.footer-social {
    display: flex;
    justify-content: center;
    padding: 20px;
    border: 1px solid #ccc;
    background: #ECECEC;
}

footer {
    /*margin-top: 50px;*/
    background: #025489;
    color: #fff;
    padding: 20px 0;
}

.footer-inner-pow {
    text-align: center;
    font-size: 12px;
    margin-top: 15px;
}
.footer-inner {
    display: flex;
    align-items: center;
    line-height: 1.3;
}
.footer-item-1 {
    font-size: 32px;
    font-weight: 700;
}
.footer-item-2 {
    margin-left: 25px;
}
.footer-item-3 {
    margin-left: auto;
}
.footer-item-title {
    font-size: 18px;
    font-weight: 700;
}
.footer-item-3 .footer-item-title {
    text-transform: none;
}



.request-block {
    margin-top: 60px;
}
.r-block-title {
    font-size: 36px;
    text-transform: uppercase;
    text-align: center;
}
.r-block-inner {
    margin-top: 30px;
    display: flex;
    align-items: center;
    max-width: 1020px;
    margin-left: auto;
    margin-right: auto;
}
.r-soc {
    width: 50%;
    padding: 0 15px;
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    align-items: center;
}
.r-form {
    width: 50%;
    padding: 0 15px;
}
.r-soc-item {
    width: 200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    margin: 20px;
}

.r-form-title {
    color: #025489;
    text-transform: uppercase;
    font-size: 24px;
    margin-bottom: 20px;
}
.contact-form {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.contact-form .form-group {
    margin-bottom: 15px;
}
.contact-form .form-control {
    border: 1px solid #434343;
    outline: none;
    width: 100%;
    border-radius: 3px;
    height: 50px;
    padding: 0 15px;
    transition: .2s;
}
.contact-form .form-control::placeholder {
    color: #acacac;
}
.contact-form .form-control:focus {
    border-color: #025489;
    box-shadow: 0 0 2px 0 #025489;
}
.contact-form .form-control.error {
    border-color: red !important;
}

.contact-form textarea.form-control {
    height: 100px;
    padding-top: 15px;
}
.contact-form input[type="submit"] {
    background: none;
    outline: none;
    border: 1px solid #025489;
    border-radius: 3px;
    height: 50px;
    width: 150px;
    text-transform: uppercase;
    color: #025489;
    margin-top: 10px;
    font-size: 18px;
    transition: .2s;
}
.contact-form input[type="submit"]:hover,
.contact-form input[type="submit"]:active {
    box-shadow: 0 0 2px 0 #025489;
}


.r-form-success {
    color: green;
    font-weight: 700;
    font-size: 24px;
}



.footer-item-3 img {
    width: 170px;
}


/*********** media ***********/
@media (max-width: 991px) {
    .first-block-inner {
        position: absolute;
        left: -200px;
        top: 0;
    }
    .about-block-inner {
        position: relative;
    }
}
@media (max-width: 767px) {
    body {
        font-size: 14px;
    }


    .fb-bg-1 {
        width: calc(760px/2.7);
        height: calc(670px/2.7);
        right: 0;
        top: 0;
    }
    .bf-title {
        position: absolute;
        right: 15px;
        top: 0;
        text-transform: uppercase;
        color: #fff;
        width: 300px;
        text-align: right;
        line-height: 1.3;
    }
    .bf-title .title {
        font-size: 15px;
    }
    .bf-title .text {
        font-size: 16px;
    }
    .email, .insta, .fb {
         padding-left: 0px;
         padding-bottom: 10px;
    }


    .first-block-inner {
        transform: scale(.5);
        left: -60px;
        top: 0;
    }
    .first-block {
        height: 300px;
    }
    .fb-bg-3 {
        width: calc(198px/1.05);
        height: calc(198px/1.05);
    }



    .fb-bg-2 {
        display: none;
    }


    .about-block {
        padding-top: 40px;
        padding-bottom: 30px;
    }
    .about-block-inner h2 {
        font-size: 32px;
    }
    .about-block-inner ul li {
        font-size: 16px;
        padding-left: 16px;
    }

    .about-block-inner ul li:before {
        width: 8px;
        height: 8px;
        top: 5px;
    }
    .about-block-inner h3 {
        font-size: 18px;
    }



    .request-block {
        margin-top: 40px;
    }
    .r-block-title {
        font-size: 20px;
    }
    .r-block-inner {
        display: block;
    }
    .r-soc {
        width: 100%;
        padding: 0;
        display: flex;
        flex-flow: wrap;
        justify-content: center;
    }
    .r-form {
        width: 100%;
        padding: 0;
        margin-top: 20px;
    }
    .r-soc-item {
        width: 50%;
        padding: 0 15px;
        padding-left: 8px;
        margin: 0;
        margin-bottom: 15px;
    }

    .r-form-title {
        color: #025489;
        text-transform: uppercase;
        font-size: 20px;
        margin-bottom: 20px;
    }
    .footer-social {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important; /* Відстань між поштою, інстою та фейсбуком */
        padding: 25px 0 !important; /* Додаємо трохи вільного простору зверху і знизу */
    }
    .footer-social .email,
    .footer-social .insta,
    .footer-social .fb {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    /* Забираємо стандартні відступи у списків, щоб нічого не косило вбік */
    .footer-social ul {
        margin: 0 !important;
        padding: 0 !important;
        display: flex;
        justify-content: center;
    }

    .footer-inner {
        display: block;
        text-align: center;
    }
    .footer-item-1 {
        font-size: 24px;
        font-weight: 700;
    }
    .footer-item-2 {
        margin: 0;
    }

    .footer-item {
        margin-bottom: 8px;
    }
    .footer-item:last-of-type {
        margin-bottom: 0;
    }
    .footer-item-title {
        font-size: 16px;
    }

    .contact-form .form-control {
        height: 40px;
    }
    .contact-form input[type="submit"] {
        height: 40px;
        width: 120px;
        font-size: 16px;
    }

    footer {
        padding: 25px 0;
    }
    .footer-item-3 {
        margin-top: 10px;
    }

    .desktop {
        display: none;
    }

    .footer-item-3 img {
        width: 160px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-inner-pow {
        text-align: center;
    }

}



@media (min-width: 768px) {
    .mobile {
        display: none;
    }

    .head-logo,
    .head-btn {
        flex: none;
    }
    .head-contact {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .head-contact-item-1 {
        order: 1;
        margin-left: 30px;
    }
    .head-contact-item-3 {
        margin-right: 30px;
    }
}