/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Tahoma, Arial, sans-serif;
    background: #0b0f19;
    color: #ffffff;
    line-height: 1.8;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}


/* =========================
   CONTAINER
========================= */

.container {
    width: min(1120px, 90%);
    margin: 0 auto;
}


/* =========================
   HEADER
========================= */

.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;

    z-index: 1000;

    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-container {
    height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 17px;
}

.logo span {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #6c63ff;

    font-size: 18px;
    font-weight: bold;
}

.logo strong {
    font-weight: 700;
}


/* Navigation */

.navigation {
    display: flex;
    align-items: center;
    gap: 28px;
}

.navigation a {
    color: #aeb5c5;

    font-size: 14px;

    transition: 0.3s ease;
}

.navigation a:hover {
    color: #ffffff;
}


/* Mobile Button */

.menu-button {
    display: none;

    border: none;
    background: transparent;

    color: #ffffff;

    font-size: 25px;

    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    padding-top: 78px;

    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(108, 99, 255, 0.12),
            transparent 30%
        );
}

.hero-container {
    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    align-items: center;

    gap: 80px;
}


/* Hero Text */

.hero-intro {
    color: #8e97aa;

    font-size: 18px;

    margin-bottom: 5px;
}

.hero h1 {
    font-size: clamp(45px, 6vw, 72px);

    line-height: 1.2;

    margin-bottom: 18px;
}

.hero h2 {
    max-width: 700px;

    color: #6c63ff;

    font-size: clamp(20px, 3vw, 30px);

    line-height: 1.6;

    margin-bottom: 22px;
}

.hero h2 span {
    color: #555d70;

    margin: 0 5px;
}

.hero-description {
    max-width: 620px;

    color: #9ca5b8;

    font-size: 17px;

    line-height: 2;

    margin-bottom: 35px;
}


/* =========================
   BUTTONS
========================= */

.hero-buttons {
    display: flex;
    gap: 14px;
}

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 150px;

    padding: 12px 22px;

    border-radius: 10px;

    font-size: 14px;

    transition: 0.3s ease;
}

.btn-primary {
    background: #6c63ff;
}

.btn-primary:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 30px rgba(108, 99, 255, 0.25);
}

.btn-secondary {
    border: 1px solid #303747;

    color: #dce1eb;
}

.btn-secondary:hover {
    background: #151b28;

    transform: translateY(-3px);
}


/* =========================
   PROFILE CARD
========================= */

.hero-visual {
    display: flex;

    justify-content: center;
}

.profile-card {
    width: 310px;

    padding: 40px 30px;

    text-align: center;

    border-radius: 24px;

    background: rgba(255, 255, 255, 0.035);

    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.35);
}

.profile-icon {
    width: 120px;
    height: 120px;

    margin: 0 auto 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #6c63ff;

    font-size: 55px;

    font-weight: bold;
}

.profile-card h3 {
    font-size: 22px;

    margin-bottom: 5px;
}
.profile-card > p {
    color: #8e97aa;

    font-size: 14px;
}

.profile-line {
    width: 50px;
    height: 2px;

    margin: 22px auto;

    background: #6c63ff;
}

.profile-tags {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 8px;
}

.profile-tags span {
    padding: 5px 10px;

    border-radius: 6px;

    background: #151b28;

    color: #9ca5b8;

    font-size: 11px;
}


/* =========================
   FOOTER
========================= */

.footer {
    padding: 25px;

    text-align: center;

    color: #687184;

    font-size: 13px;

    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
/* =========================
   GENERAL SECTION
========================= */

.section {
    padding: 110px 0;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 60px;
}

.section-heading span {
    color: #6c63ff;
    font-size: 14px;
    font-weight: bold;
}

.section-heading h2 {
    font-size: 34px;
    margin: 0;
}


/* =========================
   ABOUT
========================= */

.about {
    background: #0e1420;
}

.about-container {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 80px;
    align-items: center;
}

.about-content {
    max-width: 720px;
}

.about-lead {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 25px;
}

.about-content p:not(.about-lead) {
    color: #9ca5b8;
    font-size: 16px;
    line-height: 2.1;
    margin-bottom: 18px;
}


/* =========================
   ABOUT CARD
========================= */

.about-card {
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.025);
}

.about-card-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.about-card-item:last-child {
    border-bottom: none;
}

.about-card-item > span {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 10px;

    background: #151b28;
    color: #6c63ff;

    font-size: 12px;
    font-weight: bold;
}

.about-card-item strong {
    display: block;
    color: #ffffff;
    font-size: 15px;
    margin-bottom: 3px;
}

