/*----------------------------
    Mega Menu Options  
------------------------------*/
.mega-top-banner {
    background-image: url(../img/courses/mega-menu-header.png), radial-gradient(100% 100% at 100% 0%, #484C7A 0%, #23263B 100%);
    background-size: contain;
    background-position: right 30%;
    margin: -25px;
    width: auto;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 25px;
    position: relative;
    margin-bottom: 30px;
    background-size: cover;
}

.mega-top-banner .content {
    width: 56%;
}

.mega-top-banner .content .title {
    font-size: 16px;
    color: var(--oft-common-color-white);
    font-weight: 600;
    margin-bottom: 10px;
}

.mega-top-banner .content .description {
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 0;
    color: var(--oft-common-color-white);
}


/* <div class="row">
<div class="col-lg-12">
    <div class="mega-top-banner">
        <div class="content">
            <h4 class="title">Developer hub</h4>
            <p class="description">Start building fast, with
                code samples, key resources and more.</p>
        </div>
    </div>
</div>
</div> */



.row-gap-6 {
    row-gap: 4rem !important
}

.row-gap-7 {
    row-gap: 5rem !important
}

.row-gap-8 {
    row-gap: 6rem !important
}

.row-gap-9 {
    row-gap: 7rem !important
}

.row-gap-10 {
    row-gap: 8rem !important
}



.banner-top-shape-1 {
    position: absolute;
    left: 85px;
    top: 60px;
    animation: animation-leftRight-1 3s linear 0s infinite alternate;
}

@media (max-width: 767px) {
    .banner-top-shape-1 {
        left: 30px;
    }
}

.banner-top-shape-2 {
    right: 50px;
    bottom: 150px;
    position: absolute;
    z-index: 1;
    animation: animation-popup-2 1.2s linear 0s infinite alternate;
}

@media only screen and (min-width: 1400px) and (max-width: 1599px) {
    .banner-top-shape-2 {
        right: 20px;
        bottom: 140px;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {
    .banner-top-shape-2 {
        right: 20px;
        bottom: 110px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .banner-top-shape-2 {
        right: 20px;
        bottom: 100px;
    }
}

@media (max-width: 767px) {
    .banner-top-shape-2 {
        right: 30px;
        bottom: 70px;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    .banner-top-shape-2 {
        right: 50px;
        bottom: 100px;
    }
}

.banner-top-shape-3 {
    position: absolute;
    top: 125px;
    right: 33%;
    z-index: 1;
    animation: hero-circle-1 6s linear 0s infinite;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .banner-top-shape-3 {
        top: 110px;
        right: 140px;
    }
}

@media (max-width: 767px) {
    .banner-top-shape-3 {
        right: 15%;
        top: 110px;
    }
}



@keyframes animation-popup-1 {
    0% {
        transform: scale(.2) rotate(0deg);
    }

    50% {
        transform: scale(.5) rotate(180deg);
    }

    90% {
        transform: scale(1) rotate(360deg);
    }

    100% {
        transform: scale(1) rotate(360deg);
    }
}

@keyframes animation-popup-2 {
    0% {
        transform: scale(.2);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes animation-upDown-1 {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-40px);
    }
}

@keyframes animation-leftRight-1 {
    0% {
        transform: translateX(15px);
    }

    100% {
        transform: translateX(-15px);
    }
}

@keyframes hero-circle-1 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes hero-popup-1 {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(.5);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes animation-popup-5 {
    0% {
        transform: scale(.2) rotate(0deg);
    }

    40% {
        transform: scale(.5) rotate(180deg);
    }

    80% {
        transform: scale(1) rotate(360deg);
    }

    100% {
        transform: scale(1) rotate(360deg);
    }
}

@keyframes hero-upDown-1 {
    0% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(20px);
    }
}

@keyframes hero-leftRight-1 {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(40px);
    }
}

@keyframes animation-upDown-2 {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(30px);
    }
}

.mega-menu-header {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    padding: 8px 15px 8px 25px;
    border-bottom: 1px solid #ddd;
}

.mega-sub-menu {
    margin-top: 15px;
    /* Adds spacing between header and menu items */
}

.mega-menu .list-wrap {
    list-style: none;
    padding: 0;
}

.mega-menu .list-wrap li {
    margin-bottom: 5px;
}

.mega-menu .list-wrap li a {
    text-decoration: none;
    color: #555;
    transition: color 0.3s;
}

.mega-menu .list-wrap li a:hover {
    color: #007bff;
}

.mega-menu-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding: 8px 15px 8px 25px;
    border-top: 1px solid #ddd;
    flex-wrap: wrap;
    width: 100%;
    /* Allow columns to wrap on smaller screens */
}

.mega-menu-footer .footer-column {
    width: 30%;
    /* 3 equal columns for large screens */
    margin-bottom: 15px;
    /* Add spacing between rows on wrap */
}

.mega-menu-footer h5 {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

.mega-menu-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-footer .footer-links li {
    margin-bottom: 5px;
}

.mega-menu-footer .footer-links li a {
    text-decoration: none;
    color: #555;
    font-size: 13px;
    padding: 8px 15px 8px 0 !important;
    transition: color 0.3s;
}

.mega-menu-footer .footer-links li a:hover {
    color: #007bff;
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .mega-menu-footer {
        flex-direction: column;
        /* Stack columns vertically */
        align-items: center;
        /* Center align the content */
    }

    .mega-menu-footer .footer-column {
        width: 100%;
        /* Full width for each column */
        text-align: center;
        /* Center align text */
    }

    .mega-menu-footer .footer-links li {
        display: block;
        /* Stack links vertically for very small screens */
        margin: 5px 0;
    }

    .mega-menu-footer h5 {
        font-size: 16px;
        /* Slightly larger headers for small screens */
    }

    .mega-menu-footer .footer-links li a {
        font-size: 14px;
        /* Increase link font size for readability */
    }

    .mega-menu-img a {
        padding-right: 0px !important;
    }
}



/* // Brands // */

.brand__item img {
    max-width: auto;
    max-height: 50px;
    object-fit: contain;
    width: auto;
    height: auto;
}

.brand__item a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
}

.brand__item img {
    overflow: hidden;
}


@media (max-width: 767.98px) {
    .brand__item img {
        max-width: 80px;
        max-height: 40px;
    }
}