@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #31a9dc;
    --primary-dark: #168fca;
    --dark: #43505d;
    --text: #30343b;
    --muted: #707780;
    --line: #e7eaed;
    --soft: #f8fafb;
    --white: #ffffff;
    --nav-width: 92px;
    --shadow: 0 15px 45px rgba(38, 53, 65, 0.10);
}


/* ================= GLOBAL ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    scroll-padding-top: 30px;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

main {
    margin-left: var(--nav-width);
}

.section {
    min-height: 100vh;
    padding: 100px 8%;
    position: relative;
    overflow: hidden;
}

.white-section {
    background: #fff;
}

.soft-section {
    background: #fafbfc;
}


/* ================= NAVIGATION ================= */

.side-nav {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: var(--nav-width);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(12px);
}

.nav-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    align-items: center;
}

.nav-item {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #67727d;
    background: #eef0f2;
    transition: .3s ease;
    overflow: hidden;
    white-space: nowrap;
}

.nav-item i {
    font-size: 18px;
    flex-shrink: 0;
}

.nav-item span {
    display: none;
}

.nav-item:hover,
.nav-item.active {
    width: 142px;
    border-radius: 35px;
    justify-content: flex-start;
    padding-left: 20px;
    color: #fff;
    background: var(--primary);
    box-shadow: 0 10px 25px rgba(49,169,220,.25);
}

.nav-item:hover span,
.nav-item.active span {
    display: inline;
    font-size: 15px;
    font-weight: 600;
}

.mobile-header {
    display: none;
}


/* ================= HERO ================= */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 60px;
    background: #fff;
}

.hero-shape {
    position: absolute;
    right: -12%;
    top: -15%;
    width: 48%;
    height: 130%;
    background: #b9e8fb;
    border-radius: 58% 0 0 58%;
    transform: rotate(-10deg);
    opacity: .9;
}

.hero-shape::before {
    content: "";
    position: absolute;
    left: -12%;
    top: 35%;
    width: 50%;
    height: 35%;
    background: #fff;
    border-radius: 50%;
}

.hero-bubble {
    position: absolute;
    border-radius: 50%;
    background: #a8def5;
    opacity: .85;
}

.bubble-one {
    width: 90px;
    height: 90px;
    right: 23%;
    top: 28%;
}

.bubble-two {
    width: 60px;
    height: 60px;
    right: 31%;
    top: 19%;
}

.bubble-three {
    width: 75px;
    height: 75px;
    right: 28%;
    top: 47%;
}

.hero-content {
    width: 100%;
    max-width: 1350px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 700px;
}

.eyebrow {
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.hero-text h1 {
    color: var(--dark);
    font-size: clamp(55px, 6vw, 88px);
    line-height: 1;
    letter-spacing: -4px;
    margin-bottom: 22px;
    white-space: nowrap;
}

.typing-line {
    font-size: clamp(23px, 2.5vw, 34px);
    color: #292d32;
    margin-bottom: 22px;
}

.typing-line span:first-child {
    color: var(--primary);
    font-weight: 600;
}

.cursor {
    color: var(--primary);
    animation: blink .7s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.hero-description {
    max-width: 560px;
    line-height: 1.8;
    color: var(--muted);
    font-size: 16px;
}

.socials {
    display: flex;
    gap: 12px;
    margin: 28px 0;
}

.socials a,
.footer-socials a {
    width: 39px;
    height: 39px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #60666b;
    color: #fff;
    transition: .25s ease;
}

.socials a:hover,
.footer-socials a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    border-radius: 30px;
    padding: 14px 24px;
    cursor: pointer;
    font-weight: 600;
    transition: .25s ease;
}

.primary-btn {
    color: #fff;
    background: var(--primary);
    box-shadow: 0 10px 24px rgba(49,169,220,.22);
}

.primary-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.outline-btn {
    color: var(--dark);
    border: 1px solid #d6dce0;
    background: #fff;
}

.outline-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}


/* ================= LARGE PROFILE IMAGE ================= */

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 650px;
}

.photo-frame {
    width: min(650px, 100%);
    height: 700px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.photo-frame::before {
    content: "";
    position: absolute;
    width: 94%;
    height: 94%;
    left: 3%;
    top: 3%;
    border-radius: 50% 50% 45% 45%;
    background: rgba(255,255,255,.6);
    z-index: 0;
}


/*
    IMPORTANT:
    The image is intentionally larger than the frame.
    This makes your person/image appear much closer
    to the large Canva/reference design.
*/

.profile-photo {
    width: 125%;
    height: 125%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center bottom;
    display: block;
    position: relative;
    z-index: 2;
    transform: translateY(4%);
}


/* ================= SCROLL ================= */

.scroll-down {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    color: #89939b;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    animation: float 1.8s ease-in-out infinite;
}

@keyframes float {
    50% {
        transform: translate(-50%, -7px);
    }
}


/* ================= SECTION HEADINGS ================= */

.section-heading {
    text-align: center;
    margin-bottom: 65px;
}

.section-heading h2 {
    color: var(--dark);
    font-size: clamp(32px, 4vw, 45px);
    margin-bottom: 16px;
}

.heading-line {
    width: 160px;
    height: 2px;
    background: #aeb4b9;
    margin: 0 auto 20px;
    position: relative;
}

.heading-line span {
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--primary);
    left: 50%;
    top: -1px;
    transform: translateX(-50%);
}