.about-card-item p {
    color: #7f899d;
    font-size: 13px;
    margin: 0;
}
/* =========================
   SKILLS
========================= */

.skills {
    background: #0b0f19;
}

.skills-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}


/* Skill Card */

.skill-card {
    padding: 32px 28px;

    border-radius: 20px;

    background: rgba(255, 255, 255, 0.025);

    border: 1px solid rgba(255, 255, 255, 0.07);

    transition: 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-6px);

    border-color: rgba(108, 99, 255, 0.35);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.25);
}


/* Icon */

.skill-card-icon {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    border-radius: 15px;

    background: #151b28;

    font-size: 24px;
}


/* Title */

.skill-card h3 {
    font-size: 21px;

    margin-bottom: 12px;
}

.skill-card > p {
    color: #8f98aa;

    font-size: 14px;

    line-height: 1.9;

    margin-bottom: 22px;
}


/* Skill List */

.skill-list {
    list-style: none;
}

.skill-list li {
    position: relative;

    padding-right: 18px;

    color: #b5bdcb;

    font-size: 13px;

    margin-bottom: 10px;
}

.skill-list li::before {
    content: "";

    position: absolute;

    right: 0;
    top: 12px;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #6c63ff;
}


/* =========================
   TECHNICAL SKILLS
========================= */

.technical-skills {
    margin-top: 70px;

    padding-top: 45px;

    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.technical-heading {
    margin-bottom: 25px;
}

.technical-heading span {
    display: block;

    color: #ffffff;

    font-size: 20px;

    font-weight: bold;

    margin-bottom: 5px;
}

.technical-heading p {
    color: #737d91;

    font-size: 13px;
}


.technical-list {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;
}

.technical-item {
    padding: 22px;

    border-radius: 15px;

    background: #111722;

    border: 1px solid rgba(255, 255, 255, 0.06);

    transition: 0.3s ease;
}

.technical-item:hover {
    transform: translateY(-4px);

    border-color: rgba(108, 99, 255, 0.3);
}

.technical-item strong {
    display: block;

    color: #ffffff;

    font-size: 15px;

    margin-bottom: 4px;
}

.technical-item span {
    color: #687286;

    font-size: 11px;
}
/* =========================
   EXPERIENCE
========================= */

.experience {
    background: #0e1420;
}


/* Timeline */

.timeline {
    position: relative;

    max-width: 900px;

    margin: 0 auto;

    padding: 10px 0;
}


/* خط وسط */

.timeline::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;

    right: 50%;

    width: 1px;

    background: rgba(255, 255, 255, 0.08);

    transform: translateX(50%);
}


/* Timeline Item */

.timeline-item {
    position: relative;

    width: 50%;

    padding: 0 45px 70px;
}


/* یکی در میان سمت چپ */

.timeline-item:nth-child(odd) {
    right: 0;

    text-align: left;
}


/* یکی در میان سمت راست */

.timeline-item:nth-child(even) {
    right: 50%;

    text-align: right;
}


/* نقطه Timeline */

.timeline-dot {
    position: absolute;

    top: 8px;

    width: 13px;
    height: 13px;

    border-radius: 50%;

    background: #6c63ff;

    border: 3px solid #0e1420;

    box-shadow:
        0 0 0 1px rgba(108, 99, 255, 0.5);
}


/* محل نقطه سمت چپ */

.timeline-item:nth-child(odd) .timeline-dot {
    right: -7px;
}


/* محل نقطه سمت راست */

.timeline-item:nth-child(even) .timeline-dot {
    left: -6px;
}


/* Date */

.timeline-date {
    display: inline-block;

    margin-bottom: 12px;

    color: #6c63ff;

    font-size: 13px;

    font-weight: bold;
}


/* Content */

.timeline-content {
    position: relative;

    padding: 28px;

    border-radius: 18px;

    background: rgba(255, 255, 255, 0.025);

    border: 1px solid rgba(255, 255, 255, 0.07);

    transition: 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);

    border-color: rgba(108, 99, 255, 0.3);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.2);
}


/* Number */

.timeline-number {
    display: block;

    color: #535d70;

    font-size: 11px;

    margin-bottom: 8px;
}


/* Job title */

.timeline-content h3 {
    color: #ffffff;

    font-size: 21px;

    margin-bottom: 3px;
}


/* Company */

.timeline-content h4 {
    color: #6c63ff;

    font-size: 14px;

    font-weight: normal;

    margin-bottom: 15px;
}


/* Description */

.timeline-content p {
    color: #8f98aa;

    font-size: 13px;

    line-height: 2;

    margin-bottom: 20px;
}


