@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');


:root {

    --background: #050b15;
    --background-two: #081321;

    --card: rgba(13, 28, 48, 0.70);

    --cyan: #35cfff;
    --cyan-dark: #148ab5;

    --white: #edf8ff;
    --text: #b6c8d6;
    --muted: #8299aa;

    --border: rgba(53, 207, 255, 0.20);

}


* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family: 'Inter', sans-serif;

    background:

        radial-gradient(
            circle at 75% 10%,
            rgba(0, 177, 255, 0.13),
            transparent 28%
        ),

        var(--background);

    color: var(--white);

    line-height: 1.6;

    overflow-x: hidden;

}


/* GRID BACKGROUND */

body::before {

    content: "";

    position: fixed;

    inset: 0;

    pointer-events: none;

    z-index: -1;

    background-image:

        linear-gradient(
            rgba(255,255,255,0.018) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,0.018) 1px,
            transparent 1px
        );

    background-size: 48px 48px;

}


/* LINKS */

a {

    text-decoration: none;

    color: inherit;

}


/* ================= NAVBAR ================= */

.navbar {

    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    height: 76px;

    z-index: 1000;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 7%;

    background: rgba(5, 11, 21, 0.80);

    backdrop-filter: blur(16px);

    border-bottom: 1px solid rgba(255,255,255,0.05);

}


.logo {

    font-size: 1.5rem;

    font-weight: 800;

}


.logo span {

    color: var(--cyan);

}


.navbar nav {

    display: flex;

    align-items: center;

    gap: 23px;

}


.navbar nav a {

    color: #c1d1de;

    font-size: 0.86rem;

    transition: 0.25s;

}


.navbar nav a:hover {

    color: var(--cyan);

}


.hire-btn {

    padding: 9px 17px;

    border: 1px solid rgba(53,207,255,0.5);

    border-radius: 8px;

    color: var(--cyan) !important;

}


.menu-btn {

    display: none;

    border: none;

    background: none;

    color: white;

    font-size: 1.7rem;

}


/* ================= SECTIONS ================= */

.section {

    max-width: 1120px;

    margin: auto;

    padding: 110px 7% 50px;

    scroll-margin-top: 50px;

}


.section-heading {

    text-align: center;

    margin-bottom: 40px;

}


.section-heading p {

    color: var(--cyan);

    font-size: 0.74rem;

    font-weight: 700;

    letter-spacing: 0.18em;

}


.section-heading h2 {

    font-size: 2.5rem;

    margin-top: 3px;

}


/* ================= HERO ================= */

.hero {

    max-width: 1200px;

    min-height: 760px;

    margin: auto;

    padding: 130px 7% 70px;

    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    align-items: center;

    gap: 50px;

}


.small-title {

    color: var(--cyan);

    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing: 0.18em;

}


.hero h1 {

    font-size: clamp(2.5rem, 6vw, 5rem);

    line-height: 1.05;

    margin: 15px 0;

}


.hero h1 span {

    display: block;

    color: var(--cyan);

    text-shadow: 0 0 30px rgba(53,207,255,0.25);

}


.hero h2 {

    color: #b9cad7;

    font-size: 1.2rem;

    font-weight: 500;

    margin-bottom: 18px;

}


.hero-description {

    max-width: 620px;

    color: var(--muted);

}


.hero-buttons {

    display: flex;

    gap: 14px;

    margin-top: 30px;

}


.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 12px 22px;

    border-radius: 9px;

    font-weight: 700;

    border: 1px solid var(--border);

    cursor: pointer;

    font: inherit;

}


.primary-btn {

    background: var(--cyan);

    color: #03111a;

    box-shadow: 0 0 30px rgba(53,207,255,0.16);

}


.secondary-btn {

    background: rgba(255,255,255,0.025);

    color: white;

}


.hero-image {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

}


.image-border {

    width: min(390px, 80vw);

    aspect-ratio: 1;

    padding: 8px;

    border-radius: 50%;

    background:

        linear-gradient(
            135deg,
            var(--cyan),
            transparent 55%,
            #126789
        );

    box-shadow:

        0 0 80px rgba(53,207,255,0.13);

}


.image-border img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    border-radius: 50%;

    border: 5px solid #071321;

}


.image-glow {

    position: absolute;

    width: 55%;

    height: 25%;

    bottom: 0;

    background: rgba(53,207,255,0.15);

    filter: blur(50px);

    z-index: -1;

}


/* ================= GLASS ================= */

.glass {

    background:

        linear-gradient(
            145deg,
            rgba(19,37,61,0.72),
            rgba(7,17,30,0.72)
        );

    border: 1px solid var(--border);

    border-radius: 18px;

    box-shadow: 0 18px 60px rgba(0,0,0,0.20);

    backdrop-filter: blur(12px);

}


/* ================= ABOUT ================= */

.about-box {

    max-width: 850px;

    margin: auto;

    padding: 36px;

    text-align: center;

    color: #adbfcc;

}


/* ================= JOURNEY ================= */

.timeline {

    max-width: 780px;

    margin: auto;

}


.timeline-card {

    position: relative;

    padding: 28px 30px 28px 42px;

    border-left: 2px solid rgba(53,207,255,0.45);

    margin-left: 18px;

}


.timeline-dot {

    position: absolute;

    left: -8px;

    top: 34px;

    width: 14px;

    height: 14px;

    border-radius: 50%;

    background: var(--cyan);

    box-shadow: 0 0 18px rgba(53,207,255,0.7);

}


.timeline-date {

    color: var(--cyan);

    font-size: 0.8rem;

}


.timeline-card h3 {

    margin: 4px 0;

}


.timeline-card h4 {

    color: #c4d5e1;

    font-weight: 500;

}


