/* General Styles */
body {
    font-family: 'Inter', sans-serif;
    color: #333333;
    background-color: #f8f9fa;
}

.main-content.bg-image {
    background-image: url('../wrk/photo-1496568816309-51d7c20e3b21.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Added for parallax effect */
    background-attachment: fixed; /* This creates the parallax effect */
    min-height: 500px; /* Adjust height as necessary */
    display: flex;
    position: relative;
    margin-top: 0;
    padding-top: 0;
    color: white; /* Text color for visibility */
}

.main-content.bg-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3); /* Light white overlay */
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
}

/* Promo Content */
.promo-content {
    background-color: white;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    transition: transform 0.3s ease;
}

.promo-content:hover {
    transform: translateY(-5px);
}

.promo-content h2 {
    color: #112c4a;
    margin-bottom: 15px;
}

.promo-content p {
    color: #555;
    margin-bottom: 25px;
}

.promo-content .btn {
    padding: 12px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.promo-content .btn-outline-primary {
    border-color: #112c4a;
    color: #112c4a;
}

.promo-content .btn-outline-primary:hover {
    background-color: #112c4a;
    color: white;
}

.promo-content .btn-outline-success {
    background-color: #2d7b4b;
    color: white;
}

.promo-content .btn-outline-success:hover {
    background-color: #23663c;
}

/* Login Form */
.login-form {
    background-color: white;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    transition: transform 0.3s ease;
}

.login-form:hover {
    transform: translateY(-5px);
}

.login-form .form-label {
    font-weight: 500;
    color: #333;
}

.login-form .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px 20px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.login-form .form-control:focus {
    border-color: #2d7b4b;
    box-shadow: 0 0 0 3px rgba(45, 122, 75, 0.2);
}

.login-form .input-group-text {
    background-color: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px 0 0 8px;
    padding: 15px;
    color: #112c4a;
}

.login-form .form-check-label {
    font-weight: 500;
    color: #333;
}

.login-form .text-primary {
    color: #112c4a!important;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.login-form .text-primary:hover {
    color: #112c4a!important;
}

.login-form button[type="submit"] {
    background-color: #112c4a;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.login-form button[type="submit"]:hover {
    background-color: #112c4a;
}

.login-form .d-flex.align-items-center {
    margin-top: 20px;
}

.login-form .text-muted {
    color: #666;
}

/* Services Icons */
.services-icons .service-icon {
    padding: 15px;
    transition: transform 0.3s ease;
}

.services-icons .service-icon:hover {
    transform: translateY(-5px);
}

.services-icons .service-icon i {
    color: #112c4a!important;
    margin-bottom: 10px;
}

.services-icons .service-icon p {
    color: #333;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 767.98px) {
    .main-content .row {
        flex-direction: column;
    }
    
    .promo-content, .login-form {
        width: 100%;
        margin-bottom: 2rem;
    }
}

/* Error and Success Messages */
.alert {
    margin-top: 1rem;
    padding: 15px;
    border-radius: 8px;
}

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

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.bg-dark {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important;
}
.btn-primary, .btn-success {
    --bs-btn-color: #fff!important;
    --bs-btn-bg: #112c4a!important;
    --bs-btn-border-color: #112c4a!important;
    --bs-btn-hover-color: #fff!important;
    --bs-btn-hover-bg: #112c4a!important;
    --bs-btn-hover-border-color: #0a58ca!important;
    --bs-btn-focus-shadow-rgb: 49, 132, 253!important;
    --bs-btn-active-color: #fff!important;
    --bs-btn-active-bg: #0a58ca!important;
    --bs-btn-active-border-color: #0a53be!important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125)!important;
    --bs-btn-disabled-color: #fff!important;
    --bs-btn-disabled-bg: #112c4a!important;
    --bs-btn-disabled-border-color: #112c4a!important;
}
.text-success{color: #112c4a !important;}