/*==================================================
            ROSHNI CODE CHARM
              GLOBAL STYLES
==================================================*/


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family: 'Poppins', sans-serif;

    background: #F8F7FF;

    color: #2d2d2d;

    overflow-x: hidden;

}

/*=============== COLORS ===============*/

:root {

    --primary: #7B2CBF;

    --secondary: #9D4EDD;

    --pink: #FF4DA6;

    --white: #ffffff;

    --light: #F8F7FF;

    --text: #2d2d2d;

    --shadow: 0 15px 40px rgba(123, 44, 191, .12);

    --radius: 20px;

}

/*=============== LINKS ===============*/

a {

    text-decoration: none;

    color: inherit;

}

/*=============== IMAGES ===============*/

img {

    max-width: 100%;

    display: block;

}

/*=============== CONTAINER ===============*/

.container {

    width: min(1200px, 92%);

    margin: auto;

}

/* =======================================
   HEADER
======================================= */

.header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 6%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7B2CBF, #FF4DA6);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 22px;
}

.logo-text h2 {
    font-size: 28px;
    color: #7B2CBF;
}

.logo-text p {
    color: #666;
    font-size: 14px;
}

.navbar {
    display: flex;
    gap: 28px;
}

.navbar a {
    font-weight: 600;
    transition: .3s;
}

.navbar a:hover,
.navbar a.active {
    color: #7B2CBF;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 10px 16px;
}

.search-box input {
    border: none;
    outline: none;
    margin-left: 10px;
    width: 180px;
    font-family: Poppins, sans-serif;
}

.start-btn {
    background: linear-gradient(135deg, #7B2CBF, #9D4EDD);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: .3s;
}

.start-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(123, 44, 191, .25);
}

/* =======================================
        HERO SECTION
======================================= */

.hero {

    min-height: 85vh;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

    width: min(1200px, 92%);

    margin: auto;

    padding: 70px 0;

}


/* LEFT CONTENT */

.hero-content {

    flex: 1;

}


.hero-badge {

    display: inline-block;

    background: #f3e8ff;

    color: #7B2CBF;

    padding: 10px 20px;

    border-radius: 50px;

    font-weight: 600;

    margin-bottom: 25px;

}



.hero h1 {

    font-size: 65px;

    line-height: 1.1;

    font-weight: 800;

    color: #2d2d2d;

}


.hero h1 span {

    background: linear-gradient(90deg,
            #7B2CBF,
            #FF4DA6);

    -webkit-background-clip: text;

    color: transparent;

}



.hero h2 {

    margin-top: 15px;

    font-size: 30px;

    color: #7B2CBF;

}



.hero p {

    margin-top: 20px;

    font-size: 18px;

    line-height: 1.8;

    color: #666;

    max-width: 600px;

}


/* BUTTONS */

.hero-buttons {

    display: flex;

    gap: 20px;

    margin-top: 35px;

}


.btn-primary,
.btn-outline {

    padding: 15px 30px;

    border-radius: 50px;

    font-weight: 600;

    transition: .3s;

}


.btn-primary {

    background: linear-gradient(135deg,
            #7B2CBF,
            #9D4EDD);

    color: white;

}


.btn-primary:hover {

    transform: translateY(-5px);

    box-shadow: 0 15px 30px rgba(123, 44, 191, .3);

}



.btn-outline {

    border: 2px solid #7B2CBF;

    color: #7B2CBF;

}


.btn-outline:hover {

    background: #7B2CBF;

    color: white;

}



/* FEATURES */

.hero-features {

    display: flex;

    gap: 15px;

    flex-wrap: wrap;

    margin-top: 45px;

}



.feature-item {

    background: white;

    padding: 15px 20px;

    border-radius: 15px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);

    display: flex;

    align-items: center;

    gap: 10px;

    font-weight: 600;

}



.feature-item i {

    color: #7B2CBF;

}



/* RIGHT IMAGE */

.hero-image {

    flex: 1;

    position: relative;

    display: flex;

    justify-content: center;

}



.image-card {

    width: 420px;

    height: 420px;

    border-radius: 50%;

    background: linear-gradient(135deg,
            #f3e8ff,
            #ffe0f0);

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

}



.image-card img {

    width: 90%;

}



/* FLOATING CARDS */

.floating-card {

    position: absolute;

    background: white;

    padding: 12px 20px;

    border-radius: 15px;

    font-weight: 700;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);

    animation: float 3s infinite ease-in-out;

}



.html-card {

    top: 70px;

    left: 30px;

}



.css-card {

    bottom: 100px;

    left: 10px;

}



.js-card {

    top: 80px;

    right: 20px;

}



.python-card {

    bottom: 70px;

    right: 20px;

}



@keyframes float {

    0%,
    100% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-15px);

    }

}

