:root {
    --background-color: rgb(17, 17, 17);
    --text-color: rgb(255, 255, 255);
    --overlay-light: rgba(255, 255, 255, 0.1);
    --overlay-lighter: rgba(255, 255, 255, 0.2);
    --overlay-lightest: rgba(255, 255, 255, 0.3);
    --glow-color: rgba(255, 255, 255, 0.7);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Roboto Mono', monospace;
    --circle-size: 300px;
    --logo-size: 150px;
}

/* Remove global cursor settings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
    color: var(--text-color);
    cursor: auto;
}

.cent
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--background-color);
    opacity: 1;
}

.circle
{
    position: relative;
    width: var(--circle-size);
    height: var(--circle-size);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    animation: pulse 2s infinite;
}

.logo
{
    position: absolute;
    width: var(--logo-size);
    height: var(--logo-size);
    background: url(img/MlogoW.png);
    background-size: cover;
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s ease;
}

.text
{
    position: absolute;
    width: 100%;
    height: 100%;
    color: var(--text-color);
    z-index: 1;
}

/* Create spinning circle border that only spins on hover */
.text::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    opacity: 0.6;
    box-shadow: 
        inset 0 0 20px rgba(255, 255, 255, 0.05),
        0 0 20px rgba(255, 255, 255, 0.05);
}

.circle:hover .text::before {
    animation: rotateText 8s linear infinite;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 
        inset 0 0 30px rgba(255, 255, 255, 0.1),
        0 0 30px rgba(255, 255, 255, 0.1);
}

/* Static text */
.enter-text-wrapper {
    position: relative;
    margin-top: 40px;
    text-align: center;
}

.enter-text {
    font-size: 1em;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-color);
    opacity: 0.7;
}

/* Remove the animation and transition properties */
.circle:hover .enter-text {
    opacity: 1;
}

/* Add static text at top and bottom */
.top-text, .bottom-text {
    position: absolute;
    width: 100%;
    text-align: center;
    font-size: 1.4em;
    font-weight: bold;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
}

.top-text {
    top: 5%;
}

.bottom-text {
    bottom: 5%;
}

@keyframes rotateText
{
    0%
    { 
        transform: rotate(360deg);
    }
    100%
    { 
        transform: rotate(0deg);
    }
}

.text span
{
    position: absolute;
    left: 50%;
    font-size: 1.4em;
    transform-origin: 0 calc(var(--circle-size) / 2);
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
    font-weight: bold;
    letter-spacing: 1px;
}

/*.links
{
    display: flex;
    justify-content: center;
    justify-content: space-evenly;
    padding-left: 20%;
    padding-right: 20%;
    background-color: rgb(17, 17, 17);
   
}
*/
a
{
text-decoration-line: none;
color: var(--text-color);
}

.SocialContainer
{
    padding-top: 80px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 1000px;
}

.instagram, .linkedin, .behance {
    width: 200px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.instagram a, .linkedin a, .behance a {
    display: block;
    padding: 19px 24px;
    text-align: center;
    font-size: 1.3em;
}

.instagram:hover, .linkedin:hover, .behance:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.2);
}

/* Update media queries for better responsive design */
@media screen and (max-width: 768px) {
    :root {
        --circle-size: 360px;
        --logo-size: 180px;
    }
    
    .text span {
        transform-origin: 0 180px;
        font-size: 1.7em;
    }
    
    .SocialContainer {
        padding-top: 120px;
        flex-direction: column;
        align-items: center;
        max-width: 600px;
    }
    
    .instagram, .linkedin, .behance {
        width: 85%;
    }
}

@media screen and (max-width: 480px) {
    :root {
        --circle-size: 264px;
        --logo-size: 132px;
    }
    
    .text span {
        transform-origin: 0 132px;
        font-size: 1.3em;
    }
    
    .SocialContainer {
        padding-top: 50px;
        width: 90%;
    }

    .instagram, .linkedin, .behance {
        width: 90%;
    }

    .instagram a, .linkedin a, .behance a {
        font-size: 1.2em;
    }
}

