/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}


body {
    font-family: Arial, Helvetica, sans-serif;

    background: #080808;

    color: #ffffff;

    line-height: 1.6;

    overflow-x: hidden;
}


body.modal-open {
    overflow: hidden;
}


a {
    text-decoration: none;

    color: inherit;
}


img {
    max-width: 100%;
}


button {
    font-family: inherit;
}


/* =====================================================
   SCROLLBAR
===================================================== */

::-webkit-scrollbar {
    width: 8px;
}


::-webkit-scrollbar-track {
    background: #080808;
}


::-webkit-scrollbar-thumb {
    background: #263d3f;

    border-radius: 10px;
}


::-webkit-scrollbar-thumb:hover {
    background: #00e5ff;
}


/* =====================================================
   NAVBAR
===================================================== */

header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(8, 8, 8, 0.90);

    backdrop-filter: blur(15px);

    border-bottom: 1px solid #1d1d1d;
}


.navbar {
    max-width: 1180px;

    margin: auto;

    padding: 18px 25px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.logo {
    font-size: 28px;

    font-weight: 800;

    letter-spacing: -1px;
}


.logo span,
.footer-logo span {
    color: #00e5ff;
}


.nav-links {
    display: flex;

    align-items: center;

    gap: 28px;

    list-style: none;
}


.nav-links a {
    color: #8d8d8d;

    font-size: 14px;

    transition: 0.3s;
}


.nav-links a:hover {
    color: #00e5ff;
}


.menu-btn {
    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid #292929;

    border-radius: 8px;

    background: #111;

    color: white;

    font-size: 18px;

    cursor: pointer;
}


/* =====================================================
   COMMON
===================================================== */

.section {
    max-width: 1180px;

    margin: auto;

    padding: 110px 25px;
}


.section-title {
    text-align: center;

    margin-bottom: 55px;
}


.section-title p {
    color: #00e5ff;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 7px;
}


.section-title h2 {
    font-size: clamp(32px, 5vw, 44px);

    line-height: 1.1;
}


.btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    min-height: 48px;

    padding: 12px 19px;

    border-radius: 8px;

    font-size: 14px;

    font-weight: 700;

    transition: 0.3s;
}


.primary {
    background: #00e5ff;

    color: #000;
}


.primary:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(0, 229, 255, 0.18);
}


.secondary {
    border: 1px solid #383838;

    color: white;

    background: transparent;
}


.secondary:hover {
    border-color: #00e5ff;

    color: #00e5ff;

    transform: translateY(-3px);
}


/* =====================================================
   HERO
===================================================== */

.hero {
    min-height: 100vh;

    max-width: 1180px;

    margin: auto;

    padding: 145px 25px 90px;

    display: grid;

    grid-template-columns: 1.15fr 0.85fr;

    align-items: center;

    gap: 60px;
}


.hero-content {
    max-width: 700px;
}


.availability {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 7px 13px;

    margin-bottom: 25px;

    background: #0d1718;

    border: 1px solid #263d3f;

    border-radius: 50px;

    color: #a9b7b8;

    font-size: 12px;
}


.status-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #00e5ff;

    box-shadow: 0 0 12px #00e5ff;
}


.small-heading {
    color: #00e5ff;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 4px;

    margin-bottom: 12px;
}


.hero h1 {
    font-size: clamp(48px, 7vw, 78px);

    line-height: 1;

    letter-spacing: -3px;

    margin-bottom: 18px;
}


.hero h2 {
    color: #aaa;

    font-size: clamp(23px, 3vw, 32px);

    line-height: 1.2;

    margin-bottom: 25px;
}


.hero h2 span {
    color: #00e5ff;

    margin: 0 5px;
}


.hero-description {
    color: #8f8f8f;

    max-width: 650px;

    font-size: 17px;

    margin-bottom: 30px;
}


.hero-description strong {
    color: #ddd;
}


.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 25px;
}


.resume-download {
    background: #101a1b;

    border: 1px solid #263d3f;

    color: #00e5ff;
}


