/**
 * Create by XIAOMU
 * Date: 2025/11/5
 * Name : APP
 */
@import "../../../assets/font/ukij.css";
:root {
    --white: #fff;
    --white-90: #f5f5f5;
    --black-30: #f8f9fa;
    --black-60: #999;
    --black-80: #444;
    --primary: #3a86ff;
    --primary-dark: #2667cc;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

body {
    width: 100%;
    overflow-x: hidden;
    background: var(--white);
    line-height: 1.6;
    transition: var(--transition);
}
a{
    color: var(--black-80);
}

img {
    max-width: 100%;
}

/* ä¿®å¤è¯­è¨€åˆ‡æ¢é€»è¾‘ */
[lang="zh"] { display: block; }
[lang="ug"] { display: none; direction: rtl; font-family: "UKIJ Tor";}

body.zh [lang="ug"] { display: none; }
body.zh [lang="zh"] { display: block; }

body.ug [lang="zh"] { display: none; }
body.ug [lang="ug"] { display: block; }
.ug {
    font-family: "UKIJ Tor";
}
/* è¯­è¨€åˆ‡æ¢å™¨ */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

.lang-btn {
    padding: 8px 16px;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    border: 1px solid var(--black-60);
}

.lang-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* å¤´éƒ¨æ ·å¼ */
#header {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(132deg,rgba(235,237,240,.85) 9.65%,rgba(233,236,238,.81) 58.96%,rgba(254,254,255,.87) 86.15%);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    transition: var(--transition);
    box-shadow: 0 .3125rem .46875rem 0 rgba(77, 90, 108, .12);
    border-bottom: .01563rem solid #fff;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--black-80);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.nav a {
    text-decoration: none;
    color: var(--black-80);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.nav a.active {
    background-color: var(--primary);
    color: white;
}

.nav a:hover {
    background-color: var(--white-90);
}

/* å†…å®¹åŒºåŸŸ */
.section {
    min-height: 100vh;
    padding: 80px 2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#home {
    background: var(--white);
}

#about {
    background: var(--white-90);
}


#contact {
    background: var(--white);
}

.content {
    max-width: 1200px;
    text-align: center;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--black-80);
}

p {
    font-size: 1.2rem;
    color: var(--black-60);
    margin-bottom: 1.5rem;
}

/* æœåŠ¡éƒ¨åˆ†æ ·å¼ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: white;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--black-80);
}

/* è”ç³»ç‰ˆå—æ ·å¼ */
.contact-section {
    width: 100%;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    color: var(--black-80);
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--black-60);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--white);
}

.contact-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--black-80);
}

.contact-card p {
    color: var(--black-60);
    line-height: 1.6;
    margin-bottom: 10px;
}

.contact-card a {
    text-decoration: none;
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--primary);
}

.hours-section {
    margin-top: 50px;
    text-align: center;
}

.hours-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--black-80);
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 0 auto;
}

.hours-item {
    background: var(--white);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.hours-item h4 {
    margin-bottom: 5px;
    color: var(--black-80);
}

.hours-item p {
    color: var(--black-60);
}

.social-section {
    margin-top: 50px;
    text-align: center;
}

.social-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--black-80);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
    color: var(--black-60);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.map-section {
    margin-top: 50px;
    border-radius: 8px;
    overflow: hidden;
}

.map-placeholder {
    background: var(--white);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    gap: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.map-placeholder i {
    width: 40px;
    height: 40px;
    font-size: 20px;
    background: var(--black-30);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--black-60);
}

.map-placeholder h3 {
    font-size: 14px;
    color: var(--black-60);
}

/* å“åº”å¼è®¾è®¡ */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }

    .contact-grid, .services-grid {
        grid-template-columns: 1fr;
    }

    #header {
        padding: 1rem;
        flex-wrap: wrap;
    }

    .nav {
        gap: 1rem;
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .nav a {
        padding: 0.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }

    .language-switcher {
        margin-left: auto;
    }
}

.img-grid{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.img-grid img{
    width: 250px;
}
