/* =========================
   GENERAL
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #0b0b12;
    color: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

section {
    padding: 100px 8%;
}


/* =========================
   NAVBAR
========================= */

header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: #0b0b12;
    border-bottom: 1px solid #242433;
}

.navbar {
    width: 100%;
    min-height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
}

.logo {
    width: 45px;
    height: 45px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #ffffff;
    font-size: 15px;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #9b7cff;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;
    padding-top: 140px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hello-text {
    color: #9b7cff;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 65px;
    line-height: 1.1;
    margin-bottom: 15px;
}

.hero h1 span {
    color: #9b7cff;
}

.hero h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.hero-description {
    max-width: 600px;
    color: #b9b9c7;
    font-size: 17px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}


/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 12px 25px;

    border-radius: 8px;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;

    border: none;
}

.primary-btn {
    background: #9b7cff;
    color: #ffffff;

    box-shadow:
        0 8px 25px rgba(155, 124, 255, 0.25);
}

.primary-btn:hover {
    background: #8262e8;
    transform: translateY(-2px);
}

.secondary-btn {
    border: 1px solid #9b7cff;
    color: #9b7cff;
    background: transparent;
}

.secondary-btn:hover {
    background: #9b7cff;
    color: #ffffff;
}

.contact-form .btn {
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}


/* =========================
   QUICK LINKS
========================= */

