/* ==========================================================================
   DESIGN SYSTEM - GLASSMORPHIC PORTFOLIO
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    --bg-dark: #070714;
    --bg-dark-secondary: #0c0b24;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    
    /* Accents (HSL for fine-tuned opacity controls) */
    --accent-purple: 168, 85, 247;    /* #a855f7 */
    --accent-teal: 6, 182, 212;      /* #06b6d4 */
    --accent-blue: 59, 130, 246;     /* #3b82f6 */
    --accent-pink: 236, 72, 153;     /* #ec4899 */
    
    /* Glassmorphism Defaults */
    --glass-bg: rgba(10, 10, 25, 0.5);
    --glass-bg-hover: rgba(15, 15, 35, 0.65);
    --glass-bg-inner: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.18);
    --glass-shadow: rgba(0, 0, 0, 0.4);
    --backdrop-blur: blur(14px);
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Global Reset & Base Setup --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

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

ul {
    list-style: none;
}

button, input, textarea {
    font-family: inherit;
    color: inherit;
}

/* ==========================================================================
   AMBIENT LAYER & BACKGROUND BLOBS
   ========================================================================== */
.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, var(--bg-dark-secondary) 0%, var(--bg-dark) 100%);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    mix-blend-mode: screen;
}

.blob-purple {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--accent-purple), 0.35) 0%, rgba(0, 0, 0, 0) 70%);
    top: -200px;
    left: -100px;
    animation: float-1 25s infinite alternate ease-in-out;
}

.blob-teal {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(var(--accent-teal), 0.25) 0%, rgba(0, 0, 0, 0) 70%);
    bottom: -150px;
    right: -100px;
    animation: float-2 20s infinite alternate ease-in-out;
}

.blob-blue {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(var(--accent-blue), 0.25) 0%, rgba(0, 0, 0, 0) 70%);
    top: 40%;
    left: 60%;
    animation: float-3 22s infinite alternate ease-in-out;
}

.blob-pink {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--accent-pink), 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    bottom: 40%;
    left: 10%;
    animation: float-4 18s infinite alternate ease-in-out;
}

/* Background blob animations */
@keyframes float-1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(120px, 80px) scale(1.1); }
}
@keyframes float-2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-100px, -120px) scale(0.9); }
}
@keyframes float-3 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-80px, 90px) scale(1.15); }
}
@keyframes float-4 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(90px, -60px) scale(0.95); }
}

/* Custom Interactive Cursor Glow Source */
.cursor-glow {
    position: fixed;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-teal), 0.15) 0%, rgba(var(--accent-purple), 0.05) 50%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    mix-blend-mode: screen;
}

/* ==========================================================================
   GLASSMORPHISM BASE CLASS
   ========================================================================== */
.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 10px 40px 0 var(--glass-shadow);
    transition: border var(--transition-fast), background var(--transition-fast), transform var(--transition-smooth);
}

.glass-inner {
    background: var(--glass-bg-inner);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
}

