* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;

}



/*dark mode */

body {
    min-height: 100vh;
    background: linear-gradient(to bottom, #cddffa, #8eb7f9, #7faaee, #be7afa, #e973f9, #fc83fe);
    overflow-x: hidden;
    color: #fff;
    transition: background 0.3s ease, color 0.3s ease;
}

body.dark {
    background: linear-gradient(135deg, #141e30, #243b55);
    color: #f5f7fa;
}

body.dark .glass {
    background: rgba(15, 23, 42, 0.75);
    border-color: rgba(255, 255, 255, 0.15);
}

body.dark .nav-links a,
body.dark #themeToggle,
body.dark .hamburger {
    color: #f5f7fa;
}

body.dark .btn {
    background: #7c3aed;
    color: #fff;
}

body.dark .btn.outline {
    border-color: #f5f7fa;
    color: #f5f7fa;
}

    /* blobs */
    .blob {
        position: absolute;
        width: 350px;
        height: 350px;
        border-radius: 50%;
        filter: blur(120px);
        opacity: 0.6;
        z-index: 1;
        pointer-events: none;
    }

    .blob1 {
        background: #ff6ec4;
        top: -100px;
        left: -100px;
    }

    .blob2 {
        background: #00f2fe;
        bottom: -100px;
        right: -100px;
    }


    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    header {
        padding: 20px 8%;
    }

    .nav-links {
        display: flex;
        gap: 30px;
        list-style: none;
    }

    .nav-links a {
        text-decoration: none;
        color: #fff;

    }

    .nav-links a:hover {
        opacity: 0.7;
    }

    .nav-actions {
        display: flex;
        gap: 15px;
        align-items: center;
    }

    #themeToggle {
        background: none;
        border: none;
        font-size: 18px;
        cursor: pointer;
        color: #fff;
    }

    .hamburger {

        font-size: 22px;
        cursor: pointer;

    }

    /* hero */
    .hero {
        padding: 80px 8%;
    }

    .hero-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content h2 {
        margin: 15px 0;
        font-weight: 400;
    }

    .hero-content span {
        color: aqua;
    }

    .image img {
        width: 260px;
        height: 260px;
        border-radius: 50%;
        border: 4px solid rgba(255, 255, 255, 0.4);
    }

    /* buttons */

    .buttons {
        display: flex;
        gap: 15px;
        margin-top: 20px;
    }

    .btn {
        padding: 10px 20px;
        border-radius: 25px;
        background: #00f2fe;
        color: #000;
        font-weight: bold;
        text-decoration: none;
        transition: 0.3s
    }

    .btn:hover {
        transform: translateY(-3px);
    }

    .btn.outline {
        background: transparent;
        border: 2px solid white;
        color: white;
    }

    /* projects */
    .project-grid {
        display:grid ;
        grid-template-columns: repeat (auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }

    .card {
        text-align: center;
        transition: 0.3s;

    }

    .card:hover {
        transform: translateY(-8px);
    }

 
/*certificates */
.certificate-grid {
        display: grid;
        grid-template-columns: repeat (auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }

    .award {
        text-align: center;
        transition: 0.3s;

    }

    .award:hover {
        transform: translateY(-8px);
    }




    /*sections */
    .section {
        padding: 80px 8%;

    }

    .section h2 {
        text-align: center;
        margin-bottom: 40px;

    }

    .section p {
        text-align: center;
    }

    /* contact      */
    .contact-form {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px;
        border-radius: 8px;
        border: none;
        outline: none;
    }

    /* glass */

    .glass {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(18px);
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        padding: 40px;
    }


    /* footer      */

        .footer {
            display: flex;
            padding: 80px 8%;
            justify-content: space-evenly;
            margin: 150px;
        }

        .footer ul {
            list-style: none;

        }

        /* .footer>div {
            width: 225px;
        } */

        footer .footer-rights {
            text-align: center;
            color: gray;
            font-size: 16px;
            padding: 12px 0;
        }


    /* responsive */
    @media(max-width:768px) {
        .nav-links {
            display: none;
            flex-direction: column;
        }

        .nav-links.active {
            display: flex;
        }

        .hamburger {
            display: block;
        }

        .hero-content {
            flex-direction: column;
            text-align: center;
        }
    }


