/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", Arial, Helvetica, sans-serif;
    background: #071014;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {
    --bg: #071014;
    --bg-light: #0b171c;
    --card: #0d1b21;
    --card-light: #12242b;
    --white: #ffffff;
    --text: #d9e3e7;
    --muted: #8da0a8;
    --cyan: #00e5ff;
    --cyan-dark: #00a9bd;
    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    --container: 1180px;
}


/* =========================================================
   SELECTION
========================================================= */

::selection {
    background: var(--cyan);
    color: #001015;
}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #050b0e;
}

::-webkit-scrollbar-thumb {
    background: var(--cyan);
    border-radius: 20px;
}


/* =========================================================
   SCROLL PROGRESS
========================================================= */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--cyan);
    z-index: 9999;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.7);
}


/* =========================================================
   PRELOADER
========================================================= */

.loader {
    position: fixed;
    inset: 0;
    background: #050b0e;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    visibility: visible;
    transition:
        opacity 1.5s ease,
        visibility 1.5s ease;
}

.loader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    display: block;
    margin: 0 auto 20px;
    border-radius: 50%;
    transition:
        transform 1s ease,
        filter 1s ease;
    animation: loaderLogo 4s ease-in-out infinite;
}

@keyframes loaderLogo {
    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.25));
    }

    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 25px rgba(0, 229, 255, 0.7));
    }
}

@keyframes loaderLine {
    0% {
        transform: translateX(-120%);
    }

    100% {
        transform: translateX(220%);
    }
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(7, 16, 20, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
    width: min(92%, var(--container));
    min-height: 78px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================================
   LOGO
========================================================= */

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #071014;
    border: 2px solid rgba(0, 229, 255, 0.35);
    box-shadow:
        0 0 15px rgba(0, 229, 255, 0.15),
        inset 0 0 10px rgba(0, 229, 255, 0.05);
    transition: all 0.3s ease;
}

.brand-icon img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.brand:hover .brand-icon {
    border-color: var(--cyan);
    box-shadow:
        0 0 25px rgba(0, 229, 255, 0.35),
        inset 0 0 12px rgba(0, 229, 255, 0.08);
}

.brand:hover .brand-icon img {
    transform: scale(1.08);
}

.brand-text {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

.brand-text span {
    color: var(--cyan);
}


/* =========================================================
   NAV LINKS
========================================================= */

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-links a {
    position: relative;
    color: #b8c8ce;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--cyan);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffffff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}


/* =========================================================
   NAV BUTTON
========================================================= */

.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 21px;
    border: 1px solid var(--cyan);
    border-radius: 8px;
    color: var(--cyan);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background: var(--cyan);
    color: #031014;
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.25);
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--card);
    color: #ffffff;
    font-size: 22px;
}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu {
    position: fixed;
    top: 78px;
    left: 0;
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(7, 16, 20, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
    z-index: 999;
}

.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    padding: 14px 15px;
    color: #c9d6da;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    background: rgba(0, 229, 255, 0.08);
    color: var(--cyan);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 140px 0 80px;
    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(0, 229, 255, 0.09),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 80%,
            rgba(0, 229, 255, 0.05),
            transparent 25%
        );
}

.hero-container {
    width: min(92%, var(--container));
    margin: auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 80px;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-small {
    display: inline-block;
    color: var(--cyan);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.hero-content h1 {
    font-size: clamp(48px, 7vw, 78px);
    line-height: 1.05;
    letter-spacing: -3px;
    margin-bottom: 18px;
}

.hero-content h1 span {
    color: var(--cyan);
}

.hero-content h2 {
    font-size: clamp(20px, 3vw, 30px);
    color: #d9e5e9;
    margin-bottom: 20px;
}

.hero-content h2 span {
    color: var(--cyan);
}

.hero-content > p {
    max-width: 600px;
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 32px;
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 35px;
}

.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.primary-btn {
    background: var(--cyan);
    color: #021015;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 229, 255, 0.25);
}

.secondary-btn {
    border: 1px solid var(--border);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.02);
}

.secondary-btn:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    transform: translateY(-3px);
}


/* =========================================================
   SOCIALS
========================================================= */

.hero-socials {
    display: flex;
    gap: 22px;
}

.hero-socials a {
    color: #83969d;
    font-size: 13px;
    transition: color 0.3s ease;
}

.hero-socials a:hover {
    color: var(--cyan);
}


/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card {
    width: min(100%, 510px);
    background: #09151a;
    border: 1px solid rgba(0, 229, 255, 0.14);
    border-radius: 18px;
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.45),
        0 0 50px rgba(0, 229, 255, 0.04);
    overflow: hidden;
}


/* =========================================================
   CODE WINDOW
========================================================= */

.code-top {
    height: 48px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: #0c1b21;
}

.code-top span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #43535a;
}

