/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Language Toggle Button */
.language-btn {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #d32f2f;
    color: white;
    padding: 8px 20px;
    font-size: 14px;
    cursor: pointer;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    z-index: 1000;
}

/* Header Section */
.header {
    background-image: url('assets/bgpattern.png');
    background-repeat: repeat;
    background-color: #ffffff;
    padding: 40px 20px 20px 20px;
    border-bottom: 1px solid #e0e0e0;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-title {
    color: #0360a7;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.3;
}

.logo {
    height: 60px;
    width: auto;
}

/* Navigation Bar */
.navbar {
    background-color: #d32f2f;
    padding: 0;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-menu > li {
    margin: 0;
    position: relative;
}

.nav-link {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 12px;
    font-size: 13px;
    transition: background-color 0.3s;
}

.nav-link:hover {
    background-color: #b71c1c;
}

.nav-link.login-btn {
    background-color: white;
    color: #d32f2f;
    margin: 8px 12px;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
}

.nav-link.login-btn:hover {
    background-color: #f5f5f5;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    list-style: none;
    padding: 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-link {
    display: block;
    color: #333;
    text-decoration: none;
    padding: 12px 20px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.dropdown-link:hover {
    background-color: #f5f5f5;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    background-image: url('assets/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 51, 102, 0.85), rgba(0, 51, 102, 0.4));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding-left: 20px;
}

.hero-title {
    font-size: 72px;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 35px;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.btn-primary {
    background-color: #d32f2f;
    color: white;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    background-color: #b71c1c;
}

.btn-help {
    color: white;
    text-decoration: underline;
    font-size: 16px;
}

.btn-help:hover {
    text-decoration: none;
}

.hero-note {
    font-size: 16px;
    line-height: 1.6;
}

.bida-link {
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.bida-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .nav-link {
        padding: 15px 10px;
        font-size: 12px;
    }
}

@media (max-width: 1200px) {
    .nav-link {
        padding: 15px 8px;
        font-size: 11px;
    }
}

@media (max-width: 992px) {
    .header-title {
        font-size: 20px;
    }
    
    .hero-title {
        font-size: 56px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero {
        height: 500px;
    }
}