@font-face {
 font-family: 'Geologica Bold';
 src: url('fonts/Geologica-Bold.woff2') format('woff2');
 font-weight: 700;
 font-style: normal;
 }

 @font-face {
    font-family: 'Geologica Light';
    src: url('fonts/Geologica-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
 }

html, body {
    overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Geologica Bold', sans-serif;
  background-color: #121E2E;
  color: white;
  overflow: hidden;
}

.section {
 padding: 60px 120px;
 }

.section.blue-bg {
 background-color: #121E2E;
 color: white;
 }

.logo-mobile {
    display: none;
}

@media (max-width: 600px) {
    .html, body {
        overflow-x: hidden;
    }
    .logo-mobile {
        display: flex;
        width: 59px;
        height: 58px;
    }
}

h1 {
 font-family: 'Geologica Bold';
 font-size: 25px;
 }

@media (max-width: 600px) {
    .section {
        padding: 0 10px;
    }
    h1 {
        font-size: 20px;
        width: 119px;
        height: 50px;
        margin-left: 65px;
        margin-top: -53px;
    }
}

.btn-group {
    display: flex;
    gap: 50px;
    margin-left: 350px;
    margin-top: -43px;
}

.main-btn {
    font-family: 'Geologica Light';
    font-size: 20px;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.main-btn:hover {
    transform: scale(1.1);
}

.curtain-mobile {
    display: none;
}

@media (max-width: 600px) {
    .btn-group {
        display: flex;
        position: fixed;
        flex-direction: column;
        text-align: right;
        gap: 20px;
        top: 100px; 
        right: -100px;
        box-sizing: border-box;
        z-index: 1060;
        transition: right 0.3s ease-in-out;
    }
    .side-menu.active .btn-group {
        display: flex;
        right: 25px;
    }
    .main-btn {
        font-size: 15px;
        color: white;
    }
    .curtain-mobile {
        display: block;
        position: fixed;
        width: 69px;
        height: 32px;
        top: 15px;
        right: -10px;
    }
    .side-menu {
        position: fixed;
        padding-top: 60px;
        width: 80%;
        height: 100%;
        background-color: #121E2E;
        right: -100%;
        top: 0;
        transition: right 0.3s ease-in-out;
        z-index: 1050;
    }
    .side-menu.active {
        right: 0;
        box-shadow: 10px 0 300px rgba(0, 0, 0, 1)
    }
}

.close-btn {
    display: none;
}

@media (max-width: 600px) {
    .close-btn {
        display: block;
        position: absolute;
        top: 10px;
        left: 9px;
        width: 17.81px;
        height: 17.81px;
        cursor: pointer;
        z-index: 1060;
    }

    .main-btn {
        font-family: 'Geologica Light';
        font-size: 15px;
        color: white;
        text-decoration: none;
        position: relative;
        padding-left: 60px;
    }
    .main-btn::before {
        content: none;
    }
    .side-menu.active .main-btn::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 8px;
        height: 14px;
        background-image: url(images/arrow.svg);
    }
}

.popup-title {
    display: none;
}

@media (max-width: 600px) {
    .popup-title {
        display: none;
        font-family: 'Geologica Bold';
        font-size: 20px;
        width: 222px;
        margin-top: -55px;
        margin-left: 68px;
        text-align: right;
    }
    .side-menu.active .popup-title {
        display: block;
    }
}

.phone-number {
    display: flex;
    align-items: center;
    width: 229px;
    height: 30px;
    margin-left: 1010px;
    margin-top: -30px;
    gap: 8px;
}

.phone-number img {
    width: 30px;
    height: 30px;
}

.phone-btn {
    font-family: 'Geologica Light';
    font-size: 20px;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.phone-btn:hover {
    transform: scale(1.1);
}

@media (max-width: 600px) {
    .phone-number {
        display: none;
        margin-left: 115px;
        margin-top: 500px;
        justify-content: flex-end;
        width: 167px;
        height: 22px;
        font-size: 15px;
    }
    .side-menu.active .phone-number {
        display: flex;
    }
    .phone-number img {
        width: 21px;
        height: 22px;
    }
    .phone-btn {
        font-size: 15px;
    }
    .phone-btn:hover {
        font-size: 15px;
        text-decoration: none;
    }
}

.logo-desktop {
    display: flex;
    width: 600px;
    height: 586px;
    margin-top: 40px;
    margin-left: -50px;
}

@media (max-width: 600px) {
    .logo-container {
        width: 400px;
        height: 637px;
        overflow: hidden;
        position: relative;
        opacity: 0.3;
    }
    .logo-desktop {
        position: absolute;
        left: 151px;
        margin-top: -10px;
        pointer-events: none;
    }
}

h3 {
    font-family: 'Geologica Bold';
    font-size: 80px;
    width: 733px;
    height: 200px;
    text-align: right;
    margin-top: -500px;
    margin-left: 490px;
}

@media (max-width: 600px) {
    h3 {
        text-align: left;
        width: 257px;
        height: 83px;
        font-family: 'Geologica Bold';
        font-size: 35px;
        margin-top: -585px;
        margin-left: 10px;
    }
}

.slogan {
    font-family: 'Geologica Light';
    font-size: 25px;
    width: 420px;
    height: 62px;
    margin-top: -50px;
    margin-left: 800px;
    text-align: right;
}

@media (max-width: 600px) {
    .slogan {
        font-family: 'Geologica Light';
        font-size: 15px;
        width: 260px;
        height: 38px;
        text-align: left;
        margin-left: 10px;
        margin-top: 25px;
    }
}

.consultation-btn {
    display: flex;
    font-family: 'Geologica Light';
    position: relative;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    font-size: 25px;
    text-align: center;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    cursor: pointer;
    width: 419.79px;
    height: 89px;
    margin-left: 800px;
    margin-top: 50px;
}

@media (max-width: 600px) {
    .consultation-btn {
        width: 152px;
        height: 44px;
        margin-top: 35px;
        margin-left: 10px;
        font-size: 15px;
    }
}

.divider {
    width: 83%;
    height: 1px;
    background-color: white;
    margin-top: 100px;
    margin-left: 0;
}

@media (max-width: 600px) {
    .divider {
        display: none;
    }
}

.services-title {
    font-family: 'Geologica Light';
    font-size: 25px;
    width: 205px;
    height: 62px;
    text-align: left;
    margin-left: 10px;
}

.services-grid {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 215px;
}

.services-card {
    display: flex;
    width: 190px;
    height: 166px;
    border-radius: 50px;
    background-color: #D9D9D9;
    margin-left: 10px;
    margin-top: -80px;
    color: #121E2E;
    text-align: center;
    position: relative;
    justify-content: center;
    align-items: center;
    font-family: 'Geologica Light';
    font-size: 20px;
}

@media (max-width: 600px) {
    .services-title {
        font-size: 20px;
        width: 176px;
        height: 50px;
        margin-top: 30px;
    }
    .services-grid {
        flex-direction: row;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        justify-content: flex-start;
        margin-top: 0;
        margin-left: auto;
    }
    .services-card {
        width: 170px;
        height: 56px;
        margin-top: 10px;
        font-size: 15px;
    }
    .services-card:last-child {
        grid-column: 1 / span 2;
        justify-self: flex-start;
        width: calc(100% - 25px);
    }
}

.section {
    width: 100%;
    padding: 60px 120px;
}

.white-bg {
    background-color: white;
    color: #121E2E;
}

.about h3 {
    font-family: 'Geologica Bold';
    font-size: 80px;
    color: #121E2E;
    text-align: left;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: -100px;
}

.about p {
    font-family: 'Geologica Light';
    font-size: 25px;
    color: #121E2E;
    text-align: left;
    width: 1200px;
    margin-left: 5px;
}

@media (max-width: 600px) {
    .section {
        background-color: #121E2E;
        color: white;
        padding: 20px 10px;
    }
    .about {
        text-align: center;
        margin-left: 10px;
        max-width: 360px;
    }
    .about h3 {
        font-size: 35px;
        color: white;
        justify-content: center;
        text-align: center;
        display: inline;
    }
    .about p {
        font-size: 15px;
        color: white;
        text-align: left;
        width: 355px;
    }
}

.about-card {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.about-card .card-about {
    width: 625px;
    height: 166px;
    border-radius: 50px;
    background-color: #121E2E;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Geologica Light';
    font-size: 20px;
    padding: 30px;
    box-sizing: border-box;
}

.about-card .card-about:nth-child(3) {
    width: 1265px;
}

@media (max-width: 600px) {
    .about-card {
        justify-content: center;
        gap: 10px;
    }
    .about-card .card-about {
        width: 365px;
        height: 170px;
        background-color: white;
        color: #121E2E;
        font-size: 15px;
        font-family: 'Geologica Bold';
    }
}

.section-services.blue-bg h3 {
    margin-top: 50px;
    font-size: 80px;
    margin-left: 150px;
    margin-bottom: -50px;
    color: #fff;
}

.section-services {
    padding-bottom: 120px;
}

.services {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    margin-left: 160px;
}

.services .card {
    width: 380px;
    box-sizing: border-box;
    border: 2px solid #fff;
    border-radius: 50px;
    text-align: center;
    padding: 20px;
}

.services .card img {
    max-width: 80px;
    margin-bottom: 15px;
}

.services .card h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.services .card p {
    font-size: 15px;
    font-family: 'Geologica Light';
    color: #ccc;
}

@media (max-width: 600px) {
    .section-services.blue-bg h3 {
    margin-top: 50px;
    font-size: 35px;
    margin-left: 140px;
    margin-bottom: 0;
    }
    .section-services .services {
        flex-direction: column;
        align-items: center;
        gap: 20px;               
        margin-left: 10px;
    }
    .section-services .services .card {
        flex: 0 0 auto;       
        width: 360px;    
        height: 280px;         
        box-sizing: border-box;  
    }
}

.section-cases {
    width: 100%;
    padding: 60px 120px;
}

.section-cases h3 {
    margin-top: 0;
    margin-left: -420px;
}

.section-cases p {
    margin-top: -180px;
    margin-left: 48px;
    font-family: 'Geologica Light';
    font-size: 40px;
}

.cases {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 1180px;
    margin: 40px;
}

.case {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #121E2E;
    border-radius: 50px;
    color: white;
    padding: 40px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    min-height: 100px;
    gap: 20px;
}

.case img {
    height: 60px;
    width: auto;
}

.case h4 {
    flex: 1;
    margin: 0 60px;
    font-size: 30px;
    text-align: center;
}

.btn-more {
    background-color: #D9D9D9;
    color: white;
    border-radius: 50px;
    width: 180px;
    height: 70px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 25px;
    transition: background 0.3s;
}

.btn-more:hover {
    background-color: white;
    color: #121E2E;
}

@media (max-width: 600px) {
    .section-cases {
        width: 100%;
        padding: 20px;
    }

    .section-cases h3 {
        margin: 20px 0 10px;
        margin-left: 40px;
        font-size: 35px;
        text-align: center;
    }

    .section-cases p {
        font-size: 15px;
        margin: 0 0 10px;
        margin-top: -40px;
        margin-left: -40px;
        text-align: center;
    }

    .cases {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;               
        margin-left: -15px;
        width: 100%;
    }

    .case {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: #121E2E;
        border-radius: 30px;
        color: white;
        padding: 30px 20px;
        min-height: auto;
        width: 80%;
        gap: 15px;
        text-align: center;
    }

    .case img {
        display: none;
    }

    .case h4 {
        margin: 0;
        font-size: 16px;
        text-align: center;
    }

    .btn-more {
        margin-top: 10px;
        width: 150px;
        height: 50px;
        font-size: 18px;
        color: #121E2E;
    }
}


.section-reviews {
  display: grid;
  grid-template-columns: 650px 400px;
  gap: 20px;
  justify-content: center;
  align-items: start;
  padding: 60px 0;
  margin: 0 auto;
  position: relative;
}

.section-reviews .reviews-slider { display: grid; grid-template-columns: 1fr; }

.reviews-block {
  grid-column: 1;
  grid-row: 1;
  width: 650px;
  height: 500px;
  background: white;
  border-radius: 50px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviews-track {
  display: flex;                
  height: 100%;
  transition: transform 0.5s ease-in-out;
}
.reviews-card {
  width: 650px;
  flex-shrink: 0;
  padding: 30px;
  box-sizing: border-box;
  text-align: center;
}
.reviews-text { font-family: 'Geologica Light'; font-size: 25px; margin-bottom: 12px; color: #121E2E; }
.reviews-author { font-weight: 700; color: #121E2E; }

.prev, .next {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  justify-self: start;
  background: transparent;
  border: none;
  color: #121E2E;
  font-size: 32px;
  cursor: pointer;
  z-index: 2;
  padding: 0;
}
.next { justify-self: end; }

.help-form-block {
  grid-column: 2;
  grid-row: 1;
  max-width: 400px;
  width: 100%;
  height: 440px;
  background: none;
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.help-title { font-size: 55px; margin-bottom: 18px; color: white; text-align: left; }
.help-form .form-group { margin-bottom: 12px; }
.help-form input, .help-form textarea {
  width: 100%; padding: 10px 14px; border: 1px solid #ccc; border-radius: 10px; font-size: 16px;
}
.help-btn {
  width: 430px; padding: 12px; border: 0; border-radius: 10px;
  background: white; color: #121E2E; font-size: 18px; cursor: pointer;
}

@media (max-width: 600px) {
    .reviews-block,
    .prev,
    .next {
        display: none !important;
    }

    .section-reviews {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 30px 20px;
    }

    .help-form-block {
        width: 90%;
        max-width: 400px;
        height: auto;
        padding: 20px;
        margin-left: -10px;
        text-align: center;
        z-index: 1;
    }

    .help-title {
        font-size: 35px;
        text-align: start;
        margin-bottom: 15px;
    }

    .help-form input,
    .help-form textarea {
        font-size: 14px;
        padding: 8px 10px;
    }

    .help-btn {
        width: 107%;
        font-size: 16px;
        padding: 10px;
        margin-top: 10px;
    }
}

.section-contacts {
    background-color: white;
    padding: 60px 120px;
}

.contacts {
    font-family: 'Geologica Bold';
    font-size: 30px;
    width: 100px;
    margin-left: 80px;
}

.social-icons {
    margin-left: 550px;
    margin-top: -80px;
    gap: 20px;
}

.address {
    width: 200px;
    margin-left: 950px;
    margin-top: -60px;
    font-size: 25px;
}

.side-menu .social-icons,
.side-menu .address {
    display: none;
}

@media (max-width: 600px) {
    .side-menu .menu-contacts {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 20px;
    }

    .side-menu .menu-contacts .social-icons {
        display: flex;
        gap: 20px;
    }

    .side-menu .menu-contacts .address {
        font-size: 16px;
        text-align: center;
        max-width: 200px;
    }
}

.popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: #fff;
    padding: 20px;
    width: 1100px;
    height: 80vh;
    border-radius: 50px;
    text-align: left;
    overflow-y: auto;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

.popup-content h5 {
    color: #121E2E;
    font-size: 40px;
    margin-top: 0;
    margin-bottom: 5px;
    word-wrap: break-word;
}

.popup-content h6 {
    color: #121E2E;
    font-size: 30px;
    margin-bottom: 5px;
    margin-top: 10px;
    word-wrap: break-word;
}

.popup-content p {
    color: #121E2E;
    font-size: 30px;
    font-family: 'Geologica Light';
    width: 100%;
    margin-bottom: 5px;
    margin-top: 5px;
    word-wrap: break-word;
}

body.popup-open,
html.popup-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .popup-content h5 {
        font-size: 20px;
    }
    .popup-content h6 {
        font-size: 15px;
    }
    .popup-content p {
        font-size: 15px;
    }
    .popup {
        z-index: 1;
    }
    .contacts,
    .section-contacts {
        display: none;
    }
}

.photo-gallery {
    display: flex;
    justify-content: left;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.photo-gallery img {
    width: 20.5%;
    border-radius: 30px;
    object-fit: cover;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 1);
    transition: transform 0.3s ease;
}

.photo-gallery img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .photo-gallery img {
        justify-content: center;
        width: 50%;
    }
}