.code-content {
    padding: 28px;
    font-family: "Courier New", monospace;
    color: #aebfc5;
    font-size: 14px;
    line-height: 2;
}

.code-content p {
    margin: 0;
}

.code-content .indent {
    padding-left: 30px;
}

.code-purple {
    color: #d291ff;
}

.code-green {
    color: #7ee787;
}


/* =========================================================
   FLOATING CARDS
========================================================= */

.floating-card {
    position: absolute;
    min-width: 130px;
    padding: 15px 18px;
    display: flex;
    flex-direction: column;
    background: rgba(13, 27, 33, 0.95);
    border: 1px solid rgba(0, 229, 255, 0.14);
    border-radius: 12px;
    box-shadow: var(--shadow);
    animation: floating 4s ease-in-out infinite;
}

.floating-card strong {
    color: var(--cyan);
    font-size: 23px;
}

.floating-card span {
    color: #93a5ab;
    font-size: 12px;
}

.card-one {
    top: 45px;
    right: -10px;
}

.card-two {
    bottom: 45px;
    left: -10px;
    animation-delay: 1s;
}

@keyframes floating {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}


/* =========================================================
   SECTION
========================================================= */

.section {
    padding: 110px 0;
}

.section-container {
    width: min(92%, var(--container));
    margin: auto;
}

.section-heading {
    max-width: 700px;
    margin-bottom: 55px;
}

.section-heading.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-heading > span {
    display: inline-block;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.section-heading h2 {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 18px;
}

.section-heading h2 strong {
    color: var(--cyan);
}

.section-heading p {
    color: var(--muted);
    max-width: 650px;
}


/* =========================================================
   STATS
========================================================= */

.stats {
    background: #09161b;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 45px 0;
}

.stats-container {
    width: min(92%, var(--container));
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-box {
    text-align: center;
    padding: 10px;
}

.stat-box strong {
    display: block;
    color: var(--cyan);
    font-size: 34px;
    margin-bottom: 4px;
}

.stat-box span {
    color: var(--muted);
    font-size: 13px;
}


/* =========================================================
   ABOUT ME CARDS
   ========================================================= */

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
}

.about-card {
    width: 100%;
    min-width: 0;
    min-height: 225px;
    padding: 20px;

    display: flex;
    align-items: center;
    gap: 18px;

    box-sizing: border-box;

    background: #0b1a20;
    border: 1px solid #20343c;
    border-radius: 15px;

    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: #00d9ff;
    box-shadow: 0 15px 35px rgba(0, 217, 255, 0.08);
}


.about-image {
    width: 170px;
    height: 185px;

    flex-shrink: 0;

    overflow: hidden;
    border-radius: 14px;

    background: #071116;
    border: 1px solid rgba(0, 217, 255, 0.2);
}

.about-image img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;
    object-position: center;

    transition: transform 0.4s ease;
}

.about-card:hover .about-image img {
    transform: scale(1.05);
}


/* =========================================================
   TEXT
   ========================================================= */

.about-card-content {
    min-width: 0;
    flex: 1;
}

.about-card-content h3 {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: 19px;
    font-weight: 800;

    line-height: 1.2;
}

