body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

header {
    background: #ffffff;
    color: #004aad;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-sizing: border-box;
}

.logo {
    margin-left: 0.5rem;
}

.logo img {
    height: 40px;
}

.logo span {
    font-size: 1.2rem;
    font-weight: bold;
    color: #004aad;
}

nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

nav a {
    color: #004aad;
    text-decoration: none;
    margin: 0 0.5rem;
    font-size: 0.9rem;
}

nav a:hover {
    text-decoration: underline;
}

.contact-us {
    display: inline-flex;
    align-items: center;
    margin: 0 0.5rem;
}

.contact-us a {
    color: #004aad;
    margin: 0 0.3rem;
    font-size: 1.2rem;
}

.contact-us a:hover {
    color: #ffd700;
}

#lang-toggle {
    background: #ffd700;
    color: #004aad;
    border: none;
    padding: 0.3rem 0.6rem;
    cursor: pointer;
    font-size: 0.8rem;
    border-radius: 3px;
}

section {
    padding: 3rem 1rem;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    box-sizing: border-box;
}

#home {
    background: linear-gradient(rgba(0, 74, 173, 0.8), rgba(0, 74, 173, 0.8)), url('images/home-bg.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
}

#tips {
    background: url('images/tips-bg.jpg') center/cover no-repeat;
}

#contact {
    background: url('images/resources-bg.jpg') center/cover no-repeat;
    text-align: center;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1rem;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

h3 {
    font-size: 1.4rem;
    margin: 0.5rem 0;
}

p {
    font-size: 1rem;
    max-width: 90%;
    margin: 0 auto;
}

.company-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 1rem auto;
    max-width: 90%;
}

.company-logos img {
    height: 50px;
    object-fit: contain;
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    background: #004aad;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 3px;
    margin-top: 0.5rem;
}

.contact-button.instagram-button {
    background: #e4405f;
}

.contact-button.facebook-button {
    background: #3b5998;
}

.contact-button i {
    margin-right: 0.3rem;
}

.contact-button:hover {
    filter: brightness(85%);
}

.tips-box {
    max-width: 90%;
    margin: 1rem auto;
}

.tips-box p {
    margin: 0.3rem 0;
}

footer {
    background: #004aad;
    color: white;
    text-align: center;
    padding: 1rem;
}

.instagram-preview {
    margin-top: 1rem;
}

.instagram-preview a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
}

.instagram-preview a:hover {
    text-decoration: underline;
}

.slideshow-container {
    max-width: 100%;
    margin: 1rem auto;
    position: relative;
}

.slideshow {
    position: relative;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 0.3s ease;
}

.slides img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
    margin-right: 0.5rem;
    cursor: pointer;
    border-radius: 3px;
}

.slides .placeholder {
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 3/2;
    background: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    border-radius: 3px;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 74, 173, 0.8);
    color: white;
    border: none;
    padding: 0.3rem 0.6rem;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 3px;
}

.nav-button.prev {
    left: 0;
}

.nav-button.next {
    right: 0;
}

.nav-button:hover {
    background: #004aad;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
}

.modal-content {
    max-width: 90%;
    max-height: 80%;
    margin: auto;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 1024px) {
    header {
        padding: 0.3rem 0.5rem;
    }

    .logo img {
        height: 30px;
    }

    .logo span {
        font-size: 1rem;
    }

    nav a {
        margin: 0 0.3rem;
        font-size: 0.8rem;
    }

    .contact-us a {
        margin: 0 0.2rem;
        font-size: 1rem;
    }

    #lang-toggle {
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    p {
        font-size: 0.9rem;
    }

    .contact-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .company-logos img {
        height: 40px;
    }

    .slides img,
    .slides .placeholder {
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.2rem 0.5rem;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .logo {
        margin-bottom: 0.2rem;
    }

    nav {
        justify-content: flex-end;
        gap: 0.3rem;
    }

    nav a {
        margin: 0 0.2rem;
        font-size: 0.7rem;
    }

    .contact-us {
        margin: 0 0.2rem;
    }

    .contact-us a {
        font-size: 0.9rem;
    }

    #lang-toggle {
        padding: 0.2rem 0.4rem;
        font-size: 0.6rem;
    }

    section {
        padding: 2rem 0.5rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.8rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1rem;
    }

    p {
        font-size: 0.8rem;
    }

    .tips-box {
        margin: 0.5rem auto;
    }

    .contact-button {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }

    .company-logos img {
        height: 30px;
    }

    .slides img,
    .slides .placeholder {
        max-width: 150px;
    }

    .nav-button {
        padding: 0.2rem 0.4rem;
        font-size: 0.8rem;
    }

    .modal-close {
        font-size: 1.2rem;
    }
}