.navbar{
    background: linear-gradient(#ffffff,#ECEFFE );
    padding-left: 5%;
    padding-right:5% ;
    .btn{
        padding-left: 25px;
        padding-right:25px ;
        
    }
    .header-logo{
        width: 200px !important;
        height: auto !important;
    }
    .nav-link
    {
        -webkit-text-fill-color: rgb(0, 0, 0); 
    }

   /* -------------Sliding Menu Styling--------------- */
   .nav-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden off-screen */
    width: 250px;
    height: 100%;
    background-color: #ffffff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    padding: 10px;
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
    }

    .nav-menu.active {
        right: 0; /* Slide-in effect */
    }

    /* Close Button Styling */
    .close-btn {
        position: absolute;
        top: 10px;
        right: 15px;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: #cf5f5f;
    }

    .close-btn:hover {
        color: rgb(231, 89, 89); /* Optional hover effect */
    }

    /* Hide toggle button and nav-menu on larger screens */
    @media (min-width: 992px) {
        .navbar-toggler {
            display: none; /* Hide toggle button on larger screens */
        }

        .nav-menu {
            position: static;
            width: auto;
            height: auto;
            box-shadow: none;
            padding: 0;
            transition: none;
        }

        .close-btn {
            display: none; /* No close button on larger screens */
        }
    }
    @media (max-width: 991px) {
        .navbarnav {
            display: none;
            position: fixed;
            top: 0;
            right: 0;
            height: 100vh;
            width: 250px;
            background: white;
            padding: 2rem;
            box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        }
        
        .navbarnav.active {
            display: block;
        }
        
        .navbar-nav {
            flex-direction: column;
            gap: 1rem;
        }
        
        .close-btn {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
        }
    }

    /* ---------------------------------profilr menu on navbar-------------------------------------- */

    /* Profile menu styles */
    .profile-menu {
        position: absolute !important;
        top: calc(100% + 5px) !important;
        right: 0 !important;
        background: white !important;
        border-radius: 4px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
        width: 200px !important;
        padding: 16px !important;
        z-index: 1000 !important;
    }

    /* Profile image at the top */
    .profile-image {
        width: 48px !important;
        height: 48px !important;
        border-radius: 50% !important;
        background-color: #E5E7EB !important;
        margin: 0 auto 8px !important;
        display: block !important;
    }

    /* Username style */
    .profile-name {
        font-size: 16px !important;
        font-weight: 500 !important;
        color: white !important;
        margin-bottom: 4px !important;
        text-align: center !important;
    }

    /* Email style */
    .profile-email {
        font-size: 14px !important;
        color: #6B7280 !important;
        margin-bottom: 12px !important;
        text-align: center !important;
        word-break: break-all !important;
    }

    /* Horizontal line */
    .profile-menu hr {
        border: none !important;
        border-top: 1px solid #E5E7EB !important;
        margin: 12px 0 !important;
    }

    /* Dashboard link */
    .dashboard-link {
        display: block !important;
        color: #374151 !important;
        text-decoration: none !important;
        padding: 6px 0 !important;
        font-size: 14px !important;
        text-align: center !important;
    }

    .dashboard-link:hover {
        color: #2563EB !important;
    }

    /* Sign out button */
    .sign-out-btn {
        display: block !important;
        background: #e35e1c !important;
        color: white !important;
        text-decoration: none !important;
        text-align: center !important;
        padding: 8px 0 !important;
        border-radius: 4px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        width: 100% !important;
        margin-top: 4px !important;
    }

    .sign-out-btn:hover {
        background: #FF8C00 !important;
    }

    /* Container for the dropdown */
    .nav-item.profile-dropdown {
        position: relative !important;
        display: inline-block !important;
    }

    /* Show menu on hover */
    .nav-item.profile-dropdown:hover .profile-menu {
        display: block !important;
    }

    /* Hide by default */
    .profile-menu {
        display: none;
    }


}