.resume-download:hover {
    background: #00e5ff;

    color: #000;

    transform: translateY(-3px);
}


.social-links {
    display: flex;

    align-items: center;

    gap: 19px;

    margin-bottom: 30px;
}


.social-links a {
    color: #777;

    font-size: 21px;

    transition: 0.3s;
}


.social-links a:hover {
    color: #00e5ff;

    transform: translateY(-3px);
}


.hero-stats {
    display: flex;

    gap: 30px;

    padding-top: 22px;

    border-top: 1px solid #1e1e1e;
}


.hero-stats div {
    display: flex;

    flex-direction: column;
}


.hero-stats strong {
    color: #00e5ff;

    font-size: 20px;
}


.hero-stats span {
    color: #666;

    font-size: 11px;

    text-transform: uppercase;
}


/* =====================================================
   PROFILE
===================================================== */

.hero-image {
    position: relative;

    display: flex;

    justify-content: center;

    align-items: center;
}


.profile-photo-container {
    position: relative;

    width: 360px;
    height: 360px;

    padding: 8px;

    border-radius: 50%;

    border: 2px solid #00e5ff;

    background: #0b0b0b;

    box-shadow:
        0 0 35px rgba(0, 229, 255, 0.18);

    overflow: hidden;

    animation: floatPhoto 5s ease-in-out infinite;
}


.profile-photo {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    border-radius: 50%;
}


.floating-card {
    position: absolute;

    right: 0;

    bottom: 15px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 13px 16px;

    background: rgba(17, 17, 17, 0.95);

    border: 1px solid #2b2b2b;

    border-radius: 10px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.4);

    animation: floatingCard 4s ease-in-out infinite;
}


.floating-card > i {
    color: #00e5ff;

    font-size: 22px;
}


.floating-card div {
    display: flex;

    flex-direction: column;
}


.floating-card strong {
    font-size: 12px;
}


.floating-card small {
    color: #777;

    font-size: 10px;
}


/* =====================================================
   ABOUT
===================================================== */

.about-container {
    display: grid;

    grid-template-columns: 1.15fr 0.85fr;

    gap: 70px;
}


.about-text p {
    color: #909090;

    font-size: 16px;

    margin-bottom: 20px;
}


.about-text strong {
    color: #ddd;
}


.about-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 25px;
}


.about-info {
    display: flex;

    flex-direction: column;

    gap: 15px;
}


.info-box {
    display: flex;

    align-items: center;

    gap: 18px;

    padding: 20px;

    background: #101010;

    border: 1px solid #242424;

    border-radius: 10px;

    transition: 0.3s;
}


.info-box:hover {
    transform: translateX(5px);

    border-color: #00e5ff;
}


.info-icon {
    width: 45px;
    height: 45px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 9px;

    background: #161616;

    color: #00e5ff;
}


.info-box h3 {
    font-size: 15px;

    margin-bottom: 2px;
}


.info-box p {
    color: #707070;

    font-size: 13px;
}


/* =====================================================
   ANALYTICS
===================================================== */

.analytics-section {
    padding: 105px 25px;

    background: #0d0d0d;

    border-top: 1px solid #171717;

    border-bottom: 1px solid #171717;
}


.analytics-grid {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}


.analytics-card {
    padding: 30px 15px;

    text-align: center;

    background: #111;

    border: 1px solid #242424;

    border-radius: 12px;

    transition: 0.3s;
}


.analytics-card:hover {
    transform: translateY(-6px);

    border-color: #00e5ff;
}


.analytics-card i {
    display: block;

    color: #00e5ff;

    font-size: 25px;

    margin-bottom: 12px;
}


.analytics-card strong {
    display: block;

    font-size: 29px;
}


.analytics-card span {
    color: #707070;

    font-size: 12px;

    text-transform: uppercase;
}


/* =====================================================
   SKILLS
===================================================== */

.skills-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 17px;
}


.skill-card {
    padding: 27px 15px;

    text-align: center;

    background: #101010;

    border: 1px solid #242424;

    border-radius: 11px;

    transition: 0.3s;
}


