.navbar {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 15px 20px;
    transition: background-color 0.3s ease;
}

.navbar-brand {
    color: #333333 !important;
    font-weight: bold;
    font-size: 1.5em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    color: #333333 !important;
    text-decoration: none;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: lightgreen !important;
}

.navbar-nav .nav-item.active .nav-link {
    color: lightgreen !important;
    font-weight: 600;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
    padding: 8px 12px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    z-index: 1000;
    background-color: #ffffff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    min-width: 180px;
    margin-top: 5px;
}

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

.dropdown-item {
    padding: 10px 20px;
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

.dropdown-item i {
    margin-right: 8px;
    color: #007bff;
}

header {
    background-color: #f8f9fa;
    padding: 120px 0 60px;
}

header .card {
    border-radius: 15px;
    overflow: hidden;
}

header .card-body {
    max-width: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto;
    min-height: 400px;
}

header .card-title {
    font-size: 36px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 25px;
    line-height: 1.2;
}

header .card-text {
    font-size: 16px;
    color: #555555;
    margin-bottom: 30px;
    line-height: 1.7;
}

header .image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

header .img-fluid {
    max-height: 400px;
    width: auto;
    object-fit: contain;
}

header .btn-warning {
    background-color: #f5a623;
    border: none;
    color: #fff;
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    width: fit-content;
}

header .btn-warning:hover {
    background-color: #e09500;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(245, 166, 35, 0.4);
    color: #fff;
}

.features {
    background-color: #ffffff;
    padding: 80px 0;
}

.features .container>h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
}

.feature-card {
    text-align: center;
    padding: 35px 25px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.feature-card i {
    color: #007bff;
    font-size: 45px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

.benefits {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.benefits h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
}

.benefit-card {
    text-align: center;
    padding: 35px 25px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.benefit-card i {
    color: #28a745;
    font-size: 45px;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 15px;
}

.benefit-card p {
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

.about-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.about-section h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #333333;
    position: relative;
    padding-bottom: 20px;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #007bff;
}

.about-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #555555;
    margin-bottom: 20px;
}

.team-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.team-section h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #333333;
    position: relative;
    padding-bottom: 20px;
}

.team-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #007bff;
}

.team-card {
    text-align: center;
    padding: 35px 25px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.team-card i {
    font-size: 50px;
    margin-bottom: 20px;
    color: #007bff;
}

.team-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 10px;
}

.team-card p {
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
}

.footer {
    background-color: #2c3e50;
    padding: 60px 0 20px;
    color: #b0b0b0;
}

.footer h5 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #007bff;
}

.footer p {
    color: #b0b0b0;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer ul li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer ul li a i {
    font-size: 10px;
    color: #007bff;
}

.footer .contact-info p {
    margin-bottom: 12px;
}

.footer .contact-info i {
    color: #007bff;
    width: 20px;
}

/* Social Links */
.footer .social-links {
    margin-top: 20px;
}

.footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer .social-links a:hover {
    background-color: #007bff;
    transform: translateY(-3px);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 40px 0 20px;
}

.footer .copyright {
    color: #888888;
    font-size: 14px;
    margin: 0;
}

/* Footer Responsive */
@media (max-width: 991.98px) {
    .footer {
        padding: 50px 0 20px;
    }

    .footer h5 {
        margin-bottom: 20px;
    }
}

@media (max-width: 767.98px) {
    .footer {
        text-align: center;
        padding: 40px 0 20px;
    }

    .footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer ul li a:hover {
        padding-left: 0;
    }

    .footer .col-lg-4,
    .footer .col-lg-2,
    .footer .col-lg-3 {
        margin-bottom: 30px;
    }
}

.form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 12px 15px;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

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

/* Password Group */
.password-group {
    display: flex;
    align-items: stretch;
}

.password-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.password-group .password-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e9ecef;
    border: 1px solid #ddd;
    border-left: none;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    padding: 0 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.password-group .password-toggle:hover {
    background-color: #dde0e3;
}

