@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;500;700&display=swap');

:root {
    --navy-blue: #0a1128;
    --electric-blue: #00f3ff;
    --neon-yellow: #ffdd00;
    --white: #ffffff;
    --dark-gray: #0f0f1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background:
        radial-gradient(circle at 20% 80%, #1a1a2e 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, #16213e 0%, transparent 50%),
        linear-gradient(135deg, #0a1128 0%, #000000 100%);
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 12vh;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 17, 40, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--electric-blue);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0;
    width: 50%;
}

.nav-menu li {
    display: flex;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
    white-space: nowrap;
}

.nav-menu a.active {
    color: var(--neon-yellow);
    text-shadow: 0 0 20px var(--neon-yellow);
}

.diamond {
    width: 6px;
    height: 6px;
    background: var(--electric-blue);
    transform: rotate(45deg);
    margin: 0 1.5rem;
    box-shadow: 0 0 10px var(--electric-blue);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    width: 30vw;
    justify-content: flex-end;
}

.logo {
    width: 60px;
    height: 60px;
    background-image: url('https://i.imgur.com/zqsfeRm.png');
    background-size: cover;
    background-position: center;
    filter:    brightness(120%) contrast(97%) drop-shadow(0 0 10px var(--electric-blue));
}

.studio-name {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    text-shadow: 0 0 15px var(--electric-blue);
    letter-spacing: 3px;
}

/* Mobile Header */
.mobile-header {
    display: none;
}

/* Credits Content */
.credits-content {
    margin-top: 12vh;
    padding: 2rem 5%;
    min-height: 80vh;
}

.credits-container {
    max-width: 1400px;
    margin: 0 auto;
}

.credits-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem;
    border: 2px solid var(--electric-blue);
    border-radius: 15px;
    background: rgba(10, 17, 40, 0.9);
}

.credits-title {
    font-size: 3.5rem;
    color: var(--neon-yellow);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--neon-yellow);
    text-transform: uppercase;
    letter-spacing: 4px;
}

.credits-subtitle {
    font-size: 1.5rem;
    color: var(--electric-blue);
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* Credits Sections */
.credits-section {
    margin-bottom: 5rem;
    padding: 3rem;
    border: 1px solid var(--electric-blue);
    border-radius: 10px;
    background: rgba(15, 15, 26, 0.7);
}

.section-title {
    color: var(--neon-yellow);
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 2px solid var(--electric-blue);
    padding-bottom: 1rem;
}

.section-title i {
    font-size: 2rem;
    color: var(--electric-blue);
}

/* Credits Grid */
.credits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.credit-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
    aspect-ratio: 1/2;
    background: rgba(0, 243, 255, 0.05);
    border: 1px solid var(--electric-blue);
}

.credit-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.credit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.credit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    padding: 2rem;
    text-align: center;
}

.project-title {
    color: var(--white);
    font-size: 2.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.project-year {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 300;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Hover Effects */
.credit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 243, 255, 0.3);
    border-color: var(--neon-yellow);
}

.credit-item:hover .credit-image img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.credit-item:hover .credit-overlay {
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    header {
        display: none;
    }

    .mobile-header {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(10, 17, 40, 0.95);
        border-top: 2px solid var(--electric-blue);
        z-index: 1000;
        padding: 10px 0;
    }

    .mobile-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 8px 12px;
    }

    .mobile-icon {
        width: 24px;
        height: 24px;
        filter: invert(78%) sepia(67%) saturate(749%) hue-rotate(164deg) brightness(120%) contrast(97%);
    }

    body {
        padding-bottom: 80px;
    }

    .credits-content {
        margin-top: 0;
        padding: 1rem;
    }

    .credits-title {
        font-size: 2.5rem;
    }

    .credits-section {
        padding: 1.5rem;
        margin-bottom: 3rem;
    }

    .section-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .credits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-title {
        font-size: 1.8rem;
    }

    .project-year {
        font-size: 1.2rem;
    }

    .credits-header {
        padding: 2rem 1rem;
    }
}


