/* General styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Header Styles */
.header {
    background-color: #2a6b8f; 
    color: #fff;  
    padding: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.nav__toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo-img {
    max-width: 180px; 
    height: auto;
}

.navbar ul {
    display: flex;
    list-style-type: none;
}

.navbar ul li {
    margin-right: 20px;
}

.navbar ul li a {
    text-decoration: none;
    color: #fff; 
    font-size: 18px; 
    font-weight: 600; 
    transition: color 0.3s ease, transform 0.3s ease;
}

.navbar ul li a:hover {
    color: #ffcc00; 
    transform: translateY(-2px); 
}

.info p {
    font-family: 'Arial', sans-serif;
    font-size: 16px; 
    color: #fff; 
}

.info p:first-child {
    margin-bottom: 5px;
}

.info a {
    color: #fff;
    text-decoration: none;
    font-size: 16px; 
    transition: color 0.3s ease, transform 0.3s ease;
}

.info a:hover {
    color: #ffcc00; 
    transform: translateY(-2px); 
}
/* Hero styles */
.hero {
    background: url(img/hero-test.jpg) no-repeat center/cover;
    text-align: center;
    padding: 200px 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.hero-title {
    font-family: 'Arial', sans-serif;
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.cta-btn {
    text-decoration: none;
    background-color: #2a6b8f;
    color: white;
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #215a74;
}
/* Why Choose Us Section */
.why-choose-us {
    background-color: #e1e6f0; /* Світлий фон під стиль сайту */
    padding: 80px 20px;
    text-align: center;
}

/* Контейнер для всієї секції */
.why-us-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Заголовок */
.section-title {
    font-size: 32px;
    color: #1d3557; 
    font-weight: bold;
    margin-bottom: 40px;
}

/* Контейнер для карток */
.benefits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

/* Картки */
.benefit-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    overflow: hidden;
    cursor: pointer;
}

/* Фото у картках */
.benefit-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Текст у картках */
.benefit-card h3 {
    font-size: 20px;
    color: #1d3557;
    margin-bottom: 10px;
    font-weight: bold;
}

.benefit-card p {
    font-size: 15px;
    color: #4a4a4a;
}

/* Ефект наближення при наведенні */
.benefit-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Кнопка під картками */
.cta-container {
    margin-top: 50px;
    width: 100%;
    text-align: center;
}

.cta-button {
    background: #1d3557;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    background: #14213d;
}
/* CTA Block */
.cta-block {
    background-color: #1d3557; 
    color:#ffffff;
    text-align: center;
    padding: 60px 20px;
}
.cta-title {
    font-size: 32px;
    font-weight: bold;
    color: #fca311; 
    margin-bottom: 20px;
}
.cta-text {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 30px;
}
.new-btn {
    background-color:#fca311;
    color:#1d3557;
}
.new-btn:hover{
    background-color: #ff8c00;
}

/* Our Services */
.section-title-service {
    font-size: 32px;
    color: #1d3557;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    padding-top: 80px;
}
.section-subtitle {
    font-size: 18px;
    color: #4a4a4a;
    margin-bottom: 40px;
    text-align: center;
}

.mySlides {
    display: none;
    justify-content: center;
}



/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}
.img-rooms {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
}


/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}


/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
  max-height: 50%;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}
/* Contact Us Section */
.contact-us {
    background-color: #b0bfd8; /* Світлий фон для розділу */
    padding: 80px 20px;
    text-align: center;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
}
.section-subtitle {
    font-size: 18px;
    color: #4a4a4a;
    margin-bottom: 40px;
}

/* Contact Info & Form */
.contact-info-form {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.trust-map {
    width: 48%; /* Ліва частина - карта та довіра */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.trust-block {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.trust-item {
    min-width: 150px; /* Можна налаштувати під розміри картинок */
}

.trust-img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.map {
    width: 100%;
}
.map iframe{
    width: 100%;
    min-height: 350px;
}

.contact-info-form-right {
    width: 48%; /* Правая частина - контактна інформація і форма */
}

.contact-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid #eee;
    border-radius: 5px;
}
.contact-form p {
width: 100%;
font-size: 21px;
font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    font-size: 16px;
    padding: 12px;
    margin: 10px 0;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    background-color: #2a6b8f;
    color: white;
    font-size: 18px;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.contact-form button:hover {
    background-color: #215a74;
}

.contact-info {
    padding: 20px 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap; /* для мобільної адаптації */
    gap: 20px;
    font-size: 16px;
    color: #fff;
    background-color: #14213d;
}

.contact-info div {
    margin: 0;
    white-space: nowrap;
    border-radius: 5px;
    background-color: #ff8c00;
    padding: 10px 20px
}
.contact-info :hover {
    background-color: #f08503;
}

.contact-info a {
    text-decoration: none;
    color: #fff;
}



/* Responsive Design */
@media (max-width: 768px) {
    .nav__toggle {
        display: block;
    }

    .navbar {
        display: none;
        text-align: center;
        width: 100%;
        max-width: 180px;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0px;
        background: #2a6b8f;
        padding: 10px;
        border: 1px solid #777;
        border-radius: 5px;
    }

    .nav__list--active {
        display: flex;
    }

    .nav__item {
        padding: 10px 0;
        text-align: center;
    }
    .info {
        display: none;
    }


    .logo-img {
        max-width: 150px;
    }

    .navbar ul {
        flex-direction: column;
        margin-top: 20px;
    }

    .navbar ul li {
        margin: 10px 0;
    }

    .contact-info p {
        font-size: 18px;
        margin: 5px 0;
    }
    .hero-title {
        font-size: 28px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .cta-btn {
        font-size: 16px;
        padding: 12px 25px;
    }
    .service-item {
        flex: 1 0 90%;
    }
    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .contact-info-form {
        flex-direction: column;
        align-items: center;
    }

    .contact-info-form-right,
    .trust-map {
        width: 100%;
    }

    .contact-info-form-right {
        margin-bottom: 40px;
    }
    .trust-map {
        margin-bottom: 40px;
    }
    .cta-title {
        font-size: 28px;
    }

    .cta-text {
        font-size: 16px;
    }
    .contact-info {
        display: grid;
        grid-template-columns: 1fr;
    }
    .contact-info div {
        margin: 0 auto;
        width: 90%;
}
}
@media (max-width: 1000px) {
    .contact-info {
        text-align: center;
        display: grid;
        grid-template-columns: 1fr;
    }
}