@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;800&family=Orbitron:wght@700;900&display=swap');

p {
    border: 2px solid black;
    margin: 4px;
    padding: 4px;
}

.theme {
    background-color: orange;
}

.subhead,
.subheads {
    color: white;
    text-align: left;
    margin: 1px 20px;
    border: none;
    background: none;
    padding: 0;
}

body {
    background-image: url('ChatGPT Image Jun 8, 2026, 10_49_51 PM.png');
    background-color: rgba(12, 12, 14);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #e0e0e0;
    font-family: 'Outfit', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    line-height: 1.6;
}

h1 {
    font-family: 'Orbitron', 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 50%, #b0b0b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-align: center;
    padding: 3px 10px 10px 10px;
    margin: 40px auto 20px auto;
    width: fit-content;
    filter: drop-shadow(0 4px 15px rgba(255, 255, 255, 0.15));
}

h1::after {
    content: '';
    display: block;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.2), transparent);
    margin: 12px auto 0 auto;
    border-radius: 2px;
    opacity: 0.8;
}

h2 {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border-radius: 8px;
    padding: 12px 24px;
    margin: 20px;
    text-align: left;
    width: fit-content;
}

.btn-work {
    display: inline-block;
    background: #ffffff;
    color: #0c0c0e;
    text-decoration: none;
    padding: 12px 28px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
    margin: 20px;
    border: none;
    cursor: pointer;
}

.btn-work:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 20px rgba(255, 255, 255, 0.3);
    background: #e0e0e0;
}

.btn-work:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.15);
}

.projects-scroll-section {
    padding: 20px 0 60px 0;
    overflow: hidden;
}

.section-title {
    margin-left: 80px;
    font-size: 36px;
    color: #ffffff;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.projects-scroller,
.blogs-scroller {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    padding: 20px 80px 40px 80px;
    max-height: 500px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
    transition: scrollbar-color 0.3s ease;
}

.projects-scroller:hover,
.blogs-scroller:hover {
    scrollbar-color: #ffffff rgba(255, 255, 255, 0.05);
}

.projects-scroller::-webkit-scrollbar,
.blogs-scroller::-webkit-scrollbar {
    width: 8px;
}

.projects-scroller::-webkit-scrollbar-track,
.blogs-scroller::-webkit-scrollbar-track {
    background: transparent;
}

.projects-scroller::-webkit-scrollbar-thumb,
.blogs-scroller::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.projects-scroller:hover::-webkit-scrollbar-thumb,
.blogs-scroller:hover::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ffffff, #a0a0a0);
}

.projects-scroller::-webkit-scrollbar-thumb:hover,
.blogs-scroller::-webkit-scrollbar-thumb:hover {
    background: #ffffff;
}

.project-card,
.blog-card {
    width: 100%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.project-card:hover,
.blog-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #ffffff;
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.12);
}

.project-tag,
.blog-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    font-weight: 600;
    opacity: 0.85;
}

.project-card h3,
.blog-card h3 {
    margin: 10px 0;
    font-size: 24px;
    color: #ffffff;
    font-family: 'Orbitron', sans-serif;
}

.project-card p,
.blog-card p {
    margin: 0;
    font-size: 14px;
    color: #b0b0b0;
    line-height: 1.5;
    border: none;
    padding: 0;
}

.card-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 15px;
    margin-top: 15px;
}

.tech-stack {
    font-size: 12px;
    color: #888888;
}

/* --- Core Page Improvements --- */
html {
    scroll-behavior: smooth;
}

/* --- Hero Section Styles --- */
.hero-container {
    text-align: center;
    max-width: 1000px;
    margin: 40px auto 0 auto;
    padding: 0 20px;
}

.hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: px;
    margin-bottom: 25px;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.hero-badge:hover {
    transform: translateY(-2px);
    background: rgba(255, 157, 0, 0.1);
    border-color: rgba(255, 157, 0, 0.4);
    color: #ffffff;
}

.hero-container .subhead {
    font-size: 18px;
    color: #b0b0b0;
    text-align: center;
    margin: 10px auto;
    max-width: 600px;
    line-height: 1.6;
    letter-spacing: 0.5px;
}


.cta-container {
    margin-top: 25px;
    margin-bottom: 10px;
}

/* --- Beautiful Bio Card --- */
.bio-card {
    max-width: 800px;
    margin: 40px auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 35px 45px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

.bio-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 157, 0, 0.3);
    box-shadow: 0 24px 60px rgba(255, 157, 0, 0.08),
        0 20px 50px rgba(0, 0, 0, 0.5);
}

.bio-text {
    font-size: 17px !important;
    line-height: 1.8 !important;
    color: #e0e0e0 !important;
    margin: 0 !important;
    border: none !important;
    padding: 0 !important;
    background: none !important;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.accent-text {
    color: #ff9d00;
    font-weight: 600;
    position: relative;
}

/* --- Footer Card & Contact --- */
.footer-container {
    max-width: 900px;
    margin: 60px auto 40px auto;
    padding: 0 20px;
}

.footer-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.footer-image-container {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.footer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

.footer-card:hover .footer-img {
    transform: scale(1.2) rotate(5deg);
}

.footer-info {
    flex-grow: 1;
}

.footer-info h3 {
    margin: 0 0 12px 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    color: #ffffff;
    letter-spacing: 1px;
}

.footer-text {
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #b0b0b0 !important;
    margin: 0 0 20px 0 !important;
    border: none !important;
    padding: 0 !important;
    background: none !important;
}

.linkedin-container {
    display: inline-block;
}

.btn-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0077b5, #005987);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.3);
}

.btn-linkedin:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 119, 181, 0.5);
    filter: brightness(1.1);
}

.btn-linkedin:active {
    transform: translateY(1px);
}

.linkedin-icon {
    width: 20px;
    height: 20px;
}

.footer-copyright {
    text-align: center;
    font-size: 13px !important;
    color: #666666 !important;
    margin-top: 30px !important;
    border: none !important;
    padding: 0 !important;
    background: none !important;
}

.works-blogs-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.works-blogs-container > div {
    flex: 1;
    min-width: 0;
}

@media (max-width: 1024px) {
    .works-blogs-container {
        flex-direction: column;
        padding: 0;
        gap: 0;
    }
}

/* Responsive design adjustments */
@media (max-width: 768px) {
    .footer-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }

    .footer-image-container {
        width: 120px;
        height: 120px;
    }

    .bio-card {
        padding: 25px 20px;
    }

    .hero-container h1 {
        font-size: 40px;
    }

    .section-title {
        margin-left: 20px;
    }

    .projects-scroller,
    .blogs-scroller {
        padding: 20px;
        max-height: none;
    }
}

/* --- Modal Overlay & Popup System --- */
body.modal-open {
    overflow: hidden;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 6, 8, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: rgba(18, 18, 24, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    width: 95%;
    max-width: 850px;
    height: 85vh;
    max-height: 85vh;
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8),
                inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transform: scale(0.9) translateY(30px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

@media (max-width: 600px) {
    .modal-content {
        padding: 0;
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff9d00, #ff5e00);
    border-radius: 10px;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
    line-height: 1;
    padding-bottom: 4px;
    box-sizing: border-box;
}

.modal-close-btn:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #0c0c0e;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.modal-body {
    color: #e0e0e0;
    flex: 1;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

/* Blur main site components for depth effect */
body.modal-open .hero-container,
body.modal-open .works-blogs-container,
body.modal-open .footer-container {
    filter: blur(6px);
}

.hero-container,
.works-blogs-container,
.footer-container {
    transition: filter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}