@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;700&display=swap');
        @import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;700&display=swap');
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            scroll-behavior: smooth;
        }
        
        body {
            overflow-y: scroll;
            background-color: #121212;
            color: #e0e0e0;
            font-family: 'Fira Code', monospace;
            line-height: 1.6;
            padding-top: 70px;
            margin: 0;
            padding: 0;
            overflow-x: hidden;
        }
        
        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 0 0px;
        }

        ::selection{
            background: none;
            color: #711487;
        }
        
        /* Navigation styles */
.nav-container {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 20px;
    transition: transform 0.3s ease, opacity 0.1s ease-in-out;
}

.navbar {
    background-color: #1a1a1a6b;
    backdrop-filter: blur(5px);
    border-radius: 5px;
    border: 1px solid #353535;
    padding: 12px 20px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 15px rgb(0, 0, 0);
    max-width: 600px; 
    margin: 0 auto;
}

.nav-links {
    display: flex;
    gap: 25px; 
    margin-right: 25px; 
    white-space: nowrap;
}

.nav-right {
    display: flex;
    gap: 25px; 
    margin-left: 25px; 
    white-space: nowrap;
}

.nav-links a, .nav-right a {
    color: #cacaca;
    text-decoration: none;
    transition: color 0.3s;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.nav-links a:hover, .nav-right a:hover {
    color: #711487;
}

.logo {
    font-family: 'Lora', serif;
    font-size: 1.4rem;
    color: #888;
    letter-spacing: 5px;
    white-space: nowrap;
    flex-shrink: 0;
    height: 15px;
}

/* Mobile styles */
@media (max-width: 768px) {
    .navbar {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        justify-items: center;
        padding: 15px 20px;
    }
    
    .nav-links {
        justify-self: start;
        margin-right: 0;
        gap: 15px;
    }
    
    .nav-right {
        justify-self: end;
        margin-left: 0;
        gap: 15px;
    }
    
    .nav-links a, .nav-right a {
        font-size: 0.8rem;
        letter-spacing: 0;
    }
    
    .logo {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    .navbar {
        grid-template-columns: 0.8fr auto 0.8fr;
        padding: 10px 15px;
    }
    
    .nav-links, .nav-right {
        gap: 10px;
    }
    
    .nav-links a, .nav-right a {
        font-size: 0.7rem;
    }
    
    .logo {
        font-size: 1rem;
        letter-spacing: 1px;
    }
}
        /* Header styles */
        .header {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 0 20px;
        }
        
        .name {
            font-family: 'Lexend', sans-serif;
            font-size: 3.5rem;
            margin-bottom: 1rem;
            color: #ffffff;
            letter-spacing: 2px;
        }
        
        .title {
            font-family: 'Fira Code', monospace;
            font-size: 1.5rem;
            color: #711487;
            margin-bottom: 2rem;
            font-weight: 300;
        }
        
        .description {
            font-family: 'Fira Code', monospace;
            max-width: 600px;
            margin-bottom: 2rem;
            font-size: 1rem;
            line-height: 1.8;
            color: #a0a0a0;
        }
        
        .social-icons {
            display: flex;
            gap: 25px;
            margin-top: 30px;
        }
        
        .social-icons a {
            color: #9e9e9e;
            font-size: 1.3rem;
            transition: color 0.3s;
        }
        
        .social-icons a:hover {
            color: #711487;
        }
        
.social-icons {
    display: flex;
    gap: 25px;
    margin-top: 30px;
    justify-content: center;
}

.social-icons a {
    color: #9e9e9e;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none; 
}

.social-icons a:hover {
    color: #711487;
    transform: translateY(-5px);
}

.social-icons a:nth-child(1) {
    animation: iconFloat 3s ease-in-out infinite 0.1s, iconAppear 0.6s ease-out 0.1s forwards;
    opacity: 0;
}

.social-icons a:nth-child(2) {
    animation: iconFloat 3s ease-in-out infinite 0.3s, iconAppear 0.6s ease-out 0.2s forwards;
    opacity: 0;
}

.social-icons a:nth-child(3) {
    animation: iconFloat 3s ease-in-out infinite 0.5s, iconAppear 0.6s ease-out 0.3s forwards;
    opacity: 0;
}

.social-icons a:nth-child(4) {
    animation: iconFloat 3s ease-in-out infinite 0.7s, iconAppear 0.6s ease-out 0.4s forwards;
    opacity: 0;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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


.social-icons a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(85, 139, 255, 0.8) 0%, rgba(85, 139, 255, 0) 70%);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
    z-index: -1;
}

.social-icons a:active::after {
    transform: scale(2.5);
    opacity: 0.3;
}

@media (max-width: 768px) or (orientation: landscape) {
    .header {
        padding: 0 20px;
        height: auto;
        min-height: 100vh;
        justify-content: center;
    }

    .typed-text-container {
        font-size: 0.9rem;
        max-width: 100%;
        text-align: center;
        padding-bottom: 50px;
        width: 100%;
    }
    
    .social-icons {
        gap: 20px;
        margin-top: 25px;
        width: 100%;
        justify-content: center;
    }
    
    .scroll-down-arrow {
        position: absolute;
        bottom: 50px; 
        left: 50%;
        transform: translateX(-50%);
        width: auto;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .header {
        padding: 80px 20px 100px;
    }
    
    .scroll-down-arrow {
        bottom: 20px;
    }
    
    .social-icons {
        margin-top: 15px;
    }
}

section {
    padding: 100px 0;
    scroll-margin-top: 100px; 
}

section h2 {
    font-family: 'Fira Code', monospace;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #ffffff;
    position: relative;
    display: inline-block;
}

section h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #711487;
}

section p {
    font-family: 'Fira Code', monospace;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: #b0b0b0;
    line-height: 1.8;
}

/* Projects section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: center;
    margin-bottom: 30px;
}

@media (max-width:940px) {
    .projects-grid{
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Blue light pulsing effect for project cards */
@keyframes bluePulse {
    0% {
        box-shadow: 0 0 50px rgba(113, 20, 135, 0.3);
    }
    50% {
        box-shadow: 0 0 45px rgba(113, 20, 135, 0.6);
    }
    100% {
        box-shadow: 0 0 50px rgba(113, 20, 135, 0.3);
    }
}

.project-card {
    background-color: #1e1e1e;
    border-radius: 5px;
    padding: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    animation: bluePulse 3s infinite ease-in-out;
    border-color: rgba(113, 20, 135, 0.6);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 5px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: inset 0 0 0 .5px rgba(113, 20, 135, 0.2);
}

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

.project-links {
    display: flex;
    gap: 20px;
}

.project-links a {
    color: #711487;
    text-decoration: none;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.project-links a i {
    font-size: 1rem;
}


.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
}

.skills-container {
    display: flex;
    flex-direction: column;
}

.skills-container h3 {
    font-family: 'Fira Code', monospace;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    position: relative;
    display: inline-block;
}

.skills-container h3:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #711487;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

/* Skill card styling */
.skill-card {
    background-color: #1e1e1e;
    border-radius: 8px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(113, 20, 135, 0.3);
    background-color: #252525;
}

.skill-card i {
    font-size: 1.4rem;
    color: #711487;
    width: 28px;
    text-align: center;
}

.fa-ts::before {
    content: "TS";
    font-style: normal;
    font-weight: bold;
    font-size: 0.9rem;
    font-family: 'Fira Code', monospace;
}

.fa-plus-plus::before {
    content: "C++";
    font-style: normal;
    font-weight: bold;
    font-size: 0.9rem;
    font-family: 'Fira Code', monospace;
}

@keyframes skillCardAppear {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.skill-card {
    animation: skillCardAppear 0.5s ease-out forwards;
    opacity: 0;
}

.skill-card:nth-child(1) { animation-delay: 0.1s; }
.skill-card:nth-child(2) { animation-delay: 0.2s; }
.skill-card:nth-child(3) { animation-delay: 0.3s; }
.skill-card:nth-child(4) { animation-delay: 0.4s; }
.skill-card:nth-child(5) { animation-delay: 0.5s; }
.skill-card:nth-child(6) { animation-delay: 0.6s; }

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .skills-container {
        padding-bottom: 40px;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .skill-card {
        padding: 10px 12px;
    }
    
    .skill-card i {
        font-size: 1.2rem;
    }
}

/* Resume section */
.resume-button {
    display: inline-block;
    color: #711487;
    background-color: transparent;
    border: 1px solid #711487;
    border-radius: 3px;
    padding: 6px 12px;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
}

.resume-button:hover {
    background-color: #7114871c;
}

footer {
    text-align: center;
    padding: 50px 0 30px;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    color: #888;
}

footer p {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .name {
        font-size: 2.5rem;
    }
    
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .nav-links, .nav-right {
        justify-content: center;
        width: 100%;
    }
    
    .skills-list {
        grid-template-columns: 1fr;
    }
}

::-webkit-scrollbar {
    width: 0px;
}

::-webkit-scrollbar-track {
    background-color: #711487AA;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #ffffff67;
    border-radius: 1px;
    transition: background-color 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #ffffff67;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #ffffff67 #121212;
}

/* Navbar Animation */
@keyframes navExpand {
    from {
        max-width: 200px;
        opacity: 0.7;
        transform: translateY(-10px);
    }
    to {
        max-width: 1000px;
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes navExpand {
    from {
        max-width: 200px;
        opacity: 0.7;
    }
    to {
        max-width: 1000px;
        opacity: 1;
    }
}

@keyframes navbarEntrance {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
        filter: blur(5px);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-10px) scale(0.98);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.navbar {
    animation: navbarEntrance 0.8s cubic-bezier(0.17, 0.89, 0.32, 1.25) forwards;
    transform-origin: center top;
}


.nav-links a:nth-child(1),
.nav-right a:nth-child(1) {
    animation: fadeIn 0.5s ease-out 0.2s forwards;
    opacity: 0;
}

.nav-links a:nth-child(2),
.nav-right a:nth-child(2) {
    animation: fadeIn 0.5s ease-out 0.3s forwards;
    opacity: 0;
}

.nav-links a:nth-child(3),
.nav-right a:nth-child(3) {
    animation: fadeIn 0.5s ease-out 0.4s forwards;
    opacity: 0;
}

.nav-links a:nth-child(4),
.nav-right a:nth-child(4) {
    animation: fadeIn 0.5s ease-out 0.5s forwards;
    opacity: 0;
}

.logo {
    animation: fadeIn 0.5s ease-out 0.6s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.nav-links a, .nav-right a, .logo {
    animation: fadeIn 0.5s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

/* Typed Text Animation */
.typed-text-container {
    font-family: 'Fira Code', monospace;
    max-width: 600px;
    margin-bottom: 2rem;
    margin-top: 5px;
    font-size: 1rem;
    line-height: 1.8;
    color: #a0a0a000;
    position: relative;
    display: inline-block;
    padding-top: 10px;
}

#typed-text {
    display: inline;
    background: linear-gradient(to right, #711487, #a0a0a0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 5px rgba(85, 139, 255, 0.2);
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.description {
    display: none; 
}

@media (max-width: 768px) {
    .typed-text-container {
        font-size: 0.9rem;
        max-width: 100%;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1010;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background-color: #1e1e1e;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: 10px;
    overflow-y: auto;
    position: relative;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-container {
    transform: scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #888;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}

.modal-close:hover{
    color: #711487;
}

.modal-content {
    padding: 30px;
}

.modal-content h2 {
    font-family: 'Fira Code', monospace;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.modal-content p {
    font-family: 'Fira Code', monospace;
    font-size: 0.95rem;
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 20px;
}

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.modal-gallery img {
    width: 100%;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-tech h3 {
    font-family: 'Fira Code', monospace;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.modal-tech ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin-bottom: 25px;
}

.modal-tech li {
    background-color: rgba(113, 20, 135, 0.15);
    color: #711487;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-family: 'Fira Code', monospace;
}

.modal-links {
    display: flex;
    gap: 20px;
}

.modal-links a {
    color: #711487;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.modal-links a:hover {
    color: #ffffff;
}

.project-card {
    cursor: pointer;
}

body.modal-open {
    overflow: hidden;
}

/* Lightbox Styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1015;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}

.lightbox-close:hover {
    color: #711487;
}

.lightbox-content {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.lightbox-navigation {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.lightbox-prev, .lightbox-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background-color: rgba(113, 20, 135, 0.5);
}

.lightbox-prev i, .lightbox-next i {
    color: white;
    font-size: 1.2rem;
}

.lightbox-caption {
    color: white;
    font-family: 'Fira Code', monospace;
    padding: 15px 0;
    font-size: 0.9rem;
}

.modal-gallery img {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modal-gallery img:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .header {
        padding: 0 20px;
    }
    
    .description {
        font-size: 0.9rem;
        max-width: 100%;
    }
    
    .social-icons {
        gap: 20px;
    }
}


@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card {
        padding: 20px;
    }
    
    .project-card:hover {
        transform: translateY(-10px); 
    }
}

@media (max-width: 768px) {
    .about-content {
        gap: 30px;
    }
    
    section {
        padding: 70px 20px;
    }
    
    section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .modal-content {
        padding: 20px;
    }
    
    .modal-gallery {
        grid-template-columns: 1fr;
    }
    
    .modal-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .modal-tech ul {
        justify-content: center;
    }
    
    .lightbox-navigation {
        padding: 0 10px;
    }
    
    .lightbox-prev, .lightbox-next {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .resume-button {
        width: 100%;
        text-align: center;
    }
}

@media (hover: none) {
    .project-card:hover {
        transform: none;
        animation: none;
        border-color: rgba(255, 255, 255, 0.05);
    }
    
    .project-card:active {
        transform: translateY(-5px);
        border-color: rgba(113, 20, 135, 0.6);
    }
}

@media (max-width: 480px) {
    .skills-list {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 420px) and (max-width: 440px) {
    .navbar {
        transform: translateZ(0); 
        max-width: 100%; 
        will-change: transform; 
        position: relative;
        left: 0;
        top: 0;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    .nav-links a, .nav-right a, .logo {
        animation: none !important;
        opacity: 1;
        transform: none;
        transition: color 0.3s;
    }
    
    .navbar {
        grid-template-columns: 1fr auto 1fr;
        grid-gap: 10px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
}

.navbar {
    transform: translate3d(0, 0, 0); 
    backface-visibility: hidden;
    perspective: 1000px;
    -webkit-font-smoothing: antialiased;
}
.nav-links a, .nav-right a, .logo {
    text-rendering: optimizeLegibility;
}

@media (max-width: 375px) {
    .nav-links, .nav-right{
        font-size: 5px;
        gap: 5px;
    }
    .logo{
        letter-spacing: 0px;
        font-size: 10px;
    }
        

}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1010;
    width: 40px;
    height: 40px;
    background-color: #1a1a1a;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle:hover {
    border-color: #711487;
}

.hamburger {
    width: 20px;
    height: 16px;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 7px;
}

.hamburger span:nth-child(3) {
    top: 14px;
}

.mobile-menu-toggle.active .hamburger span:nth-child(1) {
    transform: rotate(45deg);
    top: 7px;
    background-color: #711487;
}

.mobile-menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg);
    top: 7px;
    background-color: #711487;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(18, 18, 18, 0.75);
    z-index: 1005;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    backdrop-filter: blur(5px);
}

.mobile-menu.active {
    visibility: visible;
    opacity: 1;
}

.mobile-menu-content {
    position: relative;
    width: 85%;
    max-width: 300px;
    text-align: center;
    animation: fadeIn 0.4s ease-out forwards;
}

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

.mobile-menu-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: #9e9e9e;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-menu-close:hover {
    color: #711487;
}

.mobile-menu-logo {
    font-family: 'Lexend', sans-serif;
    font-size: 2rem;
    color: #ffffffb2;
    letter-spacing: 5px;
    margin-bottom: 30px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
    align-items: center;
}

.mobile-nav-links a {
    display: inline-block;
    color: #711487;
    background-color: transparent;
    border: 1px solid #711487;
    border-radius: 3px;
    padding: 10px 20px;
    font-family: 'Fira Code', monospace;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
}

.mobile-social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

.mobile-social-icons a {
    color: #9e9e9e;
    font-size: 1.3rem;
    transition: color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}


body.mobile-menu-open {
    overflow: hidden;
}

/* Hide navbar on mobile when menu is active */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-container {
        display: none;
    }
}

@media (max-width: 480px) {
    .mobile-nav-links {
        gap: 20px;
    }
    
    .mobile-nav-links a {
        font-size: 1.1rem;
    }
    
    .mobile-menu-logo {
        font-size: 1.8rem;
    }
}

svg {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 1920px; 
    min-height: 1080px; 
    width: 100%; 
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.svg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden; 
    z-index: -1;
}
  
  .nav-container, header, section, footer {
    z-index: 1;
  }

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px; 
}
section {
    padding: 100px 20px; 
    scroll-margin-top: 100px;
}

.header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px; 
}

@media (max-width: 768px) {
    .container {
        padding: 0 25px; 
    }
    
    section {
        padding: 70px 25px; 
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    section {
        padding: 60px 20px; 
    }
}

.nav-container.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none; 
}

.nav-container:not(.hidden) .nav-links a,
.nav-container:not(.hidden) .nav-right a,
.nav-container:not(.hidden) .logo {
    pointer-events: auto;
}

/* Hover area to trigger navbar */
.navbar-hover-area {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 85px; 
    z-index: 0; 
}

.header {
    padding-top: 80px; 
}

/* Scroll Down Arrow */
.scroll-down-arrow {
    position: absolute;
    bottom: 100px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: bounce 2s infinite;
    z-index: 5;
    left: 50%;
    transform: translateX(-50%); 
    width: auto;
}

.scroll-down-arrow i {
    font-size: 1.5rem;
    color: #711487;
    filter: drop-shadow(0 0 10px rgba(113, 20, 135, 0.8)) 
            drop-shadow(0 0 20px rgba(113, 20, 135, 0.4));
    transition: all 0.4s ease;
    animation: pulse-glow 2s infinite alternate;
}

.scroll-down-arrow:hover i {
    transform: scale(1.3);
    filter: drop-shadow(0 0 15px rgba(113, 20, 135, 0.9)) 
            drop-shadow(0 0 30px rgba(113, 20, 135, 0.6));
    color: #711487;
}

@keyframes pulse-glow {
    0% {
        filter: drop-shadow(0 0 10px rgba(113, 20, 135, 0.7)) 
                drop-shadow(0 0 20px rgba(113, 20, 135, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 15px rgba(113, 20, 135, 0.9)) 
                drop-shadow(0 0 25px rgba(113, 20, 135, 0.6));
    }
}

/* Mobile responsiveness for scroll arrow */
@media (max-width: 768px) {
    .scroll-down-arrow {
        bottom: 100px;
    }
    
    .scroll-down-arrow i {
        font-size: 1.5rem;
    }
}

.navbar-hover-area:hover::after {
    opacity: 1;
}

/* 404 Page Styles */
.error-section {
    text-align: center;
    padding: 100px 20px;
}

.error-section h1 {
    font-size: 6rem;
    color: #711487;
    margin-bottom: 20px;
}

.error-section p {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 30px;
}

.back-home-button {
    display: inline-block;
    color: #711487;
    background-color: transparent;
    border: 1px solid #711487;
    border-radius: 3px;
    padding: 10px 20px;
    font-family: 'Fira Code', monospace;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
}

.back-home-button:hover {
    background-color: #7114871c;
}
