:root {
    --background-color: #030e0f;
    --button-color: #1d8a99;
    --text-color: #ffffff;
    --light-grey-text: #b0b0b0;
    --border-color: #2a3d40;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #030e0f85;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll due to animations */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section */
.header-section2 {
    background-image: url('./img/main-bg.png'); /* Updated background image */
    background-size: cover;
    background-position: center;
    padding: 40px 0 100px;
    position: relative;
    overflow: hidden;
}

/* Для фиксированной шапки */
.header-section.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #040f11; /* Цвет фона при скролле */
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* Небольшая тень для выделения */
    padding-top: 15px; /* Уменьшаем отступ сверху при скролле */
    padding-bottom: 15px; /* Уменьшаем отступ снизу при скролле */
    transition: all 0.3s ease-in-out; /* Плавный переход */
}

.header-section.scrolled .header-overlay {
    background-color: transparent; /* Убираем оверлей, если он мешает */
}

.header-section.scrolled .header-top {
    margin-bottom: 0; /* Убираем нижний отступ, чтобы шапка была компактнее */
}

.header-section.scrolled .hero-content {
    padding-top: 0; /* Убираем верхний паддинг, чтобы контент не перекрывался */
}


.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(3 14 15 / 72%); /* Overlay color with opacity */
    z-index: 1;
}

.header-top {
    display: flex;
    justify-content: space-between; /* Распределяем элементы по краям */
    align-items: center;
    margin-bottom: 1px;
    position: relative;
    z-index: 2;
}

.main-nav {
    display: flex;
    justify-content: space-between; /* Распределяем дочерние элементы */
    align-items: center;
    width: 100%; /* Занимаем всю доступную ширину */
    max-width: 1200px; /* Ограничиваем ширину навигации, если нужно */
    margin: 0 auto; /* Центрируем, если max-width меньше контейнера */
    gap: 20px; /* Добавляем небольшой зазор между элементами, если они слишком близко */
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-color);
    z-index: 2;
    /* Flex item order: first */
    order: 1;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    /* Flex item order: middle */
    order: 2;
    flex-grow: 1; /* Позволяет ссылкам занимать доступное пространство */
    justify-content: center; /* Центрируем ссылки внутри себя */
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--button-color);
}

.free-consultation {
    color: var(--text-color);
    text-decoration: none;
    font-size: 18px;
    /* border: 1px solid var(--text-color); */
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    /* Flex item order: last */
    order: 3;
    white-space: nowrap; /* Предотвращает перенос текста кнопки */
}

.free-consultation:hover {
    background-color: var(--button-color);
    border-color: var(--button-color);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative; /* Z-index context for overlay */
    z-index: 2;
    padding: 150px 0px 150px 0px;
}

.hero-content h1 {
    font-size: 56px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero-content p {
    font-size: 20px;
    color: var(--light-grey-text);
    margin-bottom: 40px;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-flex; /* Use flexbox for button content */
    align-items: center;
    justify-content: center;
    gap: 10px; /* Space between text and arrow */
    padding: 15px 35px;
    border: none;
    border-radius: 60px; /* Fully rounded button */
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    background-color: var(--button-color); /* Button background */
    background-position: center center; /* Ensure background is centered */
}

.primary-btn {
    color: var(--text-color);
}

.primary-btn:hover {
    background-color: #1a7a8a;
    transform: translateY(-2px);
}

.arrow-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 30px; /* Size of the circle */
    height: 30px; /* Size of the circle */
    border-radius: 50%;
    background-color: var(--text-color); /* White circle */
    color: var(--background-color); /* Black arrow inside */
    font-size: 20px;
    transform: rotate(325deg); /* Rotated arrow */
    transition: transform 0.3s ease;
}

.primary-btn:hover .arrow-icon {
    transform: rotate(325deg) scale(1.1); /* Slight scale on hover */
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none; /* Hidden on desktop */
    cursor: pointer;
    z-index: 1001; /* Above other content */
}

.burger-icon {
    width: 30px;
    height: 3px;
    background-color: var(--text-color);
    position: relative;
    transition: background-color 0.3s ease;
}

.burger-icon::before,
.burger-icon::after {
    content: '';
    width: 30px;
    height: 3px;
    background-color: var(--text-color);
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
}

.burger-icon::before {
    top: -10px;
}

.burger-icon::after {
    top: 10px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-overlay .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: var(--text-color);
    cursor: pointer;
}

.mobile-logo {
    font-size: 32px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 40px;
    text-align: center;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
}

.mobile-nav-links li {
    margin: 25px 0;
}

