/* ========================================
   GLOBAL
======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: #030617;
    color: #ffffff;
}


/* ========================================
   NAVBAR
======================================== */

.custom-navbar {
    background: rgba(2, 6, 23, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    padding: 18px 0;
}

.navbar-brand {
    color: #ffffff !important;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.brand-symbol {
    color: #7c3aed;
    margin-right: 8px;
    font-weight: 800;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    margin-left: 25px;
    transition: 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #4f8cff !important;
}

.cv-btn {
    color: #ffffff;
    border: 1px solid #7c3aed;
    border-radius: 10px;

    padding: 9px 18px;

    background: rgba(124, 58, 237, 0.08);

    transition: 0.3s ease;
}

.cv-btn:hover {
    color: #ffffff;
    background: linear-gradient(
        90deg,
        #2563eb,
        #9333ea
    );

    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
}


/* ========================================
   HERO
======================================== */

.hero-section {
    min-height: 100vh;

    position: relative;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(37, 99, 235, 0.18),
            transparent 35%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(147, 51, 234, 0.18),
            transparent 35%
        ),
        #030617;
}


/* Glowing background */

.hero-section::before {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    top: -250px;
    right: -150px;

    background: #2563eb;

    filter: blur(180px);

    opacity: 0.12;
}

.hero-section::after {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    bottom: -250px;
    left: -150px;

    background: #9333ea;

    filter: blur(180px);

    opacity: 0.12;
}


.hero-container {
    position: relative;
    z-index: 2;

    padding-top: 120px;
    padding-bottom: 50px;
}


/* ========================================
   HERO TEXT
======================================== */

.hero-intro {
    color: #4f8cff;

    font-size: 0.9rem;

    letter-spacing: 4px;

    font-weight: 600;

    margin-bottom: 15px;
}

.hero-section h1 {
    font-size: clamp(3rem, 7vw, 5.8rem);

    font-weight: 800;

    line-height: 0.95;

    margin-bottom: 25px;
}

.hero-section h1 span {
    display: block;

    background: linear-gradient(
        90deg,
        #4f8cff,
        #a855f7
    );

   -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-section h2 {
    font-size: 1.6rem;

    font-weight: 600;

    background: linear-gradient(
        90deg,
        #3b82f6,
        #c026d3
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    margin-bottom: 20px;
}

.hero-description {
    max-width: 600px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 1.05rem;

    line-height: 1.8;

    margin-bottom: 30px;
}


/* ========================================
   BUTTONS
======================================== */

.hero-buttons {
    display: flex;

    gap: 15px;

    flex-wrap: wrap;
}

.primary-btn {
    color: #ffffff;

    border: none;

    padding: 13px 25px;

    border-radius: 10px;

    background: linear-gradient(
        90deg,
        #2563eb,
        #9333ea
    );

    box-shadow:
        0 0 20px rgba(37, 99, 235, 0.25);

    transition: 0.3s ease;
}

.primary-btn:hover {
    color: #ffffff;

    transform: translateY(-3px);

    box-shadow:
        0 0 30px rgba(147, 51, 234, 0.45);
}

.secondary-btn {
    color: #ffffff;

    border: 1px solid rgba(99, 102, 241, 0.7);

    padding: 13px 25px;

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.02);

    transition: 0.3s ease;
}

.secondary-btn:hover {
    color: #ffffff;

    background: rgba(99, 102, 241, 0.12);

    transform: translateY(-3px);
}


/* ========================================
   CODE CARD
======================================== */

.hero-code-card {
    max-width: 450px;

    margin: auto;

    background: rgba(8, 15, 35, 0.75);

    border: 1px solid rgba(99, 102, 241, 0.3);

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.45),
        0 0 40px rgba(37, 99, 235, 0.08);

    backdrop-filter: blur(15px);
}

.code-header {
    display: flex;

    gap: 7px;

    padding: 15px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.code-header span {
    width: 11px;
    height: 11px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.25);
}

.code-content {
    padding: 30px;

    color: #dbeafe;

    font-family: monospace;

    font-size: 0.95rem;

    line-height: 2;
}

.indent {
    padding-left: 25px;
}

.code-purple {
    color: #c084fc;
}

.code-blue {
    color: #60a5fa;
}

.code-green {
    color: #86efac;
}


/* ========================================
   GLASS PANEL
======================================== */