/* =======================================
        HERO RESPONSIVE
======================================= */


@media(max-width:1100px) {

    .hero {

        flex-direction: column;

        text-align: center;

        padding-top: 50px;

    }


    .hero p {

        margin-left: auto;

        margin-right: auto;

    }


    .hero-buttons {

        justify-content: center;

    }


    .hero-features {

        justify-content: center;

    }


    .hero-image {

        margin-top: 40px;

    }

}



/* TABLET */

@media(max-width:768px) {


    .hero h1 {

        font-size: 45px;

    }


    .hero h2 {

        font-size: 24px;

    }


    .hero p {

        font-size: 16px;

    }


    .image-card {

        width: 320px;

        height: 320px;

    }


    .floating-card {

        font-size: 13px;

        padding: 10px 15px;

    }


    .navbar {

        display: none;

    }


    .header {

        padding: 15px 5%;

    }


}



/* MOBILE */

@media(max-width:480px) {


    .hero {

        width: 90%;

    }


    .hero h1 {

        font-size: 35px;

    }


    .hero h2 {

        font-size: 20px;

    }


    .hero-buttons {

        flex-direction: column;

        align-items: center;

    }


    .btn-primary,
    .btn-outline {

        width: 220px;

    }


    .image-card {

        width: 260px;

        height: 260px;

    }


    .html-card {

        left: -10px;

        top: 30px;

    }


    .css-card {

        left: -20px;

        bottom: 50px;

    }


    .js-card {

        right: -10px;

        top: 40px;

    }


    .python-card {

        right: -20px;

        bottom: 40px;

    }


}

/* =======================================
        FEATURED COURSES SECTION
======================================= */


.courses {

    width: min(1200px, 92%);

    margin: 80px auto;

}



/* SECTION TITLE */

.section-title {

    text-align: center;

    margin-bottom: 50px;

}


.section-title span {

    display: inline-block;

    background: #f3e8ff;

    color: #7B2CBF;

    padding: 8px 20px;

    border-radius: 50px;

    font-weight: 600;

}



.section-title h2 {

    font-size: 42px;

    margin-top: 15px;

    color: #2d2d2d;

}



.section-title p {

    color: #666;

    margin-top: 15px;

    font-size: 17px;

}



/* COURSE GRID */

.course-container {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));

    gap: 25px;

}



/* COURSE CARD */

.course-card {

    background: white;

    padding: 30px 25px;

    border-radius: 25px;

    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);

    text-align: center;

    position: relative;

    overflow: hidden;

    transition: .4s;

}



.course-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 5px;

    background: linear-gradient(90deg,
            #7B2CBF,
            #FF4DA6);

}



.course-card:hover {

    transform: translateY(-12px);

    box-shadow: 0 25px 50px rgba(123, 44, 191, .18);

}



/* ICON */

.course-icon {

    width: 75px;

    height: 75px;

    margin: auto;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 35px;

    background: #f8f1ff;

}



/* TITLE */

.course-card h3 {

    margin-top: 20px;

    font-size: 25px;

    color: #7B2CBF;

}



/* DESCRIPTION */

.course-card p {

    margin: 15px 0 25px;

    color: #666;

    line-height: 1.7;

}



/* BUTTON */

.course-card a {

    display: inline-block;

    color: #7B2CBF;

    font-weight: 700;

    transition: .3s;

}



.course-card a:hover {

    color: #FF4DA6;

    transform: translateX(5px);

}



/* DIFFERENT COURSE COLORS */

.html-card-box .course-icon {

    background: #ffe8e8;

}


.css-card-box .course-icon {

    background: #e8f5ff;

}


.js-card-box .course-icon {

    background: #fff8d9;

}


.python-card-box .course-icon {

    background: #e8fff1;

}


.sql-card-box .course-icon {

    background: #e8f0ff;

}



/* MOBILE */

