/* ================= ROOT VARIABLES ================= */

:root {
    --white: #ffffff;
    --soft-white: #fff8fb;
    --pink-light: #ffe4ef;
    --pink-soft: #ffd0e2;
    --pink: #f58ab2;
    --pink-dark: #d94f86;
    --text: #29232a;
    --muted: #756b73;
    --border: #f4d6e3;
    --shadow: 0 20px 50px rgba(217, 79, 134, 0.12);
    --radius: 22px;
}


/* ================= RESET ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font: inherit;
}

.container {
    width: min(1120px, 90%);
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}


/* ================= HEADER ================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.nav-container {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--pink-dark);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    position: relative;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--pink-dark);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--pink-dark);
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-btn {
    display: none;
    border: 0;
    background: var(--pink-light);
    color: var(--pink-dark);
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 22px;
}


/* ================= HERO ================= */

.hero {
    min-height: 680px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 90% 10%,
            var(--pink-light),
            transparent 28%),
        var(--white);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 70px;
}

.hero-small-title {
    color: var(--pink-dark);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: clamp(48px, 7vw, 82px);
    line-height: 1.05;
    letter-spacing: -4px;
    margin-bottom: 22px;
}

.hero h1 span {
    display: block;
    color: var(--pink-dark);
}

.hero h2 {
    max-width: 570px;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-description {
    max-width: 590px;
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 23px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--pink-dark);
    color: var(--white);
}

.btn-primary:hover {
    background: #bd3d70;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(217, 79, 134, 0.25);
}

.btn-outline {
    border-color: var(--pink-dark);
    color: var(--pink-dark);
    background: var(--white);
}

.btn-outline:hover {
    background: var(--pink-light);
    transform: translateY(-3px);
}

.hero-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.hero-socials a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.hero-socials a:hover {
    color: var(--pink-dark);
}

.hero-image-wrapper {
    position: relative;
    width: min(390px, 100%);
    margin: 0 auto;
}

