
/* CSS file of portfolio  */

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

        body {
            background: #0f0f0f;
            color: white;
            overflow-x: hidden;
        }

        /* Animated Background */

        body::before {
            content: '';
            position: fixed;
            width: 100%;
            height: 100%;
            background:
                linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
            background-size: 50px 50px;
            z-index: -1;
        }

        /* Navbar */

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 25px 8%;
            backdrop-filter: blur(10px);
            background: rgba(255, 255, 255, 0.05);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            z-index: 1000;
        }

        .logo {
            font-size: 2rem;
            font-weight: 700;
            color: #00d9ff;
            text-shadow: 0 0 20px #00d9ff;
        }


        .logo-image {
            width: 150px;
            height: auto;
            display: block;
            object-fit: contain;
            filter: drop-shadow(0 0 8px rgba(0, 217, 255, 0.55));
        }

        .logo span {
            color: white;
        }

        .nav {
            display: flex;
            gap: 30px;
        }

        .nav a {
            text-decoration: none;
            color: white;
            font-weight: 500;
            transition: .4s;
        }

        .nav a:hover {
            color: #00d9ff;
            text-shadow: 0 0 15px #00d9ff;
        }

        /* Mobile Menu Toggle Icon */
        .menu-toggle {
            display: none;
            font-size: 1.8rem;
            color: #00d9ff;
            cursor: pointer;
            z-index: 1001;
        }

        /* Hero Section */

        .main {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 80px 8%;
            min-height: 85vh;
            gap: 50px;
            flex-wrap: wrap;
        }

        .written {
            max-width: 700px;
        }

        .hello {
            font-size: 1.5rem;
            color: #00d9ff;
            margin-bottom: 10px;
        }

        .name {
            font-size: 4rem;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 15px;
        }

        .words {
            font-size: 2rem;
            font-weight: 600;
        }

        .s-e {
            color: #00d9ff;
            text-shadow: 0 0 15px #00d9ff;
        }

        .description {
            margin-top: 20px;
            line-height: 1.8;
            color: #cfcfcf;
        }

        /* Buttons */

        .buttons {
            margin-top: 35px;
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
        }

        .btn {
            padding: 14px 35px;
            border: none;
            border-radius: 50px;
            font-size: 16px;
            cursor: pointer;
            transition: .4s;
        }

        .primary {
            background: #00d9ff;
            color: black;
            font-weight: 600;
        }

        .primary a {
            text-decoration: none;
            color: inherit;
        }

        .primary:hover {
            transform: translateY(-5px);
            box-shadow: 0 0 25px #00d9ff;
        }

        .secondary {
            background: transparent;
            border: 2px solid #00d9ff;
            color: #00d9ff;
            text-decoration: none;
        }

        .secondary:hover {
            background: #00d9ff;
            color: black;
            box-shadow: 0 0 25px #00d9ff;
        }

        /* Profile Card */

        .img {
            width: 400px;
            height: 500px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            border-radius: 25px;
            overflow: hidden;
            box-shadow: 0 0 40px rgba(0, 217, 255, 0.2);
            animation: float 4s ease-in-out infinite;
        }

        .img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        @keyframes float {
            0% {
                transform: translateY(0px);
            }

            50% {
                transform: translateY(-15px);
            }

            100% {
                transform: translateY(0px);
            }
        }

        /* Social */

        .footer {
            text-align: center;
            padding: 40px;
            background: #111;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .links {
            margin-bottom: 20px;
        }

        .links a {
            color: white;
            font-size: 28px;
            margin: 0 15px;
            transition: .4s;
        }

        .links a:hover {
            color: #00d9ff;
            text-shadow: 0 0 20px #00d9ff;
        }

        .footer p {
            color: #bdbdbd;
        }

        /* Typing Cursor */

        #typing-text::after {
            content: "|";
            animation: blink .8s infinite;
        }

        @keyframes blink {
            50% {
                opacity: 0;
            }
        }



        /* About + Skills */
        #about {
            width: 100%;
            max-width: 1100px;
            margin: 30px auto 0;
            padding: 45px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(0, 217, 255, 0.16);
            border-radius: 25px;
            backdrop-filter: blur(14px);
            box-shadow: 0 0 35px rgba(0, 217, 255, 0.08);
        }

        #about h2,
        #projects h2,
        #contact h2 {
            color: #00d9ff;
            text-shadow: 0 0 15px rgba(0, 217, 255, 0.5);
            margin-bottom: 18px;
            font-size: 2rem;
        }

        #about p {
            color: #cfcfcf;
            line-height: 1.8;
        }

        .skills-title {
            margin-top: 30px;
            margin-bottom: 18px;
            font-size: 1.35rem;
        }

        .skills {
            display: flex;
            flex-wrap: wrap;
            gap: 18px;
        }

        .skill {
            min-width: 125px;
            padding: 18px 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            border: 1px solid rgba(0, 217, 255, 0.22);
            border-radius: 15px;
            background: rgba(0, 217, 255, 0.04);
            color: white;
            transition: .35s;
        }

        .skill i {
            font-size: 28px;
            color: #00d9ff;
        }

        .skill:hover {
            transform: translateY(-6px);
            border-color: #00d9ff;
            box-shadow: 0 0 22px rgba(0, 217, 255, 0.25);
        }

        /* Projects */
        #projects {
            width: 100%;
            padding: 80px 8%;
        }

        .section-subtitle {
            color: #aaa;
            margin-bottom: 30px;
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 30px;
            max-width: 1100px;
            margin: auto;
        }

        .project-card {
            overflow: hidden;
            border-radius: 22px;
            background: rgba(255, 255, 255, 0.045);
            border: 1px solid rgba(255, 255, 255, 0.10);
            backdrop-filter: blur(14px);
            transition: .35s;
        }

        .project-card:hover {
            transform: translateY(-8px);
            border-color: rgba(0, 217, 255, 0.55);
            box-shadow: 0 0 30px rgba(0, 217, 255, 0.16);
        }

        .project-image {
            height: 220px;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            background:
                radial-gradient(circle at 30% 25%, rgba(0, 217, 255, .35), transparent 30%),
                linear-gradient(135deg, #07131a, #0a0a0a 55%, #001f2b);
        }

        .project-image-link {
            position: absolute;
            inset: 0;
            display: block;
            z-index: 1;
            cursor: pointer;
        }

        .project-image-link img {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;
            transition: transform .45s ease, filter .45s ease;
        }

        .project-card:hover .project-image-link img {
            transform: scale(1.04);
            filter: brightness(1.08);
        }

        .project-image::before {
            content: "";
            position: absolute;
            inset: 18px;
            border: 1px solid rgba(0, 217, 255, .35);
            border-radius: 14px;
            box-shadow: inset 0 0 30px rgba(0, 217, 255, .08);
        }

        .prototype-window {
            width: 70%;
            height: 62%;
            border-radius: 12px;
            border: 1px solid rgba(0, 217, 255, .55);
            background: rgba(3, 10, 14, .88);
            box-shadow: 0 0 25px rgba(0, 217, 255, .18);
            position: relative;
            padding: 38px 18px 18px;
        }

        .prototype-window::before {
            content: "●  ●  ●";
            position: absolute;
            top: 10px;
            left: 14px;
            color: #00d9ff;
            font-size: 10px;
            letter-spacing: 3px;
        }

        .prototype-lines {
            display: grid;
            gap: 10px;
        }

        .prototype-lines span {
            height: 8px;
            border-radius: 8px;
            background: linear-gradient(90deg, #00d9ff, rgba(0, 217, 255, .08));
        }

        .prototype-lines span:nth-child(2) { width: 75%; }
        .prototype-lines span:nth-child(3) { width: 55%; }
        .prototype-lines span:nth-child(4) { width: 88%; }

        .project-number {
            position: absolute;
            right: 20px;
            bottom: 14px;
            color: rgba(255,255,255,.45);
            font-size: 12px;
            letter-spacing: 2px;
            z-index: 3;
            pointer-events: none;
        }

        .project-content {
            padding: 24px;
        }

        .project-content h3 {
            font-size: 1.35rem;
            margin-bottom: 8px;
        }

        .project-content p {
            color: #bdbdbd;
            line-height: 1.6;
            font-size: .95rem;
            margin-bottom: 18px;
        }

        .project-link {
            color: #00d9ff;
            text-decoration: none;
            font-weight: 600;
        }

        .project-link:hover {
            text-shadow: 0 0 12px #00d9ff;
        }

        /* Contact */
        #contact {
            width: 100%;
            max-width: 850px;
            margin: 10px auto 80px;
            padding: 45px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(0, 217, 255, 0.16);
            border-radius: 25px;
            backdrop-filter: blur(14px);
        }

        .contact-form {
            display: grid;
            gap: 16px;
        }

        .contact-form input,
        .contact-form textarea {
            width: 100%;
            padding: 15px 17px;
            border: 1px solid rgba(255,255,255,.14);
            border-radius: 12px;
            outline: none;
            background: rgba(0,0,0,.35);
            color: white;
            font-family: inherit;
            transition: .3s;
        }

        .contact-form textarea {
            min-height: 140px;
            resize: vertical;
        }

        .contact-form input:focus,
        .contact-form textarea:focus {
            border-color: #00d9ff;
            box-shadow: 0 0 15px rgba(0, 217, 255, .14);
        }

        .contact-form input::placeholder,
        .contact-form textarea::placeholder {
            color: #888;
        }

        .send-btn {
            justify-self: start;
            padding: 13px 30px;
            border: none;
            border-radius: 30px;
            background: #00d9ff;
            color: #001014;
            font-weight: 700;
            cursor: pointer;
            transition: .3s;
        }

        .send-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 0 22px rgba(0, 217, 255, .45);
        }

        #form-status {
            color: #00d9ff;
            min-height: 20px;
            font-size: .9rem;
        }

        @media(max-width:900px) {

            .main {
                flex-direction: column;
                text-align: center;
                padding: 40px 5%;
                gap: 30px;
            }

            .written {
                order: 2;
            }

            .img {
                order: 1;
                width: 280px;
                height: 350px;
                margin: 0 auto;
            }

            .buttons {
                justify-content: center;
            }

            .menu-toggle {
                display: block;
            }

            .nav {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%;
                right: 8%;
                width: 200px;
                background: rgba(15, 15, 15, 0.95);
                border: 1px solid rgba(0, 217, 255, 0.3);
                border-radius: 15px;
                padding: 20px;
                gap: 15px;
                text-align: center;
                box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
            }

            .nav.active {
                display: flex;
            }

            .name {
                font-size: 2.8rem;
            }

            .words {
                justify-content: center;
            }

            .logo-image {
                width: 125px;
            }

            #about,
            #contact {
                padding: 28px 20px;
            }

            .projects-grid {
                grid-template-columns: 1fr;
            }

            #projects {
                padding: 60px 5%;
            }

            .skill {
                min-width: 105px;
            }

        }
