/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #FFFFFF;
    background-color: #151515;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: #FFFFFF;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 65px 0px 0px 55px;
}
h1 {
    font-weight: bold;
}
/* Hero section */
.hero-section {
    background-color: #151515;
    background-image: url('./assets/main_bg.webp');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    position: relative;
    padding: 0 0 20px;
}

/* Header - Sticky version */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    transition: all 0.3s ease;
    background-color: transparent;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.scrolled {
    background-color: rgba(21, 21, 21, 0.90);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.scrolled .header-content {
    padding: 15px 0;
}

.logo img {
    height: 75px;
    transition: height 0.3s ease;
}

.scrolled .logo img {
    height: 65px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav a {
    font-size: 14px;
    font-weight: none;
    padding: 5px 0;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.main-nav a:hover {
    color: #ED1C24;
}

.nav-divider {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 15px;
    font-weight: 300;
}

/* Add padding to body to prevent content from being hidden behind fixed header */
body {
    padding-top: 75px; /* Should match your header height */
}

/* Adjust hero section to accommodate for fixed header */
.hero-section {
    margin-top: -75px; /* Negative value of padding-top */
    padding-top: 75px;
}

@media (max-width: 768px) {
    body {
        padding-top: 55px; /* Adjust for smaller header on mobile */
    }
    
    .hero-section {
        margin-top: -55px;
        padding-top: 10px;
    }
}

/* Contact buttons */
.contact-buttons {
    display: flex;
    align-items: center;
}

.messenger-btn, .whatsapp-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    color: #FFFFFF;
}

.messenger-btn {
    background-color: none;
}

.whatsapp-btn {
    background-color: none;
    margin-right: 30px;
}

.cta-button {
    background-color: #ED1C24;
    color: #FFFFFF;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 16px;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.cta-button:hover {
    background-color: #c91219;
}

.cta-button .short-text {
    display: none;
}

.cta-button .full-text {
    display: block;
}

/* Hero content */
.hero-content {
    margin-top: 60px;
    text-align: center;
    padding: 0 20px;
}

.main-heading {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 50px;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.highlight-text {
    color: #ED1C24;
}

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
    max-width: 900px;
    margin: 0 auto 20px;
}

.feature {
    display: flex;
    align-items: center;
    text-align: left;
}

.check-icon {
    background-color: #3c3c3c;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-icon i {
    color: #FFFFFF;
    font-size: 16px;
}

.feature p {
    font-size: 18px;
    font-weight: 500;
}

/* Обновленный стиль для секции отзывов с более широким центральным блоком */
.testimonials-section {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonials-slider {
    display: flex;
    position: relative;
    width: 100%;
    max-width: 850px; /* Увеличиваем ширину слайдера */
    height: 100px;
    overflow: visible;
}

.testimonial-slide {
    position: absolute;
    width: 95%; /* Увеличиваем ширину каждого слайда */
    left: 2.5%; /* Центрируем слайд */
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
    visibility: hidden;
}

.testimonial-slide.prev {
    transform: translateX(-115%);
    opacity: 0.5;
    z-index: 1;
    visibility: visible;
}

.testimonial-slide.active {
    transform: translateX(0);
    opacity: 1;
    z-index: 2;
    visibility: visible;
}

.testimonial-slide.next {
    transform: translateX(115%);
    opacity: 0.5;
    z-index: 1;
    visibility: visible;
}

.testimonial {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 25px 20px; /* Увеличиваем горизонтальные отступы */
    background-color: rgba(35, 35, 35, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-icon {
    color: #fff;
    font-size: 24px;
    margin-right: 15px;
}

.quote-text {
    font-style: italic;
    font-size: 18px;
    letter-spacing: 0.5px;
    font-weight: 400;
    color: #fff;
    line-height: 1.4;
}

.slider-arrow {
    background: none;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin: 0 20px; /* Уменьшаем отступы для стрелок из-за увеличения ширины слайда */
}

.slider-arrow:hover {
    color: #ED1C24;
    transform: scale(1.1);
}

.slider-arrow.prev {
    margin-right: 5px; /* Уменьшаем правый отступ левой стрелки */
}

.slider-arrow.next {
    margin-left: 5px; /* Уменьшаем левый отступ правой стрелки */
}

/* Удаляем старые точки навигации - они не нужны по референсу */
.slider-dots {
    display: none;
}

/* About section */
.about-section {
    background-color: #F5F5F5;
    color: #333333;
    padding: 80px 0;
    text-align: justify;
}

.section-title {
    font-size: 48px;
    text-align: center;
    margin-bottom: 60px;
    color: #333333;
    font-weight: 700;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #333333;
}

.about-text:last-child {
    margin-bottom: 0;
}

.service-link {
    color: #1100FF;
    font-weight: 500;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #ED1C24;
    text-decoration: underline;
}

/* Why Choose Section */
.why-choose-section {
    background-color: #FFFFFF;
    color: #231F20;
    padding: 80px 0;
}

.why-choose-section .section-title {
    color: #333333;
    text-align: center;
    margin-bottom: 60px;
    font-size: 48px;
    font-weight: 700;
}

.benefits-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-block {
    background-color: #F5F5F5;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.benefit-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.benefit-icon img {
    width: 70px;
    height: 100%;
}

.benefit-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    color: #333333;
}

.benefit-list {
    list-style: none;
    padding: 0;
}

.benefit-list li {
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
    line-height: 1.6;
}

.benefit-list li:before {
    content: "•";
    color: #ED1C24;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.benefit-list li:last-child {
    margin-bottom: 0;
}

.highlight-text {
    color: #ED1C24;
    font-weight: 900;
}

.why-choose-footer {
    text-align: center;
    margin-top: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.why-choose-footer p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333333;
}

.why-choose-footer p:last-child {
    margin-bottom: 0;
}

/* Мобильное меню и гамбургер */
.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #FFFFFF;
    transition: color 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: #ED1C24;
}

.mobile-menu {
    display: none;
    background-color: rgba(21, 21, 21, 0.98);
    width: 100%;
    padding: 20px 0;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
}

.mobile-nav a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px;
    transition: color 0.3s ease;
}

.mobile-nav a:hover {
    color: #ED1C24;
}

.mobile-contacts {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-contacts a {
    display: flex;
    align-items: center;
    padding: 10px 0;
    color: #FFFFFF;
    font-size: 16px;
}

.mobile-contacts i {
    margin-right: 10px;
    font-size: 20px;
}

.desktop-only {
    display: flex;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .main-heading {
        font-size: 42px;
    }
    
    .features-grid {
        gap: 20px;
    }
    
    .container {
        padding: 0 30px;
    }
    
    .header-content {
        justify-content: space-between;
    }
    
    .desktop-only {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
        order: 1;
    }
    
    .logo {
        order: 2;
        text-align: center;
        flex-grow: 1;
        display: flex;
        justify-content: left;
    }
    
    .contact-buttons {
        order: 3;
    }
    
    .cta-button {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .cta-button .short-text {
        display: block;
    }
    
    .cta-button .full-text {
        display: none;
    }
    
    .testimonial-slide.prev {
        transform: translateX(-112%);
    }
    
    .testimonial-slide.next {
        transform: translateX(112%);
    }
    
    .section-title {
        font-size: 40px;
    }
    
    .benefit-title {
        font-size: 22px;
    }
    
    .benefit-block {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 12px 0;
        flex-direction: row;
        gap: 0;
    }
    
    .scrolled .header-content {
        padding: 8px 0;
    }
    
    .logo img {
        height: 55px;
    }
    
    .scrolled .logo img {
        height: 45px;
    }
    
    .main-heading {
        font-size: 36px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .testimonial {
        padding: 20px;
    }
    
    .quote-text {
        font-size: 16px;
    }
    
    .testimonials-slider {
        height: 120px;
        max-width: 90%;
    }
    
    .testimonial-slide.prev {
        transform: translateX(-110%);
    }
    
    .testimonial-slide.next {
        transform: translateX(110%);
    }
    
    .slider-arrow {
        margin: 0 10px;
    }
    
    .section-title {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .about-text, .why-choose-footer p {
        font-size: 16px;
    }
    
    .why-choose-section, .about-section {
        padding: 60px 0;
    }
    
    .benefits-container {
        gap: 40px;
    }
    
    .benefit-title {
        font-size: 20px;
    }
    
    .why-choose-footer {
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .contact-buttons {
        flex-direction: row;
        align-items: center;
    }
    
    .cta-button {
        padding: 8px 42px;
        font-size: 16px;
    }
    
    .main-heading {
        font-size: 28px;
    }
    
    .testimonial {
        padding: 15px 20px;
    }
    
    .testimonials-slider {
        max-width: 85%;
    }
    
    .quote-text {
        font-size: 14px;
    }
    
    .chat-icon {
        font-size: 18px;
        margin-right: 10px;
    }
    
    .testimonial-slide.prev {
        transform: translateX(-105%);
    }
    
    .testimonial-slide.next {
        transform: translateX(105%);
    }
    
    .slider-arrow {
        font-size: 18px;
        margin: 0 8px;
    }
    
    .section-title {
        font-size: 30px;
        margin-bottom: 30px;
    }
    
    .about-text, .why-choose-footer p {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .why-choose-section, .about-section {
        padding: 40px 0;
    }
    
    .benefits-container {
        gap: 30px;
    }
    
    .benefit-block {
        padding: 25px 20px;
    }
    
    .benefit-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .benefit-list li {
        font-size: 14px;
    }
}

/* Try Our Offer Section */
.try-offer-section {
    background-image: url('./assets/offer_bg.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 60px 0;
    color: #FFFFFF;
    text-align: center;
}

.offer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.try-offer-section .container {
    position: relative;
    z-index: 2;
}

.offer-content {
    max-width: 900px;
    margin: 0 auto;
}

.offer-heading {
    font-size: 48px;
    font-weight: 500;
    margin-bottom: 20px;
}

.offer-subheading {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
}

/* Responsive styles for the offer section */
@media (max-width: 1024px) {
    .try-offer-section {
        padding: 100px 0;
    }
    
    .offer-heading {
        font-size: 42px;
    }
    
    .offer-subheading {
        font-size: 64px;
    }
}

@media (max-width: 768px) {
    .try-offer-section {
        padding: 80px 0;
    }
    
    .offer-heading {
        font-size: 36px;
    }
    
    .offer-subheading {
        font-size: 54px;
    }
}

@media (max-width: 480px) {
    .try-offer-section {
        padding: 60px 0;
    }
    
    .offer-heading {
        font-size: 32px;
    }
    
    .offer-subheading {
        font-size: 42px;
    }
}
/* Services Section */
.services-section {
    background-color: #FFFFFF;
    color: #333333;
    padding: 80px 0;
}

.services-section .section-title {
    color: #333333;
    text-align: center;
    margin-bottom: 60px;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.service-card {
    background-color: #F5F5F5;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin-bottom: 20px;
}

.service-icon img {
    width: 64px;
    height: 100%;
}

.service-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: #333333;
}

.services-cta {
    text-align: center;
}

.services-cta-button {
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    display: inline-block;
    text-transform: uppercase;
}

/* Responsive adjustments for services section */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services-section .section-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .services-section .section-title {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .service-card {
        padding: 25px 15px;
    }
    
    .service-title {
        font-size: 16px;
    }
    
    .services-cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto 40px;
    }
    
    .services-section .section-title {
        font-size: 30px;
    }
    
    .services-cta-button {
        padding: 10px 20px;
        font-size: 14px;
        width: 90%;
        max-width: 300px;
    }
}
/* Contact Section */
.contact-section {
    background-image: url('./assets/contact_bg.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 60px 0;
    color: #FFFFFF;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: none;
    z-index: 1;
}

.contact-section .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-container {
    background-color: rgba(100, 100, 100, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 40px;
    border-radius: 0;
    text-align: center;
}

.contact-section .section-title {
    color: #FFFFFF;
    margin-bottom: 30px;
    font-size: 48px;
    font-weight: 500;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: none;
    background-color: #D9D9D9;
    border-radius: 0;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #777777;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.privacy-policy {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #D9D9D9;
    padding: 20px;
    margin-bottom: 30px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 16px;
    color: #777777;
    user-select: none;
    text-align: left;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #F5F5F5;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #FFFFFF;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 2px;
    width: 7px;
    height: 12px;
    border: solid #646464;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    margin-left: 10px;
    font-size: 15px;
}

.recaptcha-container {
    margin-left: auto;
}

.contact-submit {
    width: auto;
    padding: 15px 60px;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 50px;
    margin-top: 10px;
    border: none;
}

.form-message {
    padding: 10px;
    border-radius: 4px;
    margin-top: 15px;
    display: none;
}

.form-message.success {
    background-color: rgba(39, 174, 96, 0.2);
    color: #27AE60;
    display: block;
}

.form-message.error {
    background-color: rgba(231, 76, 60, 0.2);
    color: #E74C3C;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .privacy-policy {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .recaptcha-container {
        margin-top: 20px;
        margin-left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .contact-section .section-title {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-form-container {
        padding: 20px 15px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 14px;
    }
    
    .checkbox-container {
        font-size: 14px;
    }
    
    .contact-section .section-title {
        font-size: 32px;
    }
}
/* Enhanced Booking Section */
.booking-section {
    background-color: #151515;
    color: #FFFFFF;
    padding: 80px 0;
    position: relative;
}

.booking-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.booking-title {
    background-color: #666666;
    color: #FFFFFF;
    font-size: 48px;
    font-weight: 500;
    margin: 0;
    padding: 30px 0;
    text-align: center;
    width: 100%;
}

.calendly-container {
    background-color: #FFFFFF;
    border: none;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Add a subtle pattern overlay to the background for texture */
.booking-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.booking-wrapper {
    position: relative;
    z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .booking-wrapper {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .booking-title {
        font-size: 36px;
        padding: 25px 0;
    }
    
    .booking-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .booking-title {
        font-size: 32px;
        padding: 20px 0;
    }
}
/* Message Us Section */
.message-us-section {
    background-image: url('./assets/message_bg.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 60px 0;
    text-align: center;
    color: #FFFFFF;
}

.message-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: none;
    z-index: 1;
}

.message-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(100, 100, 100, 0.8);
    padding: 60px 40px;
}

.message-title {
    font-size: 48px;
    font-weight: 500;
    margin-bottom: 20px;
}

.message-subtitle {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.social-icon {
    width: 60px;
    height: 60px;
    border: 2px solid #FFFFFF;
    border-radius: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #FFFFFF;
    color: #666666;
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .message-content {
        padding: 40px 20px;
    }
    
    .message-title {
        font-size: 36px;
    }
    
    .message-subtitle {
        font-size: 18px;
    }
    
    .social-icons {
        gap: 20px;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .message-us-section {
        padding: 60px 0;
    }
    
    .message-title {
        font-size: 32px;
    }
    
    .message-subtitle {
        font-size: 16px;
    }
    
    .social-icons {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}
/* Footer Section */
.footer-section {
    background-color: #151515;
    padding: 60px 0 40px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo img {
    height: 120px;
}

.footer-copyright {
    margin-bottom: 30px;
    color: #FFFFFF;
}

.footer-copyright p {
    margin: 0;
    padding: 5px 0;
    font-size: 16px;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links span, 
.footer-links a {
    margin: 0 5px;
    color: #FFFFFF;
}

.footer-links a:hover {
    color: #ED1C24;
    text-decoration: underline;
}

.footer-divider {
    color: rgba(255, 255, 255, 0.5);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.social-svg {
    width: 100%;
    height: 100%;
    fill: #FFFFFF;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-link:hover .social-svg {
    fill: #FFFFFF;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-section {
        padding: 40px 0 30px;
    }
    
    .footer-logo img {
        height: 100px;
    }
    
    .footer-copyright p {
        font-size: 14px;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-divider {
        display: none;
    }
    
    .footer-links span, 
    .footer-links a {
        margin: 5px 0;
    }
}

@media (max-width: 480px) {
    .footer-section {
        padding: 30px 0 20px;
    }
    
    .footer-logo img {
        height: 80px;
    }
    
    .footer-social {
        gap: 15px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
}
/* ==== Mobile bottom navigation ==== */
@media (max-width: 1024px) {
    /* верхний хедер больше не fixed */
    .header {
        position: static;
    }
    body { padding-top: 0; }            /* убираем компенсацию */
    .hero-section { margin-top: 0; padding-top: 0; }

    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: #FFFFFF;
        display: flex;
        justify-content: space-around;
        align-items: center;
        border-top: 1px solid #E5E5E5;
        z-index: 1000;
    }
    .mobile-bottom-nav .bottom-nav-btn {
        background: none;
        border: none;
        padding: 0;
        outline: none;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 42px;
        width: 42px;
    }
  
    /* ==== Overlay menu ==== */
    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(21,21,21,0.98);
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1100;
    }
    .mobile-overlay.active { display: flex; }

    .overlay-content { text-align: center; }
    .overlay-close {
        position: absolute;
        top: 25px;
        right: 25px;
        font-size: 36px;
        background: none;
        border: none;
        color: #FFFFFF;
    }
    .overlay-nav a {
        display: block;
        font-size: 20px;
        color: #FFFFFF;
        margin: 14px 0;
    }
    .overlay-nav a:hover { color: #ED1C24; }
}



/* === REVISION 2025-05-15 (PDF TODOs 1,3-8,11,12) ========================= */

/* 1 ▸ H1 font-family/weight/size – mirrors Figma “Inter Extra Bold 72 /48 /36” */
.main-heading{
    font-size: clamp(28px,6vw,60px);   /* Desktop→Mobile fluid */
}

/* 3 ▸ More breathing room between bullets & testimonials on desktop */
@media(min-width:1025px){
    .features-grid{ margin-bottom:50px; }
}



/* 6 ▸ Mobile bullet text wrap – shrink & allow wrap */
@media(max-width:768px){
    .feature p{
        font-size:16px;
        white-space:normal;       /* allow wrapping */
    }
}

/* 7 ▸ Hide mobile-only elements on desktop */
@media(min-width:1025px){
    .mobile-bottom-nav,
    .mobile-overlay { display:none!important; }
}

/* 8 ▸ Shorter hero on mobile so testimonials peek in first viewport */
@media(max-width:480px){
    .hero-section{ min-height:80vh; }
}

/* 11 ▸ Fix CTA text truncation */
.services-cta-button,
.cta-button{
    white-space:normal;
    text-align:center;
}

/* 12 ▸ Calendly embed sizing override */
.calendly-inline-widget{ min-height:650px!important; }

/* добавьте в styles.css, чтобы ссылка занимала всю площадь секции */
.try-offer-link{
    display:block;          /* растягиваем якорь на всю ширину */
    color:inherit;          /* сохраняем цвета текста */
    text-decoration:none;   /* убираем подчёркивание */
}
.try-offer-link:hover .offer-heading,
.try-offer-link:hover .offer-subheading{
    /* опциональный ховер-эффект */
    opacity:.9;
    transition:.3s;
    cursor:pointer;
}

/* ---- desktop / mobile bullet visibility ---- */
.features-grid-desktop{ display:grid; }
.features-grid-mobile { display:none; }

@media (max-width: 768px){
    .features-grid-desktop{ display:none; }
    .features-grid-mobile{
        display:grid;
        grid-template-columns:1fr;      /* одна колонка як у референсі */
        gap:20px;
        max-width:900px;
        margin:0 auto 30px;
    }
    .features-grid-mobile .feature p{  /* вже є wrap-fix для ≤768px */
        font-size:16px;
    }
}
.form-message {
    padding: 15px;
    border-radius: 4px;
    margin-top: 15px;
    display: none;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background-color: rgba(39, 174, 96, 0.2);
    color: #27AE60;
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.form-message.error {
    background-color: rgba(231, 76, 60, 0.2);
    color: #E74C3C;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.form-message.warning {
    background-color: rgba(241, 196, 15, 0.2);
    color: #F1C40F;
    border: 1px solid rgba(241, 196, 15, 0.3);
}

@media only screen and (max-width: 480px) {
   .recaptcha-wrap img {
    width: 3.6rem;
    position:absolute;
    right:1rem;          /* справа отступ 1rem */
    transform:translateY(-50%);
    padding-bottom: 1.5rem;
    }
}

/* === REVISION 2025-05-29 (PDF TODOs 1-6) ========================= */

/* 4 ▸ Keep FULL‑SERVICE together */
.nowrap{white-space:nowrap;}

/* 5 ▸ Prevent icon/text overlap on tablet and ensure visibility on mobile */
@media (max-width:1024px){
  .features-grid-desktop .feature p{flex:1 1 100%;}
}
@media (max-width:480px){
  .features-grid-mobile .check-icon{width:32px;height:32px;}
  .features-grid-mobile .feature p{margin-left:0;}
}

/* 3 ▸ Center small blocks while keeping left‑aligned content */
@media (max-width:1024px){
  .about-content,
  .benefit-block,
  .contact-form-container{
    margin-left:auto;
    margin-right:auto;
  }
  .about-content,
  .benefit-block{
    text-align:left;
  }
}

/* 6 ▸ Ensure Inter ExtraBold 800 is available */
.main-heading{font-weight:800;}


/* === REVISION 2025-05-29 (Tablet @1180 fixes) ================ */
@media (max-width: 1280px) {
  /* Shorter CTA button text */
  .cta-button .short-text{display:block;}
  .cta-button .full-text{display:none;}

  /* Reduce nav density */
  .main-nav a{
    font-size:14px;
    padding:0 6px;
  }
  .main-nav .nav-divider{display:none;}

  /* Hide extra icon buttons to free space */
  .messenger-btn,
  .whatsapp-btn{
    display:none;
  }

  /* Prevent CTA clipping */
  .cta-button{
    white-space:nowrap;
    max-width:180px;
  }

  .header-content{
    gap:12px;
  }
}


/* === REVISION 2025-05-29 (Mobile/Tablet spacing and feature centering) === */
@media (max-width: 1024px){
  .hero-section{
    min-height:auto;
    padding-bottom:40px;
  }
}

@media (max-width: 768px){
  /* Center feature list */
  .features-grid-desktop{
    align-items:center;
  }
  .features-grid-desktop .feature{
    justify-content:center;
  }
}


/* === REVISION 2025-05-29 (Hero height and mobile feature alignment) === */
@media (max-width: 1280px){
  .hero-section{
    min-height:auto;
    padding-bottom:40px;
  }
  /* keep heading readable */
  .main-heading{
    font-size:clamp(32px,5vw,48px);
  }
}

@media (max-width: 768px){
  /* indent and center feature list slightly */
  .features-grid{
    padding-left:26px;
    padding-right:24px;
  }
}


/* === REVISION 2025-05-29 (Portrait tablets use mobile single-column feature list) === */
@media (max-width: 900px){
  .features-grid{
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto 20px;
  }
  .feature{
    justify-content:flex-start;
  }
}

/* === REVISION 2025-05-30 (Dynamic hero height) ==================== */
.hero-section{
    /* блок подстраивается под контент, а не тянется на 100 vh */
    min-height: auto !important;

    /* комфортные отступы (можно скорректировать) */
    padding: 30px 0 30px;

    /* фон остаётся cover, но больше не фиксируется */
    background-position: center top;
    background-attachment: scroll;   /* отключили «fixed»-эффект */
}
/* ================================================================ */

/* === REVISION 2025-05-30 (Remove horizontal overflow on mobile) ========= */
html, body{
    overflow-x: hidden;      /* обрезаем всё, что выпирает за край */
}

/* На всякий случай у hero-контейнера явная ширина */
.hero-section{
    width: 100%;
}

/* Если вдруг внутри hero есть внутренний .container с фикс max-width,
   можно снять ограничение только для узких экранов:                */
@media (max-width: 768px){
    .hero-section .container{ max-width: none; }
}
/* ======================================================================= */

/* ==== Anti-FOUT tweaks ================================== */
html{
    font-synthesis: none;           /* не генеруємо штучний bold/italic */
    text-rendering: optimizeLegibility;
}
/* ======================================================== */

/* === REVISION 2025-06-02 (Header container width fix) ============== */
.header .container{
    max-width: 1400px;   /* ширина как у основного контента */
    margin: 0 auto;      /* по центру */
    padding: 0 40px;     /* боковые отступы */
}

/* Чуть сужаем паддинги на экранах до 1400 px */
@media (max-width: 1400px){
    .header .container{
        padding: 0 32px;
        max-width: 100%; /* пусть контейнер расширяется до краёв view, но с отступами */
    }
}
/* =================================================================== */

/* === REVISION 2025-06-02 (balanced top-bar sizes) ======================== */

/* 1. Загальні параметри верхнього меню */
.header .header-content{
    gap: 18px;                 /* було 24, зменшуємо «повітря» */
}

/* 2. Логотип: робимо трохи дрібнішим, але зберігаємо читабельність */
.logo img{
    height: 65px;              /* було ~60-64 px */
}

/* 3. Пункти меню – компактніші */
.main-nav a{
    font-size: 14px;           /* було 16 px */
    padding: 0 8px;            /* менші відступи */
}
.nav-divider{                  /* «|» – тонші й із запасом */
    margin: 0 4px;
    opacity: .6;
}

/* 4. CTA-кнопка (червона) – менш висока й коротший текст */
.cta-button{
    padding: 10px 18px;        /* було 14 × 24 */
    font-size: 14px;           /* було 16 px */
    border-radius: 50px;       /* лишаємо форму pills */
    border: none;
}
    /* скорочений текст уже реалізований для tablet,
       для десктопа залишимо повну фразу → якщо потрібно, 
       у <span class="full-text"> можна підрізати вручну        */

/* 5. Іконки месенджерів – трохи менші, щоб не «випирали» */
.messenger-btn i,
.whatsapp-btn i{
    font-size: 22px;           /* було 20-22 px */
}

/* 6. Адаптація для екранів ≤ 1400 px (де починає не вміщатись) */
@media (max-width: 1400px){
    .main-nav a{ font-size: 13px; padding: 0 6px; }
    .cta-button{ padding: 8px 12px; }
    .logo img{ height: 42px; }
}

/* 7. Адаптація для екранів ≤ 1280 px — ще компактніше */
@media (max-width: 1280px){
    .main-nav a{ font-size: 12px; }
    .logo img{ height: 38px; }
}

@media screen and (max-width: 992px) {
    #CookiebotWidget:not(.CookiebotWidget-inactive) {
        bottom: 65px !important;
        left: 10px;
    }
}