/* Tags */

.timeline-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}

.timeline-tags span {
    padding: 4px 9px;

    border-radius: 6px;

    background: #151b28;

    color: #7f899d;

    font-size: 10px;
}
/* =========================
   PROJECTS
========================= */

.projects {
    background: #0b0f19;
}

.projects-intro {
    margin-top: -35px;
    margin-bottom: 45px;
}

.projects-intro p {
    color: #7f899d;
    font-size: 14px;
}


/* Projects Grid */

.projects-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}


/* Project Card */

.project-card {
    overflow: hidden;

    border-radius: 20px;

    background: #111722;

    border: 1px solid rgba(255, 255, 255, 0.07);

    transition: 0.35s ease;
}

.project-card:hover {
    transform: translateY(-7px);

    border-color: rgba(108, 99, 255, 0.35);

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.3);
}


/* =========================
   PROJECT IMAGE
========================= */

.project-image {
    position: relative;

    height: 240px;

    overflow: hidden;

    background: #151b28;
}


/* Background Parsa */

.project-parsa {
    background:
        radial-gradient(
            circle at 70% 40%,
            rgba(108, 99, 255, 0.3),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #151b28,
            #0e1420
        );
}


/* Background Store */

.project-store {
    background:
        radial-gradient(
            circle at 30% 40%,
            rgba(108, 99, 255, 0.2),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #111722,
            #171d2b
        );
}


.project-overlay {
    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 25px;
}


/* Status */

.project-status {
    position: absolute;

    top: 20px;
    right: 20px;

    padding: 5px 11px;

    border-radius: 7px;

    background: rgba(108, 99, 255, 0.15);

    color: #aaa5ff;

    font-size: 11px;

    border: 1px solid rgba(108, 99, 255, 0.2);
}


/* Project Symbol */

.project-symbol {
    width: 110px;
    height: 110px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 25px;

    background: rgba(255, 255, 255, 0.04);

    border: 1px solid rgba(255, 255, 255, 0.1);

    color: #ffffff;

    font-size: 25px;

    font-weight: bold;

    letter-spacing: 2px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3);
}


/* =========================
   PROJECT CONTENT
========================= */

.project-content {
    padding: 28px;
}


.project-top {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 15px;
}


.project-number {
    color: #596276;

    font-size: 11px;
}


.project-type {
    color: #6c63ff;

    font-size: 11px;
}


.project-content h3 {
    color: #ffffff;

    font-size: 22px;

    margin-bottom: 13px;
}


.project-content > p {
    color: #8d96a8;

    font-size: 13px;

    line-height: 2;

    margin-bottom: 22px;
}


/* Technology */

.project-tech {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 25px;
}

.project-tech span {
    padding: 5px 9px;

    border-radius: 6px;

    background: #191f2c;

    color: #8c95a7;

    font-size: 10px;
}


/* Footer */

.project-footer {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.06);

    color: #626d80;

    font-size: 11px;
}


.project-link {
    color: #aaa5ff;

    font-size: 12px;

    transition: 0.3s ease;
}

.project-link span {
    display: inline-block;

    margin-right: 5px;

    transition: 0.3s ease;
}

.project-link:hover {
    color: #ffffff;
}

.project-link:hover span {
    transform: translateX(-4px);
}
/* =========================
   EDUCATION
========================= */

.education {
    background: #0e1420;
}


.education-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}


/* Education Card */

.education-card {
    position: relative;

    min-height: 360px;

    padding: 32px 28px;

    overflow: hidden;

    border-radius: 20px;

    background: rgba(255, 255, 255, 0.025);

    border: 1px solid rgba(255, 255, 255, 0.07);

    transition: 0.35s ease;
}


.education-card:hover {
    transform: translateY(-6px);

    border-color: rgba(108, 99, 255, 0.3);

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.25);
}


/* Main Education */

.education-main {
    border-color: rgba(108, 99, 255, 0.18);

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(108, 99, 255, 0.12),
            transparent 35%
        ),
        rgba(255, 255, 255, 0.025);
}


/* Icon */

.education-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    border-radius: 16px;

    background: #151b28;

    font-size: 25px;
}


/* Number */

.education-number {
    position: absolute;

    top: 28px;
    left: 28px;

    color: #4d576a;

    font-size: 11px;
}


/* Label */

.education-label {
    display: inline-block;

    margin-bottom: 10px;

    color: #6c63ff;

    font-size: 11px;
}


/* Title */

.education-card h3 {
    color: #ffffff;

    font-size: 21px;

    margin-bottom: 7px;
}