.password-group .password-toggle i {
    color: #6c757d;
}

/* Validation Errors */
.error-message,
#password-error,
#confirmpassword-error {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
}

.btn-primary {
    background-color: #007bff;
    border: none;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}

.btn-success {
    background-color: #28a745;
    border: none;
}

.btn-success:hover {
    background-color: #1e7e34;
}

.btn-danger {
    background-color: #dc3545;
    border: none;
}

.btn-danger:hover {
    background-color: #c82333;
}

.table {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.table thead th {
    background-color: #f8f9fa;
    border: none;
    color: #333;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    padding: 15px;
}

.table tbody td {
    padding: 15px;
    vertical-align: middle;
    border-color: #f0f0f0;
    font-size: 14px;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
}

.alert {
    border-radius: 10px;
    padding: 15px 20px;
    border: none;
    font-size: 14px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

section {
    margin-top: 0;
}

.text-primary {
    color: #007bff !important;
}

.bg-light {
    background-color: #f8f9fa !important;
}

/* Large devices */
@media (max-width: 1199.98px) {
    header .card-title {
        font-size: 32px;
    }

    header .card-body {
        padding: 30px;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.7);
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
    }

    .navbar-nav .nav-link {
        color: #ffffff !important;
        padding: 12px 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-nav .nav-link:hover {
        color: lightgreen !important;
    }

    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    .dropdown-menu {
        background-color: rgba(255, 255, 255, 0.1);
        box-shadow: none;
        border-radius: 5px;
        margin-top: 0;
    }

    .dropdown-item {
        color: #ffffff;
    }

    .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: lightgreen;
    }

    header {
        padding: 100px 0 50px;
    }

    header .card-body {
        text-align: center;
        min-height: auto;
        padding: 30px 20px;
    }

    header .card-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    header .card-text {
        font-size: 15px;
    }

    header .btn-warning {
        margin: 0 auto;
    }

    header .image-container {
        margin-top: 30px;
    }

    header .img-fluid {
        max-height: 300px;
    }

    .features,
    .benefits {
        padding: 60px 0;
    }

    .feature-card,
    .benefit-card {
        margin-bottom: 20px;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .navbar-brand {
        font-size: 1.1em;
    }

    header {
        padding: 90px 15px 40px;
    }

    header .card {
        margin: 0;
    }

    header .card-body {
        padding: 25px 20px;
    }

    header .card-title {
        font-size: 24px;
    }

    header .card-text {
        font-size: 14px;
        margin-bottom: 25px;
    }

    header .img-fluid {
        max-height: 250px;
    }

    .features h2,
    .benefits h2,
    .about-section h2,
    .team-section h2 {
        font-size: 26px;
        margin-bottom: 40px;
    }

    .feature-card,
    .benefit-card,
    .team-card {
        padding: 25px 20px;
    }

    .feature-card i,
    .benefit-card i {
        font-size: 38px;
    }

    .feature-card h3,
    .benefit-card h3 {
        font-size: 18px;
    }

    .feature-card p,
    .benefit-card p {
        font-size: 14px;
    }

    .footer {
        padding: 40px 0 25px;
        text-align: center;
    }

    .footer .col-md-4 {
        margin-bottom: 30px;
    }

    .footer h5 {
        margin-bottom: 15px;
    }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    .navbar {
        padding: 10px 15px;
    }

    .navbar-brand {
        font-size: 0.95em;
    }

    header .card-title {
        font-size: 22px;
    }

    header .card-text {
        font-size: 13px;
    }

    header .btn-warning {
        padding: 12px 25px;
        font-size: 14px;
        width: 100%;
    }

    .features,
    .benefits {
        padding: 50px 15px;
    }

    .about-section,
    .team-section {
        padding: 50px 15px;
    }

    .table-responsive {
        font-size: 13px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media print {

    .navbar,
    .footer,
    .btn {
        display: none !important;
    }

    body {
        font-size: 12pt;
    }

    header {
        padding: 20px 0;
    }
}
/* Global background image for all pages */