@media(max-width:600px) {

    .section-title h2 {

        font-size: 30px;

    }


    .course-card {

        padding: 25px 20px;

    }

}

/* =======================================
        LEARNING PATHS SECTION
======================================= */


.learning-paths {

    width: min(1200px, 92%);

    margin: 90px auto;

}



/* PATH CONTAINER */

.path-container {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(300px, 1fr));

    gap: 30px;

}



/* PATH CARD */

.path-card {

    background: white;

    padding: 35px 30px;

    border-radius: 25px;

    display: flex;

    gap: 25px;

    align-items: flex-start;

    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);

    transition: .4s;

    position: relative;

    overflow: hidden;

}



.path-card::before {

    content: "";

    position: absolute;

    width: 100%;

    height: 5px;

    top: 0;

    left: 0;

    background: linear-gradient(90deg,
            #7B2CBF,
            #FF4DA6);

}



.path-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 25px 45px rgba(123, 44, 191, .18);

}



/* ICON */

.path-icon {

    min-width: 70px;

    height: 70px;

    border-radius: 20px;

    background: #f3e8ff;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 35px;

}



/* TEXT */

.path-card h3 {

    font-size: 24px;

    color: #7B2CBF;

    margin-bottom: 10px;

}



.path-card p {

    color: #666;

    line-height: 1.6;

    margin-bottom: 20px;

}



/* STEPS */

.path-steps {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

}



.path-steps span {

    background: #f8f1ff;

    color: #7B2CBF;

    padding: 8px 15px;

    border-radius: 50px;

    font-size: 14px;

    font-weight: 600;

}



/* MOBILE */

@media(max-width:600px) {


    .path-card {

        flex-direction: column;

        text-align: center;

    }


    .path-icon {

        margin: auto;

    }


    .path-steps {

        justify-content: center;

    }

}

/* =======================================
        TRENDING TUTORIALS SECTION
======================================= */


.tutorials {

    width: min(1200px, 92%);

    margin: 90px auto;

}



/* TUTORIAL GRID */

.tutorial-container {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(300px, 1fr));

    gap: 25px;

}



/* TUTORIAL CARD */

.tutorial-card {

    background: white;

    border-radius: 25px;

    padding: 25px;

    display: flex;

    gap: 20px;

    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);

    transition: .4s;

    position: relative;

    overflow: hidden;

}



.tutorial-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 5px;

    height: 100%;

    background: linear-gradient(180deg,
            #7B2CBF,
            #FF4DA6);

}



.tutorial-card:hover {

    transform: translateY(-8px);

    box-shadow: 0 25px 45px rgba(123, 44, 191, .18);

}



/* ICON */

.tutorial-icon {

    min-width: 65px;

    height: 65px;

    border-radius: 18px;

    background: #f3e8ff;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 32px;

}



/* CONTENT */

.tutorial-content h3 {

    font-size: 20px;

    color: #2d2d2d;

    margin-bottom: 10px;

}



.tutorial-content p {

    color: #666;

    line-height: 1.6;

    font-size: 15px;

}



/* INFO */

.tutorial-info {

    display: flex;

    gap: 10px;

    margin: 15px 0;

    flex-wrap: wrap;

}



.tutorial-info span {

    background: #f8f1ff;

    color: #7B2CBF;

    padding: 6px 12px;

    border-radius: 50px;

    font-size: 13px;

    font-weight: 600;

}



/* LINK */

.tutorial-content a {

    color: #7B2CBF;

    font-weight: 700;

    transition: .3s;

}



.tutorial-content a:hover {

    color: #FF4DA6;

}



/* MOBILE */

@media(max-width:600px) {


    .tutorial-card {

        flex-direction: column;

        text-align: center;

    }


    .tutorial-icon {

        margin: auto;

    }


    .tutorial-info {

        justify-content: center;

    }

}

/* =======================================
        PROJECTS SECTION
======================================= */


.projects {

    width: min(1200px, 92%);

    margin: 90px auto;

}



/* PROJECT GRID */

.project-container {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(250px, 1fr));

    gap: 30px;

}



/* PROJECT CARD */

.project-card {

    background: white;

    padding: 30px 25px;

    border-radius: 25px;

    text-align: center;

    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);

    transition: .4s;

    position: relative;

    overflow: hidden;

}



.project-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 5px;

    background: linear-gradient(90deg,
            #7B2CBF,
            #FF4DA6);

}