@media screen and (max-width: 360px) {
    :root {
        --circle-size: 192px;
        --logo-size: 96px;
    }
    
    .text span {
        transform-origin: 0 96px;
        font-size: 1.1em;
    }
}

/* Add fade-in animation */
@keyframes fadeInDark {
    0% {
        opacity: 0;
        background-color: black;
    }
    100% {
        opacity: 1;
        background-color: var(--background-color);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Add these new classes */
.split-animation {
    animation: splitAndFade 1s forwards;
}

.left-half, .right-half {
    position: absolute;
    width: 50%;
    height: 100vh;
    background: rgb(25, 25, 25);
    top: 0;
    transition: transform 1s ease-in-out;
}

.left-half {
    left: 0;
}

.right-half {
    right: 0;
}

@keyframes splitAndFade {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%); /* Left half moves left */
    }
}

@keyframes splitAndFadeRight {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%); /* Right half moves right */
    }
}

.gallery-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 40px;
    background-color: var(--background-color);
    opacity: 0;
    animation: fadeInDark 1.5s ease-out forwards;
    padding-top: 140px;  /* Increased to account for category nav */
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.7) contrast(1.2);
}

.glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border: 1px solid var(--overlay-light);
}

.gallery-item:hover .glass-overlay {
    opacity: 1;
}

.glass-overlay h3 {
    font-family: var(--font-heading);
    color: var(--text-color);
    font-size: 1.4em;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.glass-overlay p {
    font-family: var(--font-body);
    color: var(--text-color);
    font-size: 0.9em;
    opacity: 0.8;
    letter-spacing: 1px;
}

@media screen and (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.95);
    }
}

/* Navigation Styles */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 998;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-logo {
    height: 40px;
    width: 40px;
}

.nav-logo img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    filter: brightness(2) contrast(1.3);
    -webkit-filter: drop-shadow(0 0 3px var(--glow-color));
    filter: drop-shadow(0 0 3px var(--glow-color));
}

.nav-logo a {
    display: block;
    height: 100%;
    width: 100%;
}

.nav-logo a:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9em;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--text-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    background: rgba(255, 255, 255, 0.1);
}

.nav-links a.active::after {
    width: 100%;
}

.nav-social {
    display: flex;
    gap: 1.5rem;
}

.nav-social a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2em;
    opacity: 0.7;
    transition: all 0.3s ease;
    padding: 5px;
}

.nav-social a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.nav-social i {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CCTV/Glitch Background Effects */
.cctv-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 996;  /* Changed to be behind nav but above content */
    background: 
        linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.03));
    background-size: 100% 2px, 3px 100%;
    animation: glitch 2s infinite;
}

.screen-curve {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, transparent 60%, rgba(0,0,0,0.6) 100%);
    pointer-events: none;
    z-index: 996;
}

.scan-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100px;
    background: linear-gradient(
        transparent 0%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 100%
    );
    animation: scanline 4s linear infinite;
    pointer-events: none;
    z-index: 996;
    opacity: 0.5;
}

@keyframes scanline {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100vh);
    }
}

@keyframes glitch {
    0% {
        opacity: 0.9;
        transform: translateX(0);
    }
    2% {
        opacity: 0.85;
        transform: translateX(-2px);
    }
    4% {
        opacity: 0.9;
        transform: translateX(0);
    }
    50% {
        opacity: 0.9;
        transform: translateX(0);
    }
    52% {
        opacity: 0.85;
        transform: translateX(2px);
    }
    54% {
        opacity: 0.9;
        transform: translateX(0);
    }
}

.content-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 80px;
    opacity: 0;
    animation: fadeInDark 1.5s ease-out forwards;
}

.content-container h1 {
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 3.5em;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 30px;
    position: relative;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    display: block;
    text-align: center;
}

.content-container h1::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    right: 0;
    text-shadow: -2px 0 rgba(255, 255, 255, 0.5);
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    animation: glitch-top 2s infinite linear alternate-reverse;
}

.content-container h1::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    right: 0;
    text-shadow: 2px 0 rgba(255, 255, 255, 0.5);
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
    animation: glitch-bottom 1s infinite linear alternate-reverse;
}

@keyframes glitch-top {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(2px);
    }
}