/* ==========================================================================
   SHARED UI ELEMENTS / UTILITIES
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

.section {
    padding: 100px 0 60px 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgb(var(--accent-teal));
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, rgb(var(--accent-purple)), rgb(var(--accent-teal)));
    margin: 0 auto;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
    border-radius: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, rgb(var(--accent-purple)) 0%, rgb(var(--accent-blue)) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(var(--accent-purple), 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 28px rgba(var(--accent-purple), 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-block {
    display: flex;
    justify-content: center;
    width: 100%;
}

.glass-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 20px rgba(var(--accent-teal), 0.35);
}

.CTA-pulse {
    position: relative;
}

.CTA-pulse::after {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: inherit;
    border: 2px solid rgb(var(--accent-teal));
    opacity: 0;
    animation: cta-pulse-effect 2.5s infinite;
}

@keyframes cta-pulse-effect {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.15); opacity: 0; }
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.glass-badge {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgb(var(--accent-teal));
}

/* Typography Helpers */
.gradient-text {
    background: linear-gradient(135deg, #c084fc 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-teal { color: rgb(var(--accent-teal)); }
.text-purple { color: rgb(var(--accent-purple)); }
.text-blue { color: rgb(var(--accent-blue)); }

/* ==========================================================================
   FLOATING NAVBAR / HEADER
   ========================================================================== */
.header {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 100;
}

.header-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 16px;
    margin-left: 20px;
    margin-right: 20px;
}

@media(min-width: 1140px) {
    .header-container {
        margin: 0 auto;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-light);
}

.logo-icon {
    filter: drop-shadow(0 0 8px rgba(var(--accent-purple), 0.4));
    transition: transform var(--transition-smooth);
}

.logo:hover .logo-icon {
    transform: rotate(180deg) scale(1.05);
}

.logo-text {
    color: var(--text-light);
}

.logo-subtext {
    background: linear-gradient(135deg, #c084fc 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.navbar {
    display: flex;
    gap: 8px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.06);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: center;
    min-height: calc(85vh - 60px);
}

.hero-info {
    padding: 48px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-light);
    min-height: 40px;
}

.typing-text::after {
    content: '|';
    animation: blink 0.7s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-socials {
    margin-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 20px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
}

.socials-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition-smooth);
}

.social-icon:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(var(--accent-purple), 0.3);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-card {
    padding: 24px;
    width: 100%;
    max-width: 380px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.avatar-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--accent-purple), 0.15) 0%, rgba(0,0,0,0) 60%);
    pointer-events: none;
    z-index: 0;
}

.avatar-frame {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.avatar-info {
    position: relative;
    z-index: 1;
}

.avatar-info h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.avatar-info p {
    color: rgb(var(--accent-teal));
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.location i {
    width: 14px;
    height: 14px;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-heading {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1rem;
}

.fact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.fact-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    transition: border-color var(--transition-fast);
}

.fact-item:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.fact-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.fact-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgb(var(--accent-teal));
}

.detail-title i {
    width: 18px;
    height: 18px;
}

.detail-list li {
    display: grid;
    grid-template-columns: 80px 1fr;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.detail-list li:last-child {
    margin-bottom: 0;
}

.detail-list strong {
    color: var(--text-light);
    font-weight: 600;
}

.detail-list li > span, .detail-list li > a {
    color: var(--text-muted);
}

.detail-list a:hover {
    color: var(--text-light);
    text-decoration: underline;
}

.philosophy-text {
    font-style: italic;
    color: var(--text-muted);
    position: relative;
    padding-left: 20px;
    border-left: 3px solid rgb(var(--accent-purple));
    font-size: 0.95rem;
}

/* ==========================================================================
   SKILLS SECTION
   ========================================================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.skill-category {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.skill-category:hover {
    border-color: var(--glass-border-hover);
    background: var(--glass-bg-hover);
    transform: translateY(-5px);
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
}

.icon-box i {
    width: 20px;
    height: 20px;
}

.purple-glow {
    border-color: rgba(var(--accent-purple), 0.3);
    color: rgb(var(--accent-purple));
    box-shadow: inset 0 0 10px rgba(var(--accent-purple), 0.2);
}

.teal-glow {
    border-color: rgba(var(--accent-teal), 0.3);
    color: rgb(var(--accent-teal));
    box-shadow: inset 0 0 10px rgba(var(--accent-teal), 0.2);
}

.blue-glow {
    border-color: rgba(var(--accent-blue), 0.3);
    color: rgb(var(--accent-blue));
    box-shadow: inset 0 0 10px rgba(var(--accent-blue), 0.2);
}

.pink-glow {
    border-color: rgba(var(--accent-pink), 0.3);
    color: rgb(var(--accent-pink));
    box-shadow: inset 0 0 10px rgba(var(--accent-pink), 0.2);
}

.skill-category h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

.skill-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.skill-tag {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.skill-tag:hover {
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   EXPERIENCE SECTION (TIMELINE)
   ========================================================================== */
.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 32px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, 
        rgb(var(--accent-teal)) 0%, 
        rgb(var(--accent-purple)) 50%, 
        rgba(255,255,255,0.05) 100%);
}