.skill-card:hover {
    transform: translateY(-6px);

    border-color: #00e5ff;

    background: #111617;
}


.skill-icon {
    width: 55px;
    height: 55px;

    margin: auto auto 14px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 10px;

    background: #161616;

    color: #00e5ff;

    font-size: 27px;
}


.skill-card h3 {
    font-size: 15px;

    margin-bottom: 4px;
}


.skill-card p {
    color: #6d6d6d;

    font-size: 12px;
}


/* =====================================================
   PROJECTS
===================================================== */

.projects-grid {
    max-width: 1130px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}


.project-card {
    padding: 27px;

    display: flex;

    flex-direction: column;

    background: #101010;

    border: 1px solid #242424;

    border-radius: 13px;

    transition: 0.3s;
}


.project-card:hover {
    transform: translateY(-7px);

    border-color: #00e5ff;
}


.project-card.featured {
    background:
        linear-gradient(
            145deg,
            #101010,
            #0c1819
        );

    border-color: #00e5ff;
}


.project-top {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 17px;
}


.project-icon {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 9px;

    background: #171717;

    color: #00e5ff;

    font-size: 20px;
}


.project-category {
    color: #00e5ff;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;

    padding: 5px 8px;

    background: #102022;

    border-radius: 5px;
}


.project-card h3 {
    font-size: 21px;

    margin-bottom: 12px;
}


.project-card > p {
    color: #858585;

    font-size: 14px;

    margin-bottom: 18px;
}


/* =====================================================
   PROJECT IMAGE
===================================================== */

.project-image {
    position: relative;

    overflow: hidden;

    margin-bottom: 18px;

    border: 1px solid #292929;

    border-radius: 9px;

    background: #080808;

    cursor: pointer;
}


.project-image img {
    display: block;

    width: 100%;

    height: 200px;

    object-fit: cover;

    object-position: center;

    transition: 0.45s;
}


.project-image:hover img {
    transform: scale(1.05);
}


.image-overlay {
    position: absolute;

    inset: 0;

    display: flex;

    align-items: flex-end;

    justify-content: center;

    padding-bottom: 15px;

    background:
        linear-gradient(
            transparent 45%,
            rgba(0, 0, 0, 0.85)
        );

    opacity: 0;

    transition: 0.3s;
}


.project-image:hover .image-overlay {
    opacity: 1;
}


.image-overlay span {
    color: white;

    font-size: 12px;

    font-weight: 700;
}


.image-overlay i {
    color: #00e5ff;

    margin-right: 5px;
}


/* =====================================================
   PROJECT STATS
===================================================== */

.project-stats {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 7px;

    padding: 12px 5px;

    margin-bottom: 18px;

    background: #0a0a0a;

    border: 1px solid #1f1f1f;

    border-radius: 8px;
}


.project-stats div {
    text-align: center;
}


.project-stats strong {
    display: block;

    color: #00e5ff;

    font-size: 14px;
}


.project-stats span {
    color: #606060;

    font-size: 9px;

    text-transform: uppercase;
}


/* =====================================================
   PROJECT TAGS
===================================================== */

.project-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-bottom: 25px;
}


.project-tags span {
    padding: 5px 8px;

    background: #1b1b1b;

    border-radius: 5px;

    color: #999;

    font-size: 10px;
}


.project-actions {
    margin-top: auto;
}


.project-link {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: #00e5ff;

    font-size: 13px;

    font-weight: 700;

    transition: 0.3s;
}


.project-link:hover {
    color: white;

    transform: translateX(3px);
}


/* =====================================================
   RESUME
===================================================== */

.resume-section {
    padding: 90px 25px;

    background:
        linear-gradient(
            135deg,
            #0d1516,
            #0b0b0b
        );

    border-top: 1px solid #1e1e1e;

    border-bottom: 1px solid #1e1e1e;
}


.resume-container {
    max-width: 1050px;

    margin: auto;

    padding: 45px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    border: 1px solid #263d3f;

    border-radius: 15px;

    background: #101414;
}