.project-card:hover {

    transform: translateY(-12px);

    box-shadow: 0 25px 50px rgba(123, 44, 191, .20);

}



/* PROJECT ICON */

.project-icon {

    width: 80px;

    height: 80px;

    margin: auto;

    border-radius: 50%;

    background: #f3e8ff;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 38px;

}



/* TITLE */

.project-card h3 {

    margin-top: 20px;

    font-size: 24px;

    color: #7B2CBF;

}



/* DESCRIPTION */

.project-card p {

    margin: 15px 0;

    color: #666;

    line-height: 1.6;

}



/* TAGS */

.project-tags {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;

    margin: 20px 0;

}



.project-tags span {

    background: #f8f1ff;

    color: #7B2CBF;

    padding: 7px 14px;

    border-radius: 50px;

    font-size: 13px;

    font-weight: 600;

}



/* BUTTON */

.project-card a {

    color: #7B2CBF;

    font-weight: 700;

    transition: .3s;

}



.project-card a:hover {

    color: #FF4DA6;

    letter-spacing: .5px;

}



/* MOBILE */

@media(max-width:600px) {

    .project-card {

        padding: 25px 20px;

    }

}

/* =======================================
        ROSHNI'S TIP SECTION
======================================= */


.roshni-tip {

    width: min(1200px, 92%);

    margin: 90px auto;

}



/* TIP BOX */

.tip-box {

    background: linear-gradient(135deg,
            #7B2CBF,
            #FF4DA6);

    border-radius: 35px;

    padding: 50px;

    display: flex;

    align-items: center;

    gap: 40px;

    color: white;

    box-shadow:
        0 20px 50px rgba(123, 44, 191, .25);

}



/* ICON */

.tip-icon {

    width: 110px;

    height: 110px;

    background: white;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 55px;

    flex-shrink: 0;

}



/* CONTENT */

.tip-content span {

    font-size: 18px;

    font-weight: 700;

    opacity: .9;

}



.tip-content h2 {

    font-size: 38px;

    margin: 15px 0;

}



.tip-content p {

    font-size: 17px;

    line-height: 1.8;

    max-width: 700px;

}



/* AUTHOR */

.tip-author {

    margin-top: 25px;

    font-weight: 700;

    font-size: 18px;

}



/* MOBILE */

@media(max-width:700px) {


    .tip-box {

        flex-direction: column;

        text-align: center;

        padding: 35px 25px;

    }


    .tip-content h2 {

        font-size: 28px;

    }


    .tip-content p {

        font-size: 15px;

    }

}

/* =======================================
        NEWSLETTER SECTION
======================================= */


.newsletter {

    width: min(1200px, 92%);

    margin: 90px auto;

}



.newsletter-box {

    background: white;

    border-radius: 35px;

    padding: 50px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 40px;

    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);

    border: 1px solid #f0e5ff;

}



/* CONTENT */

.newsletter-content span {

    color: #7B2CBF;

    font-weight: 700;

    font-size: 18px;

}



.newsletter-content h2 {

    font-size: 36px;

    color: #2d2d2d;

    margin: 15px 0;

}



.newsletter-content p {

    color: #666;

    line-height: 1.7;

    max-width: 550px;

}



/* FORM */

.newsletter-form {

    display: flex;

    gap: 15px;

}



.newsletter-form input {

    width: 280px;

    padding: 16px 20px;

    border-radius: 50px;

    border: 1px solid #ddd;

    outline: none;

    font-family: Poppins, sans-serif;

}



.newsletter-form input:focus {

    border-color: #7B2CBF;

}