/* ===== MOBILE VERSION ===== */
@media (max-width: 768px) {
    /* Reset body order */
    body {
        display: block;
        padding-bottom: 120px;
    }

    /* Hide arrows on mobile */
    .arrow-section,
    .navigation-link {
        display: none !important;
    }

    /* Header - Bottom Fixed */
    header {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: auto;
        padding: 15px 20px;
        border-top: 2px solid var(--electric-blue);
        border-bottom: none;
        top: auto;
    }

    .nav-menu {
        justify-content: space-between;
        width: 100%;
        max-width: 100%;
    }
.nav-menu {
    overflow-x: visible; /* was overflow-x: auto or hidden */
}

    .nav-menu li {
        flex-direction: column;
        align-items: center;
    }

    .nav-menu a {
        font-size: 0.7rem;
        padding: 8px 12px;
    }

    .diamond {
        display: none;
    }

    .logo-container {
        display: none;
    }

    /* Reorder sections */
    .image-display {
        display: none;
    }

    .art-info {
        height: auto;
        padding: 30px 20px;
        order: 2;
        flex-direction: row;
        justify-content: space-between;
    }

    .info-left {
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }

    .scene-number {
        font-size: 3rem;
        margin-right: 20px;
    }

    .scene-text {
        margin-left: 0;
    }

    .scene-title {
        font-size: 1.8rem;
        white-space: nowrap;
        margin-bottom: 0;
    }

    .scene-subtitle {
        font-size: 1rem;
    }

    .next-project {
        display: none;
    }

    /* Project Details */
    .project-details {
        flex-direction: column;
        padding: 20px;
        gap: 0;
        order: 3;
    }

    .details-left {
        width: 100%;
        order: 1;
        padding: 20px 0;
    }

    .image-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
        gap: 20px;
    }

    .grid-item {
        min-height: 250px;
        aspect-ratio: 16/9;
    }

    .details-right {
        width: 100%;
        order: 2;
        padding: 20px 0;
        text-align: center;
    }

    .subtitle {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .description {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 30px;
    }

    /* Navigation Dots */
    .nav-dots {
        padding: 30px 0;
        order: 4;
    }
}


/* Experience Page Styles */
.experience-content {
    margin-top: 12vh;
    padding: 2rem 5%;
    min-height: 80vh;
}

.experience-container {
    max-width: 1200px;
    margin: 0 auto;
}

.profile-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    border: 2px solid var(--electric-blue);
    border-radius: 15px;
    background: rgba(10, 17, 40, 0.8);
    backdrop-filter: blur(10px);
}

.profile-name {
    font-size: 3rem;
    color: var(--neon-yellow);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--neon-yellow);
}

