@font-face {
    font-family: 'Widock';
    src: url('fonts/Widock\ TRIAL\ Bold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

  @font-face {
    font-family: 'Gotham';
    src: url('fonts/gotham_medium.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Gotham', sans-serif;
}

body {
    background: #D7F0FF;
    color: #000;
}

.back-to-main {
    color:#606060;
}

.back-to-main:link {
    color:#606060;
}

.back-to-main:visited {
    color:#606060;
}

.container {
    max-width: 1152px;
    width: 60%;
    margin: 0 auto;
    padding: 24px 16px 24px;
}

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

.phone-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.logo {
    display: flex;
    justify-content: space-between;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.logo a:hover {
    opacity: 0.8;
}

.logo-photo {
    height: 40px;
    padding-right: 10px;
}

.logo-text {
    padding-top: 5px;
    font-family: "Widock";
    font-size: 40px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #4b5563;
}

.phone-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.lang-switcher {
    position: relative;
    display: inline-block;
}

.lang-btn {
    border: none;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 14px;
    background-color: #FFEB28;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    width: 72px;
    height: 32px;
    border-radius: 8px;
    justify-content: center;
}


.lang-btn i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #FFEB28;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: auto;
    width: 72px;
    z-index: 100;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    padding: 0 12px;
    font-size: 12px;
    color: #000;
    border-radius: 6px;
    margin: 2px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.lang-option:hover {
    background: #FFF9BB;
}

.lang-switcher:hover .lang-btn {
    background: #FFF9BB;
}

.lang-switcher:hover .lang-btn i {
    transform: rotate(180deg);
}

main {
    max-width: 1152px;
}
a {
    color: #3c76ff;
    text-decoration: none;
}

.main-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 24px;
}

pre {
    max-width: 1152px;
    line-height: 1.2;
    white-space:pre-wrap;
}

.footer {
    background:white;
    max-width: 100%;
}

.contacts-mobile {
    display: none;
}

.footer-links-mobile {
    display: none;
}

.footer-content {
    background-color: white;
    padding: 32px 48px;
    font-family: sans-serif;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    padding-bottom: 40px;
    justify-content: center;
  }
  
  .footer-links a {
    text-decoration: none;
    color: #606060;
    font-size: 16px;
    line-height: 1.4;
  }
  
  .footer-bottom {
    margin-top: 48px;
    display: flex;
    justify-content: flex-end;
    color: #A6A6A6;
    font-size: 16px;
}

@media (max-width: 768px) {
    .container {
        width: 90%;
        padding: 16px;
    }

    .header {
        flex-direction: row;
        justify-content: space-between;
        position: relative;
        gap: 16px;
        margin-bottom: 10px;
    }

    .header-right {
        order: 0;
        width: auto;
        margin-left: auto;
        justify-content: flex-end;
    }

    .lang-switcher {
        margin-left: auto;
        z-index: 1;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin-right: 0;
    }

    .logo-photo {
        height: 36px;
    }

    .logo-text {
        font-size: 20px;
        padding-top: 5px;
    }

    .contact-info {
        display: none;
    }

    .footer {
        padding: 32px 25px;
    }

    .footer-links-mobile {
        display: flex;
        flex-wrap: wrap;
        padding-bottom: 40px;
    }
      
    .footer-links-mobile a {
        text-decoration: none;
        color: #606060;
        font-size: 16px;
        line-height: 1.4;
    }

    .footer-links {
        display: none;
    }

    .footer-links-mobile {
        display: flex;
        gap: 15px;
        flex-direction: column;
    }

    .footer-content {
        padding: 0;
    }

    .contacts-mobile {
        display: flex;
        justify-content: space-between;
        margin-bottom: 48px;
    }

    .social-icons-mobile {
        display: flex;
        gap: 10px;
    }

    .social-icons-mobile i {
        font-size: 20px;
        color: white;
        background: #3b82f6;
        padding: 16px;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
        cursor: pointer;
        pointer-events: auto;
    }
    
    .social-icons-mobile i:hover {
        transform: translateY(-4px);
    }

    .lang-btn {
        width: 12vw;
        height: 7vw;
        margin-bottom: 10px;
    }

    .lang-dropdown {
        width: 12vw;
        padding: 0;
        margin-top: 0;
    }

    .phone-info {
        align-items: flex-start;
    }
}    

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    animation: fadeIn 0.3s;
}

.modal-content {
    background: white;
    margin: 15% auto;
    padding: 32px;
    width: 400px;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.modal-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #2563eb;
    margin-top: 20px;
    padding: 12px;
    border: 2px solid #2563eb;
    border-radius: 8px;
    transition: all 0.3s;
}

.modal-link:hover {
    background: #2563eb;
    color: white;
}

.modal-close {
    position: absolute;
    right: 24px;
    top: 16px;
    font-size: 28px;
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}