* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #F5F5F5;
    color: #333333;
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

header {
    background: #0D2137;
    color: #F5F5F5;
    padding: 15px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    min-height: 180px;
    margin-bottom: 0;
    overflow: hidden;
}

.header-logo {
    height: 180px;
    max-width: 30%;
    width: auto;
    margin-left: 15px;
    object-fit: contain;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.header-logo:hover {
    transform: scale(1.05);
}

.header-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    z-index: 2;
}

.header-text h1 {
    font-size: 40px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.header-text p {
    font-size: 24px;
    font-weight: 400;
    margin: 5px 0 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

nav {
    background-color: #A3BFFA;
    padding: 10px 0;
    width: 100%;
    text-align: center;
    margin-top: 0;
}

nav a {
    color: #FFFFFF;
    text-decoration: none;
    padding: 10px 20px;
    margin: 0 10px;
    font-size: 18px;
    transition: background-color 0.3s ease;
    display: inline-block;
}

nav a:hover {
    background-color: #728FCE;
    color: #FFFFFF;
}

.watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    max-width: 600px;
    opacity: 0.1;
    z-index: -1;
    filter: brightness(70%);
}

.content {
    flex: 1 0 auto;
    padding: 20px;
    margin: 20px auto;
    max-width: 1200px;
    background-color: rgba(255, 255, 255, 0.7);
}

footer {
    background-color: #1A3C5A;
    color: #F5F5F5;
    padding: 10px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    margin-top: 0;
}

.social-links {
    display: flex;
}

.social-links a img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.social-links a:hover img {
    opacity: 0.7;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 10px;
        min-height: 160px;
    }

    .header-logo {
        height: 60px;
        max-width: 35%;
        margin: 5px auto;
        order: 1;
    }

    .header-text {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        padding: 5px 10px;
        order: 2;
    }

    .header-text h1 {
        font-size: 24px;
    }

    .header-text p {
        font-size: 16px;
    }

    nav {
        padding: 8px 0;
    }

    nav a {
        display: block;
        margin: 5px 0;
        padding: 8px;
        font-size: 16px;
    }

    .content {
        padding: 15px;
        margin: 10px auto;
    }

    .watermark {
        width: 80%;
        max-width: 300px;
    }

    footer {
        flex-direction: column;
        padding: 15px;
        text-align: center;
    }

    .social-links {
        margin-bottom: 10px;
    }

    footer p {
        margin: 0;
    }
}

@media (max-width: 480px) {
    header {
        min-height: 140px;
    }

    .header-logo {
        height: 50px;
        max-width: 30%;
    }

    .header-text h1 {
        font-size: 20px;
    }

    .header-text p {
        font-size: 14px;
    }

    nav a {
        font-size: 14px;
        padding: 6px;
    }

    .content {
        padding: 10px;
    }
}

.header-carousel {
    height: 80px;
    width: 80px;
    margin-right: 15px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    z-index: 1;
}

.header-carousel img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

.header-carousel img:first-child {
    display: block;
}

@media (max-width: 768px) {
    .header-carousel {
        height: 40px;
        width: 40px;
        margin: 5px auto;
        order: 3;
    }
}

@media (max-width: 480px) {
    .header-carousel {
        height: 30px;
        width: 30px;
    }
}