.resume-label {
    color: #00e5ff;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 3px;
}


.resume-content h2 {
    font-size: 30px;

    margin: 8px 0 10px;
}


.resume-content p {
    max-width: 650px;

    color: #777;

    margin-bottom: 22px;
}


.resume-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}


.resume-icon {
    width: 110px;
    height: 110px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid #263d3f;

    border-radius: 20px;

    color: #00e5ff;

    font-size: 45px;

    background: #0b1011;
}


/* =====================================================
   CERTIFICATES
===================================================== */

.certificates-grid {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}


.certificate-card {
    padding: 25px;

    display: flex;

    gap: 18px;

    background: #101010;

    border: 1px solid #242424;

    border-radius: 12px;

    transition: 0.3s;
}


.certificate-card:hover {
    transform: translateY(-5px);

    border-color: #00e5ff;
}


.certificate-icon {
    width: 45px;
    height: 45px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 9px;

    background: #171717;

    color: #00e5ff;
}


.certificate-type {
    color: #00e5ff;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.certificate-content h3 {
    font-size: 16px;

    margin: 7px 0 9px;
}


.certificate-content p {
    color: #777;

    font-size: 12px;

    margin-bottom: 15px;
}


.certificate-date {
    color: #555;

    font-size: 10px;
}


.certificate-link {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: #00e5ff;

    font-size: 12px;

    font-weight: 700;
}


.certificate-link:hover {
    color: white;
}


/* =====================================================
   CONTACT
===================================================== */

.contact-description {
    max-width: 650px;

    margin: -28px auto 40px;

    text-align: center;

    color: #777;

    font-size: 15px;
}


.contact-container {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}


.contact-card {
    display: flex;

    align-items: center;

    gap: 17px;

    padding: 24px;

    background: #101010;

    border: 1px solid #242424;

    border-radius: 11px;

    transition: 0.3s;
}


.contact-card:hover {
    transform: translateY(-5px);

    border-color: #00e5ff;
}


.contact-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 9px;

    background: #171717;

    color: #00e5ff;

    font-size: 21px;
}


.contact-card span {
    color: #00e5ff;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.contact-card h3 {
    font-size: 15px;

    margin: 3px 0;
}


.contact-card p {
    color: #666;

    font-size: 11px;
}


.contact-cta {
    margin: 45px auto 0;

    padding: 35px;

    max-width: 700px;

    text-align: center;

    border: 1px solid #222;

    border-radius: 13px;

    background: #0d0d0d;
}


.contact-cta h3 {
    font-size: 22px;
}


.contact-cta p {
    color: #777;

    margin: 4px 0 20px;
}


/* =====================================================
   FOOTER
===================================================== */

footer {
    padding: 50px 25px;

    text-align: center;

    border-top: 1px solid #1d1d1d;
}


.footer-logo {
    font-size: 27px;

    font-weight: 800;
}


.footer-content > p {
    color: #666;

    font-size: 13px;

    margin-top: 5px;
}


.footer-social {
    display: flex;

    justify-content: center;

    gap: 20px;

    margin: 20px 0;
}


.footer-social a {
    color: #666;

    font-size: 20px;

    transition: 0.3s;
}


.footer-social a:hover {
    color: #00e5ff;

    transform: translateY(-3px);
}


.copyright {
    font-size: 11px !important;

    color: #444 !important;
}


/* =====================================================
   FULL SCREEN IMAGE MODALS
===================================================== */

.image-modal {
    display: none;

    position: fixed;

    inset: 0;

    z-index: 9999;

    align-items: center;

    justify-content: center;

    padding: 30px;

    background: rgba(0, 0, 0, 0.97);

    backdrop-filter: blur(8px);
}


.image-modal.active {
    display: flex;
}


.image-modal img {
    max-width: 95vw;

    max-height: 90vh;

    width: auto;

    height: auto;

    object-fit: contain;

    border-radius: 8px;

    box-shadow:
        0 0 60px rgba(0, 229, 255, 0.12);
}


