/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: white;
    color: #000000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

/* Header Styles */
.navbar {
    background-color: #FFFFFF !important;
    box-shadow: none;
    border-bottom: 1px solid #E5E5E5;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.navbar-brand {
    text-decoration: none;
    padding: 0;
    display: flex;
    align-items: center;
}

/* Logo Styling */
.logo-container {
    position: relative;
    display: flex;
    align-items: center;
}

.logo-image {
    width: 150px;
    height: auto;
}

/* Navigation Menu Styling */
.navbar-nav {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: #2C3E50 !important;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    font-family: Arial, sans-serif;
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: #6C7A89 !important;
    border-bottom-color: #D3D3D3;
}

/* Portal Buttons Styling */
.portal-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.btn-portal {
    width: 140px;
    height: 40px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-login {
    background-color: #D3D3D3;
    color: #2C3E50;
    border: 2px solid #F7C548;
}

.btn-login:hover {
    background-color: #F7C548;
    color: #2C3E50;
    border-color: #F7C548;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.form-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.form-wrapper {
    background-color: white;
    padding: 60px 40px;
    border-radius: 0;
}

.form-title {
    color: #000000;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
}

.form-subtitle {
    color: #000000;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.contact-form {
    width: 100%;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #000000;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
    font-family: Arial, sans-serif;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #000000;
    background-color: rgb(203, 199, 199);
    color: #000000;
    font-size: 1rem;
    font-family: Arial, sans-serif;
    transition: border-color 0.3s ease;
    border-radius: 0;
}

.form-input:focus {
    outline: none;
    border-color: #3498db;
    background-color: rgb(203, 199, 199);
}

.form-input::placeholder {
    color: #000000;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.submit-button {
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #333;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Arial, sans-serif;
    min-width: 150px;
}

.submit-button:hover:not(:disabled) {
    background-color: #333;
    color: #000000;
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.button-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #333;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    font-family: Arial, sans-serif;
    display: none;
}

.message.success {
    background-color: #28a745;
    color: #000000;
    display: block;
}

.message.error {
    background-color: #dc3545;
    color: #000000;
    display: block;
}

/* Footer Styles - 3 Level Layer Design */

/* Top Layer - White Background */
.footer-top-layer {
    background-color: #FFFFFF;
    padding: 60px 0 40px 0;
    border-bottom: 1px solid #e9ecef;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.footer-col {
    padding: 0 15px;
}

.footer-col-3 {
    flex: 0 0 25%;
    max-width: 25%;
    margin-bottom: 20px;
}

.footer-col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.footer-row-align {
    align-items: center;
}

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

.footer-section {
    text-align: left;
}

.footer-title {
    color: #000000;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-family: Arial, sans-serif;
}

.footer-content p {
    color: #000000;
    font-size: 14px;
    margin-bottom: 5px;
    font-family: Arial, sans-serif;
}

.footer-email {
    color: #000000;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: #3498db;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-color: #2C3E50;
    color: white !important;
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid #2C3E50;
}

.social-link i {
    color: white !important;
    font-size: 16px;
}

.social-link:hover {
    background-color: #3498db;
    border-color: #3498db;
    transform: translateY(-2px);
}

.social-link:hover i {
    color: white !important;
}

/* Middle Layer - Dark Gray Background */
.footer-middle-layer {
    background-color: #6C7A89;
    padding: 30px 0;
    border-bottom: 1px solid #3d4a54;
}

.portal-section {
    text-align: center;
    padding: 0 20px;
}

.portal-title {
    color: white;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    font-family: Arial, sans-serif;
}

.portal-links {
    color: white;
    font-size: 16px;
    font-family: Arial, sans-serif;
}

.portal-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.portal-links a:hover {
    color: #3498db;
}

.separator {
    margin: 0 10px;
    color: #BDC3C7;
}

/* Bottom Layer - Black Background */
.footer-bottom-layer {
    background-color: #000000;
    padding: 30px 0;
}

.legal-info {
    color: white;
    font-family: Arial, sans-serif;
}

.legal-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #3498db;
}

.copyright {
    font-size: 14px;
    color: white;
    margin: 10px 0;
    font-weight: normal;
}

.company-name {
    font-size: 14px;
    font-weight: bold;
    color: white;
    margin: 10px 0;
}

.license-info {
    font-size: 12px;
    color: #BDC3C7;
    margin: 10px 0;
    font-weight: normal;
}

.footer-logos {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .navbar-nav {
        margin: 1rem 0;
        gap: 1rem;
        width: 100%;
        justify-content: center;
        order: 3;
    }
    
    .portal-buttons {
        flex-direction: row;
        margin-top: 1rem;
    }
    
    .btn-portal {
        width: 120px;
    }

    .footer-top-layer {
        padding: 40px 0 30px 0;
    }
    
    .footer-middle-layer {
        padding: 25px 0;
    }
    
    .footer-bottom-layer {
        padding: 25px 0;
    }
    
    .footer-col-3 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 30px;
    }

    .footer-col-6 {
        margin-bottom: 20px;
    }
    
    .footer-logos {
        justify-content: center;
        margin-top: 20px;
    }
    
    .legal-info {
        text-align: center;
        margin-bottom: 20px;
    }
}

@media (max-width: 767.98px) {
    .navbar .container {
        flex-direction: column;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .portal-buttons {
        justify-content: center;
        width: 100%;
    }

    .form-wrapper {
        padding: 40px 20px;
    }
    
    .form-title {
        font-size: 2rem;
    }
    
    .form-subtitle {
        font-size: 1rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .submit-button {
        width: 100%;
    }

    .footer-top-layer {
        padding: 30px 0 20px 0;
    }
    
    .footer-col-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .footer-col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .footer-title {
        font-size: 16px;
    }
    
    .footer-content p {
        font-size: 13px;
    }
    
    .portal-title {
        font-size: 16px;
    }
    
    .footer-logos {
        flex-direction: column;
        gap: 20px;
    }
}

