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

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

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

html {
    scroll-behavior: smooth;
}

body {
    background: #050816;
    color: white;
    font-family: "Manrope",sans-serif;
    overflow-x: hidden;
}

.grid-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: linear-gradient(rgba(0,229,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,229,255,.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: #00e5ff;
}

nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

nav a {
    text-decoration: none;
    color: white;
}

.hero-description {
    max-width: 650px;
    margin: 25px auto 0;
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.8;
    text-align: center;
}

.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content {
    width: 100%;
    max-width: 1100px;
    margin: auto;
}

.status {
    display: inline-block;
    border: 1px solid #00ff88;
    color: #00ff88;
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.name {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -3px;
    background: linear-gradient(
        90deg,
        #00e5ff,
        #00ff88,
        #00e5ff
    );
    background-size: 300% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 5s linear infinite;
}

@keyframes gradientMove {
    to {
        background-position: 300% center;
    }

}

.title {
    margin-top: 12px;
    font-size: 1.4rem;
    font-weight: 500;
    color: #94a3b8;
}

section {
    min-height: auto;
    padding: 60px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

section h2 {
    color: #00e5ff;
    font-size: 3rem;
    margin-bottom: 20px;
}

#about.show,
#services.show,
#projects.show {
    opacity: 1;
    transform: translateY(0);
}

.card {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(0,229,255,.2);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    margin-bottom: 0;
    gap: 30px;
}

.project-card {
    transition: .3s;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0,229,255,.3);
}

.tech-item {
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(0,229,255,.2);
}

footer {
    text-align: center;
    color: #9ca3af;
    margin-top: 0;
    padding: 20px 8% 15px;
}

@media (max-width:768px) {
    .name {
        font-size: 3rem;
    }

    .title {
        font-size: 1.3rem;
    }

    nav {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

}

#typing::after {
    content: "|";
    animation: blink .8s infinite;
    color: #00e5ff;
}

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

}

.profile-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.profile-wrapper {
    position: relative;
    width: 350px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 60% 40% 55% 45% /
    40% 60% 40% 60%;
    border: 4px solid rgba(0,229,255,.5);
    box-shadow: 0 0 40px rgba(0,229,255,.25);
    transition: .4s ease;
}

.profile-wrapper:hover .profile-photo {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 0 60px rgba(0,229,255,.4);
}

.photo-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    cursor: pointer;
    opacity: 0;
    background: rgba(0,0,0,.45);
    border-radius: 60% 40% 55% 45% /
    40% 60% 40% 60%;
    transition: .3s;
}

.profile-wrapper:hover .photo-overlay {
    opacity: 1;
}

.status-dot {
    position: absolute;
    bottom: 25px;
    right: 25px;
    width: 36px;
    height: 36px;
    background: #00ff88;
    border-radius: 50%;
    border: 5px solid #050816;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0,255,136,.8);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(0,255,136,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0,255,136,0);
    }

}

.section-subtitle {
    max-width: 850px;
    margin: 0 auto 50px;
    text-align: center;
    color: #9ca3af;
    line-height: 1.8;
    font-size: 1.05rem;
}

.footer {
    padding: 80px 8% 40px;
    border-top: 1px solid rgba(0,229,255,.15);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 25px;
}

.footer h3 {
    font-size: 1rem;
    margin-bottom: 12px;
}

.footer-tagline {
    color: #9ca3af;
    font-size: .8rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
    font-size: .8rem;
    color: #9ca3af;
}

.footer-bottom {
    margin-top: 25px;
    padding-top: 15px;
    font-size: .8rem;
    border-top: 1px solid rgba(255,255,255,.08);
    color: #9ca3af;
}

#about p {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.9;
    color: #cbd5e1;
    font-size: 1.05rem;
}

nav a {
    position: relative;
    transition: .3s;
}

nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 2px;
    background: #00e5ff;
}

#services {
    background: rgba(0,229,255,.02);
    padding: 60px 8%;
}

#services h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

#services .project-grid {
    gap: 20px;
}

#services .project-card {
    padding: 18px;
}

#services .project-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

#services .project-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: justify;
    text-justify: inter-word;
}

#services .card {
    border-radius: 15px;
}

#projects {
    background: rgba(0,255,136,.02);
}

#tech {
    background: rgba(255,255,255,.02);
}

#contact {
    background: rgba(0,255,136,.02);
}

.profile-wrapper {
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }

}

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

#projects .project-card {
    position: relative;
    overflow: hidden;
}

#projects .project-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 229, 255, 0.3),
        transparent
    );
    transform: translateX(-100%) rotate(25deg);
    opacity: 0;
    pointer-events: none;
}

#projects .project-card:hover::before {
    opacity: 1;
    animation: projectCardShine 1s linear;
}

@keyframes projectCardShine {
    from {
        transform: translateX(-100%) rotate(25deg);
    }

    to {
        transform: translateX(100%) rotate(25deg);
    }

}

.grid-bg {
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 40px 40px;
    }

}

.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(0,229,255,.15),
        transparent 70%
    );
    pointer-events: none;
    transform: translate(-50%,-50%);
    z-index: -1;
}