.hero-image {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 440px;
  border: 2px solid var(--pink);
  border-radius: 0 36px 36px 36px;
  padding: 0;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

.hero-image-card {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 35px;
    background: var(--pink-light);
    box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-badge {
    position: absolute;
    z-index: 2;
    left: -45px;
    bottom: 35px;
    width: 185px;
    padding: 18px;
    border-radius: 18px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.hero-badge strong {
    display: block;
    color: var(--pink-dark);
    font-size: 25px;
    line-height: 1.2;
}

.hero-badge span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
    margin-top: 5px;
}


/* ================= SECTION HEADINGS ================= */

.section-heading {
    max-width: 680px;
    margin-bottom: 55px;
}

.section-label {
    color: var(--pink-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-heading h2 {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 15px;
}

.section-heading p:not(.section-label) {
    color: var(--muted);
    font-size: 16px;
}


/* ================= ABOUT ================= */

.about-section {
    background: var(--soft-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 70px;
    align-items: start;
}

.about-content p {
    color: var(--muted);
    margin-bottom: 18px;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 35px;
}

.highlight-card {
    padding: 22px 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    text-align: center;
}

.highlight-number {
    display: block;
    color: var(--pink-dark);
    font-size: 25px;
    font-weight: 800;
}

.highlight-text {
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
    margin-top: 5px;
}

.about-details {
    background: var(--white);
    padding: 15px 25px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 17px 0;
    border-bottom: 1px solid var(--border);
}

.detail-item:last-child {
    border-bottom: 0;
}

.detail-title {
    color: var(--pink-dark);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-value {
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
}

.detail-link:hover {
    color: var(--pink-dark);
}


/* ================= EDUCATION TIMELINE ================= */

.education-section {
    background: var(--white);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--pink-soft);
}

.timeline-item {
    position: relative;
    padding-left: 55px;
    margin-bottom: 35px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 5px;
    top: 25px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--pink-dark);
    border: 5px solid var(--pink-light);
    box-shadow: 0 0 0 3px var(--pink);
}

.timeline-card {
    padding: 30px;
    background: var(--soft-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.timeline-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.timeline-date {
    color: var(--pink-dark);
    font-size: 13px;
    font-weight: 800;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--pink-light);
    color: var(--pink-dark);
    font-size: 11px;
    font-weight: 800;
}

.status-badge.completed {
    background: #fff0f5;
}

.timeline-card h3 {
    font-size: 22px;
    line-height: 1.35;
    margin-bottom: 7px;
}

.timeline-card h4 {
    color: var(--pink-dark);
    font-size: 15px;
    margin-bottom: 18px;
}

.timeline-card p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.education-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.education-info span {
    padding: 7px 11px;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
}

.education-info strong {
    color: var(--text);
}

.text-link,
.project-link {
    display: inline-block;
    color: var(--pink-dark);
    font-size: 13px;
    font-weight: 800;
}

.text-link:hover,
.project-link:hover {
    text-decoration: underline;
}


/* ================= EXPERIENCE ================= */

.experience-section {
    background: var(--soft-white);
}

.experience-list {
    display: grid;
    gap: 20px;
}

.experience-card {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 25px;
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.experience-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 16px;
    background: var(--pink-light);
    color: var(--pink-dark);
    font-size: 16px;
    font-weight: 800;
}

.experience-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 12px;
}

.experience-heading h3 {
    font-size: 21px;
    line-height: 1.3;
}

.experience-heading h4 {
    color: var(--pink-dark);
    font-size: 14px;
    margin-top: 4px;
}

.experience-date {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.experience-content p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 17px;
}


/* ================= TAGS ================= */

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-list span {
    padding: 6px 10px;
    background: var(--pink-light);
    color: var(--pink-dark);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
}


/* ================= PROJECTS ================= */

.projects-section {
    background: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.project-card {
    position: relative;
    overflow: hidden;
    padding: 32px;
    min-height: 330px;
    background: var(--soft-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.project-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--pink-dark);
}

.project-number {
    color: var(--pink-soft);
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 25px;
}

.project-category {
    color: var(--pink-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.project-content h3 {
    font-size: 25px;
    line-height: 1.25;
    margin-bottom: 15px;
}

.project-content>p:not(.project-category) {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.project-link {
    margin-top: 22px;
}

.project-note,
.project-status {
    display: inline-block;
    margin-top: 22px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.project-status {
    color: var(--pink-dark);
    padding: 7px 11px;
    background: var(--pink-light);
    border-radius: 8px;
}

.current-project {
    border: 2px solid var(--pink);
}


/* ================= SKILLS ================= */

.skills-section {
    background: var(--soft-white);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.skill-group {
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.skill-group h3 {
    font-size: 20px;
    margin-bottom: 22px;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-list span {
    padding: 9px 13px;
    border-radius: 10px;
    background: var(--pink-light);
    color: var(--pink-dark);
    font-size: 13px;
    font-weight: 700;
}


/* ================= CONTACT ================= */

.contact-section {
    background: var(--white);
}

.contact-box {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 60px;
    align-items: center;
    padding: 60px;
    background: var(--soft-white);
    border: 1px solid var(--border);
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.contact-content h2 {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.15;
    margin-bottom: 20px;
}

.contact-content p:not(.section-label) {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 15px;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.contact-actions .btn {
    width: 100%;
}


/* ================= FOOTER ================= */

.footer {
    padding: 28px 0;
    background: var(--soft-white);
    border-top: 1px solid var(--border);
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer p {
    color: var(--muted);
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.footer-links a:hover {
    color: var(--pink-dark);
}


/* ================= RESPONSIVE DESIGN ================= */

@media (max-width: 900px) {

    .section {
        padding: 75px 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .hero-content {
        text-align: center;
    }

    .hero h2,
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-socials {
        justify-content: center;
    }

    .hero-image-wrapper {
        width: min(350px, 85%);
    }

    .about-grid,
    .contact-box {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .projects-grid,
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .contact-box {
        padding: 40px;
    }

}

@media (max-width: 700px) {

    .nav-container {
        min-height: 70px;
    }

    .menu-btn {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 15px 5%;
        background: var(--white);
        border-bottom: 1px solid var(--border);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu a {
        padding: 13px 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-menu a:last-child {
        border-bottom: 0;
    }

    .nav-menu a::after {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-top: 65px;
    }

    .hero h1 {
        font-size: 52px;
        letter-spacing: -2px;
    }

    .hero h2 {
        font-size: 19px;
    }

    .hero-image-wrapper {
        width: min(290px, 85%);
    }

    .hero-badge {
        left: -15px;
        bottom: 20px;
        width: 160px;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        padding-left: 40px;
    }

    .timeline::before {
        left: 9px;
    }

    .timeline-dot {
        left: 0;
    }

    .timeline-card,
    .experience-card,
    .project-card,
    .skill-group {
        padding: 24px;
    }

    .timeline-card h3,
    .project-content h3 {
        font-size: 21px;
    }

    .experience-card {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .experience-heading {
        flex-direction: column;
        gap: 8px;
    }

    .experience-date {
        white-space: normal;
    }

    .contact-box {
        padding: 30px 22px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

}

@media (max-width: 420px) {

    .hero h1 {
        font-size: 44px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-socials {
        gap: 15px;
    }

    .education-info {
        flex-direction: column;
    }

}
