
:root {
    --background: #080d1c;
    --surface: #111a30;
    --surface-light: #19243d;
    --purple: #9b7aff;
    --white: #ffffff;
    --muted: #aab4c8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.7;
}

h1, h2, h3, .logo {
    font-family: 'Space Grotesk', sans-serif;
}

a {
    text-decoration: none;
}

.container {
    width: 88%;
    max-width: 1200px;
    margin: auto;
}

/* NAVIGATION */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(8,13,28,.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid #26304a;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: white;
}

.logo span, footer span {
    color: var(--purple);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: #d4d9e5;
    font-size: 14px;
    transition: .3s;
}

.nav-links a:hover {
    color: var(--purple);
}

.nav-contact {
    background: var(--purple);
    padding: 11px 18px;
    border-radius: 7px;
    color: white !important;
}

.menu-toggle {
    display: none;
    color: white;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

/* HERO */

.hero {
    padding: 100px 0;
    background:
    radial-gradient(circle at 80% 30%, #32245f 0%, transparent 35%),
    var(--background);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
    gap: 70px;
}

.availability {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid #343b58;
    border-radius: 30px;
    font-size: 11px;
    color: #d5c8ff;
}

.online-dot {
    width: 8px;
    height: 8px;
    background: #8bd7ad;
    border-radius: 50%;
}

.eyebrow {
    color: var(--purple);
    letter-spacing: 3px;
    font-size: 12px;
    font-weight: 700;
}

.hero-content .eyebrow {
    margin-top: 28px;
}

.hero h1 {
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.17;
    margin: 20px 0;
}

.hero h1 span,
.section-heading h2 span {
    color: var(--purple);
}

.hero-description {
    max-width: 570px;
    color: var(--muted);
    margin-bottom: 30px;
}

.hero-actions, .contact-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.primary-btn, .secondary-btn {
    display: inline-block;
    padding: 13px 22px;
    border-radius: 7px;
    font-weight: 600;
    transition: .3s;
}

.primary-btn {
    background: var(--purple);
    color: white;
}

.secondary-btn {
    border: 1px solid #55506f;
    color: white;
}

.primary-btn:hover, .secondary-btn:hover {
    transform: translateY(-4px);
}

.secondary-btn:hover {
    border-color: var(--purple);
}

.hero-stats {
    display: flex;
    gap: 45px;
    margin-top: 55px;
}

.hero-stats h3 {
    font-size: 25px;
    color: var(--purple);
}

.hero-stats p {
    font-size: 12px;
    color: var(--muted);
}

.hero-visual {
    position: relative;
}

.image-frame {
    padding: 12px;
    background: #242044;
    border: 1px solid #63519a;
    border-radius: 25px;
}

.image-frame img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 18px;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #172139;
    border: 1px solid #46416c;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 15px 35px #0007;
}

.floating-card span {
    font-size: 25px;
}

.floating-card strong, .floating-card small {
    display: block;
}

.floating-card strong {
    font-size: 12px;
}

.floating-card small {
    color: var(--muted);
    font-size: 10px;
}

.card-one {
    left: -40px;
    top: 70px;
}

.card-two {
    right: -35px;
    bottom: 55px;
}

/* GENERAL SECTIONS */

.section {
    padding: 100px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 55px;
}

.section-heading h2 {
    font-size: 38px;
    margin-top: 10px;
}

.heading-description {
    color: var(--muted);
    max-width: 550px;
    margin: 12px auto;
}

/* ABOUT */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 65px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 370px;
    object-fit: cover;
    border-radius: 15px;
}

.about-content h3 {
    font-size: 29px;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--muted);
    margin-bottom: 15px;
}

.text-link {
    display: inline-block;
    color: var(--purple);
    font-weight: 600;
    margin-top: 15px;
}

/* SERVICES */

.services-section, .skills-section {
    background: #0e1629;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.service-card {
    padding: 35px;
    border: 1px solid #293653;
    border-radius: 14px;
    background: var(--surface);
    transition: .3s;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--purple);
}

.service-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    background: #30244f;
    color: var(--purple);
    border-radius: 9px;
    margin-bottom: 20px;
    font-weight: 700;
}

.service-card p {
    color: var(--muted);
    margin: 12px 0;
}

.service-card span {
    color: var(--purple);
    font-size: 12px;
}

/* PROJECTS */

.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
}

.filter-btn {
    background: var(--surface);
    color: white;
    border: 1px solid #303a56;
    border-radius: 7px;
    padding: 10px 17px;
    cursor: pointer;
    transition: .3s;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--purple);
    border-color: var(--purple);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.project-card {
    background: var(--surface);
    border: 1px solid #293653;
    border-radius: 14px;
    overflow: hidden;
    transition: .3s;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: var(--purple);
}

.project-card img {
    display: block;
    width: 100%;
    height: 245px;
    object-fit: cover;
}

.project-info {
    padding: 25px;
}

.project-category {
    color: var(--purple) !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.project-info h3 {
    font-size: 21px;
    margin: 10px 0;
}

.project-info p {
    color: var(--muted);
    font-size: 14px;
}

.project-info span {
    display: block;
    color: #c7b9ff;
    font-size: 12px;
    margin-top: 15px;
}

.project-note {
    color: var(--muted);
    font-size: 12px;
    margin-top: 25px;
}

.project-card.hidden {
    display: none;
}

/* SKILLS */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.skill-card {
    background: var(--surface);
    padding: 28px;
    border: 1px solid #293653;
    border-radius: 13px;
}

.skill-card h3 {
    color: var(--purple);
    margin-bottom: 20px;
}

.skill-card p {
    background: var(--surface-light);
    color: #d6dcec;
    padding: 11px;
    border-radius: 6px;
    margin: 10px 0;
}

/* CONTACT */

.contact-box {
    text-align: center;
    padding: 70px 25px;
    background: linear-gradient(135deg, #21183f, #111a30);
    border: 1px solid #493d70;
    border-radius: 20px;
}

.contact-box h2 {
    font-size: clamp(28px, 4vw, 42px);
    margin: 15px 0;
}

.contact-box > p:not(.eyebrow) {
    color: var(--muted);
    max-width: 550px;
    margin: 0 auto 25px;
}

.contact-actions {
    justify-content: center;
}

/* FOOTER */

footer {
    background: #070b16;
    border-top: 1px solid #28304a;
    padding: 35px 0;
    text-align: center;
}

footer h2 {
    font-size: 27px;
}

footer p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 8px;
}

/* ANIMATION */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content, .hero-visual {
    animation: fadeUp .9s ease both;
}

/* MOBILE */

@media(max-width: 850px) {

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background: #111a30;
        padding: 25px;
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .nav-links.active {
        display: flex;
    }

    .hero-grid, .about-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 65px 0;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions, .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 500px;
        margin: 20px auto;
    }

    .about-image img {
        height: 300px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 550px) {

    .container {
        width: 90%;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stats h3 {
        font-size: 20px;
    }

    .card-one {
        left: -5px;
    }

    .card-two {
        right: -5px;
    }

    .image-frame img {
        height: 300px;
    }

    .services-grid, .projects-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 70px 0;
    }
}