.hero-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.btn-primary {
    background: #00e5ff;
    color: #050816;
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.btn-secondary {
    border: 1px solid #00e5ff;
    color: #00e5ff;
}

.btn-secondary:hover {
    background: rgba(0,229,255,.1);
}

.logo span {
    color: #00e5ff;
}

.project-highlights {
    margin-top: 25px;
    gap: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 20px;
}

.stat-card h3 {
    color: #00e5ff;
    margin-bottom: 10px;
}

.project-link {
    text-decoration: none;
    color: inherit;
}

.view-projects {
    display: inline-block;
    margin-top: 20px;
    color: #00e5ff;
    font-weight: 600;
}

.stat-card {
    text-align: center;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: #00e5ff;
    margin-bottom: 10px;
}

.project-note {
    max-width: 700px;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 40px auto 0;
    text-align: center;
    color: #94a3b8;
}

.tech-item {
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-about {
    margin-top: 40px;
    text-align: justify;
    text-justify: inter-word;
}

.hero-about h3 {
    color: #00e5ff;
    margin-bottom: 10px;
}

.hero-about p {
    color: #cbd5e1;
    line-height: 1.8;
}

.name {
    white-space: nowrap;
}

.hero {
    opacity: 1 !important;
    transform: none !important;
}

.hero .title {
    opacity: 1 !important;
    transform: none !important;
}

.hero-about .btn-secondary {
    display: inline-block;
    margin-top: 25px;
}

.about-page {
    min-height: auto;
    padding: 80px 10% 30px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
}

.about-content {
    width: 100%;
    max-width: none;
}

.about-page h1,
.about-page h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #00e5ff;
}

#about p {
    text-align: justify;
    line-height: 1.7;
    margin-bottom: 8px;
    color: #cbd5e1;
    font-size: 1rem;
}

.about-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -70px;
}

.image-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(
        circle,
        rgba(0,229,255,.25),
        transparent 70%
    );
    filter: blur(20px);
}

.about-photo {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 40px rgba(0,229,255,.25));
}

@media (max-width:768px) {
    .about-page {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content h1 {
        font-size: 3rem;
    }

}

@media (max-width:900px) {
    .about-page {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .about-image {
        order: -1;
    }

}

#projects {
    min-height: auto;
    padding: 30px 8%;
}

#projects h2 {
    color: #00e5ff;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

#projects .project-card {
    padding: 22px;
    max-width: 800px;
    margin: auto;
}

#projects .project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

#projects .project-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #cbd5e1;
}

.stat-card h3 {
    font-size: 2rem;
}

.stat-card p {
    font-size: 0.9rem;
}

#tech .card,
#contact .card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

#tech .tech-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

#tech {
    padding: 30px 8%;
    min-height: auto;
}

#tech h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

#tech .project-grid {
    gap: 18px;
}

#tech .card {
    padding: 18px;
    border-radius: 15px;
}

#tech .card h3 {
    font-size: 1rem;
    margin-bottom: 12px;
}

#tech .tech-grid {
    gap: 12px;
}

#tech .tech-item {
    padding: 12px;
    font-size: 0.85rem;
    border-radius: 10px;
}

.contact-section {
    padding: 60px 8% 80px;
    min-height: 100vh;
}

.contact-container {
    max-width: 1050px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-label {
    color: #00e5ff;
    font-size: 1rem;
    display: block;
    margin-bottom: 8px;
}

.contact-info {
    max-width: 420px;
    padding-right: 30px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 18px;
}

.contact-info p {
    color: #94a3b8;
    line-height: 1.6;
    font-size: .95rem;
}

.contact-details {
    margin-top: 25px;
}

.contact-details p {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.contact-title {
    width: 110px;
    font-weight: 700;
    color: #ffffff;
    flex-shrink: 0;
}

.contact-title::after {
    content: ":";
}

.contact-value {
    color: #94a3b8;
}

.contact-value a {
    color: #94a3b8;
    text-decoration: none;
    transition: .3s ease;
}

.contact-value a:hover {
    color: #00e5ff;
}

.contact-details strong {
    color: white;
    margin-right: 8px;
}

.contact-form button {
    width: 100%;
    height: 38px;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: #111827;
    color: #d1d5db;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: .3s ease;
}

.contact-form button:hover {
    background: #00e5ff;
    color: #050816;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,229,255,.25);
}

.contact-form button:active {
    transform: translateY(0);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    color: white;
    font-size: 1rem;
}

.contact-form textarea {
    min-height: 170px;
    resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #00e5ff;
}

.contact-form button {
    height: 65px;
    border: none;
    border-radius: 16px;
    background: rgba(255,255,255,.05);
    color: #9ca3af;
    font-size: 1.4rem;
    cursor: pointer;
    transition: .3s;
}

.contact-form button:hover {
    background: #00e5ff;
    color: #050816;
}

@media (max-width:900px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-info h2 {
        font-size: 3.5rem;
    }

}

section {
    min-height: auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: #00e5ff;
}

.success-box {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(5,8,22,.65);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: .35s ease;
    z-index: 9999;
}

.success-box.show {
    opacity: 1;
    visibility: visible;
}

.success-content {
    background: #0f172a;
    border: 1px solid rgba(0,229,255,.3);
    padding: 25px 35px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 0 30px rgba(0,229,255,.2);
}

.success-content span {
    font-size: 2rem;
    color: #00ff88;
    display: block;
    margin-bottom: 10px;
}

.success-content p {
    color: white;
    font-size: 1rem;
}

.booking-box {
    margin-top: 35px;
}

booking-text {
    color: #94a3b8;
    font-size: .95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 14px;
    background: #00e5ff;
    color: #050816;
    font-weight: 700;
    text-decoration: none;
    transition: .3s ease;
}

.book-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,229,255,.35);
    background: #35ecff;
}