.newsletter-form button {

    border: none;

    cursor: pointer;

    background: linear-gradient(135deg,
            #7B2CBF,
            #FF4DA6);

    color: white;

    padding: 16px 30px;

    border-radius: 50px;

    font-weight: 700;

    font-size: 15px;

    transition: .3s;

}



.newsletter-form button:hover {

    transform: translateY(-4px);

    box-shadow: 0 15px 30px rgba(123, 44, 191, .25);

}



/* MOBILE */

@media(max-width:800px) {


    .newsletter-box {

        flex-direction: column;

        text-align: center;

        padding: 35px 25px;

    }


    .newsletter-form {

        flex-direction: column;

        width: 100%;

    }


    .newsletter-form input {

        width: 100%;

    }


}

/* =======================================
        FOOTER SECTION
======================================= */


.footer {

    background: #1b1028;

    color: white;

    margin-top: 80px;

    padding-top: 60px;

}



/* FOOTER CONTAINER */

.footer-container {

    width: min(1200px, 92%);

    margin: auto;

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    gap: 40px;

}



/* BRAND */

.footer-logo {

    display: flex;

    align-items: center;

    gap: 15px;

}



.footer-logo span {

    width: 55px;

    height: 55px;

    border-radius: 50%;

    background: linear-gradient(135deg,
            #7B2CBF,
            #FF4DA6);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 22px;

}



.footer-logo h2 {

    font-size: 24px;

}



.footer-brand p {

    color: #d5cde0;

    line-height: 1.8;

    margin: 20px 0;

}



/* SOCIAL ICONS */

.social-icons {

    display: flex;

    gap: 15px;

}



.social-icons a {

    width: 42px;

    height: 42px;

    border-radius: 50%;

    background: #2c1b3d;

    display: flex;

    align-items: center;

    justify-content: center;

    color: white;

    transition: .3s;

}



.social-icons a:hover {

    background: #7B2CBF;

    transform: translateY(-5px);

}



/* FOOTER LINKS */

.footer-links h3 {

    margin-bottom: 20px;

    font-size: 20px;

    color: #fff;

}



.footer-links a {

    display: block;

    color: #d5cde0;

    margin-bottom: 12px;

    transition: .3s;

}



.footer-links a:hover {

    color: #FF4DA6;

    transform: translateX(5px);

}



/* BOTTOM */

.footer-bottom {

    margin-top: 50px;

    padding: 20px;

    text-align: center;

    border-top: 1px solid rgba(255, 255, 255, .1);

}



.footer-bottom p {

    color: #cfc4db;

    font-size: 14px;

}



/* RESPONSIVE */

@media(max-width:900px) {


    .footer-container {

        grid-template-columns:
            repeat(2, 1fr);

    }

}



@media(max-width:600px) {


    .footer-container {

        grid-template-columns: 1fr;

        text-align: center;

    }


    .footer-logo {

        justify-content: center;

    }


    .social-icons {

        justify-content: center;

    }

}

/* =======================================
        MOBILE MENU BUTTON
======================================= */


.menu-btn {

    display: none;

    width: 45px;

    height: 45px;

    border-radius: 50%;

    background: #7B2CBF;

    color: white;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    font-size: 20px;

}



/* BACK TO TOP */

.back-top {

    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 50px;

    height: 50px;

    border-radius: 50%;

    background: linear-gradient(135deg,
            #7B2CBF,
            #FF4DA6);

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow: 0 10px 25px rgba(123, 44, 191, .3);

    transition: .3s;

}



.back-top:hover {

    transform: translateY(-8px);

}



/* SMOOTH SECTION ANIMATION */


.hero,
.courses,
.learning-paths,
.tutorials,
.projects,
.roshni-tip,
.newsletter {

    animation: fadeUp 1s ease;

}



@keyframes fadeUp {

    from {

        opacity: 0;

        transform: translateY(30px);

    }


    to {

        opacity: 1;

        transform: translateY(0);

    }

}



/* MOBILE HEADER */

@media(max-width:900px) {


    .menu-btn {

        display: flex;

    }


    .header-right .start-btn {

        display: none;

    }


}

/* =======================================
        MOBILE NAVBAR ACTIVE
======================================= */


@media(max-width:900px) {


    .navbar {

        position: absolute;

        top: 80px;

        left: 0;

        width: 100%;

        background: white;

        flex-direction: column;

        padding: 25px;

        box-shadow: 0 15px 30px rgba(0, 0, 0, .1);

        display: none;

    }


    .navbar.active {

        display: flex;

    }


    .navbar a {

        padding: 12px;

        text-align: center;

    }


}

/* =======================================
        TUTORIALS PAGE
======================================= */


.tutorial-hero {

    width: min(1000px, 92%);

    margin: 70px auto;

    text-align: center;

}



.tutorial-hero span {

    display: inline-block;

    background: #f3e8ff;

    color: #7B2CBF;

    padding: 10px 22px;

    border-radius: 50px;

    font-weight: 600;

}



.tutorial-hero h1 {

    font-size: 50px;

    margin: 20px 0;

    color: #2d2d2d;

}



.tutorial-hero p {

    color: #666;

    font-size: 18px;

    line-height: 1.7;

}



/* COURSE LIST */


.course-list {

    width: min(1100px, 92%);

    margin: 50px auto;

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(250px, 1fr));

    gap: 30px;

}



/* COURSE BOX */


.course-box {

    background: white;

    padding: 35px 25px;

    border-radius: 25px;

    text-align: center;

    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);

    transition: .4s;

    position: relative;

    overflow: hidden;

}



.course-box::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 5px;

    background: linear-gradient(90deg,
            #7B2CBF,
            #FF4DA6);

}



.course-box:hover {

    transform: translateY(-10px);

    box-shadow: 0 25px 45px rgba(123, 44, 191, .18);

}



.course-box h2 {

    color: #7B2CBF;

    font-size: 24px;

}



.course-box p {

    color: #666;

    line-height: 1.7;

    margin: 15px 0 25px;

}



.course-box a {

    color: #7B2CBF;

    font-weight: 700;

}



.course-box a:hover {

    color: #FF4DA6;

}





/* MOBILE */

@media(max-width:600px) {


    .tutorial-hero h1 {

        font-size: 35px;

    }


    .course-box {

        padding: 25px 20px;

    }

}

/* =======================================
        COURSE HERO SECTION
======================================= */


.course-hero {

    width: min(1000px, 92%);

    margin: 70px auto 40px;

    text-align: center;

}


.course-hero span {

    display: inline-block;

    background: #f3e8ff;

    color: #7B2CBF;

    padding: 10px 20px;

    border-radius: 50px;

    font-weight: 600;

}


.course-hero h1 {

    font-size: 50px;

    margin: 20px 0;

    color: #2d2d2d;

}


.course-hero p {

    color: #666;

    font-size: 18px;

}





/* =======================================
        COURSE LAYOUT
======================================= */


.course-layout {

    width: min(1200px, 92%);

    margin: 50px auto;

    display: grid;

    grid-template-columns: 300px 1fr;

    gap: 35px;

    align-items: start;

}



/* SIDEBAR */


.course-sidebar {

    background: white;

    padding: 25px;

    border-radius: 25px;

    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);

    position: sticky;

    top: 20px;

}