.mobile-nav-links a,
.mobile-consultation-btn {
    color: var(--text-color);
    text-decoration: none;
    font-size: 28px;
    transition: color 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-nav-links a:hover,
.mobile-consultation-btn:hover {
    color: var(--button-color);
}

.mobile-consultation-btn {
    border: 2px solid var(--button-color);
    padding: 15px 30px;
    border-radius: 5px;
    margin-top: 20px;
}

/* General Section Styling */
section {
    background-color: #030e0f;
    padding: 80px 0;
    position: relative; /* For scroll animations */
    overflow: hidden;
}

.section-title {
    font-size: 44px;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-color);
}

.section-description {
    font-size: 18px;
    color: var(--light-grey-text);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px;
}

/* Second Section: Why Legal Assist */
.why-legal-assist-section .container {
    display: flex;
    justify-content: center; /* Center the content */
}

.why-left-content {
    max-width: 1000px; /* Limit width for content */
    width: 100%;
}

.return-funds-title {
    color: #1d8a9952;
    font-size: 64px;
    text-align: left; /* Align to left */
    margin-bottom: -60px; /* Overlap with next title */
    position: relative;
    z-index: 0; /* Ensure it's behind the next title if needed */
    font-weight: 400;
}

.why-legal-assist-section .section-title {
    color: var(--text-color);
    font-size: 40px;
    text-align: left; /* Align to left */
    margin-bottom: 60px;
    position: relative;
    z-index: 1; /* Ensure it's above the return-funds-title */
    font-weight: 400;
}

.image-text-group {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 60px;
}

.why-legal-assist-section .image-content {
    flex: 0 0 40%; /* Fixed width for image */
    max-width: 40%;
    text-align: left;
}

.why-legal-assist-section .image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.why-legal-assist-section .text-content {
    flex: 1;
}

.why-legal-assist-section .text-content p {
    font-size: 18px;
    color: var(--light-grey-text);
    margin-bottom: 20px;
}

.why-legal-assist-section .text-content strong {
    color: var(--button-color); /* Highlight 97% */
}

.team-member {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    /* background-color: #0b1a1c; */
    padding: 10px;
    border-radius: 10px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.team-member img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--button-color);
}

.team-member h3 {
    font-size: 22px;
    color: var(--text-color);
    margin-bottom: 5px;
}

.team-member p {
    font-size: 16px;
    color: var(--light-grey-text);
}

/* Third Section: Our Expert Team */
.expert-team-grid {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.expert-text-content {
    flex: 1;
}

.expert-image-content {
    flex: 0 0 40%;
    max-width: 40%;
}

.expert-image-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.expert-team-section .section-description {
    text-align: left; /* Align text to left */
    margin-left: 0;
    margin-right: 0;
    max-width: none; /* Remove max-width restriction */
}

.expert-team-section .btn {
    margin-left: 0; /* Align button to left */
}

.expert-team-section .team-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.expert-team-section .team-images img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Fourth Section: Services (Folder Style) */
.services-section {
    background-color: #030e0f;
}

.service-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px 30px; /* Vertical gap for folder effect */
    padding-top: 30px; /* Space for folder tabs */
}