@media (max-width: 900px) {
    nav {
        padding: 20px 5%;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .logo {
        font-size: 1.5rem;
    }

    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }

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

    .hero-image {
        justify-content: center;
    }

    .profile-wrapper {
        width: 250px;
        height: 250px;
    }

    .name {
        font-size: 2.5rem;
        white-space: normal;
    }

    .title {
        font-size: 1.1rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary,
    .book-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .about-page {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image {
        order: -1;
        margin-top: 0;
    }

    .about-photo {
        max-width: 300px;
    }

    section {
        padding: 60px 5%;
    }

    section h2 {
        font-size: 2rem;
        text-align: center;
    }

    .project-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .project-card,
    .card {
        width: 100%;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info {
        max-width: 100%;
        padding-right: 0;
    }

    .input-row {
        grid-template-columns: 1fr;
    }

    .projects-content h1 {
        font-size: 2.8rem;
    }

    .projects-content p {
        font-size: 1rem;
    }

    .back-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

}

.brand-logo::before {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(
            circle,
            rgba(0,229,255,.20),
            transparent 70%
        );
    filter: blur(15px);
    opacity: .4;
    z-index: -1;
}

.brand-logo:hover img {
    transform: scale(1.06);
    filter: drop-shadow(0 0 8px rgba(0,229,255,.55))
        drop-shadow(0 0 22px rgba(0,229,255,.25));
}

.nav-link {
    position: relative;
    display: inline-block;
    padding: 6px 0;
    color: #aeb9c9;
    text-decoration: none;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .4px;
    transition: .3s ease;
}

.nav-link:hover {
    color: white;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #00e5ff;
    box-shadow: 0 0 8px rgba(0,229,255,.7);
    transition: width .3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: #00e5ff;
}

.nav-contact {
    padding: 7px 14px;
    border: 1px solid rgba(0,229,255,.35);
    border-radius: 8px;
    color: #00e5ff;
}

.nav-contact:hover {
    background: rgba(0,229,255,.08);
    border-color: #00e5ff;
    box-shadow: 0 0 18px rgba(0,229,255,.15);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(0,229,255,.25);
    border-radius: 9px;
    background: rgba(255,255,255,.03);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 19px;
    height: 2px;
    background: #00e5ff;
    border-radius: 10px;
    transition: .3s ease;
}

.card,
.project-card,
.tech-item {
    transition: transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.card:hover,
.project-card:hover,
.tech-item:hover {
    transform: translateY(-5px)
        translateZ(4px);
    box-shadow: 0 12px 25px rgba(0,0,0,.25),
        0 0 15px rgba(0,229,255,.08);
}

.profile-wrapper {
    transition: transform .2s ease-out,
        filter .3s ease;
}

.profile-wrapper:hover {
    filter: drop-shadow(0 25px 35px rgba(0,229,255,.18));
}

.about-image {
    perspective: 1000px;
}

.about-photo {
    transition: transform .25s ease-out,
        filter .3s ease;
}

.nav-link {
    transition: color .3s ease,
        transform .25s ease;
}

.nav-link:hover {
    transform: perspective(500px)
        translateZ(8px)
        translateY(-2px);
}

.btn-primary,
.btn-secondary,
.book-btn {
    transition: transform .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}

.btn-primary:hover,
.btn-secondary:hover,
.book-btn:hover {
    transform: perspective(700px)
        translateY(-5px)
        translateZ(12px)
        rotateX(3deg);
    box-shadow: 0 15px 30px rgba(0,229,255,.2);
}

section {
    perspective: 1200px;
}

.footer-grid > div {
    transition: transform .35s ease;
}

.footer-grid > div:hover {
    transform: perspective(700px)
        translateZ(8px)
        translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

}

.three-d-background {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    perspective: 1000px;
    will-change: transform;
}

.perspective-grid {
    position: absolute;
    width: 180%;
    height: 75%;
    left: -40%;
    bottom: -30%;
    transform: rotateX(68deg)
        translateZ(-100px);
    transform-origin: center bottom;
    background-image: linear-gradient(
            rgba(0,229,255,.12) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(0,229,255,.12) 1px,
            transparent 1px
        );
    background-size: 55px 55px;
    opacity: .28;
    filter: drop-shadow(
            0 0 5px
            rgba(0,229,255,.15)
        );
    animation: perspectiveGridMove 8s
        linear infinite;
}

@keyframes perspectiveGridMove {
    from {
        background-position: 0 0,
            0 0;
    }

    to {
        background-position: 0 55px,
            55px 0;
    }

}

.perspective-grid::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to top,
            transparent 20%,
            #050816 90%
        );
}

.particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #00e5ff;
    box-shadow: 0 0 8px rgba(0,229,255,.8),
        0 0 20px rgba(0,229,255,.35);
    opacity: .5;
    animation: particleFloat
        var(--duration)
        ease-in-out
        infinite alternate;
}

.particles span:nth-child(1) {
    left: 8%;
    top: 20%;
    --duration: 5s;
}

.particles span:nth-child(2) {
    left: 18%;
    top: 70%;
    --duration: 7s;
}

.particles span:nth-child(3) {
    left: 29%;
    top: 35%;
    --duration: 6s;
}

.particles span:nth-child(4) {
    left: 41%;
    top: 78%;
    --duration: 8s;
}

.particles span:nth-child(5) {
    left: 52%;
    top: 18%;
    --duration: 5.5s;
}

.particles span:nth-child(6) {
    left: 61%;
    top: 55%;
    --duration: 7.5s;
}

.particles span:nth-child(7) {
    left: 73%;
    top: 27%;
    --duration: 6.5s;
}

.particles span:nth-child(8) {
    left: 82%;
    top: 73%;
    --duration: 9s;
}

.particles span:nth-child(9) {
    left: 91%;
    top: 40%;
    --duration: 6s;
}

.particles span:nth-child(10) {
    left: 35%;
    top: 12%;
    --duration: 8s;
}

.particles span:nth-child(11) {
    left: 67%;
    top: 84%;
    --duration: 7s;
}

.particles span:nth-child(12) {
    left: 12%;
    top: 48%;
    --duration: 5s;
}

@keyframes particleFloat {
    0% {
        transform: translate3d(0, 0, 0)
            scale(.7);
        opacity: .15;
    }

    50% {
        opacity: .7;
    }

    100% {
        transform: translate3d(
                30px,
                -60px,
                120px
            )
            scale(1.4);
        opacity: .2;
    }

}

.depth-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(
            circle,
            rgba(0,229,255,.08),
            rgba(0,229,255,.025) 35%,
            transparent 70%
        );
    filter: blur(30px);
    animation: depthPulse 7s
        ease-in-out
        infinite;
}