.course-sidebar h2 {

    color: #7B2CBF;

    font-size: 22px;

    margin-bottom: 20px;

}



.course-sidebar ul {

    list-style: none;

}



.course-sidebar li {

    padding: 12px 15px;

    margin-bottom: 8px;

    border-radius: 12px;

    cursor: pointer;

    color: #555;

    transition: .3s;

}



.course-sidebar li:hover {

    background: #f3e8ff;

    color: #7B2CBF;

    transform: translateX(5px);

}





/* CONTENT */


.course-content {

    background: white;

    padding: 40px;

    border-radius: 25px;

    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);

}



.course-content h2 {

    font-size: 32px;

    color: #7B2CBF;

}



.course-content h3 {

    margin-top: 30px;

    font-size: 22px;

}



.course-content p {

    color: #555;

    line-height: 1.8;

}





/* CODE BOX */


.code-box {

    background: #1e1e1e;

    color: #fff;

    padding: 25px;

    border-radius: 20px;

    margin: 20px 0;

    overflow-x: auto;

}



.code-box pre {

    font-family: monospace;

    font-size: 16px;

}





/* TIP BOX */


.tip-box {

    background: #f3e8ff;

    border-left: 5px solid #7B2CBF;

    padding: 20px;

    border-radius: 15px;

    margin: 25px 0;

    color: #555;

}





/* LEARN LIST */


.learn-list {

    padding-left: 20px;

}



.learn-list li {

    margin: 12px 0;

    color: #555;

}





/* RESPONSIVE */


@media(max-width:900px) {


    .course-layout {

        grid-template-columns: 1fr;

    }



    .course-sidebar {

        position: relative;

    }



    .course-hero h1 {

        font-size: 35px;

    }



    .course-content {

        padding: 25px;

    }


}

.course-sidebar a {

    color: inherit;

    text-decoration: none;

    display: block;

}


.course-sidebar li:hover a {

    color: #7B2CBF;

}

/* =======================================
        LESSON PAGE
======================================= */


.lesson-page {

    width: min(1000px, 92%);

    margin: 70px auto;

}



