@font-face {
    font-family: "Microsoft Uighur";
    src: url("../fonts/msuighur.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    height: 60px !important;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.4);
}

html, body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

body {
    font-family: "Microsoft Uighur", sans-serif !important;
    line-height: 1.6;
    color: #000;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-nav {
    display: flex;
    height: auto;
    min-height: 80px;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #fff;
    gap: 1rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.banner {
    flex-shrink: 0;
}

.news, .activities {
    flex-shrink: 0;
}

.activities {
    margin-bottom: 30px;
}

.logo img {
    height: 100px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-links a {
    font-family: 'Microsoft Uighur';
    font-style: normal;
    font-weight: 400;
    font-size: clamp(16px, 2vw, 24px);
    line-height: 1.2;
    text-decoration: none;
    color: #000000;
    padding: 0.25rem;
    transition: color 0.3s ease;
}

.nav-links a.active {
    color: #0066cc;
    font-weight: bold;
}

@media screen and (max-width: 1600px) {
    .main-nav {
        padding: 20px 30px;
        gap: 30px;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .nav-links a {
        font-size: 22px;
        padding: 0 4px;
    }
    
    .logo img {
        height: 90px;
    }
}

@media screen and (max-width: 1400px) {
    .main-nav {
        padding: 20px 20px;
        gap: 20px;
    }
    
    .nav-links {
        gap: 10px;
    }
    
    .nav-links a {
        font-size: 20px;
        padding: 0 3px;
    }
    
    .logo img {
        height: 80px;
    }
}

@media screen and (max-width: 1200px) {
    .main-nav {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .logo img {
        height: 60px;
    }
}

@media screen and (max-width: 1000px) {
    .main-nav {
        padding: 15px 10px;
        gap: 10px;
    }
    
    .nav-links {
        gap: 5px;
    }
    
    .nav-links a {
        font-size: 16px;
        padding: 0 1px;
    }
    
    .logo img {
        height: 60px;
    }
}

@media screen and (max-width: 768px) {
    .main-nav {
        padding: 0.5rem;
        gap: 0.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .nav-links {
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .logo img {
        height: 50px;
    }
}

@media screen and (max-width: 480px) {
    .main-nav {
        padding: 0.25rem;
    }
    
    .nav-links {
        gap: 0.25rem;
    }
    
    .logo img {
        height: 40px;
    }
}

.footer {
    background: #292B33;
    color: #fff;
    min-height: 105px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: auto;
    flex-shrink: 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
}

.footer-content p {
    font-size: clamp(10px, 1.5vw, 12px);
    color: #FFFFFF;
    line-height: 1.5;
    text-align: center;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    padding: 0 1rem;
    white-space: nowrap;
}

.beian-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.beian-info span {
    font-size: 12px;
    color: #FFFFFF;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
}

.beian-icon {
    height: 20px;
    width: 20px;
    vertical-align: middle;
}

@media screen and (max-width: 768px) {
    .footer {
        padding: 1rem 0.5rem;
    }
    
    .footer-content p {
        white-space: normal;
        font-size: 12px;
        padding: 0 10px;
        word-break: keep-all;
        overflow-wrap: break-word;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    
    .footer-info-block {
        display: block;
        margin: 2px 0;
    }

    .footer-info-block.address {
        order: 4;
    }
    
    .footer-info-block.zip {
        order: 1;
    }
    
    .footer-info-block.phone {
        order: 2;
    }
    
    .footer-info-block.fax {
        order: 3;
    }
}

@media screen and (max-width: 480px) {
    .footer {
        padding: 0.75rem 0.25rem;
    }
    
    .footer-content {
        gap: 0.25rem;
    }
    
    .footer-content p {
        font-size: 10px;
        line-height: 1.4;
    }
} 