@keyframes depthPulse {
    0%,
    100% {
        transform: translate(-50%, -50%)
            scale(.85);
        opacity: .5;
    }

    50% {
        transform: translate(-50%, -50%)
            scale(1.2);
        opacity: 1;
    }

}

.three-d-background {
    transition: transform .2s ease-out;
}

.three-d-background {
    opacity: .65;
    perspective: 900px;
}

.perspective-grid {
    opacity: .16;
    filter: none;
    animation-duration: 14s;
}

.particles span {
    width: 3px;
    height: 3px;
    opacity: .3;
    box-shadow: 0 0 5px rgba(0,229,255,.4);
    animation-duration: 10s;
}

.depth-glow {
    width: 450px;
    height: 450px;
    filter: blur(20px);
    opacity: .55;
    animation-duration: 12s;
}

@media (hover: none), (pointer: coarse) {
    .cursor-glow {
        display: none !important;
    }

    .three-d-background {
        transform: none !important;
    }

}

.nav-link {
    position: relative;
    display: inline-block;
    padding: 6px 0;
    color: #aeb9c9;
    text-decoration: none;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .4px;
    transition: color .3s ease,
        transform .25s ease;
}

.nav-link:hover {
    color: white;
    transform: translateY(-2px);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #00e5ff;
    box-shadow: 0 0 8px rgba(0,229,255,.7);
    transition: width .3s ease;
}

.nav-contact {
    padding: 7px 14px !important;
    border: 1px solid rgba(0,229,255,.35);
    border-radius: 8px;
    color: #00e5ff !important;
}

.nav-contact::after {
    display: none;
}

.nav-contact:hover {
    background: rgba(0,229,255,.08);
    border-color: #00e5ff;
    box-shadow: 0 0 18px rgba(0,229,255,.15);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(0,229,255,.25);
    border-radius: 9px;
    background: rgba(255,255,255,.03);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
    z-index: 100001 !important;
}

.menu-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    background: #00e5ff;
    border-radius: 10px;
    transition: transform .3s ease,
        opacity .3s ease;
}

.nav-menu.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

.nav-menu li {
    width: 100% !important;
}

.nav-link {
    display: block !important;
    width: 100% !important;
    padding: 14px 14px !important;
    font-size: .85rem !important;
    border-radius: 8px;
    transform: none !important;
}

.nav-link:hover {
    background: rgba(0,229,255,.06);
    color: #00e5ff;
}

.nav-link::after {
    display: none;
}

.nav-contact {
    margin-top: 5px;
    text-align: center;
    padding: 12px 14px !important;
}

@media (max-width: 400px) {
    .nav-menu {
        left: 4% !important;
        right: 4% !important;
    }

}

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 62px;
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(5, 8, 22, .95);
    border-bottom: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 9999;
}

.brand-logo {
    position: relative !important;
    width: 82px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0;
    z-index: 1000001 !important;
}

.brand-logo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    display: block;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(0,229,255,.25);
    border-radius: 9px;
    background: rgba(255,255,255,.03);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
    position: relative;
    z-index: 1000002 !important;
}

.menu-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    background: #00e5ff;
    border-radius: 10px;
    transition: .3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: #00e5ff;
    box-shadow: 0 0 8px rgba(0,229,255,.7);
    transition: width .3s ease,
        box-shadow .3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    box-shadow: 0 0 12px rgba(0,229,255,.9);
}

.nav-contact {
    padding: 7px 14px !important;
    border: 1px solid rgba(0,229,255,.35);
    border-radius: 8px;
    color: #00e5ff !important;
}

@media (max-width: 800px) {
    .menu-toggle {
        display: flex !important;
    }

    .nav-menu {
        position: fixed !important;
        top: 60px !important;
        left: 5% !important;
        right: 5% !important;
        width: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 4px !important;
        padding: 12px !important;
        margin: 0 !important;
        background: rgba(5,8,22,.98) !important;
        border: 1px solid rgba(255,255,255,.10) !important;
        border-radius: 14px !important;
        box-shadow: 0 20px 50px rgba(0,0,0,.45),
            0 0 25px rgba(0,229,255,.08);
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(-12px) !important;
        transition: opacity .3s ease,
            transform .3s ease,
            visibility .3s ease !important;
        z-index: 1000000 !important;
    }

    .nav-menu.open {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }

    .nav-menu li {
        width: 100% !important;
    }

    .nav-link {
        display: block !important;
        width: 100% !important;
        padding: 14px !important;
        font-size: .85rem !important;
        border-radius: 8px;
        transform: none !important;
    }

    .nav-link:hover {
        background: rgba(0,229,255,.06);
        color: #00e5ff;
    }

    .nav-link::after {
        display: none;
    }

    .nav-contact {
        margin-top: 5px;
        text-align: center;
        padding: 12px 14px !important;
    }

}

