body {
    font-family: cairo, sans-serif;
}

.banner {
    position: relative;
}

.banner img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
}

nav a {
    text-decoration: none;
    color: #ffffff;
    transition: all 0.2s ease-in-out;
}

.profile-section {
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.profile-section img {
    max-width: 100%;
    border-radius: 10px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.main-content {
    padding: 20px;
}

.summary {
    text-align: justify;
}

.sidebar {
    padding: 10px;
}

nav a:hover {
    color: #a0a7e5 !important;
    text-decoration: none;
}

nav .active {
    color: #ffffff !important;
    font-weight: bold;
    border-bottom: 2px solid #ffffff;
    transition: 0.3s;
}

.card-hover {
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.card-hover:hover,
.card:hover {
    transform: scale(1.01);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hover-icon {
    opacity: 0;
    transition: opacity 0.3s ease;
    position: absolute;
    top: 20%;
    left: 90%;
    transform: translate(-50%, -50%);
}

.card-hover:hover .hover-icon,
.card:hover .hover-icon {
    opacity: 1;
}

.footer {
    background-color: #002079;
    color: #ffffff;
    padding: 20px;
    text-align: center;
}

.header {
    background-color: #002079;
    color: #ffffff;
    padding: 5px;
}

.logo-text {
    font-weight: bold;
}

.breadcrumb {
    padding: 10px;
}

.category-section {
    display: none;
}

#progressBar {
    height: 30px;
}

.invalid-feedback {
    display: none;
}

.form-check-input:invalid~.invalid-feedback {
    display: block;
}

.is-invalid {
    border: 1px solid red;
}

.invalid-feedback {
    color: red;
    display: none;
}

.is-invalid+.invalid-feedback {
    display: block;
}

.animated-counter {
    font-size: 40px;
    font-weight: bold;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.breadcrumb-item {
    color: #ffffff !important;
}

.link a {
    text-decoration: none;
    color: #90b3ff;
}

/* Default styles */
h1 {
    font-size: 2rem;
}

.table th,
.table td {
    font-size: 1rem;
}

.btn {
    font-size: 0.9rem;
}

.pagination .page-link {
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    h1 {
        font-size: 1.8rem;
    }

    .table th,
    .table td {
        font-size: 0.95rem;
    }

    .btn {
        font-size: 0.85rem;
    }

    .pagination .page-link {
        font-size: 0.85rem;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 1.6rem;
    }

    .table th,
    .table td {
        font-size: 0.9rem;
    }

    .btn {
        font-size: 0.8rem;
    }

    .pagination .page-link {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.4rem;
    }

    .table th,
    .table td {
        font-size: 0.85rem;
    }

    .btn {
        font-size: 0.75rem;
    }

    .pagination .page-link {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.2rem;
    }

    .table th,
    .table td {
        font-size: 0.8rem;
    }

    .btn {
        font-size: 0.7rem;
    }

    .pagination .page-link {
        font-size: 0.7rem;
    }
}