/* RESET */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #0f172a;
    color: #e2e8f0;
    padding-top: 60px;
}

/* BACKGROUND GLOW */
body::before {
    content: "";
    position: fixed;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56,189,248,0.15), transparent);
    top: -100px;
    right: -100px;
    z-index: -1;
}

/* NAV */
nav {
    position: sticky;
    top: 0;
    text-align: center;
    padding: 15px;
    background: rgba(2,6,23,0.82);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

nav a {
    color: #cbd5f5;
    margin: 0 20px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.25s;
}

nav a:hover {
    color: #38bdf8;
}

/* HERO */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;

    padding: 55px 60px;

    background:
        linear-gradient(
            135deg,
            #020617,
            #1e293b
        );
}

/* LEFT CONTENT */
.hero-left {
    max-width: 620px;

    display: flex;
    flex-direction: column;

    gap: 16px;
}

.hero-left h1 {
    font-size: 2.8rem;
    margin: 0;
    line-height: 1.15;
}

.hero h1 span {
    background:
        linear-gradient(
            90deg,
            #38bdf8,
            #6366f1
        );

    -webkit-background-clip: text;
    color: transparent;
}

/* HERO TEXT */
.hero-description {
    font-size: 1.08rem;
    line-height: 1.75;
    color: #e2e8f0;
    margin: 0;
}

.hero-subtext {
    font-size: 1rem;
    line-height: 1.65;
    color: #94a3b8;
    margin-top: -2px;
}

/* CERT BLOCK */
.cert-block {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cert-block p {
    margin: 0;
    font-weight: 500;
}

.badge {
    width: 115px;
    transition: 0.3s;

    filter:
        drop-shadow(
            0 0 10px rgba(56,189,248,0.3)
        );
}

.badge:hover {
    transform: scale(1.05);
}

.verified {
    color: #38bdf8;
    margin-left: 5px;
}

/* PROFILE IMAGE */
.profile-img {
    width: 220px;
    height: 220px;

    border-radius: 50%;

    object-fit: cover;
    object-position: center 20%;

    border: 4px solid #38bdf8;

    box-shadow:
        0 10px 30px rgba(56,189,248,0.3);

    animation:
        float 4s ease-in-out infinite;
}

.profile-img:hover {
    transform: scale(1.05);
}

/* FLOAT ANIMATION */
@keyframes float {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0);
    }
}

/* PRIMARY BUTTON */
.btn.primary {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 220px;

    padding: 13px 22px;

    border-radius: 10px;

    font-weight: 600;
    text-decoration: none;

    background:
        linear-gradient(
            135deg,
            #38bdf8,
            #6366f1
        );

    color: white;

    box-shadow:
        0 5px 15px rgba(56,189,248,0.3);

    transition: 0.3s;
}

.btn.primary:hover {

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(56,189,248,0.4);
}

/* SOCIAL LINKS */
.social-links {

    display: flex;
    align-items: center;

    gap: 14px;

    margin-top: 4px;
}

.social-links a {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    min-width: 140px;

    padding: 12px 18px;

    border-radius: 10px;

    text-decoration: none;

    color: #f8fafc;

    font-weight: 600;

    background:
        rgba(255,255,255,0.08);

    border:
        1px solid rgba(255,255,255,0.12);

    transition: all 0.25s ease;
}

.social-links a:hover {

    transform: translateY(-2px);

    background:
        rgba(56,189,248,0.18);

    border-color:
        rgba(56,189,248,0.35);

    color: #ffffff;

    box-shadow:
        0 8px 20px rgba(56,189,248,0.18);
}

.social-links i {
    color: #38bdf8;
}

.social-links a:hover i {
    color: #7dd3fc;
}

/* COUNTER */
.counter {
    font-size: 0.98rem;
    color: #94a3b8;
}

/* SECTIONS */
section {

    max-width: 1000px;

    margin: 40px auto;

    padding: 30px;

    background: #1e293b;

    border-radius: 16px;

    transition: 0.5s;

    box-shadow:
        0 8px 25px rgba(0,0,0,0.35);
}

section h2 {
    margin-top: 0;
}

/* CARDS */
.cards {
    display: flex;
    gap: 20px;
}

.card {

    flex: 1;

    position: relative;

    overflow: hidden;

    background: #020617;

    padding: 22px;

    border-radius: 14px;

    border:
        1px solid rgba(255,255,255,0.05);

    transition: 0.3s;
}

.card:hover {

    transform:
        translateY(-6px)
        scale(1.01);

    box-shadow:
        0 20px 50px rgba(56,189,248,0.15);
}