.about-card-content p {
    margin: 0;

    color: #91a5ae;

    font-size: 13px;
    line-height: 1.7;

    overflow-wrap: break-word;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .about-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .about-card {
        min-height: 190px;
    }

    .about-image {
        width: 140px;
        height: 150px;
        flex: 0 0 140px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-card {
        width: 100%;
        min-height: 170px;
        padding: 16px;
        gap: 16px;
    }

    .about-image {
        width: 105px;
        height: 130px;
        flex: 0 0 105px;
    }

    .about-card-content h3 {
        font-size: 18px;
    }

    .about-card-content p {
        font-size: 12px;
        line-height: 1.6;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 430px) {

    .about-card {
        padding: 14px;
        gap: 14px;
    }

    .about-image {
        width: 90px;
        height: 115px;
        flex: 0 0 90px;
    }

    .about-card-content h3 {
        font-size: 16px;
    }

    .about-card-content p {
        font-size: 11px;
        line-height: 1.55;
    }
}

/* =========================================================
   SERVICES
========================================================= */

.services {
    background: #09161b;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    position: relative;
    padding: 35px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 15px;
    overflow: hidden;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 229, 255, 0.3);
}

.service-number {
    position: absolute;
    top: 20px;
    right: 25px;
    color: rgba(255, 255, 255, 0.08);
    font-size: 40px;
    font-weight: 800;
}

.service-icon {
    font-size: 34px;
    margin-bottom: 22px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 22px;
}

.service-card a {
    color: var(--cyan);
    font-size: 13px;
    font-weight: 600;
}



/* =========================================================
   SKILLS
========================================================= */

.skills {
    background: #071014;
    padding: 110px 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 70px;
    align-items: center;
}

/* Skills heading */

.skills .section-heading {
    margin-bottom: 0;
}

.skills .section-heading > span {
    display: inline-block;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.skills .section-heading h2 {
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.18;
    letter-spacing: -1.3px;
    margin-bottom: 20px;
}

.skills .section-heading h2 strong {
    color: var(--cyan);
}

.skills .section-heading p {
    max-width: 450px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

/* Skills list */

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    min-width: 0;
}

.skill {
    width: 100%;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
}

.skill-info span:first-child {
    color: #e2eaed;
}

.skill-info span:last-child {
    color: var(--cyan);
    font-weight: 700;
    flex-shrink: 0;
}

.skill-track {
    width: 100%;
    height: 8px;
    background: #16262c;
    border-radius: 20px;
    overflow: hidden;
}

.skill-fill {
    display: block;
    width: 0;
    height: 100%;
    background: var(--cyan);
    border-radius: 20px;
    transition: width 1.2s ease;
}

/* Tablet */

@media (max-width: 1000px) {
    .skills {
        padding: 90px 0;
    }

    .skills-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 40px;
    }

    .skills .section-heading h2 {
        font-size: 36px;
    }

    .skills-list {
        gap: 22px;
    }
}

/* Mobile */

@media (max-width: 768px) {
    .skills {
        padding: 75px 0;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .skills .section-heading {
        max-width: 600px;
    }

    .skills .section-heading h2 {
        font-size: clamp(32px, 6vw, 40px);
    }

    .skills .section-heading p {
        max-width: 550px;
        font-size: 14px;
    }

    .skills-list {
        gap: 22px;
    }
}

/* Small mobile */

@media (max-width: 480px) {
    .skills {
        padding: 65px 0;
    }

    .skills-grid {
        gap: 28px;
    }

    .skills .section-heading h2 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .skill-info {
        font-size: 12px;
        margin-bottom: 9px;
    }

    .skill-track {
        height: 7px;
    }

    .skills-list {
        gap: 20px;
    }
}



/* =========================================================
   PROJECTS
========================================================= */

.projects {
    background: #09161b;
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.filter {
    padding: 10px 18px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: transparent;
    color: #aab9be;
    font-size: 13px;
    transition: all 0.3s ease;
}

.filter:hover,
.filter.active {
    background: var(--cyan);
    border-color: var(--cyan);
    color: #031014;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.project-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 15px;
    overflow: hidden;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 229, 255, 0.3);
}

.project-card.hidden {
    display: none;
}


/* =========================================================
   PROJECT IMAGE
========================================================= */

.project-image {
    height: 240px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-one {
    background:
        linear-gradient(
            135deg,
            #0a3039,
            #071014
        );
}

.project-two {
    background:
        linear-gradient(
            135deg,
            #172b3b,
            #071014
        );
}

.project-three {
    background:
        linear-gradient(
            135deg,
            #12362f,
            #071014
        );
}

.project-image::before {
    content: "</>";
    font-family: "Courier New", monospace;
    font-size: 55px;
    color: rgba(0, 229, 255, 0.25);
    font-weight: bold;
}


/* =========================================================
   PROJECT PHOTO SUPPORT
========================================================= */

.project-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}


/* =========================================================
   PROJECT OVERLAY
========================================================= */

.project-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(2, 11, 15, 0.75);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.view-project {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid var(--cyan);
    border-radius: 7px;
    background: var(--cyan);
    color: #031014;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}


/* =========================================================
   PROJECT INFO
========================================================= */

.project-info {
    padding: 24px;
}

.project-info > span {
    color: var(--cyan);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-info h3 {
    font-size: 19px;
    margin: 8px 0;
}

.project-info p {
    color: var(--muted);
    font-size: 13px;
}


/* =========================================================
   CTA
========================================================= */

.cta {
    padding: 110px 20px;
    text-align: center;
    background:
        radial-gradient(
            circle at center,
            rgba(0, 229, 255, 0.09),
            transparent 45%
        );
}

.cta-container {
    max-width: 850px;
    margin: auto;
}

.cta-container > span {
    color: var(--cyan);
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 700;
}

.cta h2 {
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1.1;
    margin: 18px 0 30px;
    letter-spacing: -2px;
}

.cta h2 strong {
    color: var(--cyan);
}


/* =========================================================
   CONTACT
========================================================= */

.contact {
    background: #09161b;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    align-items: start;
}

.contact-info h3 {
    font-size: 27px;
    margin-bottom: 12px;
}

.contact-info > p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.contact-item > span {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 229, 255, 0.08);
    border-radius: 10px;
    font-size: 18px;
}

.contact-item small {
    display: block;
    color: #74878e;
    font-size: 11px;
    margin-bottom: 3px;
}

.contact-item p {
    color: #dce6e9;
    font-size: 14px;
}


/* =========================================================
   CONTACT FORM
========================================================= */

.contact-form {
    padding: 32px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #cbd9dd;
    font-size: 13px;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    outline: none;
    border-radius: 8px;
    padding: 14px 15px;
    background: #071216;
    color: #ffffff;
    font-size: 14px;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #5f737a;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.08);
}

.submit-btn {
    width: 100%;
    min-height: 50px;
    border: none;
    border-radius: 8px;
    background: var(--cyan);
    color: #031014;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 229, 255, 0.2);
}

.form-message {
    margin-top: 15px;
    color: var(--cyan);
    font-size: 13px;
    text-align: center;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    background: #050c10;
    border-top: 1px solid var(--border);
    padding-top: 50px;
}

.footer-container {
    width: min(92%, var(--container));
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 40px;
}

.footer-brand {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    align-items: center;
}

.footer-logo {
    width: 55px;
    height: 55px;
    grid-row: span 2;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid rgba(0, 229, 255, 0.25);
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.footer-brand h3 {
    font-size: 18px;
}

.footer-brand h3 span {
    color: var(--cyan);
}

.footer-brand p {
    color: var(--muted);
    font-size: 12px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: #84979e;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--cyan);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    text-align: center;
    padding: 20px;
}

.footer-bottom p {
    color: #5e7076;
    font-size: 11px;
}


/* =========================================================
   PROJECT MODAL
========================================================= */

.project-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.project-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    width: min(600px, 100%);
    padding: 45px;
    background: #0b1a20;
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 15px;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s ease;
}

.project-modal.show .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 18px;
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: transparent;
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--cyan);
    color: #031014;
    border-color: var(--cyan);
}

.modal-content h2 {
    color: #ffffff;
    font-size: 28px;
    margin-bottom: 15px;
}

.modal-content p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 25px;
}