@keyframes glitch-bottom {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-2px);
    }
}

/* Remove ticker styles */
.ticker-wrap,
.ticker,
.ticker-item {
    display: none;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.about-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.about-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
    filter: brightness(1.2) contrast(1.1);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--text-color);
    font-size: 0.9em;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.about-image:hover .image-caption {
    opacity: 1;
    transform: translateY(0);
}

.about-text {
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.about-text:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.about-text p {
    line-height: 1.8;
    font-size: 1.1em;
    opacity: 0.9;
    margin-bottom: 20px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.skill-tags span {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.skill-tags span:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 768px) {
    .expertise-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-image {
        height: 250px;
    }
}

@media screen and (max-width: 480px) {
    .expertise-list {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        height: 200px;
    }
    
    .about-text {
        padding: 20px;
    }
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.info-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: scanGlow 2s linear infinite;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3),
                0 0 20px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.card-header i {
    font-size: 1.8em;
    color: var(--text-color);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.info-card:hover i {
    transform: scale(1.1);
    opacity: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.info-card h3 {
    font-size: 1.6em;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0;
    background: linear-gradient(90deg, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-card p {
    font-size: 1.1em;
    letter-spacing: 1px;
    opacity: 0.8;
    margin: 0;
    transition: all 0.3s ease;
}

.info-card:hover p {
    opacity: 1;
    transform: translateX(10px);
}

@keyframes scanGlow {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.contact-form {
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9em;
    letter-spacing: 1px;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-color);
    font-size: 1em;
    transition: all 0.3s ease;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.submit-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 30px;
    font-size: 1em;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Add glitch effect on hover */
.submit-btn:hover {
    animation: buttonGlitch 0.3s cubic-bezier(.25, .46, .45, .94) both;
}

@keyframes buttonGlitch {
    0% {
        transform: translateY(-2px) translateX(0);
    }
    25% {
        transform: translateY(-2px) translateX(2px);
    }
    50% {
        transform: translateY(-2px) translateX(-2px);
    }
    75% {
        transform: translateY(-2px) translateX(1px);
    }
    100% {
        transform: translateY(-2px) translateX(0);
    }
}

/* Add media query for mobile responsiveness */
@media screen and (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* Update all text colors to white */
input, textarea {
    color: var(--text-color);
    caret-color: var(--text-color);
    font-family: var(--font-body);
    letter-spacing: 0.1em;
    animation: typing 0.1s steps(1);
}

input:focus, textarea:focus {
    color: var(--text-color);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

@keyframes typing {
    0% {
        border-right-color: transparent;
    }
    50% {
        border-right-color: var(--text-color);
    }
    100% {
        border-right-color: transparent;
    }
}

/* Add blinking cursor effect */
input:focus, textarea:focus {
    border-right: 2px solid var(--text-color);
    animation: cursor-blink 1s infinite;
}

@keyframes cursor-blink {
    0%, 100% {
        border-right-color: transparent;
    }
    50% {
        border-right-color: var(--text-color);
    }
}

.info-card h3,
.info-card p,
.glass-overlay h3,
.glass-overlay p,
.nav-links a,
.nav-social a,
.content-container h1,
.about-text h2,
.about-text p {
    color: var(--text-color);
}

html, body {
    background-color: black !important;
}

/* Prevent white flash during navigation */
body {
    animation: none !important;
}

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

/* Better focus states for keyboard navigation */
a:focus, button:focus {
    outline: 2px solid #00ff9d;
    outline-offset: 2px;
}

/* Improved mobile menu */
@media (max-width: 768px) {
    .nav-container {
        /* Mobile-specific navigation styles */
    }
}

.background-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15vw;
    font-weight: 800;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    pointer-events: none;
    z-index: 2;
    white-space: nowrap;
    animation: textDistort 8s infinite linear;
}

@keyframes textDistort {
    0% {
        transform: translate(-50%, -50%) skew(0deg);
        -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    }
    20% {
        transform: translate(-50%, -50%) skew(-1deg);
        -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
    }
    40% {
        transform: translate(-50%, -50%) skew(0deg);
        -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    }
    60% {
        transform: translate(-51%, -50%) skew(0.5deg);
        -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
    }
    80% {
        transform: translate(-49%, -50%) skew(-0.5deg);
        -webkit-text-stroke: 1px rgba(255, 255, 255, 0.11);
    }
    100% {
        transform: translate(-50%, -50%) skew(0deg);
        -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    }
}

/* Update headings to use Space Grotesk */
h1, h2, h3, h4, h5, h6,
.nav-links a,
.background-text,
.submit-btn {
    font-family: var(--font-heading);
}

/* Base scrollbar styles */
html {
    scrollbar-width: thin !important;
    scrollbar-color: rgba(255, 255, 255, 0.2) rgba(0, 0, 0, 0.8) !important;
}

body::-webkit-scrollbar {
    width: 4px !important;
}

body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.8) !important;
    border: none !important;
    position: relative;
    overflow: hidden;
}

body::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2) !important;
    border-radius: 0 !important;
    border: none !important;
    min-height: 50px;
    position: relative;
    overflow: hidden;
    animation: scrollbarGlitch 2s infinite;
}

/* Glitch effect animation */
@keyframes scrollbarGlitch {
    0% {
        transform: translateY(0);
        background-color: rgba(255, 255, 255, 0.2);
    }
    20% {
        transform: translateY(-1px);
        background-color: rgba(255, 0, 0, 0.2);
    }
    40% {
        transform: translateY(1px);
        background-color: rgba(0, 255, 255, 0.2);
    }
    60% {
        transform: translateY(-1px);
        background-color: rgba(255, 255, 255, 0.2);
    }
    80% {
        transform: translateY(1px);
        background-color: rgba(0, 255, 0, 0.2);
    }
    100% {
        transform: translateY(0);
        background-color: rgba(255, 255, 255, 0.2);
    }
}

/* Add pseudo-element for additional glitch effect */
body::-webkit-scrollbar-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: scrollbarScan 1.5s linear infinite;
}

@keyframes scrollbarScan {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.glitch-subtitle {
    font-size: 1.2em;
    letter-spacing: 3px;
    color: var(--text-color);
    opacity: 0.7;
    margin-top: 10px;
    text-transform: uppercase;
    position: relative;
}

.feature-box {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.skill-tags span {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    letter-spacing: 1px;
}

.experience-section {
    margin-top: 80px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.timeline {
    margin-top: 40px;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 30px;
    margin-bottom: 30px;
    padding-left: 20px;
}

.year {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-color);
}

.timeline-item .description h3 {
    margin-bottom: 5px;
    font-size: 1.1em;
    letter-spacing: 1px;
}

.timeline-item .description p {
    opacity: 0.7;
}

@media screen and (max-width: 768px) {
    .timeline-item {
        grid-template-columns: 60px 1fr;
        gap: 20px;
    }
}

/* Remove all outlines from navigation elements */
.nav-links a,
.nav-social a,
.nav-logo a {
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

/* Optional: Add a subtle hover effect instead */
.nav-links a:hover,
.nav-social a:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

/* Category Navigation */
.category-nav {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgb(13, 13, 13);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 998;
    padding: 10px 0;
}

.category-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;  /* Center the buttons */
    align-items: center;     /* Vertically center */
    gap: 15px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-container::-webkit-scrollbar {
    display: none;
}

.category-btn {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--text-color) !important;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    white-space: nowrap;
    outline: none;  /* Remove default focus outline */
}

.category-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.category-btn.active {
    background: var(--overlay-light);
    border-color: var(--overlay-lighter);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    color: white !important;
}

/* Remove any default focus styles */
.category-btn:focus {
    outline: none;
    box-shadow: none;
}

.camera-label::before {
    content: "●";
    color: var(--text-color);
    text-shadow: 0 0 5px var(--glow-color);
    animation: blink 2s infinite;
    opacity: 0.8;
}

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

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background: rgb(13, 13, 13);
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) rgb(13, 13, 13);
}

/* Hide scrollbar for category navigation while keeping functionality */
.category-container {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;     /* Firefox */
}

.category-container::-webkit-scrollbar {
    display: none;             /* Chrome, Safari and Opera */
}

/* Main cursor dot */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--text-color);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
    will-change: transform;
}

/* Larger outer ring */
.cursor-follower {
    width: 24px;
    height: 24px;
    background: transparent;
    border: 1px solid var(--overlay-lighter);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.15s ease;
    will-change: transform;
}

/* Hover states for interactive elements */
a:hover ~ .cursor,
button:hover ~ .cursor,
.gallery-item:hover ~ .cursor {
    transform: scale(1.5) translate3d(var(--cursor-x), var(--cursor-y), 0);
    background: var(--overlay-light);
    box-shadow: 0 0 10px var(--glow-color);
}

a:hover ~ .cursor-follower,
button:hover ~ .cursor-follower,
.gallery-item:hover ~ .cursor-follower {
    transform: scale(1.2) translate3d(var(--cursor-x), var(--cursor-y), 0);
    border-color: var(--overlay-lighter);
    width: 40px;
    height: 40px;
}

@keyframes pulseHover {
    0% { transform: scale(1.2); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1.2); }
}

