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

/* Basic styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header styles */
.Header_root__ILu6d {
    background: white;
    border-bottom: 1px solid #eee;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Mobile menu button */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    color: #333;
}

.mobile-menu-button .hamburger {
    font-size: 24px;
}

.mobile-menu-button svg {
    width: 24px;
    height: 24px;
}

.mobile-menu-button.active svg path {
    stroke: #6A4DBC;
}

/* Navigation container */
.nav-container {
    max-width: 1366px;
    margin: 0 auto;
    padding: 0 50px;
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main navigation */
.Header_navLinkList__uAeZS {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    width: 100%;
}

.HeaderNavigationMenu_root__9lw0e {
    position: relative;
}

.HeaderNavigationMenu_trigger__VPCx2 {
    padding: 15px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    white-space: nowrap;
}

/* Desktop submenu */
@media (min-width: 1025px) {
    .submenu {
        display: none;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        background: white;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        list-style: none;
        padding: 15px;
        min-width: 200px;
        z-index: 1000;
    }

    .HeaderNavigationMenu_root__9lw0e:first-child .submenu,
    .HeaderNavigationMenu_root__9lw0e:nth-child(2) .submenu {
        width: 600px;
        column-count: 2;
        column-gap: 20px;
        padding: 20px;
    }

    .HeaderNavigationMenu_root__9lw0e:first-child .submenu li,
    .HeaderNavigationMenu_root__9lw0e:nth-child(2) .submenu li {
        break-inside: avoid;
        page-break-inside: avoid;
        margin-bottom: 5px;
    }

    .HeaderNavigationMenu_root__9lw0e:hover .submenu {
        display: block;
    }

    .HeaderNavigationMenu_root__9lw0e:last-child .submenu,
    .HeaderNavigationMenu_root__9lw0e:nth-last-child(2) .submenu {
        left: auto;
        right: 0;
        transform: none;
    }
}

.submenu a {
    color: #333;
    text-decoration: none;
    padding: 8px 15px;
    display: block;
    white-space: nowrap;
    transition: background 0.3s;
}

.submenu a:hover {
    background: #f5f5f5;
}

/* Mobile styles */
@media (max-width: 1024px) {
    body {
        padding-top: 60px;
    }

    .nav-container {
        padding: 0 15px;
        justify-content: center;
    }

    .mobile-menu-button {
        display: block;
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
        padding: 8px;
        background: transparent;
        border: none;
        cursor: pointer;
    }

    .mobile-menu-button.active {
        color: #6A4DBC;
    }

    .Header_navLinkList__uAeZS {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: #fff;
        padding: 20px;
        overflow-y: auto;
        z-index: 1000;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .Header_navLinkList__uAeZS.show {
        display: block;
    }

    .HeaderNavigationMenu_root__9lw0e {
        display: block;
        margin: 0 0 10px;
    }

    .HeaderNavigationMenu_trigger__VPCx2 {
        width: 100%;
        text-align: left;
        padding: 15px;
        font-size: 16px;
        color: #333;
        background: #f8f8f8;
        border: none;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .HeaderNavigationMenu_root__9lw0e.active .HeaderNavigationMenu_trigger__VPCx2 {
        color: #6A4DBC;
        background: #f0f0ff;
    }

    .submenu {
        display: none;
        padding: 10px 0 10px 15px;
    }

    .HeaderNavigationMenu_root__9lw0e.active .submenu {
        display: block;
    }

    .submenu a {
        padding: 10px 15px;
        color: #666;
        display: block;
        font-size: 14px;
        border-radius: 6px;
    }

    .submenu a:hover {
        background: #f5f5f5;
        color: #6A4DBC;
    }

    /* Адаптивні стилі для контенту */
    .container {
        padding: 0 15px;
    }

    .card-container {
        padding: 15px;
        margin: 10px 0;
    }

    .button {
        width: 100%;
        max-width: 300px;
        margin: 10px auto;
    }

    /* Адаптивні стилі для футера */
    .Footer_root__6Bgcm {
        padding: 20px 15px;
    }

    .Footer_content__iFaPk {
        flex-direction: column;
    }

    .Footer_linkList__WjS0C {
        flex-direction: column;
        gap: 20px;
    }

    .Footer_linkGroup___O9EJ {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .mobile-menu-button {
        display: block;
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1000;
    }

    .Header_navLinkList__uAeZS {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .Header_navLinkList__uAeZS.show {
        display: block;
    }

    .HeaderNavigationMenu_root__9lw0e {
        display: block;
        margin: 10px 0;
    }

    .submenu {
        position: static;
        display: none;
        width: 100%;
        margin-top: 10px;
        box-shadow: none;
        border-radius: 0;
        background: #f5f5f5;
        padding: 10px;
    }

    .submenu.show {
        display: block;
    }

    .HeaderNavigationMenu_trigger__VPCx2 {
        width: 100%;
        text-align: left;
        padding: 10px;
        color: #333;
    }

    .submenu a {
        color: #333;
        text-decoration: none;
        display: block;
        padding: 8px 10px;
        margin: 5px 0;
    }

    .submenu a:hover {
        background: #e9e9e9;
        border-radius: 5px;
    }
}

@media screen and (max-width: 768px) {
    .HeaderNavigationMenu_trigger__VPCx2 {
        font-size: 14px;
    }
}

/* Стилі для тексту */
.SectionSeoText_text__4tHQY {
    max-height: 4.5em;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.SectionSeoText_text__4tHQY.expanded {
    max-height: none;
}

.SectionSeoText_text__9OAyL.ClampLines_clampedText__moNhz {
    overflow: visible !important;
    max-height: none !important;
    -webkit-line-clamp: unset !important;
    display: block !important;
    margin-bottom: 40px !important;
}

.SectionSeoText_text__9OAyL.ClampLines_clampedText__moNhz p {
    margin-bottom: 1em !important;
}

.SectionSeoText_text__9OAyL.ClampLines_clampedText__moNhz h2,
.SectionSeoText_text__9OAyL.ClampLines_clampedText__moNhz h3 {
    margin-top: 1.5em !important;
    margin-bottom: 1em !important;
}

.Button_button__eB2M9.SectionSeoText_button__8xw6P {
    background: none;
    border: none;
    color: #6c63ff;
    cursor: pointer;
    font-size: 14px;
    padding: 8px 16px;
    transition: color 0.3s ease;
}

.Button_button__eB2M9.SectionSeoText_button__8xw6P:hover {
    color: #5048ff;
}

.Button_block__F2nqE.SectionSeoText_buttonWrapper__H_pgv {
    display: none;
}

.ExpertAbout_text__uGwWZ {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}

.ExpertAbout_text__uGwWZ.expanded {
    display: block;
    -webkit-line-clamp: unset;
}

.ExpertCardMore_root__fHzB8 {
    color: #6c63ff;
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

.ExpertCardMore_root__fHzB8:hover {
    color: #5048ff;
}

.SectionExperts_content__vk_m_ {
    padding-bottom: 60px !important;
}

main {
    flex: 1 0 auto;
}

.Footer_root__6Bgcm {
    flex-shrink: 0;
    position: relative !important;
    z-index: 1 !important;
    margin-top: 40px !important;
    width: 100%;
    background: #fff;
}

.Button_button__eB2M9.ExpertCard_button__JSQP6 {
    display: inline-block;
    background: #6b4de6;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.Button_button__eB2M9.ExpertCard_button__JSQP6:hover {
    background: #5a3fd9;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.ExpertCard_action__N_7p6 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.social-icons-wrapper {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
    z-index: 10;
    position: relative;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    cursor: pointer;
    z-index: 20;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon svg {
    width: 24px;
    height: 24px;
    pointer-events: none;
}

.ExpertCard_nameWrapper__WwAav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 8px 0;
}

.rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

.rating-value {
    font-weight: bold;
    color: #ffffff;
}

.star-icon {
    width: 16px;
    height: 16px;
}

.reviews-count {
    color: #ffffff;
    font-size: 14px;
}

.ExpertCard_root__1p0Ul {
    position: relative;
    padding-bottom: 60px;
}

@media screen and (min-width: 1025px) {
    .ExpertCard_action__N_7p6 {
        padding: 16px 20px;
        flex-direction: column;
        align-items: center;
        background-color: var(--secondary-800);
        border-bottom-right-radius: 16px;
        border-bottom-left-radius: 16px;
    }
}

.Button_block__F2nqE.ExpertCard_buttonWrapper__tjWLT {
    width: 100%;
}

.social-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.ExpertCard_status__ZqGeK {
    margin-top: 12px;
}

main {
    flex: 1 0 auto;
}

.Footer_root__6Bgcm {
    flex-shrink: 0;
    position: relative !important;
    z-index: 1 !important;
    margin-top: 40px !important;
    width: 100%;
    background: #fff;
}

.SectionExperts_title__8pIA2 {
    text-align: center;
    margin-bottom: 20px;
}

.conclusion-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.conclusion-title {
    color: #333;
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.conclusion-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #6A4DBC 0%, #9B7BFF 100%);
    margin: 15px auto;
    border-radius: 2px;
}

.conclusion-content {
    color: #666;
    line-height: 1.8;
    font-size: 16px;
    text-align: justify;
    padding: 0 20px;
}

.conclusion-content p {
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .conclusion-section {
        padding: 20px;
        margin-top: 30px;
    }
    
    .conclusion-title {
        font-size: 20px;
    }
    
    .conclusion-content {
        font-size: 14px;
        padding: 0 10px;
    }
}

/* Стилі для зображення */
.SectionStart_imageColumn__U5y5D {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.SectionStart_image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .SectionStart_imageColumn__U5y5D {
        padding: 10px;
    }

    .SectionStart_image {
        width: 241px;
        height: 226px;
    }
}

/* Стилі для лого */
.logo {
    display: block;
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    text-decoration: none;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo:hover .logo-text {
    color: #000;
}

/* Медіа-запит для мобільних пристроїв */
@media (max-width: 1024px) {
    .logo {
        position: absolute;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .logo-text {
        font-size: 24px;
    }

    .mobile-menu-button {
        z-index: 1002;
    }

    .nav-container {
        position: relative;
    }
}

/* SEO Section Styles */
.seo-section {
    padding: 40px 20px;
    background-color: #fff;
}

.seo-content {
    max-width: 1200px;
    margin: 0 auto;
}

.seo-text {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.seo-text h3 {
    font-size: 24px;
    color: #222;
    margin: 30px 0 15px;
}

.seo-text p {
    margin-bottom: 20px;
}

.seo-text ul {
    list-style-type: none;
    padding-left: 20px;
    margin-bottom: 20px;
}

.seo-text ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.seo-text ul li:before {
    content: "✨";
    position: absolute;
    left: 0;
    color: #6A4DBC;
}
