/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea {
    font: inherit;
}


/* =====================================================
   VARIABLES
===================================================== */

:root {
    --primary: #b8ff00;
    --background: #0a0a0a;
    --background-light: #111111;
    --card: #151515;
    --border: #292929;
    --text: #ffffff;
    --muted: #999999;
    --container: 1200px;
}


/* =====================================================
   GLOBAL
===================================================== */

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}

.section {
    padding: 110px 0;
}

.section-heading p {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.section-heading h2 {
    max-width: 700px;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.section-heading h2 span {
    color: var(--primary);
}

.section-heading.center {
    text-align: center;
}

.section-heading.center h2 {
    margin-inline: auto;
}


/* =====================================================
   HEADER
===================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary);
}

.navbar {
    display: flex;
    align-items: center;
    gap: 35px;
}

.navbar a {
    color: #aaa;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

.navbar a:hover {
    color: var(--primary);
}

.nav-btn {
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 11px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
}

.nav-btn:hover {
    background: var(--primary);
    color: #000;
}


/* =====================================================
   HERO
===================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--primary);
    opacity: 0.06;
    filter: blur(100px);
    border-radius: 50%;
    right: -200px;
    top: 100px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 80px;
}

.hero-intro {
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.hero h1 {
    max-width: 750px;
    font-size: clamp(50px, 7vw, 88px);
    line-height: 0.98;
    letter-spacing: -5px;
}

.hero h1 span {
    display: block;
    color: var(--primary);
}

.hero-description {
    max-width: 600px;
    color: var(--muted);
    font-size: 17px;
    margin: 30px 0;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    padding: 0 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(184, 255, 0, 0.15);
}

.btn-outline {
    border: 1px solid #444;
    color: #fff;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero-socials {
    display: flex;
    gap: 25px;
    margin-top: 45px;
}

.hero-socials a {
    color: #777;
    font-size: 13px;
    transition: 0.3s;
}

.hero-socials a:hover {
    color: var(--primary);
}


/* =====================================================
   HERO DESIGN CARD
===================================================== */

.hero-image {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-decoration {
    position: absolute;
    width: 380px;
    height: 380px;
    border: 1px solid #333;
    border-radius: 50%;
}

.image-decoration::before {
    content: "";
    position: absolute;
    inset: 40px;
    border: 1px dashed #333;
    border-radius: 50%;
}

.designer-card {
    position: relative;
    width: min(100%, 440px);
    padding: 15px;
    background: #161616;
    border: 1px solid #333;
    border-radius: 15px;
    transform: rotate(-3deg);
    box-shadow: 30px 30px 80px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.code-window {
    overflow: hidden;
    background: #0d0d0d;
    border-radius: 8px;
}

.window-header {
    height: 42px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 15px;
    border-bottom: 1px solid #222;
}

.window-header span {
    width: 9px;
    height: 9px;
    background: #444;
    border-radius: 50%;
}

.code-content {
    padding: 40px 30px;
    min-height: 300px;
    font-family: monospace;
    font-size: 14px;
    line-height: 2.2;
}

.indent {
    padding-left: 25px;
}

.purple {
    color: #c084fc;
}

.blue {
    color: #60a5fa;
}

.green {
    color: #86efac;
}

.orange {
    color: #fb923c;
}

.white {
    color: #fff;
}

.experience-card {
    position: absolute;
    right: -20px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    padding: 18px 25px;
    background: var(--primary);
    color: #000;
    border-radius: 10px;
    z-index: 5;
    transform: rotate(3deg);
}

.experience-card strong {
    font-size: 30px;
    line-height: 1;
}

.experience-card span {
    font-size: 11px;
    font-weight: 600;
}


/* =====================================================
   ABOUT
===================================================== */

.about {
    background: #0d0d0d;
}

.about-grid {
    margin-top: 70px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    min-height: 500px;
}

.about-placeholder {
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    background:
        linear-gradient(
            135deg,
            #222 0%,
            #111 50%,
            #1c1c1c 100%
        );
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.about-placeholder::before {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    border: 50px solid var(--primary);
    border-radius: 50%;
    opacity: 0.7;
}

.about-placeholder span {
    position: relative;
    font-size: 45px;
    font-weight: 800;
    letter-spacing: 5px;
}

.about-content h3 {
    max-width: 600px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
    margin-bottom: 25px;
}

.about-content p {
    color: var(--muted);
    margin-bottom: 18px;
    max-width: 650px;
}

.about-stats {
    display: flex;
    gap: 50px;
    margin-top: 45px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.about-stats div {
    display: flex;
    flex-direction: column;
}

.about-stats strong {
    font-size: 35px;
    color: var(--primary);
}

.about-stats span {
    color: #777;
    font-size: 13px;
}


/* =====================================================
   SERVICES
===================================================== */

.services-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    position: relative;
    padding: 40px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    min-height: 350px;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #555;
}

.service-card.featured {
    background: var(--primary);
    color: #000;
}

.service-number {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 12px;
    color: #666;
}

.featured .service-number {
    color: #333;
}

.service-icon {
    font-size: 40px;
    margin-bottom: 50px;
}

.service-card h3 {
    font-size: 25px;
    margin-bottom: 15px;
}

.service-card p {
    color: #888;
    font-size: 14px;
    margin-bottom: 30px;
}

.featured p {
    color: #333;
}

.service-card a {
    font-size: 13px;
    font-weight: 700;
}

.featured a {
    color: #000;
}


/* =====================================================
   PROJECTS
===================================================== */

.projects {
    background: #0d0d0d;
}

.projects-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.view-all {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
}

.projects-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 25px;
}

.project-card.large {
    grid-column: span 2;
}

.project-image {
    height: 380px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.project-card.large .project-image {
    height: 500px;
}

.project-one {
    background:
        linear-gradient(
            135deg,
            #d9ff7a,
            #333
        );
        background-image: url("images/webdesign.jpeg");
}

.project-two {
    background:
        linear-gradient(
            135deg,
            #ffb36b,
            #382b24
        );
        background-image: url("images/uiux.jpeg");
}

.project-three {
    background:
        linear-gradient(
            135deg,
            #7aafff,
            #172238
        );
}

.project-four {
    background:
        linear-gradient(
            135deg,
            #d18aff,
            #26152f
        );
}

.project-image::before {
    content: "";
    position: absolute;
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border: 20px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    transform: rotate(-8deg);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay a {
    padding: 15px 25px;
    border-radius: 50px;
    background: var(--primary);
    color: #000;
    font-size: 13px;
    font-weight: 700;
}

.project-info {
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.project-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.project-info p {
    color: #777;
    font-size: 12px;
}

.project-info > span {
    color: var(--primary);
    font-size: 12px;
}


/* =====================================================
   SKILLS
===================================================== */

.skills-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.skill > div:first-child {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
}

.skill strong {
    color: var(--primary);
}

.progress {
    width: 100%;
    height: 5px;
    background: #292929;
    border-radius: 10px;
    overflow: hidden;
}

.progress span {
    display: block;
    height: 100%;
    background: var(--primary);
}


/* =====================================================
   TESTIMONIAL
===================================================== */

.testimonial {
    background: #0d0d0d;
}

.testimonial-box {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.quote {
    display: block;
    color: var(--primary);
    font-size: 80px;
    line-height: 0.5;
    margin-bottom: 30px;
}

blockquote {
    font-size: clamp(24px, 4vw, 42px);
    line-height: 1.25;
    letter-spacing: -1px;
}

.client {
    margin-top: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: left;
}

.client-avatar {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: #000;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
}

.client div:last-child {
    display: flex;
    flex-direction: column;
}

.client span {
    color: #777;
    font-size: 11px;
}


/* =====================================================
   CONTACT
===================================================== */

.contact-wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;
}

.contact-info > p {
    color: #888;
    margin-top: 30px;
    max-width: 500px;
}

.contact-details {
    margin-top: 45px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    flex-direction: column;
}

.contact-item span {
    color: var(--primary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.contact-item a,
.contact-item p {
    color: #ddd;
    font-size: 15px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 12px;
    color: #aaa;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid #292929;
    background: #111;
    color: #fff;
    padding: 16px;
    border-radius: 7px;
    outline: none;
    resize: vertical;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

.contact-form .btn {
    border: none;
    cursor: pointer;
    align-self: flex-start;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    padding: 35px 0;
    border-top: 1px solid var(--border);
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer p {
    color: #666;
    font-size: 12px;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    color: #666;
    font-size: 12px;
}

.footer-socials a:hover {
    color: var(--primary);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin-inline: auto;
    }

    .hero-buttons,
    .hero-socials {
        justify-content: center;
    }

    .hero-image {
        max-width: 600px;
        width: 100%;
        margin-inline: auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-image {
        max-width: 600px;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .service-card:last-child {
        grid-column: span 2;
    }

    .skills-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    .container {
        width: min(100% - 30px, var(--container));
    }

    .section {
        padding: 80px 0;
    }

    .navbar {
        display: none;
    }

    .nav-btn {
        padding: 9px 15px;
    }

    .hero {
        padding-top: 120px;
    }

    .hero h1 {
        font-size: clamp(45px, 14vw, 65px);
        letter-spacing: -3px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-image {
        min-height: 400px;
    }

    .image-decoration {
        width: 300px;
        height: 300px;
    }

    .designer-card {
        width: 95%;
    }

    .code-content {
        padding: 25px 15px;
        font-size: 11px;
    }

    .experience-card {
        right: 0;
        bottom: 5px;
    }

    .about-placeholder {
        height: 350px;
    }

    .about-placeholder span {
        font-size: 30px;
    }

    .about-stats {
        gap: 25px;
        justify-content: space-between;
    }

    .about-stats strong {
        font-size: 27px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .service-card:last-child {
        grid-column: auto;
    }

    .projects-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .project-card.large {
        grid-column: auto;
    }

    .project-image,
    .project-card.large .project-image {
        height: 300px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 420px) {

    .logo {
        font-size: 16px;
    }

    .nav-btn {
        font-size: 11px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-socials {
        gap: 15px;
        flex-wrap: wrap;
    }

    .about-stats {
        gap: 15px;
    }

    .about-stats strong {
        font-size: 24px;
    }

    .service-card {
        padding: 30px;
    }

    .project-image,
    .project-card.large .project-image {
        height: 250px;
    }

}