.glass-panel {
    background: rgba(8, 15, 35, 0.65);

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 20px;

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.25);
}


/* ========================================
   TECH STACK
======================================== */

.tech-stack {
    margin-top: 70px;

    padding: 25px 20px;
}

.section-label {
    text-align: center;

    color: #4f8cff;

    font-size: 0.75rem;

    letter-spacing: 3px;

    margin-bottom: 25px;
}

.tech-item {
    min-height: 90px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 8px;

    border-right: 1px solid rgba(255, 255, 255, 0.08);

    transition: 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);

    background: rgba(99, 102, 241, 0.05);
}

.tech-item i {
    font-size: 2rem;

    color: #60a5fa;
}

.tech-item span {
    font-size: 0.85rem;

    color: rgba(255, 255, 255, 0.75);
}


/* ========================================
   SOCIAL LINKS
======================================== */

.social-links {
    display: flex;

    justify-content: center;

    gap: 30px;

    margin-top: 30px;
}

.social-links a {
    color: #ffffff;

    font-size: 1.4rem;

    transition: 0.3s ease;
}

.social-links a:hover {
    color: #8b5cf6;

    transform: translateY(-4px);
}


/* ========================================
   PLACEHOLDER SECTIONS
======================================== */

.placeholder-section {
    min-height: 500px;

    padding: 120px 0;

    background: #030617;

    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.placeholder-section h2 {
    font-size: 2.5rem;

    color: #ffffff;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 991px) {

    .navbar-collapse {
        background: rgba(3, 6, 23, 0.95);

        padding: 20px;

        border-radius: 15px;

        margin-top: 15px;
    }

    .nav-link {
        margin-left: 0;

        padding: 10px 0;
    }

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

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-code-card {
        margin-top: 50px;
    }

    .tech-stack {
        margin-top: 50px;
    }

    .tech-item {
        border-right: none;

        margin-bottom: 10px;
    }
}


@media (max-width: 576px) {

    .hero-container {
        padding-top: 110px;
    }

    .hero-section h1 {
        font-size: 3.3rem;
    }

    .hero-section h2 {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-code-card {
        display: none;
    }
}
/* ========================================
   SECTION HEADINGS
======================================== */

.section-heading {
    margin-bottom: 60px;
}

.section-heading h2 {
    font-size: clamp(2.3rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.section-heading h2 span {
    background: linear-gradient(
        90deg,
        #4f8cff,
        #a855f7
    );

    background-clip: text;
    -webkit-background-clip: text;

    color: transparent;
    -webkit-text-fill-color: transparent;
}

.section-description {
    max-width: 650px;
    margin: auto;

    color: rgba(255, 255, 255, 0.65);

    line-height: 1.8;
}


/* ========================================
   ABOUT
======================================== */

.about-section {
    padding: 120px 0;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(124, 58, 237, 0.08),
            transparent 35%
        ),
        #030617;
}

.about-content {
    color: rgba(255, 255, 255, 0.68);

    line-height: 1.9;

    font-size: 1rem;
}

.about-lead {
    color: #ffffff;

    font-size: 1.3rem;

    font-weight: 500;

    line-height: 1.7;

    margin-bottom: 25px;
}


/* ABOUT CARDS */

.about-cards {
    display: flex;

    flex-direction: column;

    gap: 18px;
}

.about-card {
    display: flex;

    gap: 18px;

    padding: 22px;

    background: rgba(8, 15, 35, 0.65);

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 16px;

    backdrop-filter: blur(15px);

    transition: 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);

    border-color: rgba(99, 102, 241, 0.5);

    box-shadow:
        0 10px 35px rgba(37, 99, 235, 0.12);
}

.about-icon {
    min-width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: linear-gradient(
        135deg,
        rgba(37, 99, 235, 0.2),
        rgba(147, 51, 234, 0.2)
    );

    color: #60a5fa;

    font-size: 1.3rem;
}

.about-card h3 {
    font-size: 1rem;

    margin-bottom: 7px;
}

.about-card p {
    margin: 0;

    color: rgba(255, 255, 255, 0.55);

    font-size: 0.85rem;

    line-height: 1.6;
}


/* ========================================
   ABOUT STATS
======================================== */

.about-stats {
    margin-top: 80px;

    padding: 30px;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    background: rgba(8, 15, 35, 0.6);

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 18px;

    backdrop-filter: blur(15px);
}

.stat-item {
    text-align: center;

    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item h3 {
    font-size: 2rem;

    margin-bottom: 5px;

    background: linear-gradient(
        90deg,
        #4f8cff,
        #a855f7
    );

    background-clip: text;
    -webkit-background-clip: text;

    color: transparent;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    margin: 0;

    color: rgba(255, 255, 255, 0.5);

    font-size: 0.8rem;
}


/* ========================================
   SKILLS
======================================== */

.skills-section {
    padding: 120px 0;

    background:
        radial-gradient(
            circle at 20% 50%,
            rgba(37, 99, 235, 0.07),
            transparent 35%
        ),
        #030617;
}

.skill-card {
    height: 100%;

    padding: 25px;

    background: rgba(8, 15, 35, 0.65);

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 18px;

    backdrop-filter: blur(15px);

    transition: 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-7px);

    border-color: rgba(99, 102, 241, 0.45);

    box-shadow:
        0 15px 40px rgba(37, 99, 235, 0.12);
}

.skill-top {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 20px;
}

.skill-icon {
    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 13px;

    font-size: 1.8rem;

    background: rgba(255, 255, 255, 0.05);
}

.cpp-icon {
   color: #60a5fa;
}

.css-icon {
    color: #3b82f6;
}

.js-icon {
    color: #facc15;
}

.bootstrap-icon {
    color: #a855f7;
}

.react-icon {
    color: #22d3ee;
}

.sql-icon {
    color: #60a5fa;
}

.skill-top h3 {
    font-size: 1.05rem;

    margin: 0 0 4px;
}

.skill-top span {
    font-size: 0.7rem;

    color: rgba(255, 255, 255, 0.45);
}

.skill-card > p {
    color: rgba(255, 255, 255, 0.58);

    font-size: 0.85rem;

    line-height: 1.7;

    margin-bottom: 20px;
}


/* SKILL TAGS */

.skill-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}

.skill-tags span {
    padding: 5px 9px;

    font-size: 0.68rem;

    border-radius: 6px;

    background: rgba(99, 102, 241, 0.08);

    border: 1px solid rgba(99, 102, 241, 0.15);

    color: rgba(255, 255, 255, 0.65);
}


/* ========================================
   RESPONSIVE ABOUT + SKILLS
======================================== */

@media (max-width: 768px) {

    .about-stats {
        grid-template-columns: repeat(2, 1fr);

        gap: 25px;
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .stat-item:nth-child(1),
    .stat-item:nth-child(2) {
        padding-bottom: 20px;
    }

}

@media (max-width: 576px) {

    .about-section,
    .skills-section {
        padding: 90px 0;
    }

    .about-stats {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .stat-item {
        border-right: none;

        border-bottom: 1px solid rgba(255, 255, 255, 0.1);

        padding-bottom: 20px;
    }

    .stat-item:last-child {
        border-bottom: none;
    }

}
/* ========================================
   PROJECTS
======================================== */

.projects-section {
    padding: 120px 0;

    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(147, 51, 234, 0.08),
            transparent 35%
        ),
        #030617;
}


/* ========================================
   PROJECT CARD
======================================== */

.project-card {
    height: 100%;

    overflow: hidden;

    background: rgba(8, 15, 35, 0.65);

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 18px;

    backdrop-filter: blur(15px);

    transition: 0.4s ease;
}

.project-card:hover {
    transform: translateY(-8px);

    border-color: rgba(99, 102, 241, 0.5);

    box-shadow:
        0 20px 50px rgba(37, 99, 235, 0.12);
}


/* ========================================
   PROJECT IMAGE
======================================== */

.project-image {
    position: relative;

    height: 230px;

    overflow: hidden;

    background: #080f23;
}

.project-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}


/* ========================================
   PROJECT OVERLAY
======================================== */

.project-overlay {
    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(3, 6, 23, 0.65);

    opacity: 0;

    transition: 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-preview {
    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ffffff;

    background: linear-gradient(
        135deg,
        #2563eb,
        #9333ea
    );

    font-size: 1.2rem;

    text-decoration: none;

    transition: 0.3s ease;
}

.project-preview:hover {
    transform: scale(1.1);

    color: #ffffff;
}


/* ========================================
   PROJECT CONTENT
======================================== */

.project-content {
    padding: 25px;
}

.project-number {
    color: #4f8cff;

    font-size: 0.7rem;

    letter-spacing: 2px;

    margin-bottom: 8px;
}

.project-content h3 {
    font-size: 1.2rem;

    line-height: 1.4;

    margin-bottom: 15px;
}

.project-content > p:not(.project-number) {
    color: rgba(255, 255, 255, 0.58);

    font-size: 0.85rem;

    line-height: 1.7;

    min-height: 95px;
}


/* ========================================
   PROJECT TAGS
======================================== */

.project-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 22px;
}

.project-tags span {
    padding: 5px 9px;

    border-radius: 6px;

    background: rgba(99, 102, 241, 0.08);

    border: 1px solid rgba(99, 102, 241, 0.18);

    color: rgba(255, 255, 255, 0.7);

    font-size: 0.65rem;
}


/* ========================================
   PROJECT LINKS
======================================== */

.project-links {
    display: flex;

    gap: 10px;
}

.project-btn {
    flex: 1;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 10px;

    border-radius: 8px;

    border: 1px solid #2563eb;

    color: #ffffff;

    text-decoration: none;

    font-size: 0.8rem;

    transition: 0.3s ease;
}

.project-btn:hover {
    color: #ffffff;

    background: linear-gradient(
        90deg,
        #2563eb,
        #9333ea
    );

    border-color: transparent;
}

.github-btn {
    border-color: #9333ea;
}
/* ========================================
   CONTACT
======================================== */

.contact-section {
    padding: 120px 0;

    background:
        radial-gradient(
            circle at 20% 50%,
            rgba(37, 99, 235, 0.08),
            transparent 35%
        ),
        #030617;
}

.contact-info h3 {
    font-size: 2rem;

    margin-bottom: 20px;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.6);

    line-height: 1.8;

    margin-bottom: 35px;
}


