/* Reset and base styles */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Header styles */
header {
    background-color: #0077cc;
    padding: 0 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
}

/* Logo styles */
.logo-link {
    text-decoration: none;
    display: block;
}

.logo-link:hover {
    opacity: 0.9;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo h1 {
    font-size: 24px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
    margin: 0;
}

/* Site name link styles */
.site-name-link {
    text-decoration: none;
    color: white;
}

.site-name-link:hover {
    opacity: 0.9;
}

.site-name-link h1 {
    margin: 0;
}

/* Navigation */
nav {
    flex: 1;
    margin-left: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-start;
    gap: 5px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 25px 12px;
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: #fff;
    color: #0077cc;
}

/* Menu toggle button */
#menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 10px;
    margin-left: auto;
    position: relative;
    z-index: 1001;
}

/* Main content */
main {
    flex: 1;
    margin-top: 90px;
    padding: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* Content sections */
h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #0077cc;
}

h3 {
    font-size: 20px;
    margin: 25px 0 15px;
    color: #2c3e50;
}

p {
    margin-bottom: 15px;
    font-size: 16px;
}

/* Lists */
ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

ul li {
    margin-bottom: 10px;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
}


/* Loading indicator */
.loading {
    text-align: center;
    padding: 20px;
    font-style: italic;
    color: #666;
}

/* Content transitions */
.fade {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.fade.show {
    opacity: 1;
}

/* Tablet and mobile styles */
@media screen and (max-width: 1024px) {
    header {
        height: 60px;
        padding: 0 15px;
        justify-content: space-between;
    }

    .logo img {
        height: 40px;
    }

    .logo h1 {
        font-size: 20px;
    }

    #menu-toggle {
        display: block;
        order: 3;
    }

    nav {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #0077cc;
        margin: 0;
        padding: 0;
        overflow-y: auto;
        z-index: 1000;
    }

    nav.show {
        display: block;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        padding: 10px 0;
        gap: 0;
    }

    nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background-color: #0077cc;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li a {
        padding: 15px 20px;
        width: 100%;
        box-sizing: border-box;
        font-size: 16px;
        color: #fff;
        background-color: transparent;
    }

    nav ul li a:hover,
    nav ul li a.active {
        background-color: rgba(255, 255, 255, 0.1);
        color: #fff;
    }

    main {
        margin-top: 60px;
    }

}

/* Large screens */
@media screen and (min-width: 1025px) {
    nav ul li a:hover,
    nav ul li a.active {
        background-color: #fff;
        color: #0077cc;
    }
}

/* Language Switcher Styling */
.lang-switcher {
    position: absolute;
    top: 10px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 5px 10px;
}

.lang-switcher a {
    color: #fff;
    text-decoration: none;
    padding: 3px 8px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.lang-switcher a.active {
    background: #fff;
    color: #0077cc;
}

.lang-switcher span {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 2px;
}

/* Hero Banner Styles */
.hero-banner {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-bottom: 40px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 15px 25px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 1s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-content h2 {
    font-size: 2em;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.1em;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-banner {
        height: 400px;
    }

    .hero-content {
        bottom: 20px;
        width: 85%;
        padding: 12px 20px;
    }

    .hero-content h2 {
        font-size: 1.8em;
    }

    .hero-content p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        height: 300px;
    }

    .hero-content h2 {
        font-size: 1.8em;
    }

    .hero-content p {
        font-size: 1em;
    }
}

/* Additional Hero Banner Styles */
.hero-banner::before {
    display: none;
}

.hero-content {
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content h2 {
    color: #fff;
    margin-top: 0;
}

/* Animation for hero content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px); /* Start 20px below final position */
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0); /* Move to final position */
    }
}

/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0077cc;
    outline: none;
}

.contact-form button {
    background: #0077cc;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background: #005fa3;
}

/* Alert Messages */
.alert-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-message.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}