.project-back-nav {
    position: fixed;
    top: 70px;
    left: 6%;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    color: #94a3b8;
    text-decoration: none;
    font-size: .58rem;
    font-weight: 600;
    letter-spacing: .2px;
    background: rgba(5, 8, 22, .65);
    border: 1px solid rgba(0, 229, 255, .15);
    border-radius: 6px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9998;
    transition: color .3s ease,
        border-color .3s ease,
        background .3s ease,
        transform .3s ease,
        box-shadow .3s ease;
}

.project-back-nav span:first-child {
    color: #00e5ff;
    font-size: 1rem;
    transition: transform .3s ease;
}

.project-back-nav:hover {
    color: #ffffff;
    background: rgba(0, 229, 255, .08);
    border-color: rgba(0, 229, 255, .5);
    transform: translateX(-3px);
    box-shadow: 0 0 18px
        rgba(0, 229, 255, .12);
}

.project-back-nav:hover span:first-child {
    transform: translateX(-4px);
}

@media (max-width: 400px) {
    .project-back-nav {
        left: 4%;
        top: 66px;
        font-size: .65rem;
        padding: 7px 10px;
    }

}

@media (max-width: 650px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .projects-header {
        width: 100%;
        max-width: 100%;
        padding: 125px 20px 35px;
        margin: 0;
    }

    .projects-label {
        font-size: .6rem;
        letter-spacing: 1.5px;
    }

    .projects-header h1 {
        font-size: 2.25rem;
        line-height: 1.15;
        margin-bottom: 14px;
    }

    .projects-header p {
        width: 100%;
        max-width: 100%;
        font-size: .82rem;
        line-height: 1.7;
        padding: 0 5px;
    }

}

@media (max-width: 800px) {
    .main-nav .brand-logo {
        position: absolute !important;
        left: 5% !important;
    }

    .main-nav .menu-toggle {
        position: absolute !important;
        right: 5% !important;
        left: auto !important;
        margin: 0 !important;
        display: flex !important;
    }

}

@media (max-width: 800px) {
    .project-card,
    .card {
        padding: 24px 20px !important;
        border-radius: 16px;
    }

    #services .project-card {
        padding: 24px 20px !important;
    }

    #services .project-card h3 {
        margin-bottom: 14px;
        line-height: 1.35;
    }

    #services .project-card p {
        font-size: 0.9rem;
        line-height: 1.6;
        text-align: justify;
        text-justify: inter-word;
    }

    #projects .project-card {
        padding: 26px 20px !important;
    }

    #projects .project-card h3 {
        margin-bottom: 14px;
        line-height: 1.35;
    }

    #projects .project-card p {
        font-size: 0.9rem;
        line-height: 1.6;
        text-align: justify;
        text-justify: inter-word;
    }

    .project-grid {
        gap: 24px !important;
    }

    #services h2,
    #projects h2 {
        line-height: 1.2;
        margin-bottom: 24px;
    }

    .project-note {
        line-height: 1.7;
        padding: 0 10px;
    }

    .stat-card {
        padding: 28px 18px !important;
    }

    .stat-card h3 {
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .stat-card p {
        line-height: 1.6;
    }

}

.cursor-glow {
    position: fixed;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(
            circle,
            rgba(0, 229, 255, 0.16) 0%,
            rgba(0, 229, 255, 0.08) 25%,
            rgba(0, 229, 255, 0.03) 45%,
            transparent 70%
        );
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0;
    transition: opacity .25s ease;
    filter: blur(5px);
}

body:hover .cursor-glow {
    opacity: 1;
}

.projects {
    width: 92%;
    max-width: 1050px;
    margin: 0 auto;
}

.projects .project-grid {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.projects .project-card {
    width: 100%;
    max-width: 100%;
}

.projects .project-image {
    height: 150px;
    padding: 8px;
}

.projects .project-info {
    padding: 17px;
}

.projects .project-info h2 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.projects .project-info p {
    font-size: .74rem;
    line-height: 1.6;
}

.projects .tools {
    margin-top: 13px;
    gap: 5px;
}

.projects .tools span {
    font-size: .57rem;
    padding: 4px 7px;
}

.tech-orbit {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    mask-image: linear-gradient(
        to right,
        transparent,
        black 10%,
        black 90%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        black 10%,
        black 90%,
        transparent
    );
}

.tech-line {
    position: absolute;
    left: -10%;
    width: 120%;
    height: 1px;
    opacity: 0.08;
    background: currentColor;
}

.tech-line::before,
.tech-line::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}

.tech-line::before {
    left: 20%;
    top: -2px;
}

.tech-line::after {
    right: 25%;
    top: -2px;
}

.tech-line-1 {
    top: 45%;
    transform: rotate(-5deg);
}

.tech-line-2 {
    top: 58%;
    transform: rotate(5deg);
}

.logo-track {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 45px;
    width: max-content;
    will-change: transform;
}

.logo-track-1 {
    top: 70px;
    animation: techLoop 34s linear infinite;
}

.logo-track-2 {
    top: 155px;
    opacity: 0.5;
    animation: techLoopReverse 42s linear infinite;
}

