/* ==========================================================================
   CSS Variables & Tokens
   ========================================================================== */
:root {
    /* Colors */
    --bg-primary: #080808;
    --bg-secondary: #111111;
    --accent-purple: #2D0B4E;
    --glow-purple: #8A2BE2;
    --accent-gold: #D4AF37;
    --text-main: #FFFFFF;
    --text-muted: #B8B8B8;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glass-blur: blur(12px);
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    --section-padding: 100px 0;
}

/* ==========================================================================
   Global Reset & Base
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: var(--section-padding);
}

.accent-text {
    color: var(--glow-purple);
}

/* ==========================================================================
   Utilities & Components
   ========================================================================== */
/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-normal);
}

.glass-card:hover {
    border-color: rgba(138, 43, 226, 0.3);
    box-shadow: 0 8px 32px 0 rgba(138, 43, 226, 0.15);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition-normal);
}

.btn-primary {
    background: linear-gradient(135deg, var(--glow-purple), var(--accent-purple));
    color: var(--text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    border-color: var(--glow-purple);
    color: var(--glow-purple);
}

.w-100 {
    width: 100%;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--glow-purple), var(--accent-gold));
    margin: 0 auto;
    border-radius: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-purple);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--glow-purple);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
    padding: 1.5rem 0;
}

.header.scrolled {
    padding: 1rem 0;
    background: rgba(8, 8, 8, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span {
    color: var(--glow-purple);
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--glow-purple);
    transition: var(--transition-normal);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-main);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-resume {
    padding: 8px 20px;
    border: 1px solid var(--glow-purple);
    border-radius: 20px;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-resume:hover {
    background: var(--glow-purple);
    box-shadow: 0 0 15px var(--glow-purple);
}

.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-normal);
    display: none; /* hidden per requirement but code structure intact */
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-main);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

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

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: var(--transition-normal);
}

.social-icon:hover {
    color: var(--text-main);
    border-color: var(--glow-purple);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.image-wrapper {
    position: relative;
    width: 400px;
    height: 500px;
    border-radius: 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    filter: contrast(1.1) brightness(0.9);
}

.circular-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(138,43,226,0.3) 0%, rgba(0,0,0,0) 70%);
    filter: blur(40px);
    z-index: -1;
    border-radius: 50%;
    animation: pulseGlow 4s infinite alternate;
}

.floating-shape {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-gold);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.shape-1 { top: 10%; right: -20px; animation: float 6s infinite ease-in-out; }
.shape-2 { bottom: 20%; left: -20px; animation: float 5s infinite ease-in-out reverse; }
.shape-3 { top: 50%; right: -30px; animation: float 7s infinite ease-in-out; }

/* Scroll Indicator */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-muted);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--glow-purple);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-content {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto;
    gap: 3rem;
}

.about-card {
    padding: 2.5rem;
}

.about-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}

.about-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.about-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-list li {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.about-list strong {
    color: var(--text-main);
    display: block;
    margin-bottom: 0.2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-num {
    font-size: 3rem;
    font-family: var(--font-heading);
    color: var(--glow-purple);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   Skills Section
   ========================================================================== */
.skills-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.category-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-main);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
}

.skill-card {
    padding: 1.5rem;
    text-align: center;
}

.skill-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    transition: var(--transition-normal);
}

.skill-card:hover .skill-icon {
    transform: scale(1.1);
    color: var(--glow-purple);
    text-shadow: 0 0 10px var(--glow-purple);
}

.skill-card h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.badge {
    font-size: 0.6rem;
    background: var(--accent-purple);
    padding: 2px 6px;
    border-radius: 10px;
    vertical-align: top;
    margin-left: 5px;
}

.progress-wrap {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--glow-purple), var(--accent-gold));
    border-radius: 3px;
    transform-origin: left;
    /* Animation handled via AOS or inline style */
}

/* ==========================================================================
   Projects Section
   ========================================================================== */
.filter-btns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 8px 24px;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: var(--transition-normal);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--glow-purple);
    color: var(--text-main);
    border-color: var(--glow-purple);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
}

.projects-slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.slider-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-normal);
    flex-shrink: 0;
    z-index: 10;
}

.slider-btn:hover {
    background: var(--glow-purple);
    border-color: var(--glow-purple);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
}

.slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.projects-track-container {
    overflow: hidden;
    width: 100%;
    border-radius: 20px;
}

.projects-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.project-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 0 0 100%;
    min-width: 100%;
}

.project-img {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 8, 8, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

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

.btn-view-modal {
    background: transparent;
    border: 2px solid var(--text-main);
    color: var(--text-main);
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-normal);
}

.btn-view-modal:hover {
    background: var(--text-main);
    color: var(--bg-primary);
}

.project-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.project-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tags span {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: rgba(138, 43, 226, 0.1);
    color: #e0b0ff;
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
}

.tech-tags a.result-link {
    font-size: 0.8rem;
    padding: 6px 12px;
    background: rgba(138, 43, 226, 0.1);
    color: #e0b0ff;
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-normal);
    text-decoration: none;
}

.tech-tags a.result-link:hover {
    background: rgba(138, 43, 226, 0.3);
    color: var(--text-main);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(138, 43, 226, 0.2);
}