.lesson-content {

    background: white;

    padding: 45px;

    border-radius: 30px;

    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);

}



/* BADGE */

.lesson-badge {

    display: inline-block;

    background: #f3e8ff;

    color: #7B2CBF;

    padding: 10px 20px;

    border-radius: 50px;

    font-weight: 600;

}



/* HEADING */

.lesson-content h1 {

    font-size: 45px;

    color: #2d2d2d;

    margin: 20px 0;

}



.lesson-content h2 {

    color: #7B2CBF;

    margin-top: 35px;

    font-size: 28px;

}



.lesson-content p {

    color: #555;

    line-height: 1.8;

    font-size: 17px;

}



.lesson-content ul {

    padding-left: 25px;

}



.lesson-content li {

    margin: 12px 0;

    color: #555;

}





/* OUTPUT BOX */

.output-box {

    background: #f8f9fa;

    border-left: 5px solid #7B2CBF;

    padding: 20px;

    border-radius: 15px;

    font-family: monospace;

    margin: 20px 0;

}



/* LESSON BUTTONS */

.lesson-buttons {

    display: flex;

    justify-content: space-between;

    margin-top: 40px;

}



.lesson-buttons a {

    background: #7B2CBF;

    color: white;

    padding: 14px 25px;

    border-radius: 50px;

    font-weight: 600;

    transition: .3s;

}



.lesson-buttons a:hover {

    background: #FF4DA6;

    transform: translateY(-5px);

}





/* MOBILE */

@media(max-width:600px) {


    .lesson-content {

        padding: 25px;

    }


    .lesson-content h1 {

        font-size: 32px;

    }


    .lesson-buttons {

        flex-direction: column;

        gap: 15px;

    }


    .lesson-buttons a {

        text-align: center;

    }

}

/* OBJECT PREMIUM SECTIONS */


.intro-text {

    font-size: 20px;

    color: #666;

}



/* QUICK CARD */

.quick-card {

    background: linear-gradient(135deg, #f3e8ff, #fff);

    padding: 25px;

    border-radius: 20px;

    margin: 30px 0;

    border-left: 5px solid #7B2CBF;

}



.quick-card h3 {

    color: #7B2CBF;

}





.info-card {

    background: #fff5fb;

    padding: 25px;

    border-radius: 20px;

    margin: 25px 0;

    color: #555;

}




.topic-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

    gap: 20px;

    margin: 25px 0;

}



.topic-grid div {

    background: white;

    padding: 20px;

    border-radius: 18px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);

    text-align: center;

    font-weight: 600;

    color: #7B2CBF;

    transition: .3s;

}



.topic-grid div:hover {

    transform: translateY(-8px);

    background: #f3e8ff;

}




.mistake-box {

    background: #fff0f0;

    border-left: 5px solid #ff4d6d;

    padding: 20px;

    border-radius: 15px;

    margin: 25px 0;

    color: #555;

}

/* =======================================
        COURSE PROGRESS CARD
======================================= */

.progress-card {

    background: linear-gradient(135deg, #7B2CBF, #9D4EDD);

    color: white;

    padding: 25px;

    border-radius: 20px;

    margin: 30px 0;

    box-shadow: 0 15px 30px rgba(123, 44, 191, .25);

}

.progress-top {

    display: flex;

    justify-content: space-between;

    align-items: center;

    font-weight: 600;

    margin-bottom: 15px;

}

.progress-bar {

    width: 100%;

    height: 12px;

    background: rgba(246, 243, 245, 0.25);

    border-radius: 50px;

    overflow: hidden;

}

.progress-fill {

    width: 25%;

    height: 100%;

    background: white;

    border-radius: 50px;

}

.progress-text {

    margin-top: 18px;

    padding: 12px 16px;

    background: rgba(246, 182, 182, 0.15);

    border-radius: 12px;

    color: #e86868;

    font-size: 16px;

    font-weight: 600;

    border: 1px solid rgba(213, 73, 73, 0.2);

}

/* =======================================
        LESSON COMPLETED
======================================= */

.completed-card {

    margin: 50px 0;

    padding: 40px;

    text-align: center;

    border-radius: 25px;

    background: linear-gradient(135deg, #7B2CBF, #9D4EDD);

    color: #fff;

    box-shadow: 0 20px 40px rgba(123, 44, 191, .25);

}

.completed-icon {

    font-size: 60px;

    margin-bottom: 15px;

}

.completed-card h2 {

    color: #fff;

    margin-bottom: 15px;

}

.completed-card p {

    color: #f3f3f3;

    max-width: 650px;

    margin: auto;

}



/* =======================================
        RELATED LESSONS
======================================= */

.related-lessons {

    margin: 50px 0;

}

.related-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

    gap: 20px;

    margin-top: 25px;

}

.related-grid a {

    background: #ffffff;

    padding: 22px;

    border-radius: 18px;

    text-decoration: none;

    color: #7B2CBF;

    font-weight: 600;

    text-align: center;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);

    transition: .3s;

}

