body {
    font-family: Arial, sans-serif;
    background: #f4f6fc;
    color: #333;
}

.navbar {
    background: #f0f2fa;
    padding: 15px 30px;
    border-bottom: 1px solid #d5d9e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lab-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c2e4a;
}

.lab-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    margin-right: 12px;
    object-fit: cover;

    box-shadow:
        0px 4px 10px rgba(130, 90, 255, 0.25),
        0px 2px 5px rgba(0, 0, 0, 0.10);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-right {
    display: flex;
    gap: 25px;
}

.nav-item {
    font-size: 18px;
    font-weight: bold;
    color: #43456f;
    text-decoration: none;
    padding: 6px 8px;
}

.nav-item:hover {
    background: #e9edf9;
    color: #38769f;
}

.nav-item.active {
    color: #0b9bb8;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

.section {
    max-width: 850px;
    margin: 45px auto;
    padding: 0 20px;
}

.section h2 {
    color: #2d3a4f;
    margin: 0 0 12px 0;
}

/* home */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: #eef2ff;
    border-bottom: 1px solid #dce1f0;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 15px;
    color: #2c2f66;
}

.hero p {
    font-size: 20px;
    color: #5b5e7e;
    max-width: 700px;
    margin: 0 auto;
}

.section {
    margin: 60px auto;
}

.section h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.section p {
    font-size: 17px;
    line-height: 1.6;
    color: #555;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 25px;
}


.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e1e4ee;
}

.card h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    color: #2f3b56;
}

.card p {
    margin: 0;
    color: #666;
    font-size: 15px;
}

/* archive */
h1 {
    margin-top: 10px;
    font-size: 26px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    font-size: 18px;
}

th,
td {
    border: 1px solid #ddd;
    vertical-align: top;
    padding: 18px 15px;
}

th {
    background: #e8ecf8;
}

/* translator */
h1 {
    font-size: 26px;
    margin-top: 0;
}

.card {
    background: white;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.big {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 6px;
}

.sentence {
    margin-top: 8px;
    line-height: 1.6;
}

.audio-grid {
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.audio-block {
    border: 1px solid #e6e6ee;
    border-radius: 10px;
    padding: 10px 12px;
    background: #fbfbff;
}

.audio-label {
    font-size: 13px;
    font-weight: 700;
    color: #2c2e4a;
    margin-bottom: 6px;
}

audio {
    width: 100%;
}

@media (max-width: 720px) {
    .audio-grid {
        grid-template-columns: 1fr;
    }
}

/* map */
.map-gallery {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.map-row {
    background: white;
    border: 1px solid #e1e4ee;
    border-radius: 12px;
    padding: 14px;
}

.map-row-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c2e4a;
    margin-bottom: 10px;
}

.map-img {
    width: 100%;
    display: block;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #f7f8ff;
    object-fit: contain;
}

/* mobile spacing */
@media (max-width: 720px) {
    .map-row {
        padding: 12px;
    }
}


/* ae */
.section h2 {
    font-size: 26px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    margin-top: 18px;
}

.video-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e1e4ee;
    overflow: hidden;
}

.video-wrap {
    background: #f7f8ff;
    border-bottom: 1px solid #eef0f7;
}

video {
    width: 100%;
    height: 220px;
    display: block;
    object-fit: cover;
    background: #000;
}

.video-info {
    padding: 16px 16px 18px 16px;
}

.video-title {
    font-size: 22px;
    font-weight: 700;
    color: #2f3b56;
    margin: 0 0 8px 0;
}

.video-desc {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}