.section-heading p {
    color: #30353a;
    font-size: 15px;
}


/* ================= ABOUT ================= */

.about-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 80px;
    align-items: center;
}

.about-copy p {
    line-height: 1.85;
    color: var(--muted);
    margin-bottom: 18px;
}

.about-copy .lead {
    color: var(--text);
    font-size: 18px;
}

.text-link {
    color: var(--primary);
    font-weight: 700;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.skills-card {
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.skill-row {
    margin-bottom: 23px;
}

.skill-row:last-child {
    margin-bottom: 0;
}

.skill-row > div:first-child {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.skill-row strong {
    color: var(--primary);
}

.progress {
    height: 6px;
    background: #edf0f2;
    border-radius: 20px;
    overflow: hidden;
}

.progress span {
    display: block;
    height: 100%;
    background: var(--primary);
    border-radius: inherit;
}

.service-grid {
    max-width: 1100px;
    margin: 80px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    text-align: center;
    padding: 34px 25px;
    border: 1px solid var(--line);
    border-radius: 14px;
    transition: .3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.icon-circle {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #e9f8fe;
    color: var(--primary);
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    font-size: 22px;
}

.service-card h3 {
    color: var(--dark);
    margin-bottom: 10px;
}

.service-card p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 14px;
}


/* ================= EXPERIENCE ================= */

.timeline {
    max-width: 850px;
    margin: auto;
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #dce2e6;
}

.timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 38px;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 7px;
    width: 22px;
    height: 22px;
    border: 5px solid #e8f7fc;
    background: var(--primary);
    border-radius: 50%;
}

.timeline-date {
    color: var(--primary);
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 800;
    margin-bottom: 8px;
}

.timeline-card {
    background: #fff;
    padding: 25px 28px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(50,65,75,.06);
}

.timeline-card h3 {
    color: var(--dark);
    margin-bottom: 7px;
    font-size: 20px;
}

.timeline-card h4 {
    color: var(--primary);
    font-size: 14px;
    margin-bottom: 12px;
}

.timeline-card p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 14px;
}


/* ================= WORK ================= */

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    border: 1px solid #dce1e5;
    background: #fff;
    color: var(--muted);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: .25s;
}

.filter-btn:hover,
.filter-btn.active {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
}

.work-grid {
    max-width: 1150px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.work-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 7px 25px rgba(45,60,70,.08);
    transition: .3s;
}

.work-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.work-card.hidden {
    display: none;
}

.work-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: #e9eef1;
}

.work-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    transition: transform .3s ease;
}

.work-card:hover .work-image img {
    transform: scale(1.05);
}

.media-placeholder,
.video-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    color: #8d98a1;
    background: linear-gradient(135deg, #edf1f3, #dfe5e8);
}

.media-placeholder i {
    font-size: 45px;
}

.media-placeholder span,
.video-placeholder span {
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 800;
}

.work-info {
    padding: 20px;
}

.work-info > span {
    color: var(--primary);
    font-size: 10px;
    letter-spacing: 1.4px;
    font-weight: 800;
}

.work-info h3 {
    color: var(--dark);
    margin: 7px 0;
}

.work-info p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}


/* ================= VIDEOS ================= */

.video-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.video-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(50,65,75,.08);
}

.vertical-video {
    width: 220px;
    height: 390px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.vertical-video video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.video-placeholder {
    height: 230px;
    position: relative;
}

.video-placeholder i {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: #fff;
    font-size: 20px;
    padding-left: 3px;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    color: var(--dark);
    margin-bottom: 8px;
}

.video-info p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}


/* ================= CONTACT ================= */

.contact-section {
    min-height: auto;
}

.contact-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 70px;
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: #eaf8fd;
    font-size: 19px;
}

.contact-item h3 {
    color: var(--dark);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text);
    font-size: 14px;
}

.contact-socials {
    display: flex;
    gap: 10px;
    margin-top: 35px;
}

.contact-socials a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: var(--primary);
    border: 1px solid #dbeef5;
    border-radius: 50%;
    transition: .25s;
}

