   @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle at top, #111827, #020617);
    color: #e2e8f0;
    display: flex;
}

/* VARIABLES */
:root {
    --primary: #7c3aed;
    --secondary: #22d3ee;
}

/* SIDEBAR */
.sidebar {
    width: 220px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    position: fixed;
    padding: 30px;
}

.sidebar h2 {
    color: var(--secondary);
    margin-bottom: 30px;
}

.sidebar a {
    display: block;
    margin: 15px 0;
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.sidebar a:hover,
.sidebar a.active {
    color: var(--secondary);
    transform: translateX(5px);
}

/* MAIN */
.main {
    margin-left: 240px;
    width: 100%;
}

/* GLASS SECTION */
.section,
.hero {
    margin: 40px;
    padding: 60px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    position: relative;
}

/* GLOW BORDER */
.section::before,
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 25px;
    padding: 1.5px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
   
}

/* HERO */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero h1 {
    font-size: 50px;
}

.hero span {
    color: var(--secondary);
}

.hero p {
    margin-top: 10px;
}

/* BUTTON */
.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    border-radius: 30px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
}

/* IMAGE */
.image{
    width: 250px;
    height: 250px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
  
}

.image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}


/* SKILLS */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.skill-card {
    padding: 20px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    transition: 0.3s;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 20px var(--secondary);
}

/* PROJECTS */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 20px;
}

.project-card {
    padding: 20px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 20px var(--secondary);
}

/* CONTACT */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-card,
.info-box {
    padding: 20px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
}

.info-box:hover {
    box-shadow: 0 0 15px var(--secondary);
}

/* SOCIAL */
.social-icons a {
    margin-right: 10px;
    font-size: 20px;
    color: white;
}

.social-icons a:hover {
    color: var(--secondary);
}

/* SCROLL ANIMATION */
.section {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.6s;
}