/* Place */

.education-place {
    color: #b0b8c7;

    font-size: 13px;

    margin-bottom: 20px;
}


/* Description */

.education-description {
    color: #7f899d;

    font-size: 13px;

    line-height: 2;

    max-width: 300px;
}
/* =========================
   CONTACT
========================= */

.contact {
    background: #0b0f19;
}


.contact-container {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 70px;

    align-items: start;
}


/* =========================
   CONTACT INFO
========================= */

.contact-lead {
    max-width: 400px;

    color: #ffffff;

    font-size: 22px;

    line-height: 1.9;

    margin-bottom: 40px;
}


.contact-items {
    display: flex;

    flex-direction: column;

    gap: 20px;
}


.contact-item {
    display: flex;

    align-items: center;

    gap: 16px;
}


.contact-icon {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 13px;

    background: #151b28;

    color: #aaa5ff;

    font-size: 18px;
}


.contact-item span {
    display: block;

    color: #687286;

    font-size: 11px;

    margin-bottom: 3px;
}


.contact-item strong {
    display: block;

    color: #d9dee8;

    font-size: 14px;

    font-weight: normal;
}


/* =========================
   SOCIAL
========================= */

.contact-social {
    margin-top: 45px;

    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.06);
}


.contact-social > span {
    display: block;

    color: #687286;

    font-size: 11px;

    margin-bottom: 15px;
}


.social-links {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}


.social-links a {
    padding: 7px 12px;

    border-radius: 7px;

    background: #111722;

    border: 1px solid rgba(255, 255, 255, 0.06);

    color: #8d96a8;

    font-size: 11px;

    transition: 0.3s ease;
}


.social-links a:hover {
    color: #ffffff;

    border-color: rgba(108, 99, 255, 0.3);

    transform: translateY(-2px);
}


/* =========================
   CONTACT FORM
========================= */

.contact-form-wrapper {
    padding: 32px;

    border-radius: 20px;

    background: rgba(255, 255, 255, 0.025);

    border: 1px solid rgba(255, 255, 255, 0.07);
}


.contact-form {
    display: flex;

    flex-direction: column;

    gap: 20px;
}


.form-group {
    display: flex;

    flex-direction: column;

    gap: 8px;
}


.form-group label {
    color: #b6bdca;

    font-size: 12px;
}


.form-group input,
.form-group textarea {
    width: 100%;

    padding: 13px 15px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 9px;

    outline: none;

    background: #0e1420;

    color: #ffffff;

    font-family: inherit;

    font-size: 13px;

    transition: 0.3s ease;
}


.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #505a6d;
}


.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(108, 99, 255, 0.6);

    box-shadow:
        0 0 0 3px rgba(108, 99, 255, 0.08);
}


.form-group textarea {
    resize: vertical;

    min-height: 140px;
}


.contact-submit {
    border: none;

    cursor: pointer;

    font-family: inherit;
}
/* =========================
   MOBILE MENU BUTTON
========================= */

.menu-button {
    display: none;

    width: 42px;
    height: 42px;

    padding: 9px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 10px;

    background: #111722;

    cursor: pointer;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 5px;
}


.menu-button span {
    display: block;

    width: 20px;
    height: 2px;

    border-radius: 5px;

    background: #ffffff;

    transition: 0.3s ease;
}


/* =========================
   MENU ANIMATION
========================= */

.menu-button.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-button.active span:nth-child(2) {
    opacity: 0;
}

.menu-button.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
/* =========================
   SCROLL REVEAL
========================= */

.section-heading,
.about-content,
.about-card,
.skill-card,
.technical-skills,
.timeline-item,
.project-card,
.education-card,
.contact-info,
.contact-form-wrapper {
    opacity: 1;
    transform: translateY(0);
}
/* Scroll Reveal - Safe Version */