.profile-title {
    font-size: 1.5rem;
    color: var(--electric-blue);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.profile-contact {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.profile-contact span {
    color: var(--white);
    font-family: 'Rajdhani', sans-serif;
}

.section {
    margin-bottom: 3rem;
    padding: 2rem;
    border: 1px solid var(--electric-blue);
    border-radius: 10px;
    background: rgba(15, 15, 26, 0.6);
    backdrop-filter: blur(5px);
}

.section-title {
    color: var(--neon-yellow);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid var(--electric-blue);
    padding-bottom: 0.5rem;
}

.experience-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-left: 3px solid var(--electric-blue);
    background: rgba(0, 243, 255, 0.05);
}

.experience-header {
    margin-bottom: 1rem;
}

.job-title {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.company {
    color: var(--electric-blue);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.duration {
    color: var(--neon-yellow);
    font-size: 0.9rem;
}

.achievements {
    list-style: none;
    padding-left: 1rem;
}

.achievements li {
    color: var(--white);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
    font-family: 'Rajdhani', sans-serif;
    line-height: 1.5;
}

.achievements li::before {
    content: '⟢';
    color: var(--electric-blue);
    position: absolute;
    left: -1rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.skill-category {
    padding: 1rem;
    border: 1px solid var(--electric-blue);
    border-radius: 8px;
    background: rgba(0, 243, 255, 0.05);
}

.skill-category h4 {
    color: var(--neon-yellow);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.skill-items {
    color: var(--white);
    font-family: 'Rajdhani', sans-serif;
}

.education-item {
    margin-bottom: 1.5rem;
}

.education-item h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.institution {
    color: var(--electric-blue);
}

.certifications h4 {
    color: var(--neon-yellow);
    margin-bottom: 1rem;
}

.cert-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.cert-list span {
    color: var(--white);
    padding: 0.5rem 1rem;
    border: 1px solid var(--electric-blue);
    border-radius: 20px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    background: rgba(0, 243, 255, 0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .experience-content {
        margin-top: 0;
        padding: 1rem;
    }
    
    .profile-name {
        font-size: 2rem;
    }
    
    .profile-contact {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .cert-list {
        flex-direction: column;
    }
}

/* Experience Page Styles */
.experience-content {
    margin-top: 12vh;
    padding: 2rem 5%;
    min-height: 80vh;
}

.experience-container {
    max-width: 1200px;
    margin: 0 auto;
}

.profile-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem;
    border: 2px solid var(--electric-blue);
    border-radius: 15px;
    background: rgba(10, 17, 40, 0.9);
    backdrop-filter: blur(10px);
    position: relative;
}

.profile-name {
    font-size: 3.5rem;
    color: var(--neon-yellow);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--neon-yellow);
    text-transform: uppercase;
    letter-spacing: 4px;
}

.profile-title {
    font-size: 1.8rem;
    color: var(--electric-blue);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 15px var(--electric-blue);
}

.profile-contact {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.profile-contact span {
    color: var(--white);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
}

.pdf-button {
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1.2rem 2.5rem;
    border: 2px solid var(--electric-blue);
    border-radius: 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: 'Orbitron', sans-serif;
    background: rgba(0, 243, 255, 0.1);
    position: relative;
    overflow: hidden;
    display: inline-block;

}

.pdf-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.pdf-button:hover {
    color: var(--neon-yellow);
    border-color: var(--neon-yellow);
    background: rgba(255, 221, 0, 0.1);
    box-shadow: 0 0 30px rgba(255, 221, 0, 0.5);
    transform: translateY(-3px);
}

.pdf-button:hover::before {
    left: 100%;
}

.section {
    margin-bottom: 3rem;
    padding: 2.5rem;
    border: 1px solid var(--electric-blue);
    border-radius: 10px;
    background: rgba(15, 15, 26, 0.7);
    backdrop-filter: blur(5px);
}

.section-title {
    color: var(--neon-yellow);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-bottom: 2px solid var(--electric-blue);
    padding-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 221, 0, 0.5);
}

.experience-item {
    margin-bottom: 2.5rem;
    padding: 2rem;
    border-left: 4px solid var(--electric-blue);
    background: rgba(0, 243, 255, 0.05);
    position: relative;
}

.experience-item:last-child {
    margin-bottom: 0;
}

.job-title {
    color: var(--neon-yellow);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 221, 0, 0.5);
}

.company-year {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.company {
    color: var(--white);
    font-weight: 600;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.duration {
    color: var(--electric-blue);
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.location {
    color: var(--neon-yellow);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.achievements {
    list-style: none;
    padding-left: 0;
}

.achievements li {
    color: var(--white);
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    font-family: 'Rajdhani', sans-serif;
    line-height: 1.6;
    font-size: 1.1rem;
}

.achievements li::before {
    content: '⟢';
    color: var(--electric-blue);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-category {
    padding: 1.5rem;
    border: 1px solid var(--electric-blue);
    border-radius: 8px;
    background: rgba(0, 243, 255, 0.05);
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.skill-category h4 {
    color: var(--neon-yellow);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.skill-items {
    color: var(--white);
    font-family: 'Rajdhani', sans-serif;
    line-height: 1.6;
}

.education-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-left: 3px solid var(--neon-yellow);
    background: rgba(255, 221, 0, 0.05);
}

.education-item h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.institution {
    color: var(--electric-blue);
    font-size: 1.1rem;
}

.certifications h4 {
    color: var(--neon-yellow);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-transform: uppercase;
}

.cert-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.cert-list span {
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--electric-blue);
    border-radius: 25px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    background: rgba(0, 243, 255, 0.1);
    transition: all 0.3s ease;
}

.cert-list span:hover {
    background: rgba(0, 243, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .experience-content {
        margin-top: 0;
        padding: 1rem;
    }
    
    .profile-name {
        font-size: 2.5rem;
    }
    
    .profile-contact {
        flex-direction: column;
        gap: 1rem;
    }
    
    .company-year {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .cert-list {
        flex-direction: column;
    }
    
    .section {
        padding: 1.5rem;

    }
}

.profile-header {
    padding: 2rem; /* was 3rem */
    padding-bottom: 0;
    

}
.section-content p {
    font-size: 1.65rem; /* 1.5x bigger than 1.1rem */
    line-height: 1.6;
    color: var(--white);
    font-family: 'Rajdhani', sans-serif;
}
.pdf-button {
    display: block;
    margin: 0 auto;
    text-align: center;
    width: fit-content;
      margin-bottom: 5vh;
      margin-top: -2vh;
}
.location {
    padding-left: 0;
}

.company {
    padding-right: 0;
}


.company-location-year {
    display: flex;

    gap: 0.5rem;
}

.location {
    margin-left: 1vw;
        color: var(--white);
}

.duration {
    margin-left: auto;
}


/* Mobile Header */
.mobile-header {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 17, 40, 0.95);
    backdrop-filter: blur(15px);
    border-top: 2px solid var(--electric-blue);
    z-index: 1000;
    padding: 10px 0;
}

.mobile-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.mobile-icon {
    width: 24px;
    height: 24px;
    filter: invert(78%) sepia(67%) saturate(749%) hue-rotate(164deg) brightness(120%) contrast(97%);
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.mobile-text {
    color: var(--white);
    font-size: 0.7rem;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.mobile-nav-item.active .mobile-icon {
    filter: invert(84%) sepia(98%) saturate(749%) hue-rotate(360deg) brightness(107%) contrast(101%);
}

.mobile-nav-item.active .mobile-text {
    color: var(--neon-yellow);
    text-shadow: 0 0 10px var(--neon-yellow);
}

.mobile-nav-item:hover .mobile-icon {
    transform: scale(1.2);
}

.mobile-nav-item:hover .mobile-text {
    color: var(--electric-blue);
}

/* Show mobile header only on mobile */
@media (max-width: 768px) {
    .mobile-header {
        display: block;
    }
    
    /* Hide the regular header on mobile */
    header {
        display: none;
    }
    
    /* Add padding to body to account for fixed mobile header */
    body {
        padding-bottom: 80px;
    }
}
.mobile-header {
    height: 10vh; /* Add this */
    padding: 0; /* Remove the 10px padding */
}

.mobile-nav-item.active .mobile-icon {
    width: 48px; /* 2x bigger */
    height: 48px; /* 2x bigger */
    transform: translateY(-15px); /* Lift it above the bottom */
}
.mobile-icon {
    width: 10vw; /* bigger */
    height: 10vw; /* bigger */
    margin-bottom: -1vh; /* keep same margin */
}

.mobile-nav-item.active .mobile-icon {
    width: 15vw; /* bigger */
    height: 15vw; /* bigger */
    margin-bottom: -1vh; /* keep same margin */
    transform: translateY(-5px);
}

.studio-button {
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1.2rem 2.5rem;
    border: 2px solid var(--electric-blue);
    border-radius: 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: 'Orbitron', sans-serif;
    background: rgba(0, 243, 255, 0.1);
    position: relative;
    overflow: hidden;
    display: inline-block;
    margin: 1rem;
}

.studio-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.studio-button:hover {
    color: var(--neon-yellow);
    border-color: var(--neon-yellow);
    background: rgba(255, 221, 0, 0.1);
    box-shadow: 0 0 30px rgba(255, 221, 0, 0.5);
    transform: translateY(-3px);
}

.studio-button:hover::before {
    left: 100%;
}

.section-content p {
    font-size: 1.5rem; /* Make it smaller than the current size */
}

/* Gallery Content */
.gallery-content {
    margin-top: 12vh;
    padding: 2rem 5%;
    min-height: 80vh;
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem;
    border: 2px solid var(--electric-blue);
    border-radius: 15px;
    background: rgba(10, 17, 40, 0.9);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.gallery-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 243, 255, 0.1), 
        transparent);
    animation: header-scan 4s linear infinite;
}

@keyframes header-scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.gallery-title {
    font-size: 3.5rem;
    color: var(--neon-yellow);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--neon-yellow);
    text-transform: uppercase;
    letter-spacing: 4px;
}

.gallery-subtitle {
    font-size: 1.5rem;
    color: var(--electric-blue);
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* Category Filter */
.category-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.8rem;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--electric-blue);
    color: var(--white);
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.5s ease;
}

.filter-btn:hover {
    color: var(--neon-yellow);
    border-color: var(--neon-yellow);
    background: rgba(255, 221, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 221, 0, 0.3);
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn.active {
    color: var(--neon-yellow);
    border-color: var(--neon-yellow);
    background: rgba(255, 221, 0, 0.2);
    box-shadow: 0 0 20px rgba(255, 221, 0, 0.5);
}

/* Mosaic Gallery Grid */
.mosaic-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-auto-rows: 280px;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

@media screen and (min-width: 768px) {
    .mosaic-gallery {
        grid-template-columns: repeat(12, 1fr);
        grid-auto-rows: 200px;
    }
    
    .tile-tall {
        grid-row: span 2;
    }
    
    .tile-wide {
        grid-column: span 2;
    }
    
    .tile-big {
        grid-column: span 3;
        grid-row: span 2;
    }
}

.mosaic-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    background: rgba(0, 243, 255, 0.05);
}

.mosaic-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    background: linear-gradient(45deg, 
        var(--electric-blue), 
        #ff00ff, 
        #8a2be2, 
        var(--neon-yellow));
    background-size: 400% 400%;
    z-index: -1;
    animation: neon-border 3s ease infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

@keyframes neon-border {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.mosaic-item:hover {
    transform: translateY(-5px) scale(1.02);
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.4);
}

.mosaic-item:hover::before {
    opacity: 1;
}

.mosaic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    filter: brightness(0.8) contrast(1.1);
}

.mosaic-item:hover .mosaic-img {
    filter: brightness(1) contrast(1.2);
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(10, 17, 40, 0.95));
    padding: 1.5rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.mosaic-item:hover .image-overlay {
    transform: translateY(0);
}

.image-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--neon-yellow);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(255, 221, 0, 0.5);
}

.image-desc {
    font-size: 0.9rem;
    color: var(--white);
    font-family: 'Rajdhani', sans-serif;
}

/* Project Showcase */
.project-showcase {
    margin-top: 4rem;
    padding: 3rem;
    border: 2px solid var(--electric-blue);
    border-radius: 15px;
    background: rgba(15, 15, 26, 0.7);
    backdrop-filter: blur(5px);
}

.showcase-title {
    color: var(--neon-yellow);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(255, 221, 0, 0.5);
}

.showcase-grid {
    display: grid;
    gap: 3rem;
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.showcase-img {
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--electric-blue);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.showcase-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.showcase-item:hover .showcase-img img {
    transform: scale(1.05);
}

.showcase-content h3 {
    color: var(--neon-yellow);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.showcase-content p {
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-family: 'Rajdhani', sans-serif;
}

.tech-tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.tech-tags span {
    padding: 0.5rem 1rem;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--electric-blue);
    border-radius: 20px;
    color: var(--white);
    font-size: 0.9rem;
    font-family: 'Rajdhani', sans-serif;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .gallery-content {
        margin-top: 0;
        padding: 1rem;
    }
    
    .gallery-title {
        font-size: 2.5rem;
    }
    
    .category-filter {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .mosaic-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    
    .showcase-item {
        grid-template-columns: 1fr;
    }
    
    .project-showcase {
        padding: 1.5rem;
    }
}


.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 300px);
    gap: 30px; /* Increased vertical gap */
    width: 100%;
    max-width: 1400px;
    margin: 10vh auto 0; /* Moved down by 10vh */
    padding: 40px 20px;
}

.grid-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.item-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

/* Hover Effects */
.grid-item:hover {
    transform: translateY(-10px) scale(1.02);
}

.grid-item:hover .item-overlay {
    opacity: 1;
}

.grid-item:hover .item-title {
    transform: translateY(0);
}

/* Dynamic Glow Effects */
.grid-item[data-color="#4a6572"]:hover { box-shadow: 0 0 30px #4a6572; }
.grid-item[data-color="#344955"]:hover { box-shadow: 0 0 30px #344955; }
.grid-item[data-color="#f9aa33"]:hover { box-shadow: 0 0 30px #f9aa33; }
.grid-item[data-color="#232f34"]:hover { box-shadow: 0 0 30px #232f34; }
.grid-item[data-color="#8d6e63"]:hover { box-shadow: 0 0 30px #8d6e63; }
.grid-item[data-color="#5d4037"]:hover { box-shadow: 0 0 30px #5d4037; }
.grid-item[data-color="#d32f2f"]:hover { box-shadow: 0 0 30px #d32f2f; }
.grid-item[data-color="#b71c1c"]:hover { box-shadow: 0 0 30px #b71c1c; }
.grid-item[data-color="#ffeb3b"]:hover { box-shadow: 0 0 30px #ffeb3b; }
.grid-item[data-color="#7b1fa2"]:hover { box-shadow: 0 0 30px #7b1fa2; }
.grid-item[data-color="#e91e63"]:hover { box-shadow: 0 0 30px #e91e63; }
.grid-item[data-color="#2196f3"]:hover { box-shadow: 0 0 30px #2196f3; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(6, 250px);
        gap: 20px; /* Increased gap for mobile too */
        margin: 5vh auto 0;
        padding: 20px 15px;
    }
}


.social-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    padding: 0 20px;
}

.social-button {
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1.2rem 2.5rem;
    border: 2px solid var(--electric-blue);
    border-radius: 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: 'Orbitron', sans-serif;
    background: rgba(0, 243, 255, 0.1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.social-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-button:hover {
    color: var(--neon-yellow);
    border-color: var(--neon-yellow);
    background: rgba(255, 221, 0, 0.1);
    box-shadow: 0 0 30px rgba(255, 221, 0, 0.5);
    transform: translateY(-3px);
}

.social-button:hover::before {
    left: 100%;
}

/* Specific button colors */
.behance-btn:hover {
    border-color: #0057ff;
    box-shadow: 0 0 30px rgba(0, 87, 255, 0.5);
}

.instagram-btn:hover {
    border-color: #e4405f;
    box-shadow: 0 0 30px rgba(228, 64, 95, 0.5);
}

.social-buttons {
    margin-bottom: 10vh;
}


.gallery-title {
    display: none;
}

@media (max-width: 768px) {
    .gallery-title {
        display: block;
        color: var(--neon-yellow);
        text-shadow: 0 0 20px var(--neon-yellow);
        font-size: 3rem;
        text-transform: uppercase;
        letter-spacing: 4px;
        text-align: center;
        margin-top: 2vh;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .social-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 3rem;
    }
    
    .social-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr; /* Only one image per row */
        grid-template-rows: repeat(12, 300px); /* 12 rows for 12 items */
        gap: 20px;
        margin: 5vh auto 0;
        padding: 20px 15px;
    }

    .social-buttons {
        flex-direction: column; /* Buttons stacked on top of each other */
        align-items: center;
        gap: 1rem;
        margin-top: 3rem;
    }
    
    .social-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 250px; /* Consistent button width */
        text-align: center;
        justify-content: center;
    }
}
.credits-content {
    width: 100%;
    overflow-x: hidden;
}

.credits-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.credits-grid {
    width: 100%;
    max-width: 100%;
}



/* Add these to your existing CSS */

/* Make the overall layout more compact */
.credits-content {
    margin-top: 10vh; /* Reduced from 12vh */
    padding: 1rem 5%; /* Reduced padding */
    min-height: auto; /* Remove fixed min-height */
}

.credits-header {
    margin-bottom: 2rem; /* Reduced from 4rem */
    padding: 2rem; /* Reduced from 3rem */
}

.credits-title {
    font-size: 2.5rem; /* Reduced from 3.5rem */
    margin-bottom: 0.5rem; /* Reduced spacing */
}

.credits-subtitle {
    font-size: 1.2rem; /* Reduced from 1.5rem */
}

/* Make sections more compact */
.credits-section {
    margin-bottom: 2rem; /* Reduced from 5rem */
    padding: 1.5rem; /* Reduced from 3rem */
}

.section-title {
    font-size: 1.8rem; /* Reduced from 2.5rem */
    margin-bottom: 1.5rem; /* Reduced from 2.5rem */
    padding-bottom: 0.5rem; /* Reduced padding */
}

.section-title i {
    font-size: 1.5rem; /* Reduced icon size */
}

/* Make grid items more compact */
.credits-grid {
    gap: 1.5rem; /* Reduced gap */
}

.credit-item {
    aspect-ratio: 3/4; /* Slightly wider ratio */
}

.project-title {
    font-size: 1.5rem; /* Reduced from 2.2rem */
}

.project-year {
    font-size: 1rem; /* Reduced from 1.4rem */
}

/* Reduce overlay padding */
.credit-overlay {
    padding: 1rem; /* Reduced from 2rem */
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .credits-content {
        margin-top: 0;
        padding: 0.5rem; /* Even more compact on mobile */
    }
    
    .credits-title {
        font-size: 2rem; /* Smaller on mobile */
    }
    
    .credits-section {
        padding: 1rem; /* More compact on mobile */
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem; /* Smaller on mobile */
    }
    
    .credits-grid {
        gap: 1rem; /* Tighter grid on mobile */
    }
    
    .project-title {
        font-size: 1.2rem; /* Smaller on mobile */
    }
}






@media (max-width: 768px) {
    .credits-content {
        padding: 1rem;
        margin-top: 0;
    }
    
    .credits-container {
        padding: 0;
    }
    
    .credits-section {
        width: 100%;
        padding: 1rem;
    }
    
    .credits-grid {
        width: 100%;
        grid-template-columns: 1fr;
    }
    
    .credit-item {
        width: 100%;
    }
    
    body {
        width: 100%;
        overflow-x: hidden;
    }
    
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
}