/* =========================
   GLOBAL
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --bg: #0B1120;
    --bg-dark: #070D19;
    --card: #111827;

    --blue: #3B82F6;
    --violet: #8B5CF6;

    --white: #F8FAFC;
    --text: #CBD5E1;
    --muted: #94A3B8;

    --border: rgba(148, 163, 184, 0.15);
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

section {
    scroll-margin-top: 80px;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 7%;

    background: rgba(11, 17, 32, 0.82);
    backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--border);

    z-index: 1000;
}

.logo span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 45px;
    height: 45px;

    border-radius: 12px;

    background: linear-gradient(
        135deg,
        var(--blue),
        var(--violet)
    );

    font-weight: 800;
    font-size: 15px;

    box-shadow:
        0 0 25px rgba(59, 130, 246, 0.25);
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;

    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-links a.active {
    position: relative;
}

.nav-links a.active::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -8px;

    width: 100%;
    height: 2px;

    background: linear-gradient(
        90deg,
        var(--blue),
        var(--violet)
    );
}

.menu-btn {
    display: none;

    border: none;
    background: none;

    color: white;
    font-size: 22px;

    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;

    padding: 140px 8% 80px;

    display: grid;
    grid-template-columns: 1.2fr 0.8fr;

    align-items: center;
    gap: 80px;

    position: relative;
}

.hero::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    background: rgba(59, 130, 246, 0.12);

    filter: blur(120px);

    top: 100px;
    left: -150px;

    z-index: -1;
}

.hero::after {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    background: rgba(139, 92, 246, 0.12);

    filter: blur(120px);

    right: -100px;
    bottom: 0;

    z-index: -1;
}

.small-heading {
    color: var(--blue);
    font-size: 14px;
    letter-spacing: -1px;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero h1 {
    font-size: clamp(50px, 7vw, 85px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -3px;
}

.hero h1 span {
    display: block;

    background: linear-gradient(
        90deg,
        var(--blue),
        var(--violet)
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h2 {
    margin-top: 22px;

    font-size: 22px;
    font-weight: 600;

    color: var(--text);
}

.hero h2 span {
    color: var(--violet);
}

.hero-text {
    max-width: 650px;

    line-height: 1.7;

    margin-top: 22px;

    color: var(--muted);
    font-size: 16px;
}

.hero-buttons {
    display: flex;
    gap: 15px;

    margin-top: 35px;
}

.btn {
    padding: 14px 24px;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 600;

    transition: 0.3s ease;
}

.primary-btn {
    background: linear-gradient(
        135deg,
        var(--blue),
        var(--violet)
    );

    box-shadow:
        0 10px 30px rgba(59, 130, 246, 0.18);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.25);
}

.primary-btn i {
    margin-left: 8px;
}

.secondary-btn {
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.03);
}

.secondary-btn:hover {
    border-color: var(--blue);
}

.social-links {
    display: flex;
    gap: 15px;

    margin-top: 30px;
}

.social-links a {
    width: 42px;
    height: 42px;

    border: 1px solid var(--border);

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--muted);

    transition: 0.3s;
}

.social-links a:hover {
    color: white;
    border-color: var(--blue);

    transform: translateY(-4px);
}


/* =========================
   HERO PROFILE
========================= */

.hero-visual {
    display: flex;
    justify-content: center;

    position: relative;
}

.profile-glow {
    position: absolute;

    width: 330px;
    height: 330px;

    background: linear-gradient(
        135deg,
        var(--blue),
        var(--violet)
    );

    filter: blur(80px);
    opacity: 0.18;
}

.profile-card {
    position: relative;

    width: 330px;

    padding: 45px 30px;

    text-align: center;

    background: rgba(17, 24, 39, 0.8);

    border: 1px solid var(--border);

    border-radius: 25px;

    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(120px);

    box-shadow:
        0 20px 50px rgba(0,0,0,0.35);

    animation: floating 5s ease-in-out infinite;
}
.profile-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.profile-circle {
    width: 145px;
    height: 145px;

    margin: auto;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 35px;
    font-weight: 800;

    background: linear-gradient(
        135deg,
        var(--blue),
        var(--violet)
    );

    box-shadow:
        0 0 50px rgba(59,130,246,0.3);
}

.profile-card h3 {
    margin-top: 25px;
    font-size: 21px;
}

.profile-card p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 5px;
}

.mini-line {
    width: 50px;
    height: 2px;

    margin: 20px auto;

    background: linear-gradient(
        90deg,
        var(--blue),
        var(--violet)
    );
}

.profile-card span {
    color: var(--muted);
    font-size: 13px;
}