/* Override default cursor behavior */
body,
a,
button,
.gallery-item,
.nav-links a,
.nav-social a,
.category-btn {
    cursor: pointer;
}

/* Ensure cursor stays hidden on hover states */
a:hover,
button:hover,
.gallery-item:hover,
.nav-links a:hover,
.nav-social a:hover,
.category-btn:hover {
    cursor: pointer;
}

/* Recording indicator */
.recording-indicator {
    position: fixed;
    top: 20px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    font-size: 12px;
    letter-spacing: 1px;
    z-index: 1000;
}

.recording-dot {
    width: 8px;
    height: 8px;
    background-color: var(--text-color);
    border-radius: 50%;
    animation: blink 2s infinite;
    box-shadow: 0 0 5px var(--glow-color),
                0 0 10px var(--glow-color);
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 80px;  /* Increased to avoid overlap with status bar */
    right: 40px;
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 996;  /* Lowered to be below HUD elements */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.back-to-top:focus {
    outline: none !important;
    box-shadow: none !important;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top::before {
    content: '↑';
    color: var(--text-color);
    font-size: 20px;
}

.back-to-top::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: pulseRing 2s infinite;
}

.back-to-top:hover {
    background: var(--overlay-light);
    transform: translateY(-5px);
    box-shadow: 0 0 20px var(--overlay-light);
}

.back-to-top:hover::before {
    color: var(--text-color);
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

/* Terminal window */
.terminal-window {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--overlay-light);
}

/* Skill bars */
.skill-fill {
    background: var(--text-color);
}

/* Update any remaining colored elements */
.nav-social a:hover,
.nav-links a:hover,
.category-btn:hover {
    color: var(--glow-color);
}

/* CRT scan effect */
.scan-line {
    background: linear-gradient(
        transparent 0%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 100%
    );
}

/* Screen curve effect */
.screen-curve {
    background: radial-gradient(
        circle at center,
        transparent 60%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

/* Status Bar Styles */
.status-bar {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--text-color);
    z-index: 997;
    text-transform: uppercase;
    letter-spacing: 1px;
    pointer-events: none;
}

.camera-label, .timestamp {
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    backdrop-filter: blur(5px);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    animation: fadeIn 0.5s ease-out;
}

.camera-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.camera-label::before {
    content: "●";
    color: rgba(255, 255, 255, 0.9);
    animation: blink 2s infinite;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.9);
}

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

.timestamp {
    position: relative;
    overflow: hidden;
}

.timestamp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: scanline 2s linear infinite;
}

