/* =====================================================
   GLOBAL
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --bg: #070b14;
    --bg-light: #0d1422;
    --card: #101827;
    --cyan: #00e5ff;
    --cyan-dark: #00a9c0;
    --white: #ffffff;
    --text: #c5cedb;
    --muted: #7f8b9d;
    --border: rgba(0, 229, 255, 0.15);
}

body {
    font-family: "Poppins", sans-serif;
    background: var(--bg);
    color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

section {
    scroll-margin-top: 80px;
}


/* =====================================================
   NAVBAR
===================================================== */

.header {
    width: 100%;
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 8%;

    position: fixed;
    top: 0;
    left: 0;

    z-index: 1000;

    background: rgba(7, 11, 20, 0.92);
    backdrop-filter: blur(15px);

    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo span {
    color: var(--cyan);
}

.navbar {
    display: flex;
    gap: 25px;
}

.navbar a {
    color: var(--text);
    font-size: 14px;
    font-weight: 500;

    transition: 0.3s;
}

.navbar a:hover,
.navbar a.active {
    color: var(--cyan);
}

.menu-icon {
    display: none;
    font-size: 25px;
    color: var(--cyan);
    cursor: pointer;
}


/* =====================================================
   HOME
===================================================== */

.home {
    min-height: 100vh;

    padding: 140px 8% 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 60px;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(0, 229, 255, 0.12),
            transparent 35%
        );
}

.home-content {
    max-width: 680px;
}

.small-title {
    color: var(--cyan);
    font-size: 14px;
    margin-bottom: 18px;
}

.small-title i {
    margin-right: 7px;
}

.home h1 {
    font-size: clamp(38px, 5vw, 70px);
    line-height: 1.15;
    margin-bottom: 15px;
}

.home h1 span {
    color: var(--cyan);
}

.home h2 {
    min-height: 42px;
    color: #d9e4ef;
    font-size: 25px;
    margin-bottom: 20px;
}

#typing {
    color: var(--cyan);
}

.home-description {
    color: var(--text);
    font-size: 16px;
    line-height: 1.9;
    max-width: 620px;
}

.home-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 13px 23px;

    background: var(--cyan);
    color: #001014;

    border-radius: 8px;

    font-weight: 700;
    font-size: 14px;

    border: 1px solid var(--cyan);

    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.25);
}

.secondary-btn {
    background: transparent;
    color: var(--cyan);
}

.social-icons {
    display: flex;
    gap: 13px;
    margin-top: 30px;
}

.social-icons a {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 50%;

    color: var(--text);

    transition: 0.3s;
}

.social-icons a:hover {
    color: var(--cyan);
    border-color: var(--cyan);
    transform: translateY(-5px);
}


/* Profile Card */

.home-card {
    width: 340px;

    padding: 35px 30px;

    background: rgba(16, 24, 39, 0.75);

    border: 1px solid var(--border);
    border-radius: 25px;

    text-align: center;

    box-shadow:
        0 0 60px rgba(0, 229, 255, 0.08);

    animation: floating 4s ease-in-out infinite;
}

.profile-circle {
    width: 160px;
    height: 160px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    border: 2px solid var(--cyan);

    box-shadow:
        0 0 30px rgba(0, 229, 255, 0.2);

    background: #09121d;
}

.profile-icon {
    font-size: 65px;
    color: var(--cyan);
}

.home-card h3 {
    margin-top: 25px;
    font-size: 21px;
}

.home-card > p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 5px;
}

.card-line {
    width: 70px;
    height: 2px;
    background: var(--cyan);
    margin: 20px auto;
}

.mini-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mini-info div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    color: var(--text);
    font-size: 13px;
}

.mini-info i {
    color: var(--cyan);
}


/* =====================================================
   COMMON SECTION
===================================================== */