.js-enabled .section-heading,
.js-enabled .about-content,
.js-enabled .about-card,
.js-enabled .skill-card,
.js-enabled .technical-skills,
.js-enabled .timeline-item,
.js-enabled .project-card,
.js-enabled .education-card,
.js-enabled .contact-info,
.js-enabled .contact-form-wrapper {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-enabled .reveal {
    opacity: 1;
    transform: translateY(0);
}


.reveal {
    opacity: 1;

    transform: translateY(0);
}


/* =========================
   BACK TO TOP
========================= */

.back-to-top {
    position: fixed;

    left: 25px;
    bottom: 25px;

    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 12px;

    background: #151b28;

    color: #ffffff;

    font-size: 20px;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    transition: 0.3s ease;

    z-index: 900;
}


.back-to-top.show {
    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}


.back-to-top:hover {
    background: #6c63ff;

    border-color: #6c63ff;

    transform: translateY(-3px);
}
/* =========================
   HERO ANIMATION
========================= */

.hero-content {
    animation: heroContent 0.9s ease forwards;
}


.hero-visual {
    animation: heroVisual 1s ease 0.15s forwards;

    opacity: 0;
}


@keyframes heroContent {

    from {
        opacity: 0;

        transform: translateY(25px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }

}


@keyframes heroVisual {

    from {
        opacity: 0;

        transform: translateY(25px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }

}
/* =========================================
   STEP 13 - PROFESSIONAL HEADER & HERO
========================================= */

.site-header {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #6c63ff;
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
}

.logo strong {
    color: #ffffff;
    font-size: 17px;
}

/* Hero */

.hero {
    position: relative;
    overflow: hidden;
}

.hero-container {
    min-height: calc(100vh - 80px);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
}

.hero-content {
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    margin-bottom: 22px;
    border: 1px solid rgba(108, 99, 255, 0.3);
    border-radius: 50px;
    background: rgba(108, 99, 255, 0.08);
    color: #9b94ff;
    font-size: 13px;
    font-weight: 600;
}

.hero-content h1 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.1;
    font-weight: 900;
}

.hero-content h2 {
    margin: 0 0 22px;
    color: #d9dce5;
    font-size: clamp(20px, 3vw, 30px);
    line-height: 1.6;
    font-weight: 700;
}

.hero-content h2 span {
    color: #6c63ff;
    margin: 0 5px;
}

.hero-content > p {
    max-width: 650px;
    margin-bottom: 30px;
    color: #9da3b4;
    font-size: 16px;
    line-height: 2;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 45px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 145px;
    padding: 13px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #6c63ff;
    color: #ffffff;
}

.btn-primary:hover {
    background: #7d75ff;
    transform: translateY(-3px);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #151b28;
    color: #ffffff;
}

.btn-secondary:hover {
    border-color: #6c63ff;
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 45px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hero-stat strong {
    color: #ffffff;
    font-size: 25px;
}

.hero-stat span {
    color: #858b9c;
    font-size: 12px;
}

/* Hero Card */

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card {
    width: 100%;
    max-width: 370px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: linear-gradient(
        145deg,
        rgba(30, 37, 54, 0.95),
        rgba(18, 23, 35, 0.95)
    );
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.hero-card-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    color: #7f8799;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6c63ff;
    box-shadow: 0 0 12px rgba(108, 99, 255, 0.8);
}

.hero-avatar {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 22px;
    background: linear-gradient(135deg, #6c63ff, #8c85ff);
    color: #ffffff;
    font-size: 40px;
    font-weight: 900;
}

.hero-card h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 24px;
}

.hero-card > p {
    margin: 0;
    color: #8f96a8;
    font-size: 13px;
    line-height: 1.8;
}

.hero-card-line {
    height: 1px;
    margin: 25px 0;
    background: rgba(255, 255, 255, 0.08);
}
.hero-card-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #b9beca;
    font-size: 13px;
}

.hero-card-item:last-child {
    margin-bottom: 0;
}

.hero-card-item span {
    color: #6c63ff;
    font-size: 9px;
}
/* =========================================
   STEP 14 - PROFESSIONAL CARD ICONS
========================================= */

.skill-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border: 1px solid rgba(108, 99, 255, 0.25);
    border-radius: 14px;
    background: rgba(108, 99, 255, 0.08);
    color: #8c85ff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.skill-card:hover .skill-icon {
    background: #6c63ff;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(108, 99, 255, 0.25);
}
.project-card {
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: "";

    position: absolute;
    top: 0;
    right: 0;

    width: 100%;
    height: 2px;

    background: #6c63ff;

    transform: scaleX(0);
    transform-origin: right;

    transition: transform 0.4s ease;
}

.project-card:hover::before {
    transform: scaleX(1);
}
.skill-card,
.project-card,
.education-card,
.about-card {
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.skill-card:hover,
.project-card:hover,
.education-card:hover,
.about-card:hover {
    transform: translateY(-5px);

    border-color: rgba(108, 99, 255, 0.25);

    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}
/* =========================================
   STEP 15 - RESUME BUTTON
========================================= */

.btn-resume {
    border: 1px solid rgba(108, 99, 255, 0.35);
    background: transparent;
    color: #9b94ff;
}

.btn-resume:hover {
    background: #6c63ff;
    border-color: #6c63ff;
    color: #ffffff;
    transform: translateY(-3px);
}