.container {
    max-width: 87%;
}

.navbar .container {
    position: relative;
    padding: 12px 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

/* .nav-item {
    position: relative;
} */

.nav-link {
    text-decoration: none;
    color: #282828;
    font-weight: 500;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #e91e63;
}

.dropdown-arrow {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #666;
    transition: transform 0.3s ease;
}

.nav-item:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.login-btn {
    background: #e91e63;
    color: white;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.login-btn:hover {
    background: #d81b60;
}

/* Dropdown Styles */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    border-radius: 2px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 800px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content {
    padding: 1rem 0;
    background-color: #FFDBE252;
}

.dropdown-content .dropdown-layout {
    display: flex;
}

.dropdown-title {
    font-size: 20px;
    font-weight: 500;
    color: #373737;
    margin-bottom: 0.5rem;
}

.dropdown-subtitle {
    color: #535B62;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.categories-sidebar {
    border-radius: 8px;
    min-width: 250px;
    width: 250px;
}

.categories-title {
    font-weight: bold;
    color: #000000;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0rem 1rem;
    margin-bottom: 0.5rem;
}

.category-item {
    padding: 0.7rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #000000;
    font-weight: 500;
    height: 53px;
    display: flex;
    align-items: center;
}

.category-item:hover {
    background: #E92347;
    color: white;
}

.category-item.active {
    background: #E92347;
    color: white;
}

.grid-container {
    background-color: #ffffff;
    margin-right: 1rem;
    border-radius: 2px;
    padding: 2rem 1rem;
    height: 380px;
    overflow: hidden;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
    flex: 1;
    overflow: auto;
    max-height: 250px;
}

.course-card {
    background: white;
    border-radius: 2px;
    padding: 0.3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 0px 10px 0px #E3E3E340;
    display: flex;
    gap: 10px;
    border: 0.4px solid #CACACA;
    min-width: 280px;
}

.course-icon {
    min-width: 80px;
    width: 80px;
    height: 100%;
    border-radius: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: white;
    background-image: url(/static/v4_home_static/images/outerbg.png);
}

.terraform {
    background: #4285f4;
}

.ansible {
    background: #d32f2f;
}

.devops {
    background: #00bcd4;
}

.perl {
    background: #2e7d32;
}

.dterraform {
    background: #1976d2;
}

.docker {
    background: #7b1fa2;
}

.course-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 12px;
    line-height: 1.4;
}

.course-rating {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding-right: 8px;
}

.stars {
    color: #ffc107;
    font-size: 0.9rem;
}

.rating-text {
    font-size: 8px;
    color: #666;
    display: flex;
    align-items: center;
}

.rating-text svg {
    fill: #FFC107;
}

.course-duration {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    display: inline-block;
}

.course-badge {
    position: absolute;
    top: 0rem;
    right: 0rem;
    color: #252525;
    padding: 0.2rem 0.5rem;
    border-radius: 0 0 0 16px;
    font-size: 8px;
    font-weight: normal;
}

.trending {
    background: #1179EF;
    border: 0.4px solid #787CFF;
    color: #ffffff;
    box-shadow: 1px -2px 4px 0px #00000040 inset;
}

.popular {
    background: #FFE550;
    border: 0.4px solid #FFF1A1;
    box-shadow: 1px -2px 4px 0px #00000040 inset;
    color: #0a0a0a;
    /* background: linear-gradient(90deg, #161616 0%, #943D00 50%, #0A0A0A 100%); */
}

.course-card .course-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 2rem;
}

.navbar .login-btn {
    border: none;
    background-color: #FFDBE2;
    padding: 8px 12px;
    border-radius: 0px;
    color: #E92347;
    font-size: 12px;
    font-weight: 500;
}

.navbar .login-btn:focus-visible,
.navbar .login-btn:focus {
    outline: none;
}

/* another nav links  */
.dropdown.dropdown1 {
    left: auto;
    min-width: 360px;
    height: auto;
}

.dropdown.dropdown1 .dropdown-content {
    height: auto;
    background-color: #ffffff;
    box-shadow: 0px 0px 10px 0px #E3E3E340;
    border-radius: 0px;
}

.dropdown.dropdown1 .dropdown-content ul {
    display: flex;
    flex-direction: column;
}

.dropdown.dropdown1 .dropdown-content ul li {
    border-bottom: none !important;
}

.dropdown.dropdown1 .dropdown-content ul li a {
    font-size: 14px;
    font-weight: 500;
    color: #000000 !important;
    padding: 15px !important;
}

.dropdown.dropdown1 .courses-tabs .nav-tabs .nav-item::after {
    display: none;
}

.dropdown.dropdown1 .dropdown-content ul li a:hover {
    background-color: #E92347 !important;
    color: #ffffff !important;
}