.section {
    padding: 100px 8%;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title p {
    color: var(--cyan);
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.section-title h2 {
    font-size: 40px;
}

.section-title h2 span {
    color: var(--cyan);
}

.underline {
    width: 70px;
    height: 3px;

    margin: 15px auto 0;

    background: var(--cyan);

    border-radius: 20px;
}


/* =====================================================
   ABOUT
===================================================== */

.about {
    background: var(--bg-light);
}

.about-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-box {
    width: 310px;
    min-height: 310px;

    border: 1px solid var(--border);
    border-radius: 25px;

    background:
        linear-gradient(
            145deg,
            rgba(0, 229, 255, 0.12),
            transparent
        );

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 30px;
}

.about-box i {
    font-size: 70px;
    color: var(--cyan);
    margin-bottom: 20px;
}

.about-box h3 {
    font-size: 25px;
    margin-bottom: 10px;
}

.about-box p {
    color: var(--text);
    line-height: 1.7;
}

.about-content h3 {
    font-size: 27px;
    margin-bottom: 18px;
}

.about-content > p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-details {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 15px;

    margin-top: 25px;
}

.about-details div {
    padding: 15px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: rgba(0, 229, 255, 0.03);
}

.about-details strong {
    display: block;
    color: var(--cyan);
    font-size: 12px;
    margin-bottom: 5px;
}

.about-details span {
    color: var(--text);
    font-size: 13px;
}


/* =====================================================
   EDUCATION
===================================================== */

.timeline {
    max-width: 850px;
    margin: auto;
}

.timeline-item {
    position: relative;

    padding-left: 70px;
}

.timeline-item::before {
    content: "";

    position: absolute;
    left: 24px;
    top: 0;
    bottom: -50px;

    width: 2px;

    background: var(--cyan);
}

.timeline-icon {
    position: absolute;

    left: 0;
    top: 0;

    width: 50px;
    height: 50px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--cyan);
    color: #001014;

    z-index: 2;
}

.timeline-content {
    padding: 30px;

    background: var(--card);

    border: 1px solid var(--border);
    border-radius: 15px;
}

.timeline-year {
    color: var(--cyan);
    font-size: 12px;
}

.timeline-content h3 {
    margin: 10px 0;
    font-size: 21px;
}

.timeline-content h4 {
    color: #d6e0eb;
    font-weight: 500;
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--muted);
}


/* =====================================================
   SKILLS
===================================================== */

.skills {
    background: var(--bg-light);
}

.skills-container {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.skill-card {
    padding: 30px;

    background: var(--card);

    border: 1px solid var(--border);
    border-radius: 18px;

    transition: 0.3s;
}

.skill-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 229, 255, 0.5);
    box-shadow: 0 15px 40px rgba(0, 229, 255, 0.07);
}

.skill-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(0, 229, 255, 0.1);

    color: var(--cyan);

    font-size: 22px;

    margin-bottom: 18px;
}

.skill-card h3 {
    margin-bottom: 20px;
}

.skill {
    margin-bottom: 18px;
}

.skill-name {
    display: flex;
    justify-content: space-between;

    color: var(--text);

    font-size: 13px;

    margin-bottom: 7px;
}

.skill-name span:last-child {
    color: var(--cyan);
}

.progress {
    width: 100%;
    height: 7px;

    background: #202b3a;

    border-radius: 20px;

    overflow: hidden;
}

.progress span {
    display: block;
    height: 100%;

    background: var(--cyan);

    border-radius: 20px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tags span {
    padding: 7px 11px;

    border-radius: 7px;

    background: rgba(0, 229, 255, 0.08);

    color: var(--text);

    font-size: 11px;
}


/* =====================================================
   PROJECT
===================================================== */

.project-container {
    max-width: 900px;
    margin: auto;
}

.project-card {
    padding: 35px;

    border-radius: 20px;

    background: var(--card);

    border: 1px solid var(--border);

    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-8px);

    border-color: var(--cyan);

    box-shadow: 0 20px 50px rgba(0, 229, 255, 0.08);
}

.project-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.project-icon {
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: rgba(0, 229, 255, 0.1);

    color: var(--cyan);

    font-size: 25px;
}

.project-top > span {
    color: var(--cyan);

    padding: 7px 12px;

    border: 1px solid var(--border);

    border-radius: 20px;

    font-size: 11px;
}

.project-card h3 {
    font-size: 25px;
    margin: 25px 0 12px;
}

.project-card > p {
    color: var(--text);
    line-height: 1.8;
}

.project-features {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 12px;

    margin: 25px 0;
}

.project-features div {
    color: var(--text);
    font-size: 13px;
}

