* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='48' viewport='0 0 100 100' style='fill:black;font-size:24px;'><text y='50%'>🚀</text></svg>") 16 0, auto;
}

body {
    /* background: linear-gradient(0deg, rgba(43, 25, 57, 1) 0%, rgba(83, 26, 126, 1) 50%, rgba(43, 25, 57, 1) 100%); */
    background: linear-gradient(0deg, rgba(43, 25, 57, 1) 0%, rgba(83, 26, 126, 1) 50%, rgba(43, 25, 57, 1) 100%);
    color: white;
    min-height: 100vh;
}
a:hover {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='48' viewport='0 0 100 100' style='fill:black;font-size:24px;'><text y='50%'>☄️</text></svg>") 16 0, auto;
}
button:hover{
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='48' viewport='0 0 100 100' style='fill:black;font-size:24px;'><text y='50%'>☄️</text></svg>") 16 0, auto;

}
.navbar {
    padding: 20px 5%;
    background: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
.navbar.hidden {
    transform: translateY(-100%);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white !important;
    font-size: 1.5rem;
    font-weight: 600;
}

.navbar-nav {
    gap: 30px;
    text-align: end;
}

.nav-link {
    color: #ffffff !important;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0 !important;
    display: inline-block;
    cursor: pointer;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    transform-origin: bottom right;
    transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
    background: #9147ff;
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.nav-link:hover {
    color: #9147ff !important;
}

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

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.dropdown-menu {
    position: absolute;
    z-index: 1000;
    backdrop-filter: blur(10px) saturate(99%);
    -webkit-backdrop-filter: blur(10px) saturate(99%);
    background-color: rgba(43, 25, 57, 0.9); /* Matches navbar theme */
    border: 1px solid rgba(255, 255, 255, 0.15); /* Subtle border */
    border-radius: 8px; /* Soft corners */
    padding: 10px 0;
    transition: all 0.3s ease; /* Smooth transitions */
}

.dropdown-item {
    color: #ffffff; /* White text for readability */
    font-weight: 500;
    padding: 10px 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 5px; /* Add a subtle rounded effect */
}

.dropdown-item:hover {
    background-color: transparent;
    color: #9147ff; /* Accent color on hover */
    transform: translateX(1px); /* Slight hover effect for interactivity */
}

.dropdown-divider {
    height: 1px;
    margin: 8px 0;
    background-color: rgba(255, 255, 255, 0.2); /* Subtle divider */
    border: none;
}
.courses-section {
    padding: 120px 5% 60px;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h1 {
    /* font-size: 3.5rem;
    background: linear-gradient(135deg, #9147ff 0%, #ff4b82 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem; */
    font-size: 3.5rem;
    background: linear-gradient(135deg, #9147ff 0%, #ff4b82 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
}

.section-title p {
    color: #e5e5e5;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
}

.course-card {
    height: 400px;
    perspective: 1000px;
    margin-bottom: 30px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.course-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    padding: 20px;
}

.card-front {
    background: #1e1e2f;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
@media (max-width: 768px) {
    .course-card {
        margin-bottom: 20px;
    }

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

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

.card-back {
    background: #2a2a45;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.course-icon {
    font-size: 2.5rem;
    color: #9147ff;
    margin-bottom: 1.5rem;
}

.course-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.badge {
    background: rgba(145, 71, 255, 0.2) !important;
    color: white !important;
    padding: 0.5rem 1rem !important;
    margin: 0.25rem !important;
    border-radius: 20px !important;
    font-weight: normal !important;
}

.course-description {
    color: #e5e5e5;
    margin: 1rem 0;
    line-height: 1.6;
}

.course-price {
    font-size: 1.8rem;
    font-weight: 600;
    color: #9147ff;
    margin: 1rem 0;
}

.course-features {
    text-align: left;
    width: 100%;
    padding: 0 10px;
}

.course-features ul {
    list-style: none;
    padding: 0;
}

.course-features li {
    margin: 10px 0;
    display: flex;
    align-items: center;
    color: #e5e5e5;
}

.course-features li i {
    color: #9147ff;
    margin-right: 10px;
}

.btn-enroll {
    background: #9147ff !important;
    color: white !important;
    border: none !important;
    padding: 0.8rem 2rem !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
}

.btn-enroll:hover {
    background: #7c3adf !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(145, 71, 255, 0.4);
}

.btn-enroll:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .section-title h1 {
        font-size: 2.5rem;
    }
    
    .navbar-collapse {
        background: rgba(43, 25, 57, 0.95);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .course-card {
        margin-bottom: 1.5rem;
    }
}