/* PREMIUM CARD EFFECT */
.card::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            120deg,
            transparent,
            rgba(56,189,248,0.2),
            transparent
        );

    opacity: 0;

    transition: 0.5s;

    pointer-events: none;
}

.card:hover::before {
    opacity: 1;
}

/* CARD ICON */
.card i {
    font-size: 28px;
    margin-bottom: 10px;
    color: #38bdf8;
}

/* CARD HIGHLIGHT */
.card-highlight {
    margin-top: 10px;
    color: #38bdf8;
    font-size: 0.95rem;
}

/* PROJECT LINK */
.project-link {

    display: inline-block;

    margin-top: 16px;

    color: #7dd3fc;

    font-weight: 600;

    text-decoration: none;
}

.project-link:hover {
    color: #bae6fd;
}

/* SKILLS */
.skills {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(120px, 1fr));

    gap: 12px;
}

.skills div {

    background: #020617;

    padding: 14px;

    border-radius: 10px;

    text-align: center;

    transition: 0.3s;
}

.skills div:hover {

    transform: translateY(-3px);

    background: #0f172a;
}

.skills div i {

    display: block;

    margin-bottom: 6px;

    color: #38bdf8;
}

/* TIMELINE */
.timeline {
    border-left: 2px solid #38bdf8;
    padding-left: 20px;
}

.timeline-item {
    margin-bottom: 28px;
}

.timeline-title {

    display: flex;
    align-items: center;

    gap: 8px;
}

.icon {
    color: #38bdf8;
    font-size: 14px;
}

.timeline-sub {

    font-size: 0.92rem;

    color: #94a3b8;

    margin: 4px 0;
}

.timeline-item p {
    margin: 6px 0 0;
    line-height: 1.65;
}

/* FORM */
form {
    width: 100%;
}

form input,
form textarea {

    width: 100%;

    box-sizing: border-box;

    margin-bottom: 14px;

    padding: 14px;

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 10px;

    background: #020617;

    color: #e2e8f0;

    font-size: 0.95rem;
}

form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-btn {

    width: 100%;

    padding: 14px;

    background:
        linear-gradient(
            135deg,
            #38bdf8,
            #6366f1
        );

    color: white;

    border: none;

    border-radius: 10px;

    font-weight: 600;

    font-size: 0.98rem;

    cursor: pointer;

    transition: all 0.25s ease;
}

.contact-btn:hover {

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(56,189,248,0.35);
}

/* MOBILE */
@media (max-width: 768px) {

    body {
        padding-top: 50px;
    }

    nav {

        display: flex;

        justify-content: center;

        flex-wrap: wrap;

        gap: 14px;

        padding: 12px 10px;
    }

    nav a {
        margin: 0;
        font-size: 0.95rem;
    }

    /* HERO */
    .hero {

        flex-direction: column;

        text-align: center;

        padding: 35px 20px 50px;
    }

    .hero-left {

        align-items: center;

        gap: 14px;
    }

    .hero h1 {

        font-size: 2.3rem;

        line-height: 1.15;
    }

    .hero-description,
    .hero-subtext {

        font-size: 1.02rem;

        line-height: 1.55;
    }

    .cert-block {

        flex-direction: column;

        gap: 14px;
    }

    .badge {
        width: 125px;
    }

    .btn.primary {

        width: 220px;

        margin: 0 auto;
    }

    /* SOCIAL */
    .social-links {

        justify-content: center;

        width: 100%;

        gap: 14px;
    }

    .social-links a {

        width: 145px;

        padding: 11px 0;

        font-size: 0.95rem;
    }

    /* COUNTER */
    .counter {
        margin-top: 4px;
    }

    /* IMAGE */
    .hero-right {
        margin-top: 10px;
    }

    .profile-img {

        width: 210px;
        height: 210px;
    }

    /* SECTIONS */
    section {

        margin: 25px 15px;

        padding: 24px;
    }

    section h2 {

        font-size: 1.6rem;

        text-align: center;
    }

    /* PROJECTS */
    .cards {

        flex-direction: column;

        gap: 18px;
    }

    /* SKILLS */
    .skills {

        grid-template-columns: repeat(2, 1fr);
    }

    /* TIMELINE */
    .timeline {
        padding-left: 16px;
    }

    .timeline-title {
        font-size: 1rem;
    }

    /* FORM */
    form input,
    form textarea {
        font-size: 1rem;
    }

    .contact-btn {
        padding: 14px;
    }
}