.timeline-card > p:last-child {

    color: var(--muted);

    font-size: 0.9rem;

    margin-top: 7px;

}


/* ================= SKILLS ================= */

.skills-container {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;

}


.skill {

    padding: 21px;

}


.skill-top {

    display: flex;

    justify-content: space-between;

    margin-bottom: 13px;

}


.skill-top span:last-child {

    color: var(--cyan);

}


.progress {

    width: 100%;

    height: 6px;

    background: #16283b;

    border-radius: 20px;

    overflow: hidden;

}


.progress-bar {

    height: 100%;

    border-radius: 20px;

    background:

        linear-gradient(
            90deg,
            #148ab5,
            var(--cyan)
        );

}


.progress-bar.java {

    width: 38%;

}


.progress-bar.html {

    width: 80%;

}


.progress-bar.css {

    width: 40%;

}


.progress-bar.javascript {

    width: 60%;

}


.progress-bar.cyber {

    width: 38%;

}


/* ================= PROJECT ================= */

.project-card {

    max-width: 850px;

    margin: auto;

    padding: 30px;

    display: flex;

    gap: 22px;

}


.project-number {

    width: 54px;

    height: 54px;

    flex-shrink: 0;

    display: grid;

    place-items: center;

    border: 1px solid var(--border);

    border-radius: 12px;

    color: var(--cyan);

    font-weight: 800;

}


.project-label {

    color: var(--cyan) !important;

    font-size: 0.73rem;

    font-weight: 700;

    letter-spacing: 0.14em;

}


.project-info h3 {

    font-size: 1.5rem;

    margin: 4px 0;

}


.project-info > p:not(.project-label) {

    color: var(--muted);

    margin-bottom: 12px;

}


.project-link {

    color: var(--cyan);

    font-weight: 700;

}


/* ================= CERTIFICATE ================= */

.certificate-card {

    max-width: 850px;

    margin: auto;

    padding: 32px;

    display: flex;

    gap: 24px;

}


.certificate-icon {

    min-width: 55px;

    height: 55px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    border: 1px solid var(--border);

    color: var(--cyan);

    font-size: 1.4rem;

}


.certificate-card h3 {

    margin: 5px 0 8px;

}


.certificate-card p {

    color: var(--muted);

}


.certificate-date {

    display: block;

    margin-top: 10px;

    color: #c8d8e3;

    font-size: 0.9rem;

}


.certificate-card strong {

    display: block;

    margin-top: 5px;

    color: var(--cyan);

}


/* ================= CONTACT ================= */

.contact-container {

    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 18px;

}


.contact-info,
.contact-form {

    padding: 30px;

}


.contact-info h3 {

    font-size: 1.6rem;

    margin-bottom: 10px;

}


.contact-info > p {

    color: var(--muted);

}


.contact-detail {

    margin-top: 23px;

}


.contact-detail span {

    display: block;

    color: #c5d7e3;

    font-weight: 700;

    margin-bottom: 4px;

}


.contact-detail a {

    color: var(--cyan);

}


.contact-detail p {

    color: var(--muted);

}


.contact-form label {

    display: block;

    color: #b7c8d5;

    font-size: 0.88rem;

    margin-bottom: 18px;

}


.contact-form input,
.contact-form textarea {

    width: 100%;

    margin-top: 7px;

    padding: 13px 14px;

    background: rgba(0,0,0,0.20);

    color: white;

    border: 1px solid rgba(116,174,211,0.18);

    border-radius: 9px;

    outline: none;

    font: inherit;

}


.contact-form input:focus,
.contact-form textarea:focus {

    border-color: rgba(53,207,255,0.65);

}


/* ================= FOOTER ================= */

footer {

    max-width: 1120px;

    margin: 40px auto 0;

    padding: 28px 7%;

    border-top: 1px solid rgba(255,255,255,0.07);

    display: flex;

    justify-content: space-between;

    gap: 20px;

    color: #71889b;

    font-size: 0.8rem;

}


footer strong {

    display: block;

    color: #dceaf3;

}


footer span {

    display: block;

    margin-top: 3px;

}


/* ================= ANIMATION ================= */

.reveal {

    opacity: 0;

    transform: translateY(25px);

    transition:

        opacity 0.7s ease,

        transform 0.7s ease;

}


.reveal.show {

    opacity: 1;

    transform: translateY(0);

}


/* ================= MOBILE ================= */

@media (max-width: 850px) {

    .navbar {

        padding: 0 5%;

    }


    .menu-btn {

        display: block;

    }


    .navbar nav {

        display: none;

        position: absolute;

        top: 76px;

        left: 0;

        right: 0;

        padding: 20px 7%;

        background: #07111e;

        flex-direction: column;

        align-items: flex-start;

        border-bottom: 1px solid var(--border);

    }


    .navbar nav.active {

        display: flex;

    }


    .hero {

        grid-template-columns: 1fr;

        text-align: center;

        padding-top: 145px;

    }


    .hero-image {

        order: -1;

    }


    .hero-description {

        margin: auto;

    }


    .hero-buttons {

        justify-content: center;

    }


    .skills-container,
    .contact-container {

        grid-template-columns: 1fr;

    }


    .section {

        padding-left: 5%;

        padding-right: 5%;

    }


    footer {

        margin-left: 5%;

        margin-right: 5%;

        padding-left: 0;

        padding-right: 0;

        flex-direction: column;

    }

}


@media (max-width: 480px) {

    .hero h1 {

        font-size: 2.55rem;

    }


    .section-heading h2 {

        font-size: 2rem;

    }


    .hero-buttons {

        flex-direction: column;

    }


    .btn {

        width: 100%;

    }


    .project-card,
    .certificate-card {

        flex-direction: column;

    }

}