/* =========================
   ROOT
========================= */

:root {
    --bg: #fffafc;
    --white: #ffffff;
    --text: #25212a;
    --muted: #756d78;

    --pink: #e94f9b;
    --pink-light: #ffe3f1;
    --purple: #7657d9;
    --purple-light: #eee9ff;

    --border: #eadfe7;

    --shadow: 0 20px 60px rgba(80, 45, 80, 0.12);

    --radius: 24px;
    --transition: 0.3s ease;
}


/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    width: 100%;
    min-height: 82px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(255, 255, 255, 0.92);

    border-bottom: 1px solid var(--border);

    position: sticky;
    top: 0;
    z-index: 1000;

    backdrop-filter: blur(14px);
}

.logo {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -2px;
}

.logo span,
.footer-logo span {
    color: var(--pink);
}

.navbar nav {
    display: flex;
    gap: 34px;
    align-items: center;
}

.navbar nav a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.navbar nav a:hover {
    color: var(--pink);
}

.nav-button {
    padding: 12px 22px;
    border-radius: 50px;
    background: var(--text);
    color: white;
    font-size: 13px;
    font-weight: 700;
    transition: var(--transition);
}

.nav-button:hover {
    background: var(--pink);
    transform: translateY(-2px);
}

.menu-btn {
    display: none;
    border: 0;
    background: transparent;
    font-size: 25px;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 720px;
    padding: 90px 8%;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 70px;

    position: relative;

    background:
        radial-gradient(circle at 15% 20%, #ffe2f0 0, transparent 28%),
        radial-gradient(circle at 85% 30%, #e8e0ff 0, transparent 30%),
        var(--bg);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.availability {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 14px;

    background: white;
    border: 1px solid var(--border);
    border-radius: 50px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.availability span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #39b873;
}

.small-title {
    margin-top: 28px;

    color: var(--purple);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}

.hero h1 {
    max-width: 720px;
    margin: 12px 0 24px;

    font-size: clamp(45px, 6vw, 78px);
    line-height: 1.03;
    letter-spacing: -4px;
}

.hero h1 span {
    color: var(--pink);
}

.hero h1 strong {
    display: block;
    color: var(--purple);
}

.hero-text {
    max-width: 620px;
    color: var(--muted);
    font-size: 17px;
}

.hero-buttons {
    margin-top: 34px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 0 25px;

    border-radius: 50px;

    font-size: 14px;
    font-weight: 800;

    transition: var(--transition);
}

.btn.primary {
    background: var(--pink);
    color: white;
    box-shadow: 0 12px 30px rgba(233, 79, 155, 0.25);
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(233, 79, 155, 0.35);
}

.btn.secondary {
    border: 1px solid var(--border);
    background: white;
}

.btn.secondary:hover {
    border-color: var(--purple);
    color: var(--purple);
    transform: translateY(-3px);
}

.quick-stats {
    display: flex;
    gap: 45px;
    margin-top: 45px;
}

.quick-stats div {
    display: flex;
    flex-direction: column;
}

.quick-stats strong {
    font-size: 25px;
}

.quick-stats span {
    color: var(--muted);
    font-size: 12px;
}


/* =========================
   PROFILE CARD
========================= */

.profile-area {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.profile-glow {
    width: 390px;
    height: 390px;

    position: absolute;

    border-radius: 50%;

    background:
        radial-gradient(circle,
        rgba(233, 79, 155, 0.28),
        rgba(118, 87, 217, 0.18),
        transparent 70%);

    filter: blur(10px);
}

.profile-card {
    width: 350px;
    padding: 30px;

    position: relative;
    z-index: 2;

    text-align: center;

    background: rgba(255, 255, 255, 0.95);

    border: 1px solid var(--border);
    border-radius: 30px;

    box-shadow: var(--shadow);

    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.profile-top {
    display: flex;
    justify-content: space-between;

    font-size: 11px;
    font-weight: 800;

    color: var(--purple);
}

.online {
    color: #36a86c;
}

.avatar {
    width: 105px;
    height: 105px;

    margin: 25px auto 18px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        linear-gradient(135deg,
        var(--pink-light),
        var(--purple-light));

    color: var(--purple);

    font-size: 45px;
    font-weight: 900;

    border: 5px solid white;

    box-shadow: 0 10px 35px rgba(118, 87, 217, 0.2);
}

.profile-card h2 {
    font-size: 27px;
}

.profile-card > p {
    color: var(--muted);
    font-size: 14px;
}

.rating {
    margin: 14px 0;

    color: #e9a83d;
    letter-spacing: 2px;
}

.rating span {
    color: var(--muted);
    letter-spacing: 0;
    font-size: 13px;
}

.profile-tags {
    display: flex;
    justify-content: center;
    gap: 7px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.profile-tags span {
    padding: 6px 10px;

    background: var(--purple-light);
    color: var(--purple);

    border-radius: 20px;

    font-size: 10px;
    font-weight: 800;
}

.card-button {
    display: block;

    padding: 13px;

    background: var(--text);
    color: white;

    border-radius: 14px;

    font-size: 13px;
    font-weight: 800;

    transition: var(--transition);
}

.card-button:hover {
    background: var(--pink);
}

.floating-badge {
    position: absolute;
    z-index: 3;

    padding: 12px 18px;

    background: white;

    border: 1px solid var(--border);
    border-radius: 50px;

    box-shadow: var(--shadow);

    font-size: 12px;
    font-weight: 800;
}

.badge-one {
    top: 70px;
    right: 5px;
    color: var(--pink);
    transform: rotate(5deg);
}

.badge-two {
    bottom: 80px;
    left: 5px;
    color: var(--purple);
    transform: rotate(-5deg);
}


/* =========================
   GENERAL SECTIONS
========================= */

.section {
    padding: 110px 8%;
}

.section-heading {
    max-width: 680px;
    margin-bottom: 55px;
}

.section-heading.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-heading > span,
.contact-content > span {
    color: var(--pink);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 3px;
}

.section-heading h2 {
    margin: 12px 0;

    font-size: clamp(35px, 5vw, 56px);
    line-height: 1.1;
    letter-spacing: -2px;
}

.section-heading h2 em,
.contact h2 em {
    color: var(--purple);
    font-style: normal;
}

.section-heading p {
    color: var(--muted);
}


/* =========================
   PROFILE
========================= */

.profile-section {
    background: white;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.profile-description {
    color: var(--muted);
    font-size: 16px;
}

.profile-description p + p {
    margin-top: 20px;
}

.skills-card {
    padding: 35px;

    background: var(--bg);

    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.skills-card h3 {
    margin-bottom: 30px;
    font-size: 24px;
}

.skill {
    margin-bottom: 24px;
}

.skill > div:first-child {
    display: flex;
    justify-content: space-between;

    margin-bottom: 8px;

    font-size: 13px;
    font-weight: 800;
}

.skill strong {
    color: var(--purple);
}

.progress {
    height: 9px;

    background: #eadfe9;

    border-radius: 20px;

    overflow: hidden;
}

.progress span {
    display: block;
    height: 100%;

    border-radius: 20px;

    background: linear-gradient(
        90deg,
        var(--pink),
        var(--purple)
    );
}


/* =========================
   SERVICES
========================= */

.services {
    background:
        radial-gradient(circle at 90% 10%, #eee8ff, transparent 25%),
        var(--bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    padding: 30px;

    position: relative;

    background: white;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.service-card.featured {
    background: linear-gradient(
        145deg,
        #fff0f7,
        #f0ebff
    );

    border-color: #dfcbea;
}

.service-icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    margin-bottom: 25px;

    border-radius: 16px;

    background: var(--pink-light);
    color: var(--pink);

    font-weight: 900;
}

.service-card:nth-child(even) .service-icon {
    background: var(--purple-light);
    color: var(--purple);
}

.service-number {
    position: absolute;
    top: 25px;
    right: 25px;

    color: #b9aeb9;

    font-size: 11px;
    font-weight: 900;
}

.service-card h3 {
    font-size: 21px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--muted);
    font-size: 13px;
}

.service-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 25px;
    padding-top: 18px;

    border-top: 1px solid var(--border);
}

.service-bottom strong {
    font-size: 14px;
}

.service-bottom a {
    color: var(--pink);
    font-size: 12px;
    font-weight: 900;
}


/* =========================
   PORTFOLIO
========================= */

.portfolio {
    background: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.project {
    min-height: 390px;
    padding: 30px;

    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    overflow: hidden;

    border-radius: 30px;

    transition: var(--transition);
}

.project:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.project-one {
    background: linear-gradient(
        145deg,
        #ffe3f0,
        #f9c6df
    );
}

.project-two {
    background: linear-gradient(
        145deg,
        #eee8ff,
        #d9cdfb
    );
}

.project-three {
    background: linear-gradient(
        145deg,
        #fff1d9,
        #ffdcb1
    );
}

.project-number {
    position: absolute;
    top: 25px;
    left: 25px;

    font-size: 12px;
    font-weight: 900;
}

.project-symbol {
    position: absolute;
    top: 70px;
    left: 50%;

    transform: translateX(-50%);

    font-size: 100px;

    opacity: 0.35;
}

.project-info {
    position: relative;
    z-index: 2;
}

.project-info span {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.project-info h3 {
    margin: 7px 0;

    font-size: 28px;
}

.project-info p {
    font-size: 13px;
    color: #5e5360;
}


/* =========================
   REVIEWS
========================= */

.reviews {
    background: var(--bg);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.review {
    padding: 35px;

    background: white;

    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.review-stars {
    margin-bottom: 18px;

    color: #e6a63d;
    letter-spacing: 4px;
}

.review p {
    min-height: 120px;

    color: var(--muted);
    font-size: 14px;
}

.review strong,
.review span {
    display: block;
}

.review strong {
    margin-top: 20px;
}

.review span {
    color: var(--purple);
    font-size: 11px;
    font-weight: 700;
}


/* =========================
   CONTACT
========================= */

.contact {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 70px;
    align-items: center;

    background:
        radial-gradient(circle at 10% 80%, #ffe2f0, transparent 30%),
        radial-gradient(circle at 90% 10%, #e7dfff, transparent 30%),
        white;
}

.contact-content h2 {
    margin: 15px 0;

    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.1;
    letter-spacing: -2px;
}

.contact-content > p {
    max-width: 570px;
    color: var(--muted);
}

.contact-details {
    display: flex;
    gap: 35px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.contact-details > div {
    display: flex;
    align-items: center;
    gap: 13px;
}

.contact-details > div > strong {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    border-radius: 14px;

    background: var(--pink-light);
    color: var(--pink);
}

.contact-details section {
    display: flex;
    flex-direction: column;
}

.contact-details small {
    color: var(--muted);
}

.contact-details b {
    font-size: 13px;
}

.contact-form {
    padding: 35px;

    background: white;

    border: 1px solid var(--border);
    border-radius: 28px;

    box-shadow: var(--shadow);
}

.contact-form h3 {
    margin-bottom: 25px;
    font-size: 24px;
}

.contact-form label {
    display: block;

    margin-bottom: 18px;

    font-size: 12px;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;

    margin-top: 7px;
    padding: 14px 15px;

    border: 1px solid var(--border);
    border-radius: 13px;

    outline: none;

    background: #fffafd;

    color: var(--text);

    transition: var(--transition);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 4px rgba(233, 79, 155, 0.08);
}

.contact-form .btn {
    width: 100%;
    border: 0;
}

#formMessage {
    margin-top: 14px;

    color: #39a66d;

    text-align: center;

    font-size: 13px;
    font-weight: 700;
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 55px 8%;

    background: #211c26;
    color: white;

    text-align: center;
}

.footer-logo {
    font-size: 40px;
    font-weight: 900;
}

footer p {
    margin: 7px 0 25px;

    color: #bcb3c2;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;

    margin-bottom: 25px;
}

.footer-links a {
    color: #d9d0db;
    font-size: 13px;
}

.footer-links a:hover {
    color: #ff80ba;
}

footer small {
    color: #918894;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1050px) {

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .quick-stats {
        justify-content: center;
    }

    .profile-area {
        min-height: 550px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .profile-grid,
    .contact {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 760px) {

    .navbar {
        padding: 0 5%;
    }

    .navbar nav,
    .nav-button {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .navbar nav.active {
        display: flex;

        position: absolute;

        top: 82px;
        left: 0;
        right: 0;

        padding: 25px;

        flex-direction: column;

        background: white;

        border-bottom: 1px solid var(--border);

        box-shadow: var(--shadow);
    }

    .hero,
    .section {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero {
        padding-top: 70px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .quick-stats {
        gap: 25px;
    }

    .profile-card {
        width: min(350px, 90vw);
    }

    .floating-badge {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-details {
        flex-direction: column;
    }
}


@media (max-width: 450px) {

    .hero h1 {
        font-size: 42px;
    }

    .hero-text {
        font-size: 15px;
    }

    .quick-stats {
        gap: 18px;
    }

    .quick-stats strong {
        font-size: 20px;
    }

    .profile-card {
        padding: 25px 20px;
    }

    .section {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .contact-form {
        padding: 25px 20px;
    }
}