.quick-links {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.quick-links a {
    color: #b9b9c7;
    transition: 0.3s;
}

.quick-links a:hover {
    color: #9b7cff;
}


/* =========================
   PROFILE IMAGE
========================= */

.hero-image {
    flex: 0 0 380px;

    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;
}

.profile-box {
    width: 350px;
    height: 350px;

    border-radius: 50%;

    overflow: hidden;

    border: 5px solid #9b7cff;

    position: relative;

    z-index: 2;
}

.profile-box img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.profile-glow {
    position: absolute;

    width: 390px;
    height: 390px;

    border-radius: 50%;

    background: rgba(155, 124, 255, 0.15);

    filter: blur(35px);
}


/* =========================
   SECTION TITLE
========================= */

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title p {
    color: #9b7cff;

    font-size: 14px;

    font-weight: bold;

    letter-spacing: 2px;

    margin-bottom: 8px;
}

.section-title h2 {
    font-size: 42px;
}

.section-title h2 span {
    color: #9b7cff;
}


/* =========================
   ABOUT
========================= */

.about-content {
    max-width: 1100px;

    margin: auto;

    display: flex;

    gap: 50px;

    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 30px;
    margin-bottom: 20px;
}

.about-text p {
    color: #b9b9c7;
    margin-bottom: 20px;
}

.about-card {
    flex: 1;

    display: grid;

    gap: 20px;
}

.info-box {
    background: #13131e;

    border: 1px solid #29293a;

    padding: 25px;

    border-radius: 12px;

    transition: 0.3s;
}

.info-box:hover {
    border-color: #9b7cff;
    transform: translateY(-4px);
}

.info-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.info-box h4 {
    color: #9b7cff;
    margin-bottom: 5px;
}

.info-box p {
    color: #ffffff;
}


/* =========================
   SKILLS
========================= */

.skills-container {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 20px;
}

.skill-card {
    background: #13131e;

    border: 1px solid #29293a;

    border-radius: 12px;

    padding: 30px 20px;

    text-align: center;

    transition: 0.4s ease;
}

.skill-card:hover {
    transform: translateY(-5px);

    border-color: #9b7cff;
}

.skill-card h3 {
    color: #9b7cff;
    margin-bottom: 10px;
}

.skill-card p {
    color: #b9b9c7;
}

.skill-icon {
    font-size: 38px;
    margin-bottom: 12px;
}


/* =========================
   JOURNEY
========================= */

.timeline {
    max-width: 850px;
    margin: auto;
}

.timeline-item {
    position: relative;

    padding-left: 45px;

    padding-bottom: 40px;

    border-left: 2px solid #9b7cff;
}

.timeline-item:last-child {
    border-left: none;
}

.timeline-dot {
    width: 14px;
    height: 14px;

    background: #9b7cff;

    border-radius: 50%;

    position: absolute;

    left: -8px;
    top: 0;
}

.timeline-content {
    background: #13131e;

    border: 1px solid #29293a;

    padding: 25px;

    border-radius: 12px;

    transition: 0.4s ease;
}

.timeline-content h3 {
    color: #9b7cff;

    margin-bottom: 10px;
}

.timeline-content p {
    color: #b9b9c7;
}

.journey-icon {
    font-size: 32px;
    margin-bottom: 8px;
}


/* =========================
   STRENGTHS
========================= */

.strength-container {
    max-width: 900px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}

.strength-card {
    background: #13131e;

    border: 1px solid #29293a;

    padding: 30px;

    border-radius: 12px;

    text-align: center;

    transition: 0.4s ease;
}

.strength-card h3 {
    color: #9b7cff;

    margin-bottom: 10px;
}

.strength-card p {
    color: #b9b9c7;
}

.strength-icon {
    font-size: 38px;
    margin-bottom: 10px;
}


/* =========================
   PROJECTS
========================= */

.project-container {
    max-width: 900px;

    margin: auto;
}

.project-card {
    background: #13131e;

    border: 1px solid #29293a;

    border-radius: 15px;

    overflow: hidden;

    transition: 0.4s ease;
}

.project-card:hover {
    transform: translateY(-5px);

    border-color: #9b7cff;
}

.project-image img {
    width: 100%;

    height: 300px;

    object-fit: cover;
}

.project-info {
    padding: 30px;
}

.project-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.project-info h3 {
    color: #9b7cff;

    font-size: 28px;

    margin-bottom: 10px;
}

.project-info p {
    color: #b9b9c7;

    margin-bottom: 20px;
}

.project-tags {
    display: flex;

    gap: 10px;

    flex-wrap: wrap;
}

.project-tags span {
    background: #242033;

    color: #9b7cff;

    padding: 6px 12px;

    border-radius: 20px;

    font-size: 13px;
}


/* =========================
   INTERESTS
========================= */

.interest-container {
    max-width: 1000px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.interest-card {
    background: #13131e;

    border: 1px solid #29293a;

    border-radius: 12px;

    padding: 30px;

    text-align: center;

    transition: 0.4s ease;
}

.interest-card:hover {
    transform: translateY(-8px);

    border-color: #9b7cff;
}

.interest-card h3 {
    color: #9b7cff;

    margin-bottom: 10px;
}

.interest-card p {
    color: #b9b9c7;
}

.interest-icon {
    font-size: 42px;

    margin-bottom: 12px;
}


/* =========================
   CAREER
========================= */

.career {
    text-align: center;
}

.career-content {
    max-width: 800px;

    margin: auto;
}

.career-content > p:first-child {
    color: #9b7cff;

    font-weight: bold;

    letter-spacing: 2px;

    margin-bottom: 15px;
}

.career h2 {
    font-size: 42px;

    margin-bottom: 20px;
}

.career h2 span {
    color: #9b7cff;
}

.career-content p:last-child {
    color: #b9b9c7;
}


/* =========================
   CONTACT
========================= */

.contact-container {
    max-width: 1000px;

    margin: auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 50px;

    align-items: start;
}

.contact-info h3 {
    font-size: 30px;

    margin-bottom: 20px;
}

.contact-info p {
    color: #b9b9c7;

    margin-bottom: 20px;
}


/* =========================
   SOCIAL LINKS
========================= */

.social-links {
    display: flex;

    gap: 15px;

    margin-top: 25px;
}

.social-links a {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 10px 20px;

    border: 1px solid #9b7cff;

    border-radius: 8px;

    color: #9b7cff;

    font-weight: 600;

    transition: 0.3s;
}

.social-links a:hover {
    background: #9b7cff;

    color: #ffffff;

    transform: translateY(-2px);
}


/* =========================
   CONTACT FORM
========================= */

.contact-form {
    display: flex;

    flex-direction: column;

    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;

    padding: 15px;

    border: 1px solid #29293a;

    border-radius: 8px;

    background: #13131e;

    color: #ffffff;

    font-family: Arial, sans-serif;

    font-size: 15px;

    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #9b7cff;
}

.contact-form textarea {
    resize: vertical;

    min-height: 150px;
}

.contact-form button {
    width: 100%;
}


/* =========================
   FOOTER
========================= */

footer {
    text-align: center;

    padding: 30px 8%;

    background: #07070c;

    border-top: 1px solid #242433;
}

footer p {
    color: #888899;

    font-size: 14px;
}


/* =========================
   CLICK LIGHT EFFECT
========================= */

.clickable-card,
.interest-light {
    cursor: pointer;

    position: relative;

    overflow: hidden;
}

.clickable-card::before,
.interest-light::before {
    content: "";

    position: absolute;

    width: 0;
    height: 0;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: rgba(155, 124, 255, 0.30);

    pointer-events: none;

    transition:
        width 0.6s ease,
        height 0.6s ease;
}

.clickable-card.active-light::before,
.interest-light.active-light::before {
    width: 600px;

    height: 600px;
}

.clickable-card.active-light,
.interest-light.active-light {
    border-color: #9b7cff;

    box-shadow:
        0 0 15px #9b7cff,
        0 0 30px rgba(155, 124, 255, 0.6),
        0 0 60px rgba(155, 124, 255, 0.3);
}


/* Keep text above light */

.clickable-card h3,
.clickable-card p,
.clickable-card .skill-icon,
.clickable-card .journey-icon,
.clickable-card .strength-icon,
.clickable-card .project-icon,
.interest-light h3,
.interest-light p,
.interest-light .interest-icon {
    position: relative;

    z-index: 2;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

    .hero {
        flex-direction: column-reverse;

        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .quick-links {
        justify-content: center;
    }

    .skills-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        flex-direction: column;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 700px) {

    section {
        padding: 80px 5%;
    }

    .navbar {
        padding: 15px 5%;

        flex-direction: column;

        gap: 15px;
    }

    .nav-links {
        gap: 12px;

        flex-wrap: wrap;

        justify-content: center;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero h2 {
        font-size: 23px;
    }

    .hero-image {
        flex-basis: auto;
    }

    .profile-box {
        width: 280px;

        height: 280px;
    }

    .profile-glow {
        width: 310px;

        height: 310px;
    }

    .skills-container {
        grid-template-columns: 1fr;
    }

    .strength-container {
        grid-template-columns: 1fr;
    }

    .interest-container {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 34px;
    }

    .career h2 {
        font-size: 34px;
    }

}