/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #1a0d2e;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
.header {
    background-color: #1a0d2e;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.header__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.header__left {
    display: flex;
    gap: 2rem;
}

.header__link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    cursor: pointer;
}

.header__link:hover {
    color: #FFD700;
}

.header__center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header__logo {
    text-decoration: none;
}

.logo-text {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(135deg, #ff6b9d 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header__right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.header__button {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header__button--register {
    background-color: transparent;
    color: #ffffff;
    position: relative;
}

.button-dot {
    width: 8px;
    height: 8px;
    background-color: #FFD700;
    border-radius: 50%;
    display: inline-block;
}

.header__button--login {
    background-color: transparent;
    color: #ffffff;
}

.header__button:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    padding: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
}

.page-slider-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 1200px) {
    .page-slider-wrapper {
        max-width: 1000px;
        padding: 0 1.5rem;
    }
}

@media (max-width: 992px) {
    .page-slider-wrapper {
        max-width: 900px;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .page-slider-wrapper {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .page-slider-wrapper {
        padding: 0 0.75rem;
    }
}

.page-slider {
    position: relative;
}

.swiper {
    width: 100%;
    height: auto;
    padding: 30px 0;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.swiper-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid #FFD700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}

.slide-content {
    width: 100%;
    height: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.page-slider__slide {
    position: relative;
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    box-sizing: border-box;
}

.page-slider__image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.page-slider__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem;
    z-index: 10;
}

.slider-text-block {
    color: #ffffff;
}

.slider-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.slider-subtitle {
    font-size: 1.2rem;
    color: #FFD700;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.slider-text {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.slider-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #FFD700;
    color: #1a0d2e;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.slider-button:hover {
    background-color: #ffed4e;
    transform: translateY(-2px);
}

.page-slider__link {
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}

/* Swiper Navigation */
.swiper-button-prev,
.swiper-button-next {
    color: #FFD700 !important;
    width: 50px !important;
    height: 50px !important;
    background-color: rgba(26, 13, 46, 0.8);
    border-radius: 50%;
    transition: all 0.3s;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: rgba(26, 13, 46, 1);
    transform: scale(1.1);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 24px !important;
    font-weight: bold;
}

/* Swiper Pagination */
.swiper-pagination {
    bottom: 10px !important;
}

.swiper-pagination-bullet {
    background-color: #FFD700 !important;
    opacity: 0.5 !important;
    width: 12px !important;
    height: 12px !important;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
}

/* Search and Filter Bar */
.search-filter {
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
}

.search-filter__container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
}

.search-bar {
    flex: 1;
    position: relative;
    max-width: 500px;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #FFD700;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #FFD700;
    background-color: rgba(255, 255, 255, 0.15);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.provider-filter {
    flex-shrink: 0;
}

.provider-button {
    padding: 1rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    min-width: 200px;
}

.provider-button:hover {
    border-color: #FFD700;
    background-color: rgba(255, 255, 255, 0.15);
}

.provider-button svg {
    margin-left: auto;
}

/* Footer */
.footer {
    background-color: #1a0d2e;
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.footer__container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__column {
    display: flex;
    flex-direction: column;
}

.footer__logo {
    margin-bottom: 1rem;
}

.footer__title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #FFD700;
}

.footer__list {
    list-style: none;
}

.footer__list li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer__link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    cursor: pointer;
}

.footer__link:hover {
    color: #FFD700;
}

.footer__certificates {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.certificate-placeholder {
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: center;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.chat-icon {
    font-size: 1.5rem;
    background-color: #FFD700;
    color: #1a0d2e;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding: 0;
}

.footer__legal {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer__legal p {
    margin-bottom: 0.5rem;
}

.footer__build {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal__content {
    position: relative;
    background-color: #1a0d2e;
    border: 2px solid #FFD700;
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10001;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.modal__close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFD700;
}

.modal__title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #FFD700;
    text-align: center;
}

.modal__form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #ffffff;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="date"] {
    padding: 0.8rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 6px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #FFD700;
    background-color: rgba(255, 255, 255, 0.15);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.9rem;
    cursor: pointer;
}

.checkbox-group a {
    color: #FFD700;
    text-decoration: underline;
}

.form-submit {
    padding: 1rem 2rem;
    background-color: #FFD700;
    color: #1a0d2e;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.form-submit:hover {
    background-color: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 1rem 1rem;
    }

    .header__nav {
        flex-direction: column;
        gap: 1rem;
        max-width: 100%;
    }

    .header__left {
        order: 2;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .header__center {
        order: 1;
    }

    .header__right {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .header__button {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .hero {
        padding: 1.5rem 0;
        min-height: auto;
    }

    .swiper {
        height: auto;
        padding: 15px 0;
        width: 100%;
        max-width: 100%;
    }

    .swiper-slide {
        width: 100% !important;
        max-width: 100% !important;
        height: auto;
    }

    .page-slider__image {
        max-width: 100%;
        height: auto;
    }

    .search-filter {
        padding: 1.5rem 1rem;
    }

    .search-filter__container {
        flex-direction: column;
        gap: 1rem;
    }

    .search-bar {
        max-width: 100%;
        width: 100%;
    }

    .provider-button {
        width: 100%;
        min-width: auto;
    }

    .footer {
        padding: 2rem 1rem 1rem;
    }

    .footer__container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer__legal {
        font-size: 0.75rem;
        padding: 1rem 0 0;
    }

    .modal__content {
        width: 95%;
        padding: 1.5rem;
        margin: 1rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.75rem 0.5rem;
    }

    .header__link {
        font-size: 0.85rem;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .swiper {
        padding: 10px 0;
    }

    .search-filter {
        padding: 1rem 0.75rem;
    }

    .footer {
        padding: 1.5rem 0.75rem 1rem;
    }

    .modal__content {
        width: 98%;
        padding: 1rem;
    }

    .modal__title {
        font-size: 1.5rem;
    }
}