.tech-logo {
    position: relative;
    width: 78px;
    height: 78px;
    flex: 0 0 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(128, 128, 128, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: rotate(-3deg);
    transition: transform 0.35s ease,
        opacity 0.35s ease,
        border-color 0.35s ease;
}

.tech-logo::before {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    top: 8px;
    right: 8px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.35;
}

.tech-logo::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 1px;
    top: 50%;
    left: 100%;
    background: currentColor;
    opacity: 0.12;
}

.tech-logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
    opacity: 0.8;
    transition: transform 0.35s ease,
        opacity 0.35s ease;
}

.tech-logo:hover {
    transform: translateY(-12px)
        rotate(0deg)
        scale(1.08);
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.3);
}

.tech-logo:hover img {
    opacity: 1;
    transform: scale(1.12);
}

.logo-track-1 .tech-logo:nth-child(1) {
    transform: translateY(18px) rotate(-5deg);
}

.logo-track-1 .tech-logo:nth-child(2) {
    transform: translateY(5px) rotate(3deg);
}

.logo-track-1 .tech-logo:nth-child(3) {
    transform: translateY(-12px) rotate(-4deg);
}

.logo-track-1 .tech-logo:nth-child(4) {
    transform: translateY(-20px) rotate(4deg);
}

.logo-track-1 .tech-logo:nth-child(5) {
    transform: translateY(-8px) rotate(-3deg);
}

.logo-track-1 .tech-logo:nth-child(6) {
    transform: translateY(12px) rotate(5deg);
}

.logo-track-1 .tech-logo:nth-child(7) {
    transform: translateY(20px) rotate(-4deg);
}

.logo-track-1 .tech-logo:nth-child(8) {
    transform: translateY(5px) rotate(3deg);
}

.logo-track-1 .tech-logo:nth-child(9) {
    transform: translateY(-15px) rotate(-3deg);
}

.logo-track-1 .tech-logo:nth-child(10) {
    transform: translateY(-20px) rotate(4deg);
}

.logo-track-1 .tech-logo:nth-child(11) {
    transform: translateY(-5px) rotate(-4deg);
}

.logo-track-1 .tech-logo:nth-child(12) {
    transform: translateY(12px) rotate(3deg);
}

.logo-track-1 .tech-logo:nth-child(13) {
    transform: translateY(20px) rotate(-4deg);
}

@keyframes techLoop {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}

@keyframes techLoopReverse {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }

}

.tech-orbit::before,
.tech-orbit::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15%;
    z-index: 3;
    pointer-events: none;
}

.tech-orbit::before {
    left: 0;
    background: linear-gradient(
        to right,
        var(--background, #0b0b0f),
        transparent
    );
}

.tech-orbit::after {
    right: 0;
    background: linear-gradient(
        to left,
        var(--background, #0b0b0f),
        transparent
    );
}

@media (max-width: 600px) {
    .tech-stack-section {
        padding: 80px 0;
    }

    .tech-header {
        margin-bottom: 40px;
    }

    .tech-header p {
        padding: 0 25px;
        font-size: 14px;
    }

    .tech-orbit {
        height: 240px;
    }

    .logo-track {
        gap: 28px;
    }

    .logo-track-1 {
        top: 55px;
        animation-duration: 28s;
    }

    .logo-track-2 {
        top: 135px;
        animation-duration: 35s;
    }

    .tech-logo {
        width: 62px;
        height: 62px;
        flex-basis: 62px;
        border-radius: 15px;
    }

    .tech-logo img {
        width: 38px;
        height: 38px;
    }

}

#why-me {
    background: rgba(0, 229, 255, .02);
}

.before-after-section {
    position: relative;
    padding: 70px 8% 15px;
    display: grid;
    grid-template-columns: .8fr 1.5fr;
    align-items: start;
    gap: 70px;
    background: rgba(0, 229, 255, .015);
    overflow: hidden;
}

.before-after-header {
    max-width: 390px;
    text-align: left;
    align-self: start;
}

.section-label {
    display: inline-block;
    margin-bottom: 16px;
    color: #00e5ff;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: 3px;
    opacity: .7;
}

.before-after-header h2 {
    margin: 0 0 18px;
    color: white;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.1;
    letter-spacing: -1.8px;
}

.before-after-header p {
    margin: 0;
    color: #94a3b8;
    font-size: .92rem;
    line-height: 1.8;
    text-align: justify;
}

.before-after {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.ba-column {
    position: relative;
    padding: 30px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(255, 255, 255, .08);
    overflow: hidden;
    transition: transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.ba-column::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
}

.ba-column.before {
    background: linear-gradient(
        145deg,
        rgba(255, 70, 70, .025),
        rgba(255, 255, 255, .02)
    );
}

.ba-column.before::before {
    background: rgba(255, 70, 70, .55);
}

.ba-column.after {
    background: linear-gradient(
        145deg,
        rgba(0, 255, 136, .035),
        rgba(255, 255, 255, .02)
    );
    border-color: rgba(0, 255, 136, .15);
}

.ba-column.after::before {
    background: rgba(0, 255, 136, .55);
}

.ba-column.before:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 70, 70, .25);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .2);
}

.ba-column.after:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 136, .3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .2),
        0 0 25px rgba(0, 255, 136, .05);
}

.ba-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.ba-status {
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.ba-status.red {
    color: #ff5c5c;
}

.ba-status.green {
    color: #00ff88;
}

.ba-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, .08);
}

.ba-column h3 {
    margin: 0 0 25px;
    color: #f8fafc;
    font-size: 1.1rem;
    line-height: 1.5;
    font-weight: 600;
}