.timeline-item {
    padding: 28px;
    margin-bottom: 30px;
    position: relative;
}

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

.timeline-item:hover {
    border-color: rgba(255,255,255,0.15);
    background: var(--glass-bg-hover);
}

.timeline-dot {
    position: absolute;
    left: -32px;
    top: 36px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 3px solid rgb(var(--accent-teal));
    transform: translateX(-50%);
    transition: all var(--transition-fast);
    z-index: 2;
}

.timeline-item:hover .timeline-dot {
    background: rgb(var(--accent-purple));
    border-color: var(--text-light);
    box-shadow: 0 0 12px rgba(var(--accent-purple), 0.8);
}

.timeline-date {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255,255,255,0.05);
    margin-bottom: 12px;
    color: rgb(var(--accent-teal));
}

.timeline-role {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.timeline-company {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 14px;
}

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

/* ==========================================================================
   PORTFOLIO SECTION
   ========================================================================== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    color: var(--text-light);
    border-color: rgba(var(--accent-purple), 0.4);
    background: rgba(var(--accent-purple), 0.1);
    box-shadow: inset 0 0 10px rgba(var(--accent-purple), 0.1);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

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

.project-card:hover {
    border-color: rgba(255,255,255,0.18);
    transform: translateY(-8px);
}

.project-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.project-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 10, 25, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.project-image-wrapper:hover .project-overlay {
    opacity: 1;
}

.project-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--text-light);
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-smooth);
}

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

.project-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 12px;
}

.project-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgb(var(--accent-teal));
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
}

.project-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 10px;
}

.project-tech span {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-info-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
}

.contact-intro-text {
    color: var(--text-muted);
}

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

.contact-method-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
}

.contact-method-icon i {
    width: 20px;
    height: 20px;
}

.contact-method-details {
    display: flex;
    flex-direction: column;
}

.contact-method-details span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-method-details a {
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 2px;
    transition: color var(--transition-fast);
}

.contact-method-details a:hover {
    color: rgb(var(--accent-teal));
}

.contact-social-links {
    margin-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-social-links span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Form Container Card */
.contact-form-card {
    padding: 40px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    pointer-events: none;
    transition: color var(--transition-fast);
}

.textarea-icon {
    top: 20px;
    transform: none;
}

.glass-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 14px 20px 14px 48px;
    font-size: 0.95rem;
    transition: all var(--transition-smooth);
}

textarea.glass-input {
    padding-top: 16px;
    resize: none;
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.glass-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgb(var(--accent-purple));
    box-shadow: 0 0 15px rgba(var(--accent-purple), 0.2);
}

.glass-input:focus + .input-icon {
    color: rgb(var(--accent-purple));
}

.form-status {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    min-height: 24px;
}

.form-status.success {
    color: #4ade80;
}

.form-status.error {
    color: #f87171;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(5, 5, 12, 0.6);
    backdrop-filter: var(--backdrop-blur);
    padding: 30px 0;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.footer-links a {
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-light);
}

.bullet {
    color: rgba(255,255,255,0.15);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 992px) {
    .grid-2, .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-info {
        padding: 32px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-visual {
        order: -1; /* Place image on top on mobile */
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0 40px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .mobile-nav-toggle {
        display: block;
        color: var(--text-light);
        z-index: 101;
    }
    
    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 25, 0.95);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        transition: right var(--transition-smooth);
        z-index: 100;
    }
    
    .navbar.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        width: 80%;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .fact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info-card, .contact-form-card {
        padding: 24px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Scroll reveal triggers */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