/* =========================================================
   DISCUSS PROJECT BUTTON
   ONLY THE BUTTON BACKGROUND IS CHANGED
========================================================= */

.modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 50px;
    padding: 0 22px;

    border: 1px solid var(--cyan);
    border-radius: 8px;

    background: transparent;
    color: var(--cyan);

    font-size: 14px;
    font-weight: 600;

    transition: all 0.3s ease;
}

.modal-btn:hover {
    background: var(--cyan);
    color: #031014;
    border-color: var(--cyan);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 229, 255, 0.25);
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cyan);
    border-radius: 50%;
    background: var(--cyan);
    color: #031014;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 900;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-top:hover {
    transform: translateY(-4px);
}


/* =========================================================
   REVEAL ANIMATION
========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 1000px) {

    .nav-links {
        gap: 20px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-socials {
        justify-content: center;
    }

    .hero-visual {
        min-height: 400px;
    }

    .about-grid,
    .services-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }
}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 768px) {

    .nav-container {
        min-height: 70px;
    }

    .nav-links,
    .nav-button {
        display: none;
    }

    .menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu {
        top: 70px;
    }

    .brand-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }

    .brand-text {
        font-size: 17px;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-content h1 {
        letter-spacing: -2px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
    }

    .hero-visual {
        min-height: 340px;
    }

    .hero-card {
        width: 100%;
    }

    .code-content {
        padding: 20px;
        font-size: 11px;
    }

    .floating-card {
        min-width: 105px;
        padding: 11px 13px;
    }

    .floating-card strong {
        font-size: 18px;
    }

    .card-one {
        right: -5px;
        top: 20px;
    }

    .card-two {
        left: -5px;
        bottom: 20px;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 80px 0;
    }

    .project-filters {
        flex-wrap: wrap;
    }

    .contact-form {
        padding: 22px;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 15px 22px;
    }

    .modal-content {
        padding: 35px 25px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .brand-text {
        display: none;
    }

    .brand-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }

    .hero-content h1 {
        font-size: 45px;
    }

    .hero-content h2 {
        font-size: 20px;
    }

    .hero-content > p {
        font-size: 14px;
    }

    .hero-visual {
        min-height: 290px;
    }

    .code-content {
        padding: 16px;
        font-size: 9px;
        line-height: 1.8;
    }

    .code-content .indent {
        padding-left: 18px;
    }

    .floating-card {
        min-width: 90px;
        padding: 9px 11px;
    }

    .floating-card strong {
        font-size: 16px;
    }

    .floating-card span {
        font-size: 10px;
    }

    .stats-container {
        gap: 5px;
    }

    .stat-box strong {
        font-size: 27px;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .service-card,
    .about-card {
        padding: 25px;
    }

    .project-image {
        height: 200px;
    }

    .cta {
        padding: 80px 20px;
    }

    .cta h2 {
        font-size: 36px;
    }

    .back-top {
        right: 15px;
        bottom: 15px;
        width: 42px;
        height: 42px;
    }
}