.ba-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ba-column li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 18px;
    color: #94a3b8;
    font-size: .86rem;
    line-height: 1.6;
}

.ba-icon {
    flex-shrink: 0;
    width: 21px;
    height: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: .9rem;
    font-weight: 800;
    margin-top: 1px;
}

.ba-icon.red {
    color: #ff5c5c;
    background: rgba(255, 70, 70, .08);
    border: 1px solid rgba(255, 70, 70, .25);
}

.ba-icon.green {
    color: #00ff88;
    background: rgba(0, 255, 136, .08);
    border: 1px solid rgba(0, 255, 136, .25);
}

.ba-line {
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,.08);
}

.ba-column li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 18px;
    color: #94a3b8;
    font-size: .86rem;
    line-height: 1.6;
}

.ba-icon {
    flex-shrink: 0;
    width: 21px;
    height: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: .9rem;
    font-weight: 800;
    margin-top: 1px;
}

.ba-icon.red {
    color: #ff5c5c;
    background: rgba(255,70,70,.08);
    border: 1px solid rgba(255,70,70,.25);
}

.ba-icon.green {
    color: #00ff88;
    background: rgba(0,255,136,.08);
    border: 1px solid rgba(0,255,136,.25);
}

.ba-column.before {
    background: linear-gradient(
            145deg,
            rgba(255,70,70,.025),
            rgba(255,255,255,.02)
        );
}

.ba-column.after {
    background: linear-gradient(
            145deg,
            rgba(0,255,136,.035),
            rgba(255,255,255,.02)
        );
    border-color: rgba(0,255,136,.15);
}

.ba-column {
    transition: transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.ba-column.before:hover {
    transform: translateY(-5px);
    border-color: rgba(255,70,70,.25);
    box-shadow: 0 15px 40px rgba(0,0,0,.2);
}

.ba-column.after:hover {
    transform: translateY(-5px);
    border-color: rgba(0,255,136,.3);
    box-shadow: 0 15px 40px rgba(0,0,0,.2),
        0 0 25px rgba(0,255,136,.05);
}

@media (max-width: 900px) {
    .before-after-section {
        display: block;
        padding: 70px 5%;
    }

    .before-after-header {
        max-width: 650px;
        margin: 0 auto 40px;
        text-align: center;
    }

    .before-after-header p {
        max-width: 600px;
        margin: 0 auto;
    }

    .before-after {
        max-width: 900px;
        margin: 0 auto;
    }

}

@media (max-width: 650px) {
    .before-after-section {
        padding: 65px 5%;
    }

    .before-after-header {
        margin-bottom: 32px;
    }

    .before-after-header h2 {
        font-size: 2.2rem;
    }

    .before-after-header p {
        font-size: .86rem;
    }

    .before-after {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ba-column {
        padding: 24px 20px;
    }

    .ba-column h3 {
        font-size: 1.05rem;
    }

    .ba-column li {
        font-size: .84rem;
    }

}

.tech-stack-section {
    padding-top: 80px;
    padding-bottom: 25px;
}

.tech-header {
    margin-bottom: 40px;
}

.tech-orbit {
    height: 240px;
}

@media (max-width: 600px) {
    .tech-stack-section {
        padding-top: 60px;
        padding-bottom: 15px;
    }

    .tech-header {
        margin-bottom: 30px;
    }

    .tech-orbit {
        height: 210px;
    }

}

.before-after-section {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    min-height: 0 !important;
}

#why-me {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    min-height: 0 !important;
}

#contact {
    margin-top: 0 !important;
    padding-top: 35px !important;
    min-height: 0 !important;
}

html,
body {
    margin: 0 !important;
    padding: 0 !important;
}

footer,
.footer {
    margin: 0 !important;
    padding-bottom: 15px !important;
}