/* About Page Styles */
.intro-text {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
    font-size: 1.2em;
    line-height: 1.6;
    color: var(--text-color);
    opacity: 0.9;
    letter-spacing: 0.5px;
}

.section-header {
    margin-bottom: 2rem;
    position: relative;
}

.section-header h2 {
    font-size: 2em;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    background: linear-gradient(90deg, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.accent-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin: 0.5rem 0;
    position: relative;
    overflow: hidden;
}

.accent-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: scanline 2s linear infinite;
}

.services-section {
    margin: 4rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.service-card i {
    font-size: 2.5em;
    margin-bottom: 1rem;
    color: var(--text-color);
    opacity: 0.9;
}

.service-card h3 {
    font-size: 1.4em;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.service-card p {
    font-size: 0.9em;
    opacity: 0.8;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1rem;
}

.project-tags span {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    letter-spacing: 1px;
}

.achievements-section {
    margin: 4rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.achievement-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.achievement-icon {
    font-size: 2.5em;
    margin-bottom: 1rem;
    color: var(--text-color);
    opacity: 0.9;
}

.achievement-card h3 {
    font-size: 1.4em;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.achievement-card p {
    font-size: 0.9em;
    opacity: 0.8;
    line-height: 1.6;
}

/* Enhanced Timeline Styles */
.timeline {
    position: relative;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, 
        transparent,
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.2),
        transparent
    );
}

.timeline-item {
    margin-bottom: 3rem;
    padding-left: 2rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.timeline-item:hover::before {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.year {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    letter-spacing: 2px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .services-grid,
    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        padding-left: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.8em;
    }
}

/* Animation for section entrance */
.services-section,
.achievements-section,
.timeline {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

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

/* Enhance existing styles */
.about-header h1 {
    position: relative;
    display: inline-block;
}

.about-header h1::before,
.about-header h1::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.about-header h1::before {
    animation: glitch-1 2s infinite linear alternate-reverse;
    text-shadow: 2px 0 #ff0080;
    clip: rect(44px, 450px, 56px, 0);
}

.about-header h1::after {
    animation: glitch-2 5s infinite linear alternate-reverse;
    text-shadow: -2px 0 #00ff00;
    clip: rect(44px, 450px, 46px, 0);
}

@keyframes glitch-1 {
    0% {
        clip: rect(20px, 450px, 30px, 0);
    }
    20% {
        clip: rect(40px, 450px, 50px, 0);
    }
    40% {
        clip: rect(60px, 450px, 70px, 0);
    }
    60% {
        clip: rect(80px, 450px, 90px, 0);
    }
    80% {
        clip: rect(100px, 450px, 110px, 0);
    }
    100% {
        clip: rect(120px, 450px, 130px, 0);
    }
}

@keyframes glitch-2 {
    0% {
        clip: rect(30px, 450px, 40px, 0);
    }
    20% {
        clip: rect(50px, 450px, 60px, 0);
    }
    40% {
        clip: rect(70px, 450px, 80px, 0);
    }
    60% {
        clip: rect(90px, 450px, 100px, 0);
    }
    80% {
        clip: rect(110px, 450px, 120px, 0);
    }
    100% {
        clip: rect(130px, 450px, 140px, 0);
    }
}

/* About Page Enhanced Styles */
.about-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.about-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
    filter: brightness(1.2) contrast(1.1);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--text-color);
    font-size: 0.9em;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.about-image:hover .image-caption {
    opacity: 1;
    transform: translateY(0);
}

.expertise-section {
    margin-top: 60px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.expertise-box {
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.box-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.box-header h2 {
    font-size: 2rem;
    margin: 0 0 15px 0;
    line-height: 1.2;
    text-align: center;
}

.icon-wrapper {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    margin-top: 5px;
}

.box-description {
    margin: 25px auto;
    line-height: 1.6;
    max-width: 600px;
}

.expertise-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.expertise-item {
    padding: 15px;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.05);
}

.expertise-item span {
    font-size: 1em;
    display: block;
    line-height: 1.4;
    letter-spacing: 1px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    justify-content: center;
}

@media screen and (max-width: 1024px) {
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media screen and (max-width: 768px) {
    .expertise-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .box-header {
        gap: 15px;
    }
    
    .icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .icon-wrapper i {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .expertise-list {
        grid-template-columns: 1fr;
    }
    
    .expertise-section {
        padding: 20px;
    }
    
    .expertise-box {
        padding: 25px;
    }
    
    .box-header h2 {
        font-size: 1.6rem;
    }
}

/* Contact Page Styles */
.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-subtitle {
    font-size: 1.2em;
    color: var(--text-color);
    opacity: 0.7;
    margin-top: 15px;
    letter-spacing: 2px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.card-header i {
    font-size: 1.5em;
    color: var(--text-color);
    opacity: 0.9;
}

.info-card h3 {
    font-size: 1.2em;
    margin: 0;
    letter-spacing: 1px;
}

.info-card p {
    margin: 0;
    opacity: 0.8;
    letter-spacing: 0.5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon i {
    font-size: 1.2em;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9em;
    letter-spacing: 1px;
    color: var(--text-color);
    opacity: 0.9;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    color: var(--text-color);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    padding: 12px 15px 12px 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-color);
    font-size: 1em;
    transition: all 0.3s ease;
}

.input-wrapper textarea {
    min-height: 120px;
    resize: vertical;
    padding-left: 15px;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.input-wrapper input:focus + i {
    opacity: 1;
    transform: scale(1.1);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--text-color);
    font-size: 1em;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn i {
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.submit-btn:hover i {
    transform: translateX(5px);
}

.submit-btn.sent {
    background: rgba(0, 255, 0, 0.1);
    border-color: rgba(0, 255, 0, 0.2);
    pointer-events: none;
}

@media screen and (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .info-card {
        padding: 20px;
    }
}

@media screen and (max-width: 480px) {
    .contact-form {
        padding: 20px;
    }
    
    .submit-btn {
        padding: 12px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
}

/* Enhanced Mobile Navigation */
@media screen and (max-width: 768px) {
    .nav-container {
        padding: 10px 20px;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
        gap: 15px;
    }

    .nav-links a {
        font-size: 0.8em;
        padding: 8px;
    }

    .nav-social {
        gap: 15px;
    }

    .nav-social a {
        font-size: 1em;
    }

    /* Content Adjustments */
    .content-container {
        padding: 20px;
        margin-top: 120px;  /* Increased to account for wrapped navigation */
    }

    .content-container h1 {
        font-size: 2.5em;
        letter-spacing: 4px;
    }

    /* Gallery Adjustments */
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }

    /* Status Bar Adjustments */
    .status-bar {
        padding: 8px 20px;
        font-size: 10px;
    }

    /* Back to Top Button */
    .back-to-top {
        bottom: 70px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

@media screen and (max-width: 480px) {
    .nav-container {
        padding: 8px 15px;
    }

    .nav-links {
        gap: 10px;
    }

    .nav-links a {
        font-size: 0.75em;
        padding: 6px;
    }

    .content-container h1 {
        font-size: 2em;
        letter-spacing: 3px;
    }

    /* Form Adjustments */
    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 0.9em;
    }

    .submit-btn {
        padding: 12px;
        font-size: 0.9em;
    }

    /* Contact Info Cards */
    .info-card {
        padding: 15px;
    }

    .card-header i {
        font-size: 1.2em;
    }

    .info-card h3 {
        font-size: 1em;
    }

    /* Category Navigation */
    .category-nav {
        top: 100px;  /* Adjusted for wrapped navigation */
    }

    .category-container {
        padding: 0 15px;
    }

    .category-btn {
        padding: 6px 12px;
        font-size: 10px;
    }
}

/* Additional Small Screen Adjustments */
@media screen and (max-width: 360px) {
    .nav-links a {
        font-size: 0.7em;
        padding: 5px;
    }

    .content-container h1 {
        font-size: 1.8em;
        letter-spacing: 2px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.password-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    color: var(--text-color);
    font-family: monospace;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    outline: none;
    caret-color: rgba(255, 255, 255, 0.8);
}

.password-input:focus {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

/* Update input autofill styles */
.password-input:-webkit-autofill,
.password-input:-webkit-autofill:hover,
.password-input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text-color);
    -webkit-box-shadow: 0 0 0px 1000px rgba(0, 0, 0, 0.3) inset;
    transition: background-color 5000s ease-in-out 0s;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Update selection color */
.password-input::selection {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-color);
}

/* Update placeholder color */
.password-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.terminal-logo {
    width: 120px;
    height: 120px;
    margin: 2rem auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.5s ease-out 1s forwards;
}

.terminal-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.2) contrast(1.1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    transition: all 0.3s ease;
}

.terminal-logo img:hover {
    filter: brightness(1.4) contrast(1.2) drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
    transform: scale(1.05);
}