.profile-card span i {
    color: var(--blue);
    margin-right: 5px;
}


/* =========================
   SECTIONS
========================= */

.section {
    padding: 110px 8%;
}

.dark-section {
    background: var(--bg-dark);
}

.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-heading > p:first-child {
    color: var(--blue);
    letter-spacing: 3px;
    font-size: 12px;
    font-weight: 700;
}

.section-heading h2 {
    margin-top: 8px;

    font-size: 42px;
    line-height: 1.2;
    letter-spacing: -0.8px;
    font-weight: 700;
}

.section-heading h2 span {
    color: var(--blue);
}

.section-description {
    max-width: 650px;
    margin: 15px auto 0;

    color: var(--muted);

    line-height: 1.7;
}


/* =========================
   ABOUT
========================= */
.learning-status {
    width: fit-content;
    margin: -35px auto 40px;
    padding: 9px 16px;

    border: 1px solid var(--border);
    border-radius: 30px;

    background: rgba(59,130,246,0.06);
    color: var(--text);

    font-size: 13px;
}

.learning-status i {
    color: #22c55e;
    font-size: 8px;
    margin-right: 7px;
}

.about-container {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--muted);
    margin-bottom: 17px;
    line-height: 1.8;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.highlight-card {
    padding: 25px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 15px;

    transition: 0.3s;
}

.highlight-card:hover {
    transform: translateY(-7px);

    border-color: rgba(59,130,246,0.5);

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.highlight-card i {
    font-size: 25px;

    color: var(--blue);

    margin-bottom: 15px;
}

.highlight-card h4 {
    margin-bottom: 5px;
}

.highlight-card p {
    color: var(--muted);
    font-size: 13px;
}


/* =========================
   SKILLS
========================= */

.skills-grid {
    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.35s;
}

.skill-card:hover {
    transform: translateY(-3px);

    border-color: rgba(59,130,246,0.18);

    box-shadow: 0 8px 20px rgba(59,130,246,0.15);
}

.skill-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(59,130,246,0.1);

    color: var(--blue);

    font-size: 20px;

    margin-bottom: 20px;

    transition: all 0.3s ease;
}

