@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');

body {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    letter-spacing: 0.5px;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    overflow-x: hidden;
}

h1, h2, h3 {
    letter-spacing: 1px;
}

button, .get-quote {
    font-size: 20px;
    padding: 12px 24px;
    letter-spacing: 0.8px;
}

.dev-notice {
    display: none;
    background: #ffcc00;
    color: #333;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}
.close-notice {
    background: #333;
    color: white;
    border: none;
    padding: 5px 10px;
    margin-left: 15px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 3px;
}
.close-notice:hover {
    background: #555;
}
header {
    background: #007BFF;
    color: white;
    padding: 20px;
    text-align: center;
}
nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}
nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

@media screen and (max-width: 768px) {
    .nav {
        display: none;
        flex-direction: column;
        background-color: #007BFF;
        position: absolute;
        width: 100%;
        top: 60px;
        left: 0;
        text-align: center;
    }
    .nav a {
        padding: 10px;
        display: block;
        border-bottom: 1px solid white;
    }
    .hamburger-menu {
        display: block;
        position: absolute;
        top: 10px;
        left: 10px;
    }
}

.facebook-icon img {
    vertical-align: middle;
    margin-left: 10px;
    transition: opacity 0.3s;
}

.facebook-icon img:hover {
    opacity: 0.7;
}
.hero {
    text-align: center;
    padding: 50px;
    background: #0056b3;
    color: white;
}
.container {
    width: 80%;
    margin: auto;
    padding: 20px;
}

.about-content {
    align-items: stretch;
    display: flex;
    gap: 30px;
    justify-content: space-between;
}
  
.about-text {
    flex: 1 1 60%;
    min-width: 300px;
}

.about-map {
    flex: 1 1 40%;
    min-width: 250px;
    height: auto;
    display: flex;
}

.about-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    flex: 1;
}

@media (max-width: 768px) {
    .about-content {
      flex-direction: column;
    }
  
    .about-map {
      height: 300px;
    }
}

.linkedin-link {
    text-decoration: none;
    color: #0056b3; /* color LinkedIn */
    font-weight: bold;
}

.linkedin-link:hover {
    color: #007BFF;
}

.services, .about, .cta, .contact, .goal, .about-founders {
    margin-bottom: 40px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.cta {
    text-align: center;
    background: #007BFF;
    color: white;
    padding: 30px;
}
.cta a, .get-quote {
    display: inline-block;
    background: white;
    color: #007BFF;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    cursor: pointer;
}
.get-quote {
    display: block;
    width: fit-content;
    margin: 20px auto;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}
.modal-content {
    background: white;
    position: relative; 
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    text-align: center;
}

.modal-content input,
.modal-content textarea {
    width: 90%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 16px;
}
.modal-content p {
    margin-left: 5%;
    margin-right: 5%;
    text-align: center;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    font-family: Arial, sans-serif;
    font-size: 16px;
}
.modal-textarea {
    height: 100px;
    resize: vertical;
}
.close {
    color: red;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 26px;
    cursor: pointer;
}
.close:hover {
    top: 13px;
    right: 18px;
    font-size: 32px;
}
button[type="submit"] {
    width: 150px;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    background: white;
    cursor: pointer;
}
button[type="submit"]:hover {
    background: #f4f4f4;
}
.facebook-text {
    color: #1877F2; /* Facebook */
    font-weight: bold;
    text-decoration: none;
}

.facebook-text:hover {
    text-decoration: underline;
}
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px;
}
.recaptcha-notice {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-top: 10px;
}

.recaptcha-notice a {
    color: #666;
    text-decoration: none;
}

.recaptcha-notice a:hover {
    text-decoration: underline;
}

/* --- Testimonials Section --- */
.testimonials-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}
  
.testimonial-slider-wrapper {
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.testimonial-slider-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
  }
  
.testimonial-slider {
    display: flex;
    flex-wrap: nowrap;
    gap: 35px;
    padding: 30px 35px;
}

.testimonial-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    box-sizing: border-box;
    flex: 0 0 calc((100% - 68px) / 3);
    min-width: 250px;
    min-height: 180px;
    padding: 20px;
    overflow: visible;
    position: relative;
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: #eee;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    transition: 0.2s;
}
  
.testimonial-nav:hover {
  background: #ccc;
}

.testimonial-nav.prev {
  left: 10px;
}

.testimonial-nav.next {
  right: 10px;
}

@media (max-width: 900px) {
    .testimonial-card {
      flex: 0 0 calc((100% - 105px) / 2);
    }
}

/* Mobile fallback */
@media (max-width: 600px) {
    .testimonial-card {
      flex: 0 0 100%;
    }
}

/* Значок источника отзыва */
.testimonial-source {
    position: absolute;
    top: -30px; /* Поднимаем значок выше карточки */
    right: 30px; /* Сдвигаем влево от правого края */
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    background: none; /* Убираем белый фон */
}

.testimonial-source img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 50%; /* Обрезаем края */
    display: block; /* Убираем лишние пробелы */
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.testimonial-rating {
    color: gold;
    font-size: 18px;
}

.testimonial-name {
    font-weight: bold;
    font-size: 16px;
}

.testimonial-country {
    font-size: 14px;
    color: #666;
}

.testimonial-text {
    font-size: 14px;
    color: #333;
    text-align: left;
    margin-top: 5px;
}

/* Анимация скролла */
@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

/* --- Sertificates --- */
.certificates-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    justify-content: center;
    align-items: stretch;
}

.certificates-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.certificates-header h1 {
    flex-grow: 1;
    text-align: center;
}


.certificate {
    width: 250px;
    cursor: pointer;
    text-align: center;
    border-radius: 10px;
    background: white;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-height: 380px;
}

.certificate:hover {
    transform: scale(1.05);
}

.certificate img {
    width: 100%;
    border-radius: 5px;
    height: auto;
    object-fit: contain;
    aspect-ratio: 4 / 3;
}

#certificateModal .modal-content {
    max-width: 800px; 
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 20px;
    border-radius: 10px;
    overflow: hidden;
}

#certificateModal img {
    width: 100%;
    max-width: 700px; 
    max-height: 80vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 5px;
}




.verify-button {
    display: inline-block;
    background: #007BFF;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: auto;
    text-align: center;
}

.verify-button:hover {
    background: #0056b3;
}

.back-to-home {
    display: inline-block;
    font-size: 16px;
    color: #fff;
    background-color: #007bff;
    padding: 8px 12px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.back-to-home:hover {
    background-color: #0056b3;
}