/* CONTACT ITEMS */

.contact-item {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 22px;
}

.contact-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(99, 102, 241, 0.1);

    border: 1px solid rgba(99, 102, 241, 0.2);

    color: #60a5fa;

    font-size: 1.2rem;
}

.contact-item span {
    display: block;

    color: rgba(255, 255, 255, 0.4);

    font-size: 0.7rem;

    margin-bottom: 3px;
}

.contact-item a {
    color: #ffffff;

    text-decoration: none;

    font-size: 0.9rem;

    transition: 0.3s ease;
}

.contact-item a:hover {
    color: #8b5cf6;
}


/* ========================================
   CONTACT FORM
======================================== */

.contact-form {
    padding: 35px;
}

.contact-form label {
    display: block;

    margin-bottom: 8px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 0.8rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;

    padding: 13px 15px;

    color: #ffffff;

    background: rgba(3, 6, 23, 0.7);

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 9px;

    outline: none;

    font-family: inherit;

    font-size: 0.85rem;

    transition: 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #6366f1;

    box-shadow:
        0 0 15px rgba(99, 102, 241, 0.12);
}

.contact-form textarea {
    resize: vertical;
}


/* ========================================
   SUBMIT BUTTON
======================================== */

.contact-submit {
    width: 100%;

    padding: 13px;

    border: none;

    border-radius: 9px;

    color: #ffffff;

    background: linear-gradient(
        90deg,
        #2563eb,
        #9333ea
    );

    font-family: inherit;

    font-size: 0.9rem;

    cursor: pointer;

    transition: 0.3s ease;
}

.contact-submit:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 30px rgba(99, 102, 241, 0.25);
}


/* ========================================
   FOOTER
======================================== */

.footer {
    padding: 25px 0;

    background: #02040f;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.footer p {
    margin: 0;

    color: rgba(255, 255, 255, 0.4);

    font-size: 0.75rem;
}

.footer-socials {
    display: flex;

    gap: 20px;
}

.footer-socials a {
    color: rgba(255, 255, 255, 0.6);

    font-size: 1.1rem;

    transition: 0.3s ease;
}

.footer-socials a:hover {
    color: #8b5cf6;

    transform: translateY(-3px);
}


/* ========================================
   CONTACT RESPONSIVE
======================================== */

@media (max-width: 768px) {

    .contact-section {
        padding: 90px 0;
    }

    .contact-form {
        padding: 25px;
    }

    .footer-content {
        flex-direction: column;

        text-align: center;
    }

}