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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0b0d10;
    color: #e5e7eb;
    line-height: 1.6;
}

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

/* =========================
     NAVBAR
  ========================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 18px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(11, 13, 16, 0.8);
    backdrop-filter: blur(14px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: #00e5ff;
}

.navbar nav a {
    margin-left: 28px;
    font-size: 15px;
    transition: 0.3s;
}

.navbar nav a:hover {
    color: #00e5ff;
}

/* =========================
     HERO
  ========================= */
.hero {
    min-height: 100vh;
    padding: 140px 60px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.hero-left {
    max-width: 600px;
}

.hero-left h1 {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
}

.hero-left h2 {
    margin-top: 10px;
    font-size: 20px;
    font-weight: 400;
    color: #00e5ff;
}

.hero-left p {
    margin-top: 25px;
    font-size: 17px;
    color: #cbd5e1;
}

.btn {
    display: inline-block;
    margin-top: 35px;
    padding: 14px 36px;
    border-radius: 40px;
    font-weight: 600;
    background: linear-gradient(135deg, #00e5ff, #38bdf8);
    color: #020617;
    transition: 0.35s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 229, 255, 0.4);
}

/* HERO IMAGE */
.hero-right img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #00e5ff;
    box-shadow: 0 0 60px rgba(0, 229, 255, 0.45);
}

/* =========================
     SECTION GLOBAL
  ========================= */
section {
    padding: 120px 60px;
}

section h2 {
    font-size: 34px;
    margin-bottom: 25px;
    color: #ffffff;
    text-align: center;
}

/* =========================
     ABOUT
  ========================= */
.about {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 18px;
    font-size: 17px;
    color: #cbd5e1;
}

/* =========================
     SKILLS (AUTO + DRAG)
  ========================= */
.skills {
    overflow: hidden;
    text-align: center;
}

.skills-marquee {
    margin-top: 50px;
    overflow: hidden;
    cursor: grab;
}

.skills-marquee:active {
    cursor: grabbing;
}

.skills-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.skills-track span {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    padding: 16px 32px;
    border-radius: 40px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(0, 229, 255, 0.35);
    user-select: none;
}

.skills-track span:hover {
    background: rgba(0, 229, 255, 0.15);
}

.skills-track i {
    color: #00e5ff;
    font-size: 18px;
}

.skills-marquee:hover .skills-track {
    animation-play-state: paused;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* =========================
     PROJECTS
  ========================= */
.projects {
    text-align: center;
}

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

.project-card {
    padding: 35px;
    border-radius: 22px;
    background: linear-gradient(145deg, #0f172a, #020617);
    border: 1px solid rgba(0, 229, 255, 0.25);
    transition: 0.4s;
}

.project-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #ffffff;
}

.project-card p {
    font-size: 15px;
    color: #cbd5e1;
}

.project-card:hover {
    transform: translateY(-12px);
    border-color: #00e5ff;
    box-shadow: 0 15px 45px rgba(0, 229, 255, 0.25);
}

/* =========================
     CONTACT
  ========================= */
.contact {
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

.contact-desc {
    margin-top: 10px;
    font-size: 17px;
    color: #cbd5e1;
}

.contact-wrapper {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 25px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 229, 255, 0.25);
}

.input-group {
    position: relative;
    margin-bottom: 30px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 16px 14px;
    background: rgba(11, 13, 16, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    outline: none;
    color: #ffffff;
    font-size: 15px;
}

.input-group label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #94a3b8;
    pointer-events: none;
    transition: 0.3s;
    padding: 0 6px;
    background: rgba(11, 13, 16, 0.85);
}

.input-group textarea+label {
    top: 18px;
    transform: none;
}

.form-status {
    margin-top: 15px;
    font-size: 14px;
    min-height: 18px;
}

.input-group input:focus+label,
.input-group input:valid+label,
.input-group textarea:focus+label,
.input-group textarea:valid+label {
    top: -8px;
    font-size: 12px;
    color: #00e5ff;
}

.submit-btn {
    width: 100%;
    cursor: pointer;
}

/* CONTACT INFO */
.contact-info {
    text-align: left;
}

.contact-info h3 {
    margin-bottom: 20px;
    color: #ffffff;
}

.contact-info p {
    margin-bottom: 14px;
    font-size: 16px;
    color: #cbd5e1;
}

.contact-info i {
    margin-right: 10px;
    color: #00e5ff;
}

/* =========================
     FOOTER
  ========================= */
footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #94a3b8;
}

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

    .hero-right img {
        width: 220px;
        height: 220px;
    }

    .navbar {
        padding: 18px 30px;
    }

    section {
        padding: 100px 30px;
    }

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

    .contact-info {
        text-align: center;
    }
}

/* =========================
   ABOUT SECTION MODERN
========================= */
.about-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1100px;
    margin: auto;
}

.about-left {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.avatar-wrapper {
    position: relative;
    width: 250px;
    height: 250px;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #00e5ff;
    box-shadow: 0 0 60px rgba(0, 229, 255, 0.45);
    transition: transform 0.4s;
}

.avatar-wrapper:hover .avatar {
    transform: scale(1.05);
}

.avatar-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 60px 15px rgba(0, 229, 255, 0.25);
    filter: blur(12px);
    pointer-events: none;
}

.about-right {
    flex: 2;
}

.about-right p {
    font-size: 17px;
    line-height: 1.8;
    color: #cbd5e1;
    margin-bottom: 25px;
}

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

.about-skills span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(0, 229, 255, 0.35);
    transition: 0.3s;
    cursor: default;
}

.about-skills span:hover {
    transform: translateY(-4px);
    background: rgba(0, 229, 255, 0.15);
}

.about-skills i {
    color: #00e5ff;
}

/* =========================
     RESPONSIVE
  ========================= */
@media (max-width: 900px) {
    .about-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .about-right p {
        margin-bottom: 20px;
    }

    .about-skills {
        justify-content: center;
    }
}