.project-features i {
    color: var(--cyan);
    margin-right: 8px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tech span {
    padding: 7px 12px;

    background: rgba(0, 229, 255, 0.08);

    border-radius: 7px;

    color: var(--cyan);

    font-size: 11px;
}


/* =====================================================
   CERTIFICATIONS
===================================================== */

.certifications {
    background: var(--bg-light);
}

.cert-container {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.cert-card {
    text-align: center;

    padding: 35px 25px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 18px;

    transition: 0.3s;
}

.cert-card:hover {
    transform: translateY(-7px);
}

.cert-icon {
    font-size: 40px;
    color: var(--cyan);
    margin-bottom: 20px;
}

.cert-card h3 {
    margin-bottom: 10px;
}

.cert-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}


/* =====================================================
   ACTIVITIES
===================================================== */

.activity-container {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.activity-card {
    text-align: center;

    padding: 40px 25px;

    border: 1px solid var(--border);

    border-radius: 18px;

    background: var(--card);

    transition: 0.3s;
}

.activity-card:hover {
    transform: translateY(-8px);
    border-color: var(--cyan);
}

.activity-card i {
    font-size: 45px;
    color: var(--cyan);
    margin-bottom: 20px;
}

.activity-card h3 {
    margin-bottom: 10px;
}

.activity-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}


/* =====================================================
   ACHIEVEMENTS
===================================================== */

.achievements {
    background: var(--bg-light);
}

.achievement-list {
    max-width: 900px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 17px;

    padding: 20px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: var(--card);
}

.achievement-item i {
    color: var(--cyan);
    font-size: 22px;
}

.achievement-item p {
    color: var(--text);
    font-size: 13px;
    line-height: 1.6;
}


/* =====================================================
   CAREER
===================================================== */

.career {
    padding: 100px 8%;

    text-align: center;

    background:
        radial-gradient(
            circle,
            rgba(0, 229, 255, 0.12),
            transparent 50%
        );
}

.career-content {
    max-width: 800px;
    margin: auto;
}

.career-content > i {
    color: var(--cyan);
    font-size: 45px;
    margin-bottom: 20px;
}

.career h2 {
    font-size: 35px;
    margin-bottom: 15px;
}

.career p {
    color: var(--text);
    line-height: 1.9;
    margin-bottom: 25px;
}


/* =====================================================
   CONTACT
===================================================== */

.contact {
    background: var(--bg-light);
}

.contact-container {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 70px;

    max-width: 1000px;

    margin: auto;
}

.contact-info h3 {
    font-size: 27px;
    margin-bottom: 12px;
}

.contact-info > p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;

    gap: 15px;

    margin-bottom: 25px;
}

.contact-icon {
    min-width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 229, 255, 0.1);

    color: var(--cyan);

    border-radius: 10px;
}

.contact-item h4 {
    margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
    color: var(--muted);
    font-size: 13px;
}

.contact-item a:hover {
    color: var(--cyan);
}

.contact-form {
    display: flex;
    flex-direction: column;

    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;

    padding: 15px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 9px;

    outline: none;

    color: white;

    font-family: inherit;

    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--cyan);
}

.contact-form button {
    cursor: pointer;
}


/* =====================================================
   FOOTER
===================================================== */

footer {
    padding: 45px 8%;

    background: #050810;

    text-align: center;
}

.footer-content h3 {
    font-size: 20px;
}

.footer-content > p {
    color: var(--muted);
    font-size: 12px;
    margin-top: 5px;
}

.footer-social {
    display: flex;
    justify-content: center;

    gap: 12px;

    margin: 20px 0;
}

.footer-social a {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);

    border-radius: 50%;

    color: var(--text);

    transition: 0.3s;
}

.footer-social a:hover {
    color: var(--cyan);
    border-color: var(--cyan);
}

.footer-line {
    height: 1px;

    background: var(--border);

    max-width: 700px;

    margin: auto;
}

.copyright {
    margin-top: 20px;
}


/* =====================================================
   BACK TO TOP
===================================================== */

#topButton {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 45px;
    height: 45px;

    border: none;

    border-radius: 50%;

    background: var(--cyan);
    color: #001014;

    cursor: pointer;

    display: none;

    z-index: 999;
}


/* =====================================================
   ANIMATION
===================================================== */

@keyframes floating {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }

}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1000px) {

    .navbar {
        gap: 15px;
    }

    .home {
        flex-direction: column;
        text-align: center;
    }

    .home-buttons,
    .social-icons {
        justify-content: center;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: 2;
    }

    .skills-container,
    .cert-container,
    .activity-container {
        grid-template-columns: 1fr 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 750px) {

    .header {
        padding: 0 5%;
    }

    .menu-icon {
        display: block;
    }

    .navbar {

        position: absolute;

        top: 75px;
        left: -100%;

        width: 100%;

        background: #080e19;

        flex-direction: column;

        padding: 25px;

        transition: 0.3s;

        border-bottom: 1px solid var(--border);
    }

    .navbar.active {
        left: 0;
    }

    .navbar a {
        padding: 10px 0;
    }

    .home {
        padding: 120px 5% 70px;
    }

    .section {
        padding: 80px 5%;
    }

    .skills-container,
    .cert-container,
    .activity-container,
    .achievement-list {
        grid-template-columns: 1fr;
    }

    .about-details {
        grid-template-columns: 1fr;
    }

    .project-features {
        grid-template-columns: 1fr;
    }

    .home-card {
        width: 100%;
        max-width: 340px;
    }

}


@media (max-width: 450px) {

    .home h1 {
        font-size: 34px;
    }

    .home h2 {
        font-size: 20px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .home-buttons {
        flex-direction: column;
    }

    .home-buttons .btn {
        width: 100%;
    }

}