.project-links {
    display: flex;
    gap: 1rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 1rem;
}

.btn-icon {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.btn-icon:hover {
    color: var(--glow-purple);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

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

.modal-content {
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 0;
    transform: translateY(50px);
    transition: var(--transition-normal);
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-normal);
}

.modal-close:hover {
    background: var(--glow-purple);
}

.modal-body img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

.modal-body {
    padding-bottom: 2rem;
}

.modal-title {
    padding: 1.5rem 2rem 0.5rem;
    font-size: 2rem;
    color: var(--accent-gold);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 0 2rem;
}

.modal-col h3 {
    margin-bottom: 1rem;
    color: var(--text-main);
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.5rem;
}

.modal-col ul {
    list-style: disc;
    padding-left: 1.5rem;
    color: var(--text-muted);
}

.modal-col ul li {
    margin-bottom: 0.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* ==========================================================================
   Experience Section
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--glow-purple), var(--accent-gold));
}

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

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: 35px;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    z-index: 1;
}

.timeline-content {
    padding: 1.5rem 2rem;
}

.timeline-date {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(138, 43, 226, 0.15);
    color: #e0b0ff;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
}

.timeline-company {
    color: var(--accent-gold);
    font-weight: 500;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Education Section
   ========================================================================== */
.education-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 2.5rem;
}

.edu-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.edu-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--glow-purple), var(--accent-purple));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    flex-shrink: 0;
}

.edu-header h3 {
    font-size: 1.6rem;
    margin-bottom: 0.2rem;
}

.edu-date {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.cgpa-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 600;
}

.edu-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
}

.edu-body h4 {
    margin-bottom: 1rem;
    color: var(--text-main);
}

.achievements ul {
    list-style: none;
    padding: 0;
}

.achievements li {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.achievements li i {
    color: var(--accent-gold);
    margin-top: 4px;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem 2rem;
    text-align: center;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--glow-purple);
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--glow-purple);
    color: white;
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
    gap: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-gold);
}

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--text-muted);
}

.contact-card p {
    font-weight: 500;
    font-size: 1rem;
}

.contact-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-form-wrap {
    padding: 2.5rem;
}

.input-group {
    position: relative;
    margin-bottom: 2rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-normal);
}

.input-group textarea {
    resize: vertical;
}

.input-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--text-muted);
    transition: var(--transition-normal);
    pointer-events: none;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--glow-purple);
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.2);
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: -12px;
    left: 10px;
    font-size: 0.8rem;
    background: var(--bg-primary);
    padding: 0 5px;
    color: var(--glow-purple);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
    background: var(--bg-secondary);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo h2 {
    font-size: 2rem;
    margin-bottom: 0;
    background: linear-gradient(90deg, var(--text-main), #b07cf0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.footer-links a {
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--glow-purple);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.back-to-top {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
}

.back-to-top:hover {
    background: var(--glow-purple);
    border-color: var(--glow-purple);
}

/* ==========================================================================
   Creative Works Section
   ========================================================================== */
.creative-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

@media (max-width: 576px) {
    .creative-grid {
        grid-template-columns: 1fr;
    }
}

.creative-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition-normal);
}

.creative-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(138, 43, 226, 0.5);
}

.creative-img-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4/5;
    background: rgba(0, 0, 0, 0.2);
}

.creative-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.creative-card:hover .creative-img-wrap img {
    transform: scale(1.08);
}

.creative-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 20, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.creative-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.creative-content h3 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

/* All Posters Gallery Modal */
.gallery-modal-content {
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 3rem;
    position: relative;
    border: 1px solid rgba(138, 43, 226, 0.4);
    box-shadow: 0 0 60px rgba(138, 43, 226, 0.25);
    border-radius: 20px;
    background: rgba(15, 15, 28, 0.95);
    backdrop-filter: blur(16px);
}

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

.gallery-modal-content::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 4px;
}

/* Creative Fullscreen Lightbox */
.creative-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 10, 0.95);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.creative-lightbox {
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 1.5rem;
    border: 1px solid rgba(138, 43, 226, 0.4);
    box-shadow: 0 0 50px rgba(138, 43, 226, 0.3);
    border-radius: 16px;
    background: rgba(20, 20, 35, 0.95);
}

.creative-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    z-index: 10;
}

.creative-modal-close:hover {
    background: var(--glow-purple);
    color: white;
    transform: rotate(90deg);
}

/* Zoom Controls */
.zoom-controls {
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.zoom-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.zoom-btn:hover {
    background: var(--glow-purple);
    color: white;
    border-color: var(--glow-purple);
    transform: scale(1.08);
}

.lightbox-img-container {
    width: 100%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    border-radius: 10px;
    margin-bottom: 1.2rem;
    position: relative;
}

.lightbox-img-container img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.25s ease;
    transform-origin: center center;
    user-select: none;
}

.lightbox-info {
    text-align: center;
}

.lightbox-info h2 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .gallery-modal-content {
        padding: 1.5rem;
    }
    .zoom-controls {
        top: 0.5rem;
        left: 0.5rem;
    }
    .creative-modal-close {
        top: 0.5rem;
        right: 0.5rem;
    }
}