.section.show {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media(max-width:768px){
    .sidebar { display:none; }
    .main { margin-left:0; }

    .hero {
        flex-direction: column;
        text-align: center;
    }

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


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

        /* NEW ROOT COLORS */
        :root {
            --bg: #0a0a0f;
            --card: rgba(255, 255, 255, 0.05);
            --primary: #7c3aed;
            --secondary: #22d3ee;
            --text: #e2e8f0;
        }

        body {

            background: radial-gradient(circle at top, #111827, #020617);
            color: var(--text);
            display: flex;
        }

        /* SIDEBAR */
        .sidebar {
            width: 220px;
            height: 100vh;
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(10px);
            position: fixed;
            padding: 30px;
        }

        .sidebar h2 {
            color: var(--secondary);
            margin-bottom: 30px;
        }

        .sidebar a {
            display: block;
            margin: 15px 0;
            text-decoration: none;
            color: var(--text);
            transition: 0.3s;
        }

        .sidebar a:hover {
            color: var(--secondary);
            transform: translateX(5px);
        }

        /* MAIN CONTENT */
        .main {
            margin-left: 240px;
            width: 100%;
        }

        /* HERO */
        .hero {
            height: 65vh;
            display: flex;
            align-items: center;
            padding: 0 10%;

        }

        .hero h1 {
            font-size: 60px;
        }

        .hero a {

            margin-top: 15px;
            display: flex;
            gap: 10px;
            justify-content: center;
            padding: 12px 0;
        }

        .hero span {
            color: var(--secondary);
        }

        .hero p {
            margin-top: 10px;
            font-size: 18px;
        }

        .btn {
            margin-top: 20px;
            padding: 12px 25px;
            border-radius: 30px;
            border: none;
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            color: white;
            cursor: pointer;
            box-shadow: 0 0 15px var(--secondary);
        }

        /* HERO LAYOUT */
        .hero {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10%;

            gap: 40px;

        }

        /* LEFT */
        .hero-left {
            flex: 1;
        }

        /* RIGHT */
        .hero-right {
            flex: 1;
            display: flex;
            justify-content: center;
        }

        /* IMAGE WRAPPER */
        .image-wrapper {
            position: relative;
            width: 280px;
            height: 280px;
            border-radius: 50%;
            padding: 5px;
            background: linear-gradient(45deg, #7c3aed, #22d3ee);
            animation: rotate 6s linear infinite;
        }

        /* IMAGE */
        .image-wrapper img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
            border: 5px solid #0a0a0f;
        }

        /* ROTATING BORDER */
        @keyframes rotate {
            100% {
                transform: rotate(360deg);
            }
        }

        /* RESPONSIVE */
        @media(max-width: 768px) {
            .hero {
                flex-direction: column;
                text-align: center;
            }
        }

        /* SECTIONS */
        .section {
            padding: 100px 10%;
        }

        /* GLASS CARD */
        .card {
            background: var(--card);
            backdrop-filter: blur(10px);
            padding: 25px;
            border-radius: 20px;
            transition: 0.3s;
        }

        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 0 25px var(--secondary);
        }

        /* SKILLS */
        .skills {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }

        .skill {
            padding: 10px 20px;
            border-radius: 20px;
            background: linear-gradient(45deg, var(--primary), var(--secondary));
        }

        /* PROJECTS */
        .projects {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }

        /* CONTACT */
        input,
        textarea {
            width: 100%;
            padding: 12px;
            margin: 10px 0;
            border-radius: 10px;
            border: none;
        }

        button {
            width: 100%;
        }

        /* SCROLL EFFECT */
        .section {
            opacity: 0;
            transform: translateY(40px);
            transition: 0.6s;
        }

        .section.show {
            opacity: 1;
            transform: translateY(0);
        }

        /* RESPONSIVE */
        @media(max-width: 768px) {
            .sidebar {
                display: none;
            }

            .main {
                margin-left: 0;
            }
        }

        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }

        .skill-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 20px;
            padding: 25px;
            text-align: left;
            backdrop-filter: blur(10px);
            transition: 0.4s;
            position: relative;
            overflow: hidden;
        }

        /* Glow effect */
        .skill-card::before {
            content: "";
            position: absolute;
            width: 150%;
            height: 150%;
            background: linear-gradient(45deg, #7c3aed, #22d3ee);
            top: -50%;
            left: -50%;
            opacity: 0;
            transition: 0.4s;
        }

        .skill-card:hover::before {
            opacity: 0.15;
        }

        .skill-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 0 25px #22d3ee;
        }

        .skill-card h3 {
            margin-bottom: 10px;
            color: #22d3ee;
        }

        .skill-card p {
            font-size: 14px;
            opacity: 0.8;
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
            margin-top: 40px;
        }

        .project-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 20px;
            overflow: hidden;
            backdrop-filter: blur(10px);
            transition: 0.4s;
        }

        .project-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 0 25px #22d3ee;
        }

        /* IMAGE */
        .project-card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        /* CONTENT */
        .project-content {
            padding: 20px;
        }

        .project-content h3 {
            color: #22d3ee;
            margin-bottom: 10px;
        }

        .project-content p {
            font-size: 14px;
            margin-bottom: 10px;
            opacity: 0.8;
        }

        .tech {
            font-size: 12px;
            color: #7c3aed;
        }

        /* BUTTONS */
        .buttons {
            margin-top: 15px;
            display: flex;
            gap: 10px;
        }

        .btn {
            padding: 8px 15px;
            border-radius: 20px;
            background: linear-gradient(45deg, #7c3aed, #22d3ee);
            color: white;
            text-decoration: none;
            font-size: 13px;
        }

        .btn.outline {
            background: transparent;
            border: 1px solid #22d3ee;
        }

        .contact-container {
            display: flex;
            gap: 40px;
            margin-top: 40px;
            flex-wrap: wrap;
        }

        /* GRID LAYOUT */
        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-top: 40px;
        }

        /* MAIN CARD */
        .contact-card {
            background: rgba(255, 255, 255, 0.05);
            padding: 30px;
            border-radius: 20px;
            backdrop-filter: blur(10px);
        }

        .contact-card h3 {
            color: #22d3ee;
        }

        .contact-card a {
            color: #fff;
            text-decoration: none;
        }

        .contact-card a i {
            margin-right: 10px;

        }

        .subtitle {
            font-size: 14px;
            opacity: 0.7;
            margin: 10px 0 20px;
        }

        /* STATUS */
        .status {
            margin-top: 15px;
            font-size: 14px;
            color: #22d3ee;
        }

        .dot {
            height: 10px;
            width: 10px;
            background: #22d3ee;
            border-radius: 50%;
            display: inline-block;
            margin-right: 8px;
        }

        /* SOCIAL */
        .social-icons {
            margin-top: 20px;
        }

        .social-icons a {
            margin-right: 12px;
            font-size: 20px;
            color: white;
            transition: 0.3s;
        }

        .social-icons a:hover {
            color: #22d3ee;
        }

        /* RIGHT SIDE BOXES */
        .contact-extra {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .info-box {
            background: rgba(255, 255, 255, 0.05);
            padding: 20px;
            border-radius: 15px;
            transition: 0.3s;
        }

        .info-box:hover {
            transform: translateY(-5px);
            box-shadow: 0 0 15px #22d3ee;
        }

        .info-box h4 {
            color: #22d3ee;
            margin-bottom: 5px;
        }

        /* RESPONSIVE */
        @media(max-width: 768px) {
            .contact-grid {
                grid-template-columns: 1fr;
            }
        }

        /* GLASS EFFECT FOR ALL SECTIONS */
        .section {
            margin: 40px 5%;
            padding: 60px 40px;
            border-radius: 25px;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(15px);
            position: relative;
            overflow: hidden;
        }

        .hero {
            margin: 40px 5%;
            padding: 60px 40px;
            border-radius: 25px;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(15px);
            position: relative;
            overflow: hidden;
           height: auto;
        }

        /* GLOW BORDER EFFECT */
        .section::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: 25px;
            padding: 1.5px;
            background: linear-gradient(45deg, #7c3aed, #22d3ee);
            -webkit-mask:
                linear-gradient(#000 0 0) content-box,
                linear-gradient(#000 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
        }

        .hero::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: 25px;
            padding: 1.5px;
            background: linear-gradient(45deg, #7c3aed, #22d3ee);
            -webkit-mask:
                linear-gradient(#000 0 0) content-box,
                linear-gradient(#000 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
        }

        /* HOVER GLOW */
        .section:hover {
            box-shadow: 0 0 30px rgba(34, 211, 238, 0.4);
        }

        .card,
        .skill-card,
        .project-card,
        .contact-card,
        .info-box {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 20px;
            padding: 20px;
            position: relative;
            backdrop-filter: blur(10px);
            overflow: hidden;
            transition: 0.4s;
        }

        /* BORDER GLOW */
        .card::before,
        .skill-card::before,
        .project-card::before,
        .contact-card::before,
        .info-box::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: 20px;
            padding: 1px;
            background: linear-gradient(45deg, #7c3aed, #22d3ee);
            -webkit-mask:
                linear-gradient(#000 0 0) content-box,
                linear-gradient(#000 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
        }

        /* HOVER EFFECT */
        .card:hover,
        .skill-card:hover,
        .project-card:hover,
        .contact-card:hover,
        .info-box:hover {
            transform: translateY(-8px);
            box-shadow: 0 0 25px #22d3ee;
        }

        /* SIDEBAR LINKS */
        .sidebar a {
            display: block;
            margin: 15px 0;
            text-decoration: none;
            color: #ccc;
            position: relative;
            transition: 0.3s;
        }

        /* HOVER */
        .sidebar a:hover {
            color: #22d3ee;
            transform: translateX(5px);
        }

        /* ACTIVE LINK */
        .sidebar a.active {
            color: #22d3ee;
            font-weight: bold;
        }

        /* LEFT INDICATOR LINE */
        .sidebar a.active::before {
            content: "";
            position: absolute;
            left: -10px;
            top: 0;
            height: 100%;
            width: 4px;
            background: linear-gradient(45deg, #7c3aed, #22d3ee);
            border-radius: 5px;
        }
