@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@100..900&display=swap');

/* default root */
:root {
    /* font family */
    --primary-font: "Noto Kufi Arabic", sans-serif;
    /* colors */
    --primary-color: #c42b29;
    --dark-color: #192335;
    --third-color: #041f8a;
    --header-color: #2D2D3F;
    --white-color: #ffffff;
    --text-color: #6b7385;
    --black-color: #000000;
    --transition_fast: 0.65s cubic-bezier(0.23, 1, 0.32, 1);
    --transition_slow: 3s ease;
    --box_shadow: -5px 18px 60px 0 rgba(210, 210, 234, 0.4);
    --color-border: #e6e3f1;
}

/* Media Queries */

/* Max-width: 1200px */
@media (max-width: 1200px) {
    #logo img {
        width: 150px;
    }

    #nav-item {
        font-size: 14px;
    }

    .btn-new {
        padding: 9px 16px;
        font-size: 14px;
    }

    .log-in {
        min-width: 119px;
        font-size: 12px;
        padding: 11px 20px;
    }
}

/* Max-width: 992px */
@media (max-width: 992px) {
    #nav {
        padding: 0.7rem 1rem;
    }
    
    .navbar-nav {
        margin-top: 1rem;
    }

    #navbar_content {
        flex-direction: column;
        position: fixed;
        top: 0;
        width: 100%;
        transition: transform 0.4s, visibility 0.4s;
        will-change: transform, visibility;
        background: #ffffffb9;
        height: auto;
        overflow: auto;
        overflow-x: hidden !important;
        right: 0;
        transform: translateX(0);
        z-index: 1050;
        padding: 1rem;
        -webkit-box-shadow: 0.5px -0.5px 8px 4px rgba(56, 56, 56, 0.05);
        -moz-box-shadow: 0.5px -0.5px 8px 4px rgba(56, 56, 56, 0.05);
        box-shadow: 0.5px -0.5px 8px 4px rgba(56, 56, 56, 0.05);
    }

    #navbar_content #nav-item,
    #navbarNav #nav-item {
        border: 1px solid var(--third-color);
        background: var(--white-color);
        border-radius: 10px;
        margin-bottom: 0.5rem;
        padding: 0.7rem;
        line-height: normal;
        overflow: hidden;
        color: var(--third-color);
    }

    #nav-item .fa-angle-down {
        margin-top: 0;
        font-size: 15px;
        position: absolute;
        top: 50%;
        left: -5px;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px 0px 0px 10px;
        height: 100%;
        width: 40px;
        background: var(--primary-color);
        color: var(--white-color);
        border: 1px solid var(--primary-color);
    }

    .log-in {
        margin-left: 10px;
        padding: 14px 20px;
    }

    .trainee-modern-card,
    .student-modern-card {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .trainee-modern-img,
    .student-modern-img {
        margin: auto;
        margin-bottom: 12px;
    }

    .contact-section-modern {
        border-radius: 0 0 18px 18px;
    }

    .contact-title-modern {
        font-size: 1.2rem;
    }

    .contact-header .contact-icon-modern {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }

    .contact-map-box {
        min-height: 220px;
    }

    .trainee-profile-section {
        border-radius: 0 0 18px 18px;
    }

    .trainee-name {
        font-size: 1.3rem;
    }

    .timeline {
        gap: 12px;
    }

    .author-box-details .author-avatar {
        margin-left: 0;
        margin-bottom: 15px;
    }

    .sidebar {
        margin-top: 30px;
    }

    .login-wrapper {
        flex-direction: column;
    }

    .login-form-side,
    .login-image-side {
        width: 100%;
    }

    .login-image-side {
        min-height: 300px;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .login-image-side .image-content {
        padding: 20px;
    }

    .login-image-side h3 {
        font-size: 2rem;
    }

    .login-image-side p {
        font-size: 1.1rem;
    }

    .banner-title {
        font-size: 2rem;
    }

    .banner-desc {
        font-size: 1.05rem;
    }

    .trainee-banner-title {
        font-size: 1.3rem;
    }

    .trainee-banner-desc {
        font-size: 0.98rem;
    }

    .trainee-banner-svg svg {
        width: 38px;
        height: 38px;
    }

    .trainee-banner-circles .circle1 {
        width: 60px;
        height: 60px;
    }

    .trainee-banner-circles .circle2 {
        width: 38px;
        height: 38px;
    }

    .trainee-banner-circles .circle3 {
        width: 22px;
        height: 22px;
    }

    .course-card {
        min-height: 260px;
        padding: 22px 12px 18px 12px;
    }

    .courses-title {
        font-size: 1.3rem;
    }

    .course-details-title {
        font-size: 1.2rem;
    }

    .course-details-svg svg {
        width: 38px;
        height: 38px;
    }

    .course-details-circles .circle1 {
        width: 44px;
        height: 44px;
    }

    .course-details-circles .circle2 {
        width: 18px;
        height: 18px;
    }
}

/* Max-width: 767.98px */
@media (max-width: 767.98px) {
    .contact-section-modern {
        padding-bottom: 0 !important;
    }

    .contact-map-box {
        min-height: 180px;
    }

    .olspark-footer .container {
        flex-direction: column !important;
        text-align: center;
        gap: 8px;
    }

    .footer-brand,
    .footer-copy {
        justify-content: center;
    }
}

/* Max-width: 575.98px */
@media (max-width: 575.98px) {
    .suptitle {
        font-size: 1.5rem;
    }

    .banner-title {
        font-size: 1.2rem;
    }

    .banner-desc {
        font-size: 0.95rem;
    }

    .banner-cta {
        font-size: 0.95rem;
        padding: 10px 18px;
    }

    .trainee-banner-title {
        font-size: 1rem;
    }

    .trainee-banner-desc {
        font-size: 0.85rem;
    }

    .course-card {
        min-height: 180px;
        padding: 12px 6px 10px 6px;
    }

    .courses-title {
        font-size: 1.1rem;
    }

    .course-name {
        font-size: 1rem;
    }

    .course-desc {
        font-size: 0.9rem;
    }

    .course-details-title {
        font-size: 0.95rem;
    }

    .course-details-desc {
        font-size: 0.85rem;
    }

    .login-classic-wrapper {
        padding: 25px 8px 18px 8px;
    }

    .login-classic-title {
        font-size: 1.1rem;
    }

    .login-classic-logo img {
        width: 44px;
        height: 44px;
    }
}

/* Max-width: 497px */
@media (max-width: 497px) {
    .student-details .profile-header {
        flex-direction: column;
        gap: 10px;
    }

    .student-details .student-profile-section {
        padding: 10px;
    }
}

/* Max-width: 487px */
@media (max-width: 487px) {
    .blog-details-banner-meta {
        flex-direction: column;
    }
}

/* Max-width: 473px */
@media (max-width: 473px) {
    .tags-and-share {
        flex-direction: column;
        justify-content: space-between;
        align-items: start !important;
        gap: 10px;
    }
}

/* Max-width: 425px */
@media (max-width: 425px) {
    .faq-header .btn-link {
        padding: 10px;
        font-size: 0.9rem;
    }
}

/* Max-width: 365px */
@media (max-width: 365px) {
    .author-box-details {
        flex-direction: column;
    }
}