.service-card.folder-card {
    background-color: #1a7a8a; /* Color of the folder body */
    padding: 30px;
    border-radius: 15px 15px 15px 15px; /* Rounded corners for folder */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: left; /* Text alignment inside folder */
    border: none; /* Remove default border */
    position: relative;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.service-card.folder-card:hover {
    transform: translateY(-5px);
    background-color: #1d8a99; /* Slightly darker on hover */
}

.folder-tab {
    position: absolute;
    top: -40px; /* Position the tab above the card */
    left: 0px;
    width: 152px; /* Width of the tab */
    height: 53px; /* Height of the tab */
    background-color: #1a7a8a87; /* Match folder body color */
    border-radius: 15px 15px 0 0; /* Rounded top corners for tab */
    z-index: -1; /* Place behind the card */
    transition: background-color 0.3s ease;
}

.service-card.folder-card:hover .folder-tab {
    background-color: #1d8a99; /* Match hover color */
}

.service-card.folder-card h3 {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.service-card.folder-card p {
    font-size: 16px;
    color: var(--text-color); /* Text color inside folder */
}

/* Fifth Section: Image Gallery */
.image-gallery-section {
    padding-top: 0; /* Adjust as needed */
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 250px;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

/* Sixth Section: Reviews Slider */
.reviews-slider-section {
    background-color: #030e0f;
}

.slider-container {
    position: relative;
    max-width: 900px; /* Adjusted max-width for better layout */
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    padding: 0px 0px 20px 0px;
    /* background-color: #0b1a1c; */
    box-shadow: 0 5px 20px rgb(0 0 0 / 0%);
}

.slider-content {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    padding: 0px 30px 0px 30px;
    display: flex; /* Use flex for image and text layout */
    align-items: flex-start;
    gap: 40px; /* Space between image and text */
}

.slide-image {
    flex: 0 0 25%; /* Image takes a quarter of the width */
    max-width: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-image img {
    width: 250px; /* Larger image size */
    /* border-radius: 50%; */
    /* object-fit: cover; */
    /* border: 3px solid var(--button-color); */
}

.slide-text {
    flex: 1; /* Text takes remaining space */
    text-align: left; /* Align text to left */
}

.slide-text p {
    font-size: 18px;
    color: var(--light-grey-text);
    margin-bottom: 15px;
    line-height: 1.7;
}

.slide-text h4 {
    font-size: 20px;
    color: var(--text-color);
    margin-bottom: 5px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgb(29 138 153 / 28%);
    color: white;
    border: none;
    /* padding: 15px; */
    cursor: pointer;
    font-size: 17px;
    border-radius: 50%;
    z-index: 9999999;
    transition: background-color 0.3s ease;
    width: 35px;
    height: 35px;
}

.slider-arrow:hover {
    background-color: var(--button-color);
}

.prev-arrow {
    left: 12px;
}

.next-arrow {
    right: 2px;
}

.slider-dots {
    text-align: center;
    margin-top: 0px;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: var(--light-grey-text);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--button-color);
}

/* Call to Action Section */
.cta-section {
    padding: 100px 0;
    text-align: center;
    /* background-image: url('./img/cta-bg.jpg'); */ /* Optional: Add a background image here if desired */
    background-size: cover;
    background-position: center;
    background-color: #030e0f; /* Fallback color */
}

.cta-title {
    font-size: 48px;
    color: #ffffff;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    padding: 18px 40px;
}

/* Footer Section */
.footer-section {
    background-color: #000a0b;
    padding: 60px 0 30px;
    /* border-top: 1px solid var(--border-color); */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-block {
    flex: 1;
    min-width: 250px;
}

.footer-block h3 {
    font-size: 22px;
    color: var(--text-color);
    margin-bottom: 20px;
}

.footer-block p,
.footer-block a {
    font-size: 16px;
    color: var(--light-grey-text);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer-block ul {
    list-style: none;
}

.footer-block ul li {
    margin-bottom: 10px;
}

.footer-block a:hover {
    color: var(--button-color);
}

.privacy-policy {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.privacy-policy a {
    font-size: 14px;
    color: var(--light-grey-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-policy a:hover {
    color: var(--button-color);
}


/* Consultation Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s ease, opacity 0.3s ease;
}

.popup-overlay.active {
    visibility: visible;
    opacity: 1;
}

.popup-content {
    background-color: var(--background-color);
    padding: 40px;
    border-radius: 10px;
    position: relative;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    animation: fadeInScale 0.3s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.close-popup-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-popup-btn:hover {
    color: var(--button-color);
}

.popup-content h2 {
    font-size: 32px;
    color: var(--text-color);
    margin-bottom: 30px;
    text-align: center;
}

.popup-content form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.popup-content input[type="text"],
.popup-content input[type="email"],
.popup-content input[type="tel"],
.popup-content textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    background-color: #0b1a1c;
    color: var(--text-color);
    border-radius: 5px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.popup-content input::placeholder,
.popup-content textarea::placeholder {
    color: var(--light-grey-text);
}

.popup-content input:focus,
.popup-content textarea:focus {
    border-color: var(--button-color);
}

.phone-input {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border-color);
    background-color: #0b1a1c;
    border-radius: 5px;
    padding: 0 15px;
}

.phone-input span {
    color: var(--light-grey-text);
    font-size: 16px;
}

.phone-input input {
    flex-grow: 1;
    border: none;
    background: none;
    padding: 15px 0;
}

.phone-input input:focus {
    border-color: transparent; /* Remove focus border from inner input */
}

.popup-content textarea {
    resize: vertical;
    min-height: 100px;
}

.popup-content .primary-btn {
    width: 100%;
    padding: 18px;
    font-size: 18px;
}

/* Scroll Animations */
[data-animate] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .header-top {
        flex-direction: row; /* На мобильных header-top должен быть в ряд, чтобы лого и бургер были по краям */
        justify-content: space-between;
        padding: 0 20px; /* Отступы для header-top */
        margin-bottom: 40px;
    }

    .main-nav {
        flex-direction: column; /* Снова столбец для main-nav на мобильных */
        gap: 15px;
        align-items: center; /* Центрировать элементы в колонке */
        width: auto; /* Сбросить ширину */
    }

    .nav-links {
        display: none; /* Скрыть навигационные ссылки на маленьких экранах */
        justify-content: center; /* Сбросить центрирование */
    }

    .free-consultation {
        display: none; /* Скрыть кнопку на мобильных */
    }

    .logo {
        position: static; /* Сбросить абсолютное позиционирование */
        transform: none; /* Сбросить transform */
        order: 0; /* Сбросить порядок */
    }

    .mobile-menu-toggle {
        display: block; /* Показать бургер-иконку */
        position: static; /* Сбросить абсолютное позиционирование */
        order: 0; /* Сбросить порядок */
    }

    .hero-content h1 {
        font-size: 44px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .section-title {
        font-size: 36px;
    }

    /* Why Legal Assist Section */
    .return-funds-title {
        font-size: 50px; /* Smaller for mobile */
        text-align: center;
        margin-bottom: -20px;
    }

    .why-legal-assist-section .section-title {
        font-size: 34px; /* Smaller for mobile */
        text-align: center;
        margin-bottom: 40px;
    }

    .image-text-group {
        flex-direction: column;
        text-align: center;
    }
    .why-legal-assist-section .image-content {
        max-width: 80%; /* Adjust image width on mobile */
        margin-bottom: 30px;
    }
    .why-legal-assist-section .text-content {
        text-align: center;
    }

    .team-member {
        flex-direction: column;
        text-align: center;
    }

    /* Expert Team Section */
    .expert-team-grid {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .expert-text-content {
        text-align: center;
    }

    .expert-team-section .section-description {
        text-align: center;
    }

    .expert-image-content {
        max-width: 80%; /* Adjust image width on mobile */
        margin: 0 auto;
    }

    .expert-team-section .btn {
        margin: 0 auto 60px; /* Center button */
    }


    .expert-team-section .team-images {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .service-cards-wrapper {
        grid-template-columns: 1fr;
    }

    /* Slider mobile adjustments */
    .slide {
        flex-direction: column; /* Stack image and text */
        text-align: center;
        gap: 20px;
    }

    .slide-image {
        max-width: none; /* Remove max-width for image */
        flex: none; /* Remove flex sizing */
    }

    .slide-image img {
        /* width: 100px; */
        /* height: 100px; */
    }

    .slide-text {
        text-align: center;
    }

    .slider-arrow {
        font-size: 18px;
        padding: 10px;
    }

    .cta-title {
        font-size: 40px;
    }

    .cta-subtitle {
        font-size: 20px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-block {
        text-align: center; /* Центрируем текст внутри каждого футер-блока */
        min-width: unset; /* Сбросим минимальную ширину, если она мешает центрированию */
    }
}

@media (max-width: 768px) {
    .header-section {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    section {
        background-color: var(--background-color);
        padding: 30px 0;
        position: relative;
        overflow: hidden;
    }
    .hero-content {
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
        position: relative;
        z-index: 2;
        padding: 100px 0px 100px 0px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-title {
        font-size: 30px;
    }

    .return-funds-title {
        font-size: 40px;
    }

    .why-legal-assist-section .section-title {
        font-size: 28px;
    }

    .slider-arrow {
        font-size: 12px;
        padding: 10px;
    }

    .slide {
        padding: 20px;
        display: flex;
        align-items: center;
    }

    .cta-title {
        font-size: 36px;
    }
    .cta-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
        /* display: flex; */
        /* flex-direction: column; */
        /* justify-content: center; */
        /* align-items: center; */
    }

    .foodp {
    display: flex
;
    flex-wrap: wrap;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center;
    gap: 0px !important;
}

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 16px;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 40px;
    }

    .return-funds-title {
        font-size: 30px;
        margin-bottom: -15px;
    }

    .why-legal-assist-section .section-title {
        font-size: 24px;
    }

    .why-legal-assist-section .text-content p {
        font-size: 16px;
    }

    .service-card h3 {
        font-size: 20px;
    }

    .service-card p {
        font-size: 15px;
    }

    .slide p {
        font-size: 16px;
    }
    .slide h4 {
        font-size: 18px;
    }

    .popup-content {
        padding: 25px;
    }
    .popup-content h2 {
        font-size: 26px;
    }
    .popup-content input, .popup-content textarea {
        font-size: 15px;
        padding: 12px;
    }
    .phone-input span {
        font-size: 15px;
    }

    .cta-title {
        font-size: 30px;
    }
    .cta-subtitle {
        font-size: 16px;
    }
}


.foodp {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}


.header-section {
    /* background-image: url(./img/main-bg.png); */
    background-size: cover;
    background-position: center;
    padding: 10px 0 10px;
    position: relative;
    overflow: hidden;
        background: #030e0f;
}