/* -------------------------------------------------------------------------------------------------- course cards------------------------------------------------------------------------------ */
.course-card 
{
    text-align: center;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(180deg, #F5F9FF, #EAF1FF);
    transition: transform 0.3s ease;
    position: relative;

    .course-card:hover {
        transform: translateY(-5px);
    }

    .batch-info {
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 2;
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .batch-label {
        background: rgba(25, 35, 65, 0.8);
        color: white;
        padding: 8px 12px;
        border-radius: 5px;
    }

    .batch-date {
        background: #2EC4F1;
        color: rgb(0, 0, 0);
        padding: 8px 12px;
        border-radius: 5px;
    }

    .course-image {
        height: 200px;
        width: 100%;
        object-fit: cover;
    }

    .course-content 
    {
        
        padding: 20px;
        .course-category {
            text-align: left;
            display: inline-block;
            background:#2EC4F1;
            color: #000000;
            padding: 5px 15px;
            border-radius: 15px;
            font-size: 14px;
            margin-bottom: 15px;
        }
        .course-title {
            text-align: left;
            font-size: 24px;
            color:#2EC4F1;
            margin-bottom: 15px;
        }
        .course-stats {
            text-align: left;
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
        }
        .rating {
            text-align: left;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .students {
            text-align: left;
            display: flex;
            align-items: center;
            gap: 5px;
            color: #666;
        }
        .course-description {
            text-align: left;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .know-more-btn {
            text-align: center;
            background-color: #2EC4F1; /* Soft Cyan */
            color: #000000;
            padding: 10px 25px;
            border-radius: 5px;
            text-decoration: none;
            display: inline-block;
            margin-top: 15px;
            transition: all 0.3s ease;
        }

        .know-more-btn:hover {
            background-color: #2238ff;
            color: #ffffff;
            transform: translateY(-2px);
        }
        .course-features {
            display: flex;
            justify-content: space-between;
            padding-top: 15px;
            border-top: 1px solid #eee;
        }

        .feature {
            display: flex;
            align-items: center;
            gap: 5px;
            color: #666;
            font-size: 14px;
        }

    }
}


/* ----------------------------------------------------------------------------------------------HOME----------------------------------------------------------------------------------------*/
.home{
   
    /* background-image: -webkit-image-set();
    .indpy-1{
        background-color: #ffffff;
        text-align: center;
        -webkit-text-fill-color: rgb(0, 0, 0);
        padding-left: 5%;
        padding-right: 5%;
        padding-top: 3%;
        padding-bottom: 3%;
        .img1{
            width:390px;
            height:170px;
            max-width: 100%; 
            height: auto;
        }
        .img2{
            width:350px;
            height:430px;
            max-width: 100%;  
            height: auto;
        }
    } */
    /* -------------------------------------indpy 1 start --------------------------------*/
    .indpy-1 {
    background: linear-gradient(180deg, #F5F9FF, #EAF1FF);
    position: relative;
    min-height: 100vh; /* Full screen height */
    background-image: url("../img/homebg.png"); /* your bg image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    }

    /* Dark overlay for text readability */
    .indpy-1::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
            to right,
            rgba(11, 44, 111, 0.85),
            rgba(11, 44, 111, 0.55)
        );
        z-index: 1;
    }

    /* Keep content above overlay */
    .indpy-1 .container {
        position: relative;
        z-index: 2;
    }
    .indpy-1 h1 {
    font-size: 3rem;
    font-weight: 700;
    }

    .indpy-1 h3 {
        font-weight: 600;
        margin-top: 20px;
    }

    .indpy-1 p {
        font-size: 1.05rem;
        opacity: 0.95;
    }

    /* Custom CognivaRise Button */
    .btn-cogniva {
        background-color: #2EC4F1; /* Soft Cyan */
        color: #0B2C6F;
        padding: 12px 28px;
        border-radius: 8px;
        font-weight: 600;
        border: none;
        transition: all 0.3s ease;
    }

    .btn-cogniva:hover {
        background-color: #ffffff;
        color: #0B2C6F;
        transform: translateY(-2px);
    }
    .hero-img {
    max-width: 85%;
    animation: float 4s ease-in-out infinite;
    }

    @keyframes float {
        0% { transform: translateY(0px); }
        50% { transform: translateY(-10px); }
        100% { transform: translateY(0px); }
    }
    @media (max-width: 768px) {
        .indpy-1 {
            min-height: auto;
            padding: 80px 0;
            text-align: center;
        }

        .indpy-1 h1 {
            font-size: 2.2rem;
        }

        .hero-img {
            margin-top: 30px;
            max-width: 85%;
        }
    }



    /* ----------------------------------------------------------------------indpy 1 end here-----------------------------------------------------------------------------------*/
    .indpy-2
    {
        background: linear-gradient(180deg, #F5F9FF, #EAF1FF);
        padding-top: 2%;
        padding-bottom: 2%;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 20vh;
    
        * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: "Inter", sans-serif;
        }
        .card-wrapper {
        max-width: 1600px;
        margin: 0 60px 35px;
        padding: 20px 20px;
        overflow: hidden;
        }
        .swiper{
            padding-left: 2%;
            padding-right: 2%;
        }
    
        /* Responsive styles */
        @media (max-width: 300px) {
            .card-wrapper {
                margin: 0 10px 25px;
            }
    
            .card-wrapper .swiper-slide-button {
                display: none;
            }
        }
    
       
    }
    .Hiw{
          background: linear-gradient(180deg, #4784ff, #d4def0);
          padding-top: 150px;
          padding-bottom: 120px;
        .Hiw {
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 10px; /* equal padding from both sides */
            box-sizing: border-box;
        }

        .image-wrapper {
            max-width: 100%;
            text-align: center;
        }

        .responsive-img {
            width: 100%;
            max-width: 1150px; /* limits the image size on large screens */
            height: auto;
            display: block;
            margin: 0 auto;
        }

    }
    .indpy-3{
        background: linear-gradient(180deg,  #d4def0, #4784ff);
        text-align: center;
        padding-top: 3%;
        padding-bottom: 3%;

    }
    
}

/* --------------------------------------------------------------------------------------------------MENTORS-------------------------------------------------------------------------------------*/
.mentors{
    background: linear-gradient(180deg,#4784ff, #d4def0);
    padding: 80px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;

    
     * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: "Inter", sans-serif;
    }
    .mentors h2 {
        text-align: center;
        color: var(--royal-blue);
        font-weight: 700;
    }
    .card-wrapper {
        max-width: 2000px;
        width: 1800px;
        margin: 0 60px 35px;
        padding: 10px 10px;
        overflow: hidden;
    }
    
    .card-list .card-item {
        list-style: none;
        display: block;
        background: var(--white);
        padding: 10px 10px;
        user-select: none;
        border-radius: 18px;
        text-decoration: none;
        text-align: center;
        border: 2px solid transparent;
        box-shadow: 0 12px 25px rgba(11, 44, 111, 0.08);
        transition: all 0.3s ease;
    }
    .card-list .card-item:hover {
        border-color: #4a91ee;
    }
    
    .card-list .card-image {
        height: auto;
        max-width: 100%;
        width: 200px;
        border-radius: 50%;
        border: 4px solid var(--soft-cyan);
        margin-bottom: 15px;
        object-fit: cover;
    }
    
    .card-wrapper .swiper-pagination-bullet {
        background: #ffffff;
    }
    .card-item h5 {
        color: var(--royal-blue);
        font-weight: 600;
    }

    .card-item p {
        color: var(--soft-cyan);
        font-size: 0.95rem;
    }
    .card-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 35px rgba(11, 44, 111, 0.15);
    }
    
    /* Responsive styles */
    @media (max-width: 768px) {
        .card-wrapper {
            margin: 0 10px 25px;
        }
    }
    
    @media (max-width: 480px) {
        .mentors {
            justify-content: center;
        }
        .card-wrapper {
            width: 90%;
        }
    }
    
}
/* ---------------------------------------------------------------------------------Hear from our student------------------------------------------------------------------------*/
.student{
    background: linear-gradient(180deg, #c6d4ec,#4784ff );
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;

    * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
    }
    .h2 {
        text-align: center;
        color: var(--royal-blue);
        margin-bottom: 20px;
        margin-top: 40px;
        font-weight: 700;
    }
    .card-item::before {
            content: "“";
            font-size: 60px;
            color: var(--soft-cyan);
            position: absolute;
            top: 10px;
            left: 20px;
    }
    .card-wrapper {
    max-width: 1100px;
    margin: 0 60px 35px;
    padding: 20px 10px;
    overflow: hidden;
    }
    
    .card-list .card-item {
    list-style: none;
    }

    .card-list .card-item {
    display: block;
    background: #fff;
    padding: 18px;
    user-select: none;
    border-radius: 12px;
    text-decoration: none;
    border: 2px solid transparent;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
    transition: 0.2s ease;
    }
    .card-item h5 {
        margin-top: 15px;
        font-weight: 600;
        color: var(--royal-blue);
    }
    .card-item p {
        color: var(--text-dark);
        font-size: 1rem;
        line-height: 1.6;
        margin-top: 0px;
    }
    .card-list .card-item:hover {
    border-color: #5372F0;
    }

    .card-list  .card-image {
        clip-path: circle(50%);
        display: block;
        margin: auto;
        width:60px;
        
    }
    .card-list .card-item:hover {
    border-color: #4427eb;
    }

    /* Other badge styles omitted for brevity */
    .card-wrapper .swiper-pagination-bullet {
    background: #5372F0;
    }

    /* Responsive styles */
    @media (max-width: 768px) {
        .card-wrapper {
            margin: 0 10px 25px;
        }

        .card-wrapper .swiper-slide-button {
            display: none;
        }
    }

}

/*--------------------------------------------------------------------------------------- ABOUT---------------------------------------------------------------------------------------------*/
.about
{

     background: linear-gradient(180deg,#4784ff ,  #d4def0);
    .abtpy-1
    {
        padding-top: 5%;
        img{
            width:305px;
            height:420px;
            max-width: 100%;  /* Prevents the image from stretching */
            height: auto;
        }
    }
    .abtpy-2
    {
        padding-top: 2%;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 20vh;
    
        * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: "Inter", sans-serif;
        }
        .card-wrapper-alumni {
        max-width: 1100px;
        margin: 0 60px 35px;
        padding: 20px 10px;
        overflow: hidden;
        }
        .swiper{
            padding-left: 2%;
            padding-right: 2%;
        }
    
    
        /* Responsive styles */
        @media (max-width: 300px) {
            .card-wrapper {
                margin: 0 10px 25px;
            }
    
            .card-wrapper .swiper-slide-button {
                display: none;
            }
        }
       
    }
    .abtpy-3
    {
        padding-top: 5%;
        padding-bottom: 5%;
    }
    
    .abtpy-4
    {
        background: linear-gradient(180deg,#4784ff ,  #d4def0); ;
        padding-bottom: 3%;
        padding-top: 2%;
        .card{
            background-color:#2EC4F1;
        }
        text-align: center;
        h1{
            color:rgb(0, 0, 0);
        }
        p{
            color: rgb(0, 0, 0);
        }

    }
   
   
}
/*------------------------------------------------------------------------------------------- Specialized programs page------------------------------------------------------------------------------*/
.Specializedprog
{
     background: linear-gradient(180deg,#4784ff ,  #d4def0);
    
    .sppy-1{
        padding-top: 5%;
       
        .sppy-1-2 .card
        {
            
            text-align: center;
                background: #fffcfc;
                img{
                    display: block;
                    margin: auto;
                    width:70px;
                    height:70px;
                }
        }
        img{
            width: 100%;      /* Adjusts width to the container */
            max-width: 100%;  /* Prevents the image from stretching */
            height: auto;
        }

    }
    
    .sppy-2
    {
        text-align: center;
        padding-top: 3%;
        padding-bottom: 3%;

       
    }

    
}

/* --------------------------------------------------------------------------------------faq ------------------------------------------------------------------------------------------*/
.faq
{
    font-family: Arial, sans-serif;
    margin: 0;
    padding-bottom: 1%;
    color: #000000;
    .faq-container
    {
        text-align: center;
        max-width: 1120px;
        margin: 50px auto;
        padding: 20px;
        background: #ffffff;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(27, 12, 231, 0.397);

        .faq-item 
        {
            margin-bottom: 15px;
            border-bottom: 1px solid #464242;

            .faq-question {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 15px;
                font-size: 16px;
                font-weight: bold;
                cursor: pointer;
                background-color:  #2EC4F1;
                border-radius: 5px;
            }
        
            .faq-question:hover {
                background-color: #5045ec;
            }
        
            .faq-answer {
                text-align: left;
                display: none;
                padding: 15px;
                font-size: 14px;
                color: #000000;
                background-color:  #2EC4F1;
                border-left: 3px solid #4784ff ;
                border-radius: 5px;
            }
        
            .faq-question i {
                transition: transform 0.3s ease;
            }
        
            .faq-question.open i {
                transform: rotate(180deg);
            }
        }
    }
                
}

/*------------------------------------------------------------------------------------------------ fullstack page----------------------------------------------------------------------------------*/
.fullstack
{
    background: linear-gradient(180deg,#4784ff ,   #d4def0);
    .fspy-1
    {
        background-color: rgb(255, 255, 255);
        padding-bottom: 2%;
        padding-top: 2%;

    }
    .Recby{
        .Recby {
            width: 70%;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 10px; /* equal padding from both sides */
            box-sizing: border-box;
        }

        .image-wrapper {
            max-width: 80%;
            text-align: center;
        }

        .responsive-img {
            width: 100%;
            max-width: 800px; /* limits the image size on large screens */
            height: auto;
            display: block;
            margin: 0 auto;
        }

    }
    .fspy-2
    {
        padding-bottom: 3%;
        padding-top: 2%;
        .course-info {
            background: #535151;
            padding-top: 10px;
            text-align: center;
            border: 1px solid #5a5252;
            border-radius: 5px;
            font-family: Arial, sans-serif;
            .head{
                display: flex;
                justify-content: space-between; /* Space between buttons */
                flex-wrap: wrap; /* Allows buttons to wrap on smaller screens */
                gap: 10px; /* Adds space between buttons */
            }
            .head button 
            {
                flex: 1; /* Makes buttons stretch evenly */
                min-width: 100px; /* Ensures buttons are not too small */
                font-size: 16px;
                padding: 10px;
                background-color: #2EC4F1;
                color: rgb(0, 0, 0);
                border: none;
                padding: 10px 20px;
                margin: 5px;
                cursor: pointer;
                border-radius: 5px;
                transition: background-color 0.3s;
            }
            
            .head button:hover {
                  background-color: #ffffff;
            }
            /* Media query for small screens */
            
            @media (max-width: 600px) {
                .head {
                    flex-direction: row;
                    overflow-x: auto; /* Enable horizontal scrolling */
                    white-space: nowrap; /* Prevent buttons from wrapping */
                }
            
                .head button {
                    flex: none;
                    width: auto;
                    display: inline-block;
                }
            }
            
            .section {
                display: none; /* Initially hide all sections */
                margin-top: 20px;
                padding: 20px;
                background-color: #f9f9f9;
                img{
                    width: 80%;      /* Adjusts width to the container */
                    max-width: 100%;  /* Prevents the image from stretching */
                    height: auto;
                }
            }
        }
        
    }
    .curriculum{
        padding-top: 2%;
        padding-bottom: 2%;
        
       
        .styled-text {
            font-size: 20px; 
            color: rgb(0, 0, 0); 
            font-weight: bold;
        }
    }
    .fspy-3
    {
        text-align: center;
        padding-bottom: 3%;
        padding-top: 2%;
        img{
            width: 80%;      /* Adjusts width to the container */
            max-width: 100%;  /* Prevents the image from stretching */
            height: auto;
        }
        .certificates
        {
            text-align:left;
            color: #000;
            .styled-text {
                font-size: 18px;
                font-weight: bold;
                color: #000f64;
            }
        }

        *{box-sizing: border-box}
        .mySlides1 {display: none}
        img {vertical-align: middle;}
        
        /* Slideshow container */
        .slideshow-container {    
        max-width: 1000px;
        position: relative;
        margin: auto;
        }

        /* Next & previous buttons */
        .prev, .next {
            
            cursor:pointer;
            position:relative;
            top: 50%;
            padding: 16px;
            margin-top: -22px;
            color: rgb(0, 0, 0);
            font-size: 18px;
            transition: 0.6s ease;
            user-select: none;
            
        }
        /* On hover, add a grey background color */
        .prev:hover, .next:hover 
        {
            background-color: #2EC4F1;
            color: rgb(255, 250, 250);
        }
        @media (max-width: 768px) {
            .row {
                display: flex;
                flex-direction: column; /* Stack the columns vertically */
                align-items: center; /* Center align the columns */
            }
            .certificates {
                margin-bottom: 20px; /* Add space between the two sections */
            }
            .slideshow-container {
                width: 100%; /* Adjust width to fit small screens */
            }
        }
        
    }
    .fspy-4
    {
        
       /* General Styling */
        text-align: center;
        font-family: Arial, Helvetica, sans-serif;
        padding-top: 2%;
        padding-bottom: 2%;

        .section-title {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: #000000;
        }

        /* Flip Card Styling */
        .flip-card {
            background-color: transparent;
            width: 300px;
            height: 300px;
            perspective: 1000px;
            margin: 0 auto;
        }

        .flip-card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            text-align: center;
            transition: transform 0.6s;
            transform-style: preserve-3d;
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
            border-radius: 15px;
        }

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

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

        .flip-card-front {
            background-color: #fff;
            color: black;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #ddd;
        }

        .flip-card-back {
            
            padding-top: 2%;
            background-color: rgb(255, 255, 255);
            color: rgb(10, 9, 9);
            transform: rotateY(180deg);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            border: 1px solid #0078d4;
            img{
                width: 90%;
                max-width: 90px;
                height: auto;
            }
            
        }

        .card-image {
            max-width: 300px;    
            height: 100%;     
            object-fit: cover; 
            border-radius: 15px; 
        
        }
        /* Responsive Design */
        @media (max-width: 768px) {
            .flip-card {
                width: 250px;
                height: 250px;
            }

            .section-title {
                font-size: 2rem;
            }
            .flip-card-back {
                padding: 3%;
                font-size: 0.85rem;
            }
        
            .flip-card-back h3 {
                font-size: 1rem;
                margin-bottom: 0.5rem;
            }
        
            .flip-card-back p {
                font-size: 0.8rem;
                line-height: 1.2;
            }
        
            .flip-card-back img {
                max-width: 60px;
            }
        }


    }
    .fspy-5{
        padding-left: 5%;
        padding-right: 5%;
        padding-top: 3%;
        padding-bottom: 3%;
        text-align: center;
        .card{
            padding-left: 1%;
            padding-right: 1%;
            padding-top: 2%;
            padding-bottom: 2%;
            .card-head{
                text-align: center;
                .styled-text {
                    font-size: 18px; 
                    color: rgb(0, 0, 0); 
                    font-weight: bold;
                }
            }
            .card-list{
                text-align:left;
            }
        }
       
    
    }
}
/* -------------------------------------------------------------------------------------------blog page style------------------------------------------------------------------------------------- */
.blog{
     /* General Styling */
     
    font-family: Arial, sans-serif;
    margin: 0;
    padding-top: 5%;
    padding-bottom: 5%;
    background: linear-gradient(180deg,#4784ff ,   #d4def0);


    .blog-container {
        max-width: 800px;
        margin: 20px auto;
        background: #ffffff;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }

    .blog-header {
        background: linear-gradient(120deg,  #2EC4F1,  #1721aa);
        color: white;
        text-align: center;
        padding: 20px;
    }

    .blog-header h1 {
        margin: 0;
        font-size: 2.5em;
    }

    .blog-header p {
        margin: 5px 0 0;
        font-size: 1.1em;
    }

    .blog-content {
        padding: 20px;
        line-height: 1.8;
        color: #000000;
    }

    .blog-content h2 {
        color:   #2EC4F1;
    }

    .blog-content p {
        margin: 10px 0;
    }

    

}
/* ---------------------------------------------------------------------------------------------------back to top btn-------------------------------------------------------------------------------- */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #4a79fa;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    display: none;
    transition: background 0.3s;
} 


#backToTop:hover {
    background: #48c5ff;
}



/* ---------------------------------------------------------------------------------------dashboard page------------------------------------------------------------------------------------ */
.dashboard{
    /* Main layout */
    background-color: #f8f9fa !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;

    /* Header styles */
    .dashboard-header {
        background-color: #1a2744 !important;
        padding: 20px 0 !important;
        color: white !important;

        .profile-section {
            display: flex !important;
            align-items: center !important;
            gap: 15px !important;
            max-width: 1200px !important;
            margin: 0 auto !important;
            padding: 0 20px !important;
        }
        .profile-avatar {
            width: 60px !important;
            height: 60px !important;
            background-color: #0066cc !important;
            border: 2px solid white !important;
            border-radius: 4px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            font-size: 32px !important;
            color: white !important;
        }
        .profile-name {
            font-size: 20px !important;
            font-weight: 500 !important;
            position: relative !important;
        }
        .profile-name::before,
        .profile-name::after {
            content: "—" !important;
            margin: 0 10px !important;
            color: #ffffff80 !important;
        }
    }
    
    /* Navigation menu */
    .nav-menu {
        background-color: #333; /* Navbar background color */
        padding: 10px;

        .nav-container {
            display: flex;                /* Use Flexbox for layout */
            flex-wrap: wrap;              /* Allows wrapping of items */
            justify-content: space-around; /* Distributes items evenly */
            align-items: center;          /* Centers items vertically */
        }
        /* Navbar Items */
        .nav-item {
            color: white;
            text-decoration: none;
            padding: 10px 15px;
            display: flex;                /* Makes items inline-flex for icon + text */
            align-items: center;
            gap: 8px;                     /* Space between icon and text */
            font-size: 16px;
        }

        .nav-item i {
            font-size: 18px;
        }

        /* Active Item Styling */
        .nav-item.active {
            border-bottom: 2px solid #ff9900; /* Highlight active tab */
        }

        /* Hover Effect */
        .nav-item:hover {
            color: #ff9900;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .nav-container {
                flex-direction: column; /* Stack items vertically */
            }

            .nav-item {
                justify-content: center; /* Center items in smaller screens */
                padding: 10px 0;
                font-size: 14px;        /* Adjust font size */
            }
        }

        @media (max-width: 480px) {
            .nav-item {
                font-size: 12px;        /* Smaller font size for very small screens */
                padding: 8px 0;
            }

            .nav-item i {
                font-size: 16px;        /* Smaller icon size */
            }
        }
        
    }
   
    /* Course section */
    .container {
        max-width: 1200px !important;
        margin: 20px auto !important;
        padding: 0 20px !important;
    }

    /* Tabs */
    .tabs {
        display: flex !important;
        gap: 20px !important;
        margin-bottom: 20px !important;
    }

    .tab {
        padding: 10px !important;
        color: #6b7280 !important;
        text-decoration: none !important;
        font-size: 14px !important;
        cursor: pointer !important;
    }

    .tab.active {
        color: #0066cc !important;
        border-bottom: 2px solid #0066cc !important;
    }

    /* Course table */
    .course-table {
        width: 100% !important;
        background: white !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    }

    .course-table th {
        background-color: #f3f4f6 !important;
        padding: 12px 20px !important;
        font-weight: 500 !important;
        color: #4b5563 !important;
        text-align: left !important;
    }

    .course-table td {
        padding: 12px 20px !important;
        border-bottom: 1px solid #e5e7eb !important;
    }

    .course-info {
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
    }

    .course-image2 {
        width: 40px !important;
        height: 40px !important;
        border-radius: 4px !important;
    }

    .progress-bar {
        width: 150px !important;
        height: 8px !important;
        background-color: #e5e7eb !important;
        border-radius: 4px !important;
        overflow: hidden !important;
    }

    .progress {
        height: 100% !important;
        background-color: #0066cc !important;
    }
    /* Hello badge */
    .hello-badge {
        position: fixed !important;
        bottom: 20px !important;
        right: 20px !important;
        background: white !important;
        padding: 8px 16px !important;
        border-radius: 20px !important;
        box-shadow: 0 2px 4px rgba(46, 43, 43, 0.1) !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

}

/* ----------------------------------------------------------------------------footer-------------------------------------------------------------------------------- */

:root {
    --royal-blue: #0B2C6F;
    --royal-blue-dark: #081F4A;
    --soft-cyan: #2EC4F1;
    --light-bg: #F5F9FF;
    --white: #ffffff;
    --text-dark: #1e293b;
}

.footer {
    background: linear-gradient(180deg, var(--royal-blue), var(--royal-blue-dark));
    color: var(--white);
    padding: 70px 0 30px;
}

.footer-logo {
    width: 180px;
    margin-bottom: 15px;
}

.footer-description {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.6;
}

.footer h4 {
    color: var(--soft-cyan);
    margin-bottom: 20px;
    font-weight: 600;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--soft-cyan);
    opacity: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-item i {
    color: var(--soft-cyan);
    font-size: 1.1rem;
    margin-top: 4px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-icon {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--soft-cyan);
    transform: translateY(-3px);
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 40px;
    padding-top: 15px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.85;
}