.related-grid a:hover {

    transform: translateY(-8px);

    background: #f3e8ff;

}

/* ======================================
   Roshni Code Charm Calculator
====================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {

    min-height: 100vh;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    color: #fff;

}

/* Background */

.background {

    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: -1;

}

.blob {

    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .35;
    animation: float 12s infinite alternate;

}

.blob1 {

    width: 260px;
    height: 260px;
    background: #ff4ecd;
    top: -60px;
    left: -60px;

}

.blob2 {

    width: 320px;
    height: 320px;
    background: #00d2ff;
    right: -80px;
    top: 180px;

}

.blob3 {

    width: 250px;
    height: 250px;
    background: #8e2de2;
    bottom: -60px;
    left: 30%;

}

@keyframes float {

    from {

        transform: translateY(0);

    }

    to {

        transform: translateY(40px);

    }

}

/* Calculator */

.calculator-container {

    width: 100%;
    display: flex;
    justify-content: center;
    padding: 60px 20px;

}

.calculator-card {

    width: 380px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 25px;
    padding: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35);

}

/* Header */

.calculator-header {

    text-align: center;
    margin-bottom: 25px;

}

.project-badge {

    background: #ff4ecd;
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-block;
    font-size: 13px;
    margin-bottom: 12px;

}

.calculator-header h1 {

    font-size: 34px;
    margin-bottom: 8px;

}

.calculator-header p {

    color: #ddd;

}

/* Display */

.display-box {

    margin-bottom: 20px;

}

#display {

    width: 100%;
    height: 70px;
    border: none;
    border-radius: 15px;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    font-size: 30px;
    text-align: right;
    padding: 15px;
    outline: none;

}

#display::placeholder {

    color: #ddd;

}

/* Buttons */

.buttons {

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;

}

.btn {

    height: 65px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 22px;
    font-weight: 600;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    transition: .3s;

}

.btn:hover {

    transform: translateY(-4px);
    background: rgba(255, 255, 255, .25);

}

.operator {

    background: #ff9f43;

}

.equal {

    background: #00c853;

}

.clear {

    background: #ff3b30;

}

.delete {

    background: #ff6f61;

}

.zero {

    grid-column: span 2;

}

/* Footer */

.calculator-footer {

    margin-top: 25px;
    display: grid;
    gap: 10px;

}

.footer-box {

    background: rgba(255, 255, 255, .12);
    padding: 10px;
    border-radius: 10px;
    text-align: center;

}

/* About */

.about {

    width: 100%;
    padding: 70px 20px;

}

.about-content {

    max-width: 900px;
    margin: auto;
    background: rgba(255, 255, 255, .12);
    padding: 30px;
    border-radius: 20px;
    text-align: center;

}

.about h2 {

    margin-bottom: 15px;

}

/* Features */

.features {

    width: 100%;
    padding: 60px 20px;

}

.features h2 {

    text-align: center;
    margin-bottom: 35px;

}

.feature-grid {

    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;

}

.feature-card {

    background: rgba(255, 255, 255, .12);
    padding: 25px;
    border-radius: 18px;
    transition: .3s;

}

.feature-card:hover {

    transform: translateY(-8px);

}

.feature-card h3 {

    margin-bottom: 10px;

}

/* Footer */

footer {

    width: 100%;
    padding: 30px;
    text-align: center;
    background: rgba(0, 0, 0, .2);
    margin-top: 40px;

}

footer h3 {

    margin-bottom: 10px;

}

/* Responsive */

@media(max-width:500px) {

    .calculator-card {

        width: 100%;

    }

    .btn {

        height: 58px;
        font-size: 20px;

    }

    #display {

        height: 65px;
        font-size: 26px;

    }

}