/* Institutional style for International Robotics Workshop */

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    background: #f4f7fb;
    color: #222;
}

header {
    background: #1a3365;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.7rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    transition: background 0.2s;
}

.nav-links a:hover, .nav-links a:focus {
    background: #29488a;
}

main {
    max-width: 900px;
    margin: 2.5rem auto 1.5rem auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 2.5rem 2rem;
}

section {
    margin-bottom: 2.5rem;
}

h1, h2 {
    color: #1a3365;
}

footer {
    text-align: center;
    padding: 1.4rem 0 1rem 0;
    background: #e9eef6;
    color: #1a3365;
    font-size: 1rem;
    border-top: 1px solid #dde3ee;
    margin-top: 2rem;
}

@media (max-width: 700px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }
    main {
        padding: 1.2rem 0.5rem;
    }
    .nav-links {
        flex-direction: column;
        gap: 0.6rem;
        width: 100%;
    }
    .logo {
        margin-bottom: 0.7rem;
    }
    .logo-row {
        flex-direction: column !important;
        gap: 1.2rem !important;
    }
    .logo-img {
        height: 90px !important;
        max-width: 85vw !important;
    }
    h1 {
        font-size: 1.65rem !important;
        margin-top: 1.1rem !important;
        margin-bottom: 1.3rem !important;
        padding: 0 0.2rem;
        line-height: 1.25;
        text-align: center;
    }
    .home-abstract, .home-topic, .home-abstract div, .home-topic ul {
        font-size: 1.08rem !important;
        line-height: 1.45 !important;
        padding: 0 0.2rem;
        text-align: left !important;
    }
}

h1 {
    font-size: 2.6rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2.5rem;
    margin-top: 0;
    color: #1a3365;
    line-height: 1.15;
}

.home-abstract, .home-topic, .home-abstract div, .home-topic ul {
    font-size: 1.15rem;
    line-height: 1.55;
    color: #222;
    margin-bottom: 1.3rem;
    text-align: justify;
    max-width: 100vw;
}

.logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.logo-img {
    height: 130px;
    width: auto;
    max-width: 280px;
    display: block;
    object-fit: contain;
    transition: transform 0.18s;
}

.logo-img:hover {
    transform: scale(1.04);
}