.skill-card h3 {
    margin-bottom: 18px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tags span,
.experience-tags span {
    padding: 6px 10px;

    background: rgba(139,92,246,0.08);

    border: 1px solid var(--border);

    border-radius: 6px;

    color: var(--text);

    font-size: 11px;
}


/* =========================
   EXPERIENCE
========================= */

.timeline {
    max-width: 850px;
    margin: auto;

    position: relative;
}

.timeline::before {
    content: "";

    position: absolute;

    left: 18px;
    top: 0;
    bottom: 0;

    width: 1px;

    background: linear-gradient(
        var(--blue),
        var(--violet)
    );
}

.timeline-item {
    position: relative;

    padding-left: 65px;

    margin-bottom: 35px;
}

.timeline-dot {
    position: absolute;

    left: 10px;
    top: 20px;

    width: 17px;
    height: 17px;

    border-radius: 50%;

    background: var(--blue);

    border: 4px solid var(--bg);

    box-shadow:
        0 0 20px rgba(59,130,246,0.5);
}

.experience-card {
    position: relative;

    padding: 30px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 18px;

    transition: all 0.3s ease;
}

.experience-card:hover {
    transform: translateX(7px);

    border-color: rgba(59,130,246,0.4);

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.experience-number {
    position: absolute;

    right: 25px;
    top: 20px;

    color: rgba(148,163,184,0.2);

    font-size: 30px;
    font-weight: 800;
}

.experience-card h3 {
    font-size: 23px;
}

.experience-card h4 {
    color: var(--blue);
    font-size: 14px;
    margin: 5px 0 15px;
}

.experience-card p {
    color: var(--muted);
    font-size: 14px;
}

.experience-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;

    margin-top: 18px;
}


/* =========================
   CERTIFICATIONS
========================= */

.certificate-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.certificate-card {
    padding: 30px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 18px;

    transition: all 0.35s ease;
}

.certificate-card:hover {
    transform: translateY(-8px);

    border-color: rgba(139,92,246,0.55);

    box-shadow:
        0 20px 50px rgba(0,0,0,0.25);
}

.certificate-top {
    display: flex;

    justify-content: space-between;
    align-items: center;

    color: var(--muted);

    font-size: 12px;
}

.certificate-top i {
    color: var(--violet);
    font-size: 25px;
}

.certificate-card h3 {
    margin-top: 30px;

    font-size: 19px;
}

.certificate-card > p {
    color: var(--muted);
    margin-top: 5px;
}

.certificate-btn {
    display: inline-flex;

    align-items: center;
    gap: 8px;

    margin-top: 25px;

    color: var(--blue);

    font-size: 13px;
    font-weight: 600;
}

.certificate-btn:hover {
    color: var(--violet);
}


/* =========================
   LEARNING
========================= */

.learning-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.learning-card {
    position: relative;

    padding: 30px;

    border: 1px solid var(--border);

    border-radius: 18px;

    background: var(--card);

    overflow: hidden;

    transition: 0.3s;
}

.learning-card:hover {
    transform: translateY(-8px);

    border-color: rgba(139,92,246,0.5);
}

.learning-number {
    position: absolute;

    top: 15px;
    right: 20px;

    font-size: 30px;
    font-weight: 800;

    color: rgba(148,163,184,0.1);
}

.learning-card i {
    color: var(--violet);

    font-size: 27px;

    margin-bottom: 20px;
}

.learning-card h3 {
    margin-bottom: 10px;
}

.learning-card p {
    color: var(--muted);
    font-size: 13px;
}


/* =========================
   EDUCATION
========================= */

.education-container {
    max-width: 850px;
    margin: auto;

    display: flex;
    flex-direction: column;
    gap: 18px;
}

.education-card {
    display: flex;

    gap: 22px;

    padding: 25px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 16px;

    transition: all 0.3s ease;
}

.education-card:hover {
    transform: translateX(8px);

    border-color: rgba(59,130,246,0.4);

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.education-icon {
    min-width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(59,130,246,0.1);

    color: var(--blue);

    border-radius: 12px;
}

.education-label {
    color: var(--blue);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1px;
}

.education-card h3 {
    margin-top: 5px;
}

.education-card h4 {
    color: var(--violet);
    font-size: 13px;
}

.education-card p {
    color: var(--muted);
    font-size: 13px;
}


/* =========================
   CONTACT
========================= */

.contact-grid {
    max-width: 900px;

    margin: auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.contact-card {
    display: flex;

    align-items: center;

    gap: 18px;

    padding: 22px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 15px;

    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);

    border-color: var(--blue);
}

.contact-card > i {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(59,130,246,0.1);

    color: var(--blue);

    border-radius: 10px;
}

.contact-card span {
    display: block;

    color: var(--muted);

    font-size: 11px;
}

.contact-card strong {
    font-size: 13px;
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 50px 20px;

    text-align: center;

    background: #050A13;

    border-top: 1px solid var(--border);
}

.footer-logo {
    width: 45px;
    height: 45px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: linear-gradient(
        135deg,
        var(--blue),
        var(--violet)
    );

    font-weight: 800;
}

footer > p {
    color: var(--muted);
    margin-top: 15px;
}

.footer-socials {
    display: flex;
    justify-content: center;

    gap: 15px;

    margin: 20px 0;
}

.footer-socials a {
    color: var(--muted);

    transition: 0.3s;
}

.footer-socials a:hover {
    color: var(--blue);
}

.copyright {
    font-size: 11px;
}


/* =========================
   SCROLL ANIMATION
========================= */

.reveal {
    opacity: 0;

    transform: translateY(45px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.show {
    opacity: 1;

    transform: translateY(0);
}


/* =========================
   FLOATING ANIMATION
========================= */

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

    .nav-links {
        gap: 15px;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .social-links {
        justify-content: center;
    }

    .skills-grid {
        grid-template-columns: 1fr 1fr;
    }

    .certificate-grid {
        grid-template-columns: 1fr 1fr;
    }

    .learning-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 750px) {

    .navbar {
        padding: 0 5%;
    }

    .menu-btn {
        display: block;
    }

    .nav-links {
        position: absolute;

        top: 75px;
        left: 0;

        width: 100%;

        padding: 25px;

        background: var(--bg-dark);

        box-shadow: 0 15px 35px rgba(0,0,0,0.35);

        display: none;

        flex-direction: column;

        text-align: center;
    }

    .nav-links.show {
        display: flex;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
        border-radius: 0 0 12px 12px;
    }

    .hero {
        padding-left: 5%;
        padding-right: 5%;
    }

    .section {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero h1 {
        font-size: 52px;
    }

    .hero h2 {
        font-size: 18px;
    }

    .skills-grid,
    .certificate-grid,
    .learning-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .section-heading h2 {
        font-size: 34px;
    }

}


/* =========================
   VERY SMALL DEVICES
========================= */

@media (max-width: 450px) {

    .hero h1 {
        font-size: 43px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .profile-card {
        width: 100%;
    }

}