/* ``````````````````````````````````````````````` Navbar topbar and hero section start ````````````````````````````````` */

/* gradient text animation  */
    .animated-gradient-text {
    background: linear-gradient(
        270deg,
        #001b58ff,  /* slate-900 */
        #001affff,  /* indigo-700 */
        #b300ffff,  /* cyan-400 */
        #ff0000ff   /* pink-500 */
    );
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 5s ease infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* gradient text animation end  */


html,
body {
    overflow-x: hidden !important;
    width: 100%;
}


.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Add these styles to your style.css file */

/* Smooth page scroll */
html {
    scroll-behavior: smooth;
}

/* Custom fade animations */
.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
}

/* Staggered animations for children */
.stagger-children>* {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible>* {
    opacity: 1;
    transform: translateY(0);
}

/* Delay each child */
.stagger-children.visible>*:nth-child(1) {
    transition-delay: 0.1s;
}

.stagger-children.visible>*:nth-child(2) {
    transition-delay: 0.2s;
}

.stagger-children.visible>*:nth-child(3) {
    transition-delay: 0.3s;
}

.stagger-children.visible>*:nth-child(4) {
    transition-delay: 0.4s;
}

.stagger-children.visible>*:nth-child(5) {
    transition-delay: 0.5s;
}

/* Scale animation */
.scale-in {
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.scale-in.visible {
    transform: scale(1);
    opacity: 1;
}

/* Hover effects for cards */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Gradient text animation */
.gradient-text {
    background: linear-gradient(90deg, #ff7300, #ff007e);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 3s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Apply Inter font to entire document */

.hero-container {
    padding: 0px 61px;
}

.__hero-title {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.1;
}


.__hero-para {
    font-size: 20px;
}

.exp__btn {
  padding: clamp(0.6rem, 1vw, 0.7rem) clamp(1rem, 2vw, 1.2rem);
  font-size: clamp(0.85rem, 1.2vw, .8rem);
  border-radius: 0.75rem;
}

.login__btn {
    padding: 10px 12px;
}

.text-gradient {
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cd-font-inter {
    font-family: 'Inter', sans-serif;
}

.cd-body {
    background-color: white;
    color: #333;
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

.cd-text-paragraph {
    margin: 0 0 15px 0;
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
    font-weight: 400;
}

/* Hide scrollbar for mobile navbar */
.cd-mobile-nav-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.cd-mobile-nav-scroll::-webkit-scrollbar {
    display: none;
}

/* Smooth horizontal scrolling */
.cd-mobile-nav-scroll {
    scroll-behavior: smooth;
}

/* Active nav item style */
.cd-mobile-nav-item.cd-active {
    color: white;
    font-weight: 600;
}

/* Gradient border for active state */
.cd-mobile-nav-item {
    position: relative;
}

.cd-mobile-nav-item.cd-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    height: 2px;
    background: linear-gradient(to right, #8b5cf6, #ec4899);
    border-radius: 2px;
}

@media(max-width:760px) {
    .cd-twitter-icon {
        margin-right: 8px !important;
    }
}

/* 🌟 Elegant Animated Gold Heading */
.cd-gold-heading {
    position: relative;
    display: inline-block;
    font-size: 1.875rem;
    font-weight: 800;
    background: linear-gradient(90deg, #facc15, #fbbf24, #f97316, #facc15);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(255, 200, 0, 0.25);
    letter-spacing: 0.03em;
    animation: cdGoldGradientMove 5s ease infinite;
}

/* 🔄 Smooth Gradient Animation */
@keyframes cdGoldGradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Logo strip setup */
.cd-logo-track {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    width: max-content;
}

.cd-logo-track img {
    height: 100px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.1));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.cd-logo-track img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.4));
}

/* Infinite scroll animation */
@keyframes cdScrollAnimation {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.cd-animate-scroll {
    animation: cdScrollAnimation 25s linear infinite;
}

/* Gradient button */
.cd-btn-gradient {
    background: linear-gradient(45deg, #ff0000, #ff7300, #ffeb3b, #ff7300, #ff0000);
    background-size: 300% 300%;
    animation: cdGradientShift 4s infinite;
    color: #fff;
    border: none;
    border-radius: 9999px;
    box-shadow: 0 0 5px rgba(255, 115, 0, 0.8);
    font-weight: 700;
    font-size: 1rem;
    padding: 8px 18px;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.cd-btn-gradient:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.9);
}

@keyframes cdGradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Gradient background */
/* .cd-gradient-bg {
                background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    

            min-height: 85vh;
            position: relative;
            
        }
        .cd-gradient-bg {
            background: linear-gradient(135deg,
                #000000 0%,  
                #12001f 40%, 
                #2b1055 75%,  
                #7c3aed 100%  
            );
            min-height: 70vh;
            position: relative;
        } */


.cd-gradient-bg {
    background: linear-gradient(135deg,
            #020617 0%,
            #0f172a 35%,
            #1e3a8a 70%,
            #4338ca 100%);
    min-height: 76.2vh;
    position: relative;
    padding: 51px 10px 0px;
}

.cd-orbit-ring {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.cd-ring-1 {
    width: 280px;
    height: 280px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cd-ring-2 {
    width: 450px;
    height: 450px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cd-profile-avatar {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    animation: cdFloatAnimation 3s ease-in-out infinite;
}

.cd-icon-avatar {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1b2e 0%, #2d2f5e 100%);
    border: 2px solid rgba(139, 92, 246, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: cdFloatAnimation 4s ease-in-out infinite;
}

@keyframes cdFloatAnimation {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.cd-avatar-1 {
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.cd-avatar-2 {
    top: 20%;
    right: -30px;
}

.cd-avatar-3 {
    bottom: 20%;
    right: -30px;
    animation-delay: 0.5s;
}

.cd-avatar-4 {
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1s;
}

.cd-avatar-5 {
    bottom: 20%;
    left: -30px;
    animation-delay: 1.5s;
}

.cd-avatar-6 {
    top: 20%;
    left: -30px;
    animation-delay: 2s;
}

.cd-icon-1 {
    top: 35%;
    left: -80px;
    animation-delay: 0.3s;
}

.cd-icon-2 {
    top: 10%;
    right: 60px;
    animation-delay: 0.8s;
}

.cd-icon-3 {
    bottom: 15%;
    right: 40px;
    animation-delay: 1.2s;
}

.cd-icon-4 {
    bottom: 35%;
    left: -70px;
    animation-delay: 1.8s;
}

.cd-stat-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.cd-btn-primary {
    background: #000;
    border: 1px solid rgba(139, 92, 246, 0.4);
    transition: all 0.3s ease;
}

.cd-btn-primary:hover {
    background: #1a1b2e;
    border-color: rgba(139, 92, 246, 0.8);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.cd-btn-join {
    background: transparent;
    border: 1px solid rgba(139, 92, 246, 0.6);
    transition: all 0.3s ease;
}

.cd-btn-join:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 1);
}

.cd-david-tag {
    position: absolute;
    bottom: -60px;
    left: -100px;
    background: rgba(139, 92, 246, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.cd-david-tag::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(139, 92, 246, 0.8);
}

/* Fade in/out animation */
@keyframes cdFadeCycle {

    0%,
    25% {
        opacity: 1;
        transform: translateY(0);
    }

    33%,
    58% {
        opacity: 0;
        transform: translateY(-20px);
    }

    66%,
    91% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.cd-tagline {
    animation: cdFadeCycle 9s infinite;
}

.cd-tagline.cd-delay-1 {
    animation-delay: 3s;
}

.cd-tagline.cd-delay-2 {
    animation-delay: 6s;
}

.cd-changing-text-container {
    width: 190px;
}

@media(max-width:760px) {
    .cd-changing-text-container {
        width: 210px;
        font-size: 25px;
    }
}

.cd-changing-text-inner {
    display: flex;
    align-items: center;
}

/* Simplified dropdown */
.cd-simple-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    z-index: 50;
    margin-top: 8px;
}

.cd-simple-dropdown a {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.2s ease;
    font-weight: 500;
}

.cd-simple-dropdown a:hover {
    background: #f9fafb;
    color: #8b5cf6;
}

.cd-simple-dropdown a:last-child {
    border-bottom: none;
}

/* Additional utility classes */
.cd-topbar-text {
    font-size: 0.875rem;
}

.cd-social-icon {
    background: #f3f4f6;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.cd-social-icon:hover {
    transform: scale(1.1);
}

.cd-hero-heading {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.cd-bottom-logos {
    opacity: 0.6;
}

@media screen and (max-width: 480px) {
    .hero-container {
        padding: 0px 12px;
    }
}

.cd-tech-orbit-wrapper {
    position: relative;
    width: 28rem;
    height: 380px;
}

/* Instructor Image */
.cd-instructor-card {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 28rem;
    height: 28rem;

    padding: 6px;
    z-index: 5;
    top: 50.5%;

}

.trainer-style-2 {
    width: 30rem;
    height: 30rem;
    top: 42.5%;
}

.cd-instructor-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

/* Floating Icons Base */
.cd-tech-icon {
    position: absolute;
    width: 72px;
    height: 72px;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(124, 58, 237, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    animation: cdFloat 4.5s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.45);
}

/* Individual Positions */
.cd-html {
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    color: #f97316;
}

.cd-css {
    top: 20%;
    right: -12px;
    color: #38bdf8;
    animation-delay: .5s;
}

.cd-js {
    bottom: 20%;
    right: -12px;
    color: #facc15;
    animation-delay: 1s;
}

.cd-python {
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    color: #60a5fa;
    animation-delay: 1.5s;
}

.cd-react {
    bottom: 20%;
    left: -12px;
    color: #22d3ee;
    animation-delay: 2s;
}

.cd-node {
    top: 20%;
    left: -12px;
    color: #4ade80;
    animation-delay: 2.5s;
}

/* Floating Animation */
@keyframes cdFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

#trainerGlass {
    position: absolute;
    bottom: -115px;
    left: 50%;
    width: 20rem;
    transform: translateX(-50%);
    padding: 12px 22px;
    border-radius: 16px;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    z-index: 20;
}

#trainerName {
    font-weight: 600;
    font-size: 16px;
}

#trainerRole {
    font-size: 12px;
    opacity: .85;
}


@media (max-width: 1366px) {
    .cd-gradient-bg {
        min-height: 68vh;
    }

    .cd-tech-icon {
        position: absolute;
        width: 52px;
        height: 52px;
        font-size: 20px;
    }

    .cd-instructor-card {
        position: absolute;
        inset: 0;
        margin: auto;
        width: 25rem;
        height: 25rem;
    }

    #trainerGlass {
        bottom: 10px;
    }
}

@media (min-width: 1500px) and (min-height: 800px) {
    .cd-gradient-bg {
        min-height: 67.5vh;
    }
}

/* Responsive Fix */
@media(max-width:768px) {
    .cd-tech-orbit-wrapper {
        width: 280px;
        height: 280px;
        margin-top: -20%;

    }

    .cd-instructor-card {
        position: absolute;
        inset: 0;
        margin: auto;
        width: 15rem;
        height: 15rem;
        padding: 6px;
        z-index: 5;
        top: 18.5%;

    }

    #trainerGlass {
        left: 50%;
        top: 230px;
        bottom: auto;
        padding: 6px 12px;

        width: max-content;
        max-width: 90vw;
    }

    #trainerName {
        font-size: 12px;
        white-space: nowrap;
    }

    #trainerRole {
        font-size: 11px;
        opacity: .85;
        white-space: nowrap;
    }

    .cd-tech-icon {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }

    .__hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-top: 15px;
    }

    .cd-gradient-bg {
        min-height: 58vh;
        padding: 5px 10px 0px;
    }

    .__hero-para {
        font-size: 14px;
        margin-top: 14px;
    }

    .exp__btn {
        padding: 8px 8px;
        font-size: 13px;
    }

    .login__btn {
        padding: 8px 8px;
        font-size: 13px;
    }

    .hero_actions {
        display: flex;
        justify-content: center;
        gap: 6px;
    }
}

/* ``````````````````````````````````````````````` Navbar topbar and hero section end ````````````````````````````````` */

/* -----------------------------master premium technologies---------------------------- */

/* Technology Logos */
.tech-logo-container {
    position: relative;
}

.tech-logo {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.862);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    filter: brightness(1.2);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.tech-logo.animated {
    filter: grayscale(0) brightness(1.2);
    opacity: 1;
}

.tech-logo:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 20px rgba(139, 92, 246, 0.2);
}

@media(max-width:768px) {

    .tech-logo {
        width: 70px;
        height: 65px;
    }
}


/* ----------------placed students-------------- */
.plcd__card-overlay {
    background: linear-gradient(to top, rgb(0 0 0), rgb(0 0 0 / 0%), rgba(0, 0, 0, 0.1));
}

.plcd__card-bg {
    background-size: cover;
    background-position: center;
}

/* ----------------placed students-------------- */


/* -----------------------------Youtube Views Section  */
/* Smooth animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(255, 59, 48, 0.2);
    }

    50% {
        box-shadow: 0 0 25px rgba(255, 59, 48, 0.4);
    }
}

@keyframes counterGrow {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Enhanced Professional Confetti Animations */
@keyframes confettiFloat {
    0% {
        transform:
            translateY(-20px) translateX(var(--start-x, 0px)) rotate(0deg) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
        transform:
            translateY(0px) translateX(var(--start-x, 0px)) rotate(0deg) scale(1);
    }

    30% {
        transform:
            translateY(calc(var(--float-height) * 0.3)) translateX(calc(var(--drift) * 0.5)) rotate(calc(var(--rotation) * 0.5));
    }

    70% {
        transform:
            translateY(calc(var(--float-height) * 0.7)) translateX(calc(var(--drift) * 0.8)) rotate(calc(var(--rotation) * 0.8));
    }

    100% {
        transform:
            translateY(var(--float-height)) translateX(var(--drift)) rotate(var(--rotation)) scale(0.8);
        opacity: 0;
    }
}

@keyframes confettiPop {
    0% {
        transform:
            translateY(0px) translateX(0px) scale(0) rotate(0deg);
        opacity: 0;
    }

    15% {
        transform:
            translateY(calc(var(--pop-height) * -0.5)) translateX(calc(var(--pop-x) * 0.3)) scale(1.2) rotate(calc(var(--rotation) * 0.3));
        opacity: 1;
    }

    40% {
        transform:
            translateY(calc(var(--pop-height) * -0.2)) translateX(calc(var(--pop-x) * 0.6)) scale(1) rotate(calc(var(--rotation) * 0.6));
    }

    100% {
        transform:
            translateY(calc(var(--pop-height) * 1.5)) translateX(var(--pop-x)) scale(0.5) rotate(var(--rotation));
        opacity: 0;
    }
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes shimmerGold {
    0% {
        background-position: -200px 0;
    }

    100% {
        background-position: 200px 0;
    }
}

/* YouTube logo shaped confetti */
.youtube-confetti {
    position: relative;
    width: 20px;
    height: 15px;
    background: #FF0000;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 60% 100%, 60% 60%, 40% 60%, 40% 100%, 0% 100%);
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

.counter-animation {
    animation: counterGrow 0.3s ease-out;
}

.shimmer-effect {
    position: relative;
    overflow: hidden;
}

.shimmer-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

.sparkle {
    animation: sparkle 1.5s ease-in-out infinite;
}

/* Section enter animation */
.section-enter {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-enter.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .mobile-stack {
        flex-direction: column !important;
    }

    .mobile-center {
        text-align: center !important;
    }

    .mobile-full {
        width: 100% !important;
    }

    .mobile-padding {
        padding: 1rem !important;
    }

    .mobile-text-lg {
        font-size: 1.5rem !important;
    }

    .mobile-text-xl {
        font-size: 2rem !important;
    }

    .mobile-text-2xl {
        font-size: 2.5rem !important;
    }

    .mobile-mb-2 {
        margin-bottom: 0.5rem !important;
    }

    .mobile-mb-4 {
        margin-bottom: 1rem !important;
    }

    .mobile-mb-6 {
        margin-bottom: 1.5rem !important;
    }
}

/* Hide scrollbar but keep functionality */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Add some spacing before the section for scroll effect */
.scroll-spacer {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 1.5rem;
    text-align: center;
    padding: 2rem;
}

/* -----------------------------Youtube Views Section End */










/* --------------------------------------- testimonial ---------------------------------- */
/* student Testimonial start */
  .__carousel-container {
    overflow: hidden;
    position: relative;
    padding-bottom: 40px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  .__carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
  }
  
  .__testimonial-card {
    flex: 0 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    touch-action: pan-y;
      padding: 1rem !important; /* Reduced from p-6 (1.5rem) */
  height: 240px !important; /* Slightly reduced height to match */
  }
  
  /* Active dot indicator */
  .__dot.__active {
    background-color: #4f46e5;
    transform: scale(1.2);
  }
  
  /* Smooth hover effects */
  .__testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  

  
  /* Modal centering */
  .__modal-overlay {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  .__modal-overlay.__show {
    opacity: 1;
    visibility: visible;
  }
  
  .__modal-content {
    transform: translateY(-20px);
    transition: transform 0.3s ease;
  }
  
  .__modal-overlay.__show .__modal-content {
    transform: translateY(0);
  }
  
  /* Card styling improvements */
  .__card-shadow {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  }
  
  .__card-shadow:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  }
  .__read-more-container {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: calc(100% - 2rem);
  display: flex;
  justify-content: flex-end;
  padding-top: 0.5rem;
  border-top: 1px solid #f3f4f6;
  background: white;
}
  
  /* Read more link styling */
  .__read-more-link {
    color: #4f46e5;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
  }
  
  .__read-more-link:hover {
    color: #3730a3;
  }
  
  /* Ensure indicators are visible */
  .__indicators-container {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
  }
  
  .__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #d1d5db;
    margin: 0 4px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .__dot.__active {
    background-color: #4f46e5;
    width: 20px;
    border-radius: 6px;
  }
  
  /* Company logo styling */
  .__company-logo {
    width: 100px;
    height: 45px;
    object-fit: contain;
    /* opacity: 0.8; */
    transition: all 0.3s ease;
  }
  

  
  /* Line clamp for text truncation */
  .__line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
      max-height: 64px; /* Reduced to accommodate new layout */
  font-size: 13px;
  line-height: 1.3;
  }
  
  /* Card content wrapper */
  .__card-content {
    flex-grow: 1;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
  padding-bottom: 3rem;
  }
  
  /* Reduced padding for compact layout */
  .__compact-padding {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  
  /* Swipe animation classes */
  .__swiping {
    cursor: grabbing;
  }
  
  .__carousel-track.__swiping {
    transition: none;
  }

/* student Testimonial End */


/* Compact Card Styles */



/* -------------------------------------------- Recorded Courses Page --------------------------------- */


.course-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #c7d2fe;
}

.course-thumbnail {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.duration-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

.progress-bar {
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #8b5cf6, #ec4899);
    border-radius: 2px;
}

.level-badge {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.level-beginner {
    background: #dcfce7;
    color: #166534;
}

.level-intermediate {
    background: #fef3c7;
    color: #92400e;
}

.level-advanced {
    background: #fee2e2;
    color: #991b1b;
}

.filter-chip {
    background: white;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.filter-chip:hover {
    border-color: #8b5cf6;
    color: #8b5cf6;
}

.filter-chip.active {
    background: #8b5cf6;
    color: white;
    border-color: #8b5cf6;
}

/* Improved Grid Layout */
.compact-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .compact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .compact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .compact-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Search bar */
.search-container {
    position: relative;
    flex-grow: 1;
    min-width: 250px;
    max-width: 500px;
}

.search-input {
    width: 100%;
    padding: 12px 48px 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.search-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: #8b5cf6;
    color: white;
    border: none;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: #7c3aed;
}

/* Stats Cards */
.stat-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/* Mobile Navigation */
.mobile-nav-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.mobile-nav-scroll::-webkit-scrollbar {
    display: none;
}

/* Controls Bar Scroll for Mobile */
.controls-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.controls-scroll::-webkit-scrollbar {
    display: none;
}

/* Filter chips container with hidden scrollbar */
.filter-chips-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.filter-chips-container::-webkit-scrollbar {
    display: none;
}

/* Active state */
.mobile-nav-item.active {
    color: #8b5cf6;
    font-weight: 600;
}

.mobile-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    height: 2px;
    background: linear-gradient(to right, #8b5cf6, #ec4899);
    border-radius: 2px;
}

/* View mode toggle */
.view-toggle {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    display: inline-flex;
}

.view-toggle-btn {
    padding: 8px 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-toggle-btn:hover {
    background: #f8fafc;
}

.view-toggle-btn.active {
    background: #8b5cf6;
    color: white;
}

/* Improved List View */
.list-view-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.list-course-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    gap: 15px;
}

.list-course-item:last-child {
    border-bottom: none;
}

.list-course-item:hover {
    background: #f8fafc;
}

.list-course-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.list-course-thumb {
    width: 60px;
    height: 40px;
    border-radius: 8px;
    flex-shrink: 0;
    background: linear-gradient(to right, #8b5cf6, #ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.list-course-title {
    font-weight: 600;
    font-size: 14px;
    color: #1f2937;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Course card content */
.course-content {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Line clamp utilities */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Price styling */
.original-price {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 13px;
}

.discounted-price {
    color: #1f2937;
    font-weight: 700;
    font-size: 16px;
}

/* Button styles */
.btn-download {
    background: #f3f4f6;
    color: #4b5563;
    border: 1px solid #e5e7eb;
}

.btn-download:hover {
    background: #e5e7eb;
}

.btn-view {
    background: #8b5cf6;
    color: white;
}

.btn-view:hover {
    background: #7c3aed;
}

/* Responsive table/list view */
@media (max-width: 1024px) {
    .list-course-item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px;
    }

    .list-course-item>div {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .list-course-item>div::before {
        content: attr(data-label);
        font-weight: 600;
        color: #6b7280;
        font-size: 13px;
    }

    .list-course-info {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .list-course-info::before {
        content: none !important;
    }
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .search-container {
        min-width: 100%;
    }

    .filter-chip {
        padding: 6px 12px;
        font-size: 12px;
    }

    .controls-top-row {
        display: flex;
        gap: 12px;
        align-items: center;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .controls-top-row>* {
        flex-shrink: 0;
    }

    .mobile-view-controls {
        display: none;
    }

    /* Hide view controls on mobile */
    .view-controls-mobile {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .mobile-controls-row {
        display: none;
    }
}

/* Search results styling */
.search-results-info {
    padding: 8px 0;
    margin-bottom: 16px;
    color: #6b7280;
    font-size: 14px;
    border-bottom: 1px solid #e5e7eb;
}

/* Animation for search results */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}


/* -------------------------------------------- Recorded Courses Page  End--------------------------------- */


/* ---------------------------------------offer section ------------------------------------- */




 .__nexus-offer-wrapper {
            display: flex;
            align-items: center;
            justify-content: center;
            /* min-height: 100vh; */
            padding: 16px;
        }
        
        .__nexus-offer-card {
            background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%);
            border-radius: 16px;
            box-shadow: 0 10px 25px rgba(185, 28, 28, 0.25);
            overflow: hidden;
            position: relative;
            max-width: 900px;
            width: 100%;
        }
        
        .__nexus-offer-badge {
            position: absolute;
            top: 16px;
            right: -30px;
            background-color: #fbbf24;
            color: #7f1d1d;
            padding: 6px 30px;
            transform: rotate(45deg);
            font-weight: 700;
            font-size: 13px;
            letter-spacing: 0.5px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        }
        
        .__nexus-promo-code {
            background: linear-gradient(to right, #fed7d7, #fecaca);
            border: 2px dashed #b91c1c;
            border-radius: 10px;
            padding: 12px;
            transition: all 0.2s ease;
        }
        
        .__nexus-promo-code:hover {
            transform: scale(1.01);
        }
        
        .__nexus-copy-btn {
            background-color: #b91c1c;
            transition: all 0.2s ease;
        }
        
        .__nexus-copy-btn:hover {
            background-color: #991b1b;
        }
        
        .__nexus-validity-box {
            background-color: rgba(255, 255, 255, 0.1);
            border-left: 3px solid #fbbf24;
        }
        
        .__nexus-fire-icon {
            animation: __nexus-fire 1.5s infinite alternate;
        }
        
        @keyframes __nexus-fire {
            0% { color: #fbbf24; }
            100% { color: #f97316; }
        }
        
        .__nexus-image-placeholder {
            width: 100%;
            height: 150px;
            background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
            border: 2px dashed rgba(255, 255, 255, 0.3);
            border-radius: 12px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: rgba(255, 255, 255, 0.7);
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .__nexus-image-placeholder:hover {
            background: linear-gradient(45deg, rgba(255,255,255,0.15), rgba(255,255,255,0.08));
            border-color: rgba(255, 255, 255, 0.5);
        }
        
        .__nexus-image-container {
            width: 100%;
            height: 150px;
            border-radius: 12px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .__nexus-image-container img {
            width: 100%;
            height: 15rem;
            object-fit: cover;
        }
        
        .__nexus-decorative-circle-bottom {
            position: absolute;
            bottom: -24px;
            left: -24px;
            width: 96px;
            height: 96px;
            background-color: rgba(239, 68, 68, 0.1);
            border-radius: 9999px;
        }
        
        .__nexus-decorative-circle-top {
            position: absolute;
            top: -24px;
            right: -24px;
            width: 128px;
            height: 128px;
            background-color: rgba(220, 38, 38, 0.1);
            border-radius: 9999px;
        }
        
        .__nexus-feature-icon-wrapper {
            width: 48px;
            height: 48px;
            border-radius: 9999px;
            background-color: rgba(153, 27, 27, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-left: auto;
            margin-right: auto;
            margin-bottom: 4px;
        }
        
        .__nexus-pulse {
            animation: __nexus-pulse-animation 2s infinite;
        }
        
        @keyframes __nexus-pulse-animation {
            0% { transform: scale(1); }
            50% { transform: scale(1.02); }
            100% { transform: scale(1); }
        }
        
        .__nexus-toast {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background-color: #991b1b;
            color: #ffffff;
            padding: 8px 20px;
            z-index: 9999;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 14px;
        }
        
        .__nexus-toast--visible {
            opacity: 1;
        }
        
        .__nexus-gradient-button {
            background-image: linear-gradient(to right, #fbbf24, #f59e0b);
            color: #7f1d1d;
            font-weight: 700;
            padding: 12px 16px;
            border-radius: 8px;
            transition: all 0.2s;
        }
        
        .__nexus-gradient-button:hover {
            background-image: linear-gradient(to right, #fcd34d, #fbbf24);
        }






/* ---------------------------------------offer section end ------------------------------------- */




/* ------------------------------------------ Responsive Screen --------------------- */