.close-btn {
    position: absolute;

    top: 18px;

    right: 25px;

    width: 48px;

    height: 48px;

    border: 1px solid #333;

    border-radius: 50%;

    background: #111;

    color: white;

    font-size: 34px;

    cursor: pointer;

    z-index: 10000;

    transition: 0.3s;
}


.close-btn:hover {
    color: #00e5ff;

    border-color: #00e5ff;

    transform: rotate(90deg);
}


/* =====================================================
   ANIMATIONS
===================================================== */

@keyframes floatPhoto {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

}


@keyframes floatingCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

    .hero {
        grid-template-columns: 1fr;

        text-align: center;
    }


    .hero-content {
        max-width: 750px;

        margin: auto;
    }


    .hero-buttons,
    .social-links,
    .hero-stats {
        justify-content: center;
    }


    .hero-image {
        max-width: 500px;

        margin: auto;
    }


    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }


    .certificates-grid {
        grid-template-columns: 1fr 1fr;
    }


    .contact-container {
        grid-template-columns: 1fr 1fr;
    }


    .contact-card:last-child {
        grid-column: span 2;
    }

}


/* =====================================================
   MOBILE NAVIGATION
===================================================== */

@media (max-width: 800px) {

    .nav-links {
        position: absolute;

        top: 78px;

        left: 0;

        width: 100%;

        padding: 15px 25px;

        display: none;

        flex-direction: column;

        gap: 0;

        background: #0c0c0c;

        border-bottom: 1px solid #222;
    }


    .nav-links.active {
        display: flex;
    }


    .nav-links li {
        padding: 13px 0;

        border-bottom: 1px solid #1b1b1b;
    }


    .menu-btn {
        display: flex;

        align-items: center;

        justify-content: center;
    }


    .about-container {
        grid-template-columns: 1fr;
    }


    .analytics-grid {
        grid-template-columns: 1fr 1fr;
    }


    .skills-grid {
        grid-template-columns: 1fr 1fr;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 560px) {

    .navbar {
        padding: 16px 18px;
    }


    .section {
        padding: 80px 18px;
    }


    .hero {
        padding: 120px 18px 70px;
    }


    .hero h1 {
        font-size: 43px;

        letter-spacing: -2px;
    }


    .hero h2 {
        font-size: 22px;
    }


    .hero-description {
        font-size: 15px;
    }


    .hero-buttons {
        flex-direction: column;
    }


    .hero-buttons .btn {
        width: 100%;
    }


    .hero-stats {
        gap: 18px;
    }


    .hero-stats strong {
        font-size: 17px;
    }


    .hero-stats span {
        font-size: 9px;
    }


    .profile-photo-container {
        width: 270px;
        height: 270px;
    }


    .floating-card {
        right: 0;

        bottom: 0;

        padding: 10px 12px;
    }


    .analytics-grid {
        grid-template-columns: 1fr;
    }


    .skills-grid {
        grid-template-columns: 1fr;
    }


    .projects-grid {
        grid-template-columns: 1fr;
    }


    .project-card {
        padding: 22px;
    }


    .project-image img {
        height: 180px;
    }


    .image-overlay {
        opacity: 1;
    }


    .resume-container {
        padding: 28px 22px;

        flex-direction: column;

        text-align: center;
    }


    .resume-buttons {
        flex-direction: column;
    }


    .resume-buttons .btn {
        width: 100%;
    }


    .resume-icon {
        width: 80px;
        height: 80px;

        font-size: 32px;
    }


    .certificates-grid {
        grid-template-columns: 1fr;
    }


    .contact-container {
        grid-template-columns: 1fr;
    }


    .contact-card:last-child {
        grid-column: auto;
    }


    .contact-cta {
        padding: 28px 20px;
    }


    .image-modal {
        padding: 10px;
    }


    .image-modal img {
        max-width: 100vw;

        max-height: 87vh;
    }


    .close-btn {
        top: 10px;

        right: 10px;

        width: 43px;

        height: 43px;

        font-size: 30px;
    }

}