footer + *,
.footer + * {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

main {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

section:last-of-type {
    margin-bottom: 0 !important;
    padding-bottom: 20px !important;
    min-height: 0 !important;
}
/* =====================================================
   PROJECT SHOWCASE REEL  (about.html — after #why-me)
===================================================== */

.showcase-section { padding: 110px 8% 120px; position: relative; }

.showcase-head { max-width: 620px; margin: 0 auto 50px; text-align: center; }
.showcase-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 14px; }
.showcase-head h2 em { font-style: normal; color: #00e5ff; }
.showcase-head p { color: #9ca3af; font-size: 1rem; line-height: 1.7; }

.reel {
    position: relative;
    margin: 0 -8%;
    padding: 60px 0 40px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    overflow: visible;
}

.reel-track {
    display: flex;
    align-items: center;
    gap: 22px;
    width: max-content;
    padding: 0 8%;
    animation: reel-slide 60s linear infinite;
}

.reel:hover .reel-track,
.reel:focus-within .reel-track { animation-play-state: paused; }

@keyframes reel-slide {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

.reel-card {
    flex: 0 0 292px;
    margin: 0;
    padding: 10px 10px 0;
    border-radius: 14px;
    background: #0a0f22;
    border: 1px solid rgba(0, 229, 255, 0.14);
    position: relative;
    z-index: 1;
    opacity: 1;
    transition: transform 0.35s ease, border-color 0.35s ease,
                box-shadow 0.35s ease, opacity 0.35s ease;
}

.reel-track:hover .reel-card { opacity: 0.4; }

.reel-track .reel-card:hover,
.reel-track .reel-card:focus-within {
    opacity: 1;
    z-index: 5;
    transform: scale(1.16);
    border-color: #00e5ff;
    box-shadow: 0 24px 50px -14px rgba(0, 229, 255, 0.6);
}

.reel-frame { position: relative; height: 164px; border-radius: 9px; overflow: hidden; background: #020510; }
.reel-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

.reel-tag {
    position: absolute;
    top: 9px; left: 9px; z-index: 2;
    font-size: 0.64rem; font-weight: 700; letter-spacing: 0.06em;
    padding: 4px 9px; border-radius: 999px;
    color: #00e5ff;
    background: rgba(5, 8, 22, 0.85);
    border: 1px solid rgba(0, 229, 255, 0.3);
    backdrop-filter: blur(4px);
}

.reel-card figcaption { padding: 13px 4px 16px; }
.reel-card figcaption strong { display: block; font-size: 0.93rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.reel-card figcaption span { display: block; font-size: 0.78rem; line-height: 1.5; color: #9ca3af; }

.showcase-cta { text-align: center; margin-top: 46px; }
.showcase-cta a {
    display: inline-block;
    padding: 13px 30px;
    border-radius: 999px;
    font-weight: 600; font-size: 0.93rem;
    color: #00e5ff; text-decoration: none;
    border: 1px solid rgba(0, 229, 255, 0.4);
    transition: 0.3s ease;
}
.showcase-cta a:hover { background: #00e5ff; color: #050816; }

@media (max-width: 768px) {
    .showcase-section { padding: 80px 6% 90px; }
    .reel { margin: 0 -6%; }
    .reel-track { padding: 0 6%; }
    .reel-card { flex: 0 0 248px; }
    .reel-frame { height: 142px; }
}

@media (prefers-reduced-motion: reduce) {
    .reel-track { animation: none; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; }
    .reel-card, .reel-frame img { transition: none; }
}


/* =====================================================
   FOOTER SOCIAL LOGOS
===================================================== */

.footer-connect { text-align: center; }

.social-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 6px auto 0;
}

.social-logos a {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    transition: transform 0.28s ease, opacity 0.28s ease;
    opacity: 0.85;
}

.social-logos img { width: 17px; height: 17px; object-fit: contain; display: block; }

.social-logos a:hover,
.social-logos a:focus-visible {
    transform: translateY(-4px) scale(1.08);
    opacity: 1;
}

.social-logos a:focus-visible { outline: 2px solid #00e5ff; outline-offset: 4px; border-radius: 8px; }
/* =====================================================
   HERO 2.0 — value-prop headline, trust signals, flow chip
   (appended last so these rules win over earlier hero styles)
===================================================== */

.hero {
    padding: 160px 5% 100px;
    min-height: auto;
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border: 1px solid rgba(0,255,136,.4);
    background: rgba(0,255,136,.06);
    border-radius: 50px;
    color: #00ff88;
    font-size: .85rem;
    font-weight: 600;
}

.availability-badge .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff88;
    animation: pulse 2s infinite;
}

.hero-kicker {
    margin-top: 22px;
    font-size: 1.05rem;
    color: #94a3b8;
    font-weight: 500;
}

.hero-kicker #typing {
    color: #00e5ff;
    font-weight: 600;
}

.hero-headline {
    margin-top: 14px;
    font-family: "Inter", sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    max-width: 640px;

    background: linear-gradient(90deg, #ffffff, #00e5ff, #00ff88, #ffffff);
    background-size: 300% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 8s linear infinite;
}

.hero-lede {
    margin-top: 22px;
    max-width: 520px;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #cbd5e1;
}

.hero-trust {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: .92rem;
    color: #94a3b8;
}

.hero-trust strong {
    color: #e2e8f0;
}

.hero-trust .dot {
    color: #334155;
}

/* --- visual side: photo + floating automation chip --- */

.hero-visual {
    position: relative;
    display: inline-block;
}

.flow-chip {
    position: absolute;
    left: 50%;
    bottom: -26px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: rgba(5,8,22,.9);
    border: 1px solid rgba(0,229,255,.35);
    border-radius: 14px;
    backdrop-filter: blur(6px);
    box-shadow: 0 20px 40px rgba(0,0,0,.4);
    white-space: nowrap;
    font-size: .78rem;
    font-weight: 600;
}

.flow-step {
    color: #94a3b8;
}

.flow-step.done {
    color: #00ff88;
}

.flow-arrow {
    color: #334155;
    font-size: .7rem;
}

/* --- one orchestrated entrance sequence --- */

.hero-text > * {
    opacity: 0;
    animation: heroRise .7s ease forwards;
}

.availability-badge { animation-delay: .05s; }
.hero-kicker        { animation-delay: .15s; }
.hero-headline       { animation-delay: .25s; }
.hero-lede           { animation-delay: .35s; }
.hero-buttons        { animation-delay: .45s; }
.hero-trust          { animation-delay: .55s; }

@keyframes heroRise {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-text > * {
        animation: none;
        opacity: 1;
    }
    .availability-badge .pulse-dot {
        animation: none;
    }
}

@media (max-width: 900px) {
    .hero {
        padding: 140px 6% 70px;
    }
    .hero-headline {
        font-size: 2.2rem;
        max-width: 100%;
    }
    .hero-lede {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-trust {
        justify-content: center;
    }
    .flow-chip {
        font-size: .68rem;
        padding: 10px 12px;
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .flow-chip {
        display: none;
    }
}

.hero-buttons {
    justify-content: flex-start;
}

@media (max-width: 900px) {
    .hero-buttons {
        justify-content: center;
    }
}