.contact-socials a:hover {
    color: #fff;
    background: var(--primary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 23px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 23px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #d7dadd;
    outline: none;
    padding: 14px 16px;
    color: var(--text);
    background: #fff;
    resize: vertical;
    transition: .2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(49,169,220,.08);
}

.contact-form button {
    align-self: center;
}

.form-message {
    text-align: center;
    min-height: 20px;
    color: var(--primary);
    font-size: 13px;
}


/* ================= FOOTER ================= */

footer {
    background: #fafafa;
    text-align: center;
    padding: 45px 20px 30px;
}

footer h2 {
    color: var(--dark);
    font-size: 32px;
    margin-bottom: 10px;
}

footer > p {
    color: var(--muted);
    font-size: 13px;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.copyright {
    margin-top: 25px;
    font-size: 11px !important;
}


/* ================= REVEAL ANIMATION ================= */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}


/* ================= BACK TO TOP ================= */

.back-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .3s;
    z-index: 900;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* ================= TABLET ================= */

@media (max-width: 1000px) {

    :root {
        --nav-width: 0px;
    }

    main {
        margin-left: 0;
    }

    .side-nav {
        width: 230px;
        transform: translateX(-100%);
        transition: .3s;
        box-shadow: 10px 0 35px rgba(0,0,0,.08);
    }

    .side-nav.open {
        transform: translateX(0);
    }

    .nav-inner {
        align-items: flex-start;
        padding: 20px;
    }

    .nav-item,
    .nav-item:hover,
    .nav-item.active {
        width: 190px;
        border-radius: 30px;
        justify-content: flex-start;
        padding-left: 20px;
    }

    .nav-item span,
    .nav-item:hover span,
    .nav-item.active span {
        display: inline;
    }

    .mobile-header {
        display: flex;
        position: fixed;
        z-index: 1100;
        top: 0;
        left: 0;
        right: 0;
        height: 65px;
        background: rgba(255,255,255,.94);
        backdrop-filter: blur(12px);
        align-items: center;
        justify-content: space-between;
        padding: 0 22px;
        box-shadow: 0 2px 15px rgba(0,0,0,.05);
    }

    .brand {
        color: var(--dark);
        font-size: 25px;
        font-weight: 800;
    }

    .brand span {
        color: var(--primary);
    }

    .menu-btn {
        border: none;
        background: var(--primary);
        color: #fff;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
    }

    .section {
        padding: 95px 6%;
    }

    .hero-section {
        padding-top: 110px;
    }

    .hero-content {
        grid-template-columns: 1fr 1fr;
    }

    .hero-visual {
        min-height: 600px;
    }

    .photo-frame {
        width: 550px;
        height: 620px;
    }

    .profile-photo {
        width: 125%;
        height: 125%;
    }
}


/* ================= MOBILE ================= */

@media (max-width: 800px) {

    .hero-content,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .hero-text {
        margin: auto;
    }

    .hero-description {
        margin: auto;
    }

    .socials,
    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
        min-height: 500px;
    }

    .photo-frame {
        width: min(450px, 100%);
        height: 520px;
    }

    .profile-photo {
        width: 120%;
        height: 120%;
    }

    .hero-shape {
        width: 85%;
        right: -35%;
        opacity: .65;
    }

    .about-grid {
        gap: 45px;
    }

    .service-grid,
    .work-grid,
    .video-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        gap: 45px;
    }
}


/* ================= SMALL MOBILE ================= */

@media (max-width: 560px) {

    .photo-frame {
        width: min(380px, 100%);
        height: 450px;
    }

    .profile-photo {
        width: 120%;
        height: 120%;
        transform: translateY(3%);
    }

    .section {
        padding: 80px 5%;
    }

    .hero-text h1 {
        font-size: 48px;
        letter-spacing: -2px;
        white-space: normal;
    }

    .typing-line {
        font-size: 22px;
    }

    .service-grid,
    .work-grid,
    .video-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .work-image {
        height: 200px;
    }

    .section-heading {
        margin-bottom: 45px;
    }

    .scroll-down {
        display: none;
    }

    .back-top {
        right: 15px;
        bottom: 15px;
    }
}

/* ================= HERO REFERENCE MATCH ================= */
@media (min-width: 1001px) {
    .hero-section {
        padding-top: 40px;
    }

    .hero-content {
        grid-template-columns: 0.92fr 1.08fr;
        max-width: 1380px;
        gap: 0;
        align-items: center;
    }

    .hero-text {
        position: relative;
        z-index: 5;
        max-width: 700px;
    }

    .hero-visual {
        min-height: 760px;
        justify-content: flex-end;
        align-items: flex-end;
        margin-right: -8%;
        overflow: visible;
    }

    .photo-frame {
        width: 760px;
        height: 850px;
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
        overflow: visible;
    }

    .photo-frame::before {
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
    }

    .profile-photo {
        width: 170%;
        height: auto;
        max-width: none;
        max-height: none;
        object-fit: contain;
        object-position: right bottom;
        transform: translate(5%, 5%);
        transform-origin: right bottom;
    }
}
