/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* Header Styles */
header {
    background-color: #003087;
    color: white;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.logo img {
    max-width: 120px;
    height: auto;
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-switch a {
    color: white;
    text-decoration: none;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #ffd700;
}

.account-links .dropdown {
    position: relative;
}

.dropbtn {
    background-color: #ffd700;
    color: #003087;
    padding: 0.5rem 1rem;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 120px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: #003087;
    padding: 0.5rem 1rem;
    display: block;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.menu-toggle {
    display: none;
    font-size: 1.7rem;
	width:40px;
    cursor: pointer;
    color: black;
	background-color : #ffd700;
}

/* Carousel Styles */
.carousel {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    height: 400px;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.carousel-slide img,
.carousel-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 1rem;
}

.carousel-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.carousel-btn {
    background-color: #ffd700;
    color: #003087;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.carousel-btn:hover {
    background-color: #e6c200;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.hero, .overview {
    margin-bottom: 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    color: #003087;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
}

.overview h2 {
    font-size: 2rem;
    color: #003087;
    margin-bottom: 1rem;
}

/* Form Styles */
.form-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
   
}

.form-container h2 {
    color: #003087;
    margin-bottom: 1.5rem;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

form input,
form select,
form button {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

form input[type="checkbox"] {
    margin-right: 0.5rem;
}

form button {
    background-color: #003087;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #002060;
}

#loginMessage,
#registerMessage,
#resetMessage {
    margin-top: 1rem;
    text-align: center;
}

/* Footer Styles */
footer {
    background-color: #003087;
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.partner-links {
    margin: 2rem 0;
}

.partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

.partners img {
    
    height: 25px;
}

.under-construction {
    font-style: italic;
    color: #ffd700;
}

.footer-links {
    margin: 1rem 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
}

.footer-links a:hover {
    color: #ffd700;
}
.footer-contact p {
	font-size: 0.77em;
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icons img {
    width: 24px;
    height: 24px;
}



/* Responsive Design */
@media (max-width: 768px) {
    .top-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #002060;
        padding: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1rem;

    }

    .account-links {
        margin-top: 1rem;
    }

    .carousel {
        height: 300px;
    }

    .carousel-content h2 {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .partners img {
        max-width: 25px;
    }
}
a:link {
  text-decoration: none;
}

@media (max-width: 480px) {
    .carousel {
        height: 200px;
    }

    .carousel-content h2 {
        font-size: 1.2rem;
    }

    .carousel-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .form-container {
        padding: 1rem;
    }

    .partners img {
        max-width: 25px;
    }

    .social-icons img {
        width: 20px;
        height: 20px;
    }
}
/* registration form */

.form-container fieldset { margin: 10px 0; }
.form-container button { background: #007bff; color: white; border: none; cursor: pointer; }
.form-container button:hover { background: #0056b3; }
.hidden { display: none; }
.text-red-600 { color: #dc2626; }
.text-green-600 { color: #16a34a; }


.dashboard-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
}
.notifications, .quick-links, .applications, .file-upload, .settings, .chat-box {
    margin-bottom: 2rem;
}
.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}
.btn {
    display: block;
    padding: 0.75rem;
    text-align: center;
    background: #2563eb;
    color: white;
    border-radius: 4px;
    text-decoration: none;
}
table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    padding: 0.5rem;
    border: 1px solid #ccc;
}
.dark-mode {
    background: #1f2937;
    color: #f3f4f6;
}


