/* ========================================
   CSS Variables & Root Styles
   ======================================== */

:root {
    /* Colors - Darker, Flatter, Code Editor Theme */
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-surface: #1c2128;
    --accent-primary: #58a6ff;
    --accent-secondary: #79c0ff;
    --accent-tertiary: #56d364;
    --text-primary: #c9d1d9;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    --border-color: #30363d;
    
    /* Typography */
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    
    /* Spacing */
    --section-padding: clamp(4rem, 8vw, 8rem);
    --container-padding: clamp(1.5rem, 5vw, 3rem);
    
    /* Effects - Minimal, Flat */
    --glow-color: rgba(88, 166, 255, 0.15);
    --transition: all 0.2s ease;
    
    /* Terminal/Code Theme */
    --code-comment: #8b949e;
    --code-function: #d2a8ff;
    --code-string: #a5d6ff;
}

/* ========================================
   Reset & Base Styles
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 700;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-secondary);
}

/* ========================================
   Dynamic Navigation
   ======================================== */

.dynamic-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(48, 54, 61, 0.5);
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.2s ease;
}

.dynamic-nav.visible {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    position: relative;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-primary);
    transition: width 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-primary);
}

.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--accent-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   Layout
   ======================================== */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* ========================================
   Hero Section
   ======================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 60%);
    opacity: 0.5;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.domain-name {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 700;
    color: var(--accent-primary);
    display: inline-block;
    letter-spacing: -0.02em;
    font-family: var(--font-mono);
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.highlight {
    color: var(--accent-primary);
    font-weight: 600;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    animation: floatUpDown 3s ease-in-out infinite;
    z-index: 10;
}

@keyframes floatUpDown {
    0%, 100% { 
        transform: translateY(0);
    }
    50% { 
        transform: translateY(-10px);
    }
}

/* Mouse/Wheel Indicator */
.scroll-mouse {
    width: 28px;
    height: 45px;
    border: 2px solid var(--accent-primary);
    border-radius: 20px;
    position: relative;
    background: rgba(88, 166, 255, 0.05);
    box-shadow: 0 0 20px rgba(88, 166, 255, 0.2);
}

.scroll-wheel {
    width: 4px;
    height: 10px;
    background: var(--accent-primary);
    border-radius: 4px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelScroll 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(88, 166, 255, 0.6);
}

@keyframes wheelScroll {
    0% {
        top: 8px;
        opacity: 1;
    }
    50% {
        top: 20px;
        opacity: 0.5;
    }
    100% {
        top: 8px;
        opacity: 1;
    }
}

/* Text */
.scroll-text {
    color: var(--text-secondary);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    animation: textPulse 3s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Arrows */
.scroll-arrows svg {
    animation: arrowBounce 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(88, 166, 255, 0.4));
    color: var(--accent-primary);
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    50% {
        transform: translateY(8px);
        opacity: 1;
    }
}

/* Hover Effects */
.scroll-indicator:hover .scroll-mouse {
    border-color: var(--accent-secondary);
    box-shadow: 0 0 30px rgba(88, 166, 255, 0.4);
}

.scroll-indicator:hover .scroll-wheel {
    background: var(--accent-secondary);
    animation-play-state: paused;
    top: 20px;
}

.scroll-indicator:hover .scroll-text {
    color: var(--accent-primary);
    opacity: 1;
}

.scroll-indicator:hover .scroll-arrows svg {
    transform: translateY(8px);
    opacity: 1;
    animation-play-state: paused;
    color: var(--accent-secondary);
}

/* Animated line below */
.scroll-indicator::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
    animation: lineExtend 3s ease-in-out infinite;
}

@keyframes lineExtend {
    0%, 100% {
        height: 0;
        opacity: 0;
    }
    50% {
        height: 30px;
        opacity: 0.5;
    }
}

/* ========================================
   Section Headers
   ======================================== */

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   Achievements Section
   ======================================== */

.achievements-section {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    padding-bottom: calc(var(--section-padding) * 1.5);
}

.achievements-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top center, rgba(88, 166, 255, 0.08) 0%, rgba(88, 166, 255, 0.03) 50%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.achievement-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.achievement-card:hover {
    border-color: var(--accent-primary);
    background: var(--bg-secondary);
}

.achievement-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: transparent;
    border: 2px solid var(--accent-primary);
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.achievement-icon svg {
    color: var(--accent-primary);
}

.achievement-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--accent-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.achievement-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-secondary);
    display: inline-block;
    margin-left: 0.25rem;
    position: relative;
    z-index: 1;
}

.achievement-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
}

/* ========================================
   Services Section
   ======================================== */

.services-section {
    background-color: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--accent-primary);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    border-color: var(--accent-primary);
    background: var(--bg-secondary);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: transparent;
    border: 2px solid var(--accent-primary);
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.service-icon svg {
    color: var(--accent-primary);
    transition: var(--transition);
}

.service-card:hover .service-icon svg {
    color: var(--bg-primary);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   Projects Section
   ======================================== */

.projects-grid {
    margin-top: 3rem;
    overflow-x: auto;
}

.projects-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(13, 17, 23, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    overflow: hidden;
}

.projects-table thead {
    background: rgba(13, 17, 23, 0.9);
    border-bottom: 2px solid var(--border-color);
}

.projects-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.th-name {
    width: 20%;
    min-width: 180px;
}

.th-description {
    width: 50%;
    min-width: 300px;
}

.th-status {
    width: 15%;
    min-width: 120px;
}

.th-link {
    width: 80px;
    text-align: center;
}

.project-row {
    transition: var(--transition);
    border-left: 3px solid transparent;
    background: rgba(13, 17, 23, 0.3);
}

.project-row:hover {
    background: rgba(13, 17, 23, 0.6);
    border-left-color: var(--accent-primary);
}

.projects-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.projects-table tbody tr:last-child td {
    border-bottom: none;
}

.project-name-text {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
}

.project-description-cell {
    color: var(--text-secondary);
    line-height: 1.6;
}

.project-status {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-active,
.status-live {
    background: rgba(86, 211, 100, 0.1);
    color: var(--accent-tertiary);
    border: 1px solid var(--accent-tertiary);
}

.status-testing {
    background: rgba(240, 136, 62, 0.1);
    color: #f0883e;
    border: 1px solid #f0883e;
}

.status-staging,
.status-development {
    background: rgba(88, 166, 255, 0.1);
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
}

.status-maintenance,
.status-offline {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid #ef4444;
}

.project-link-cell {
    text-align: center;
}

.project-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--accent-primary);
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    transition: var(--transition);
}

.project-link:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--bg-primary);
}

.project-link svg {
    width: 18px;
    height: 18px;
}

/* ========================================
   Contact Section
   ======================================== */

.contact-section {
    background-color: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-form-wrapper,
.contact-info-wrapper {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

input[name="_honey"] {
    display: none !important;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--accent-primary);
    color: var(--bg-primary);
    border: 2px solid var(--accent-primary);
    border-radius: 0.25rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    font-family: var(--font-mono);
}

.submit-btn:hover {
    background: transparent;
    color: var(--accent-primary);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    display: none;
    text-align: center;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.contact-info {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid var(--accent-primary);
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    color: var(--accent-primary);
}

.info-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.info-item p,
.info-item a {
    color: var(--text-secondary);
    line-height: 1.6;
}

.info-item a:hover {
    color: var(--accent-primary);
}

.map-container {
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-container iframe {
    display: block;
    width: 100%;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    padding: 2rem 0;
    text-align: center;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ========================================
   Section Indicator
   ======================================== */

.section-indicator {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.section-indicator.visible {
    opacity: 1;
    visibility: visible;
}

.indicator-dot {
    position: relative;
    width: 12px;
    height: 12px;
    border: 2px solid var(--text-muted);
    border-radius: 50%;
    background: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
}

.indicator-dot::before {
    content: attr(data-label);
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.5rem 1rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
}

.indicator-dot:hover::before {
    opacity: 1;
    visibility: visible;
    right: 30px;
}

.indicator-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.indicator-dot:hover {
    border-color: var(--accent-primary);
    background: rgba(88, 166, 255, 0.1);
}

.indicator-dot.active {
    border-color: var(--accent-primary);
    background: var(--accent-primary);
    box-shadow: 0 0 15px rgba(88, 166, 255, 0.5);
    animation: dotPulse 2s ease-in-out infinite;
}

.indicator-dot.active::after {
    transform: translate(-50%, -50%) scale(1);
    background: var(--bg-primary);
}

.indicator-dot.active::before {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 12px rgba(88, 166, 255, 0.2);
}

@keyframes dotPulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(88, 166, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 25px rgba(88, 166, 255, 0.8);
    }
}

/* ========================================
   Back to Top Button
   ======================================== */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--bg-surface);
    color: var(--accent-primary);
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    :root {
        --section-padding: clamp(3rem, 6vw, 6rem);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(13, 17, 23, 0.95);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(48, 54, 61, 0.5);
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        opacity: 0;
        visibility: hidden;
    }
    
    .nav-links.active {
        max-height: 400px;
        padding: 1rem 0;
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 1rem 2rem;
        width: 100%;
        text-align: left;
        border-left: 3px solid transparent;
        transition: all 0.2s ease;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link.active {
        border-left-color: var(--accent-primary);
        background: rgba(88, 166, 255, 0.1);
    }
    
    .nav-link:hover {
        background: rgba(88, 166, 255, 0.05);
        border-left-color: var(--accent-primary);
    }
}

@media (max-width: 640px) {
    :root {
        --section-padding: 3rem;
        --container-padding: 1.25rem;
    }
    
    .services-grid,
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .scroll-indicator {
        bottom: 2rem;
    }
    
    /* Hide section indicator on mobile */
    .section-indicator {
        display: none;
    }
    
    /* Mobile table styles - Compact Card Layout */
    .projects-grid {
        overflow-x: visible;
    }
    
    .projects-table {
        border: none;
        background: transparent;
        border-radius: 0;
    }
    
    .projects-table thead {
        display: none;
    }
    
    .projects-table tbody {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .project-row {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 0.75rem;
        background: rgba(13, 17, 23, 0.8);
        border: 1px solid var(--border-color);
        border-radius: 0.375rem;
        padding: 1rem;
        margin-bottom: 0;
        border-left: 3px solid var(--accent-primary);
        transition: var(--transition);
    }
    
    .project-row:hover {
        border-left-width: 4px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
        background: rgba(13, 17, 23, 0.95);
    }
    
    .projects-table td {
        padding: 0;
        border-bottom: none;
        margin-bottom: 0;
    }
    
    /* Remove labels to save space */
    .projects-table td::before {
        display: none;
    }
    
    .project-name {
        grid-column: 1 / -1;
    }
    
    .project-name-text {
        font-size: 1rem;
        font-weight: 700;
        color: var(--text-primary);
    }
    
    .project-description-cell {
        grid-column: 1 / -1;
        font-size: 0.8rem;
        line-height: 1.5;
        color: var(--text-secondary);
    }
    
    /* Two column layout for status and link */
    .project-status-cell {
        grid-column: 1;
        display: flex;
        align-items: center;
    }
    
    .project-link-cell {
        grid-column: 2;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
    
    .project-status {
        display: inline-block;
        padding: 0.3rem 0.65rem;
        font-size: 0.7rem;
    }
    
    .project-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        height: auto;
        width: fit-content;
        background: rgba(88, 166, 255, 0.15);
        border: 1px solid var(--accent-primary);
        color: var(--accent-primary);
        font-weight: 600;
        font-size: 0.75rem;
        border-radius: 0.25rem;
    }
    
    .project-link::after {
        content: 'Visit';
    }
    
    .project-link svg {
        width: 14px;
        height: 14px;
    }
    
    .project-link:hover {
        background: var(--accent-primary);
        color: var(--bg-primary);
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(88, 166, 255, 0.3);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 1.5rem;
    }
}
    
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 450px) {
    .contact-content {
        grid-template-columns: 1fr;
        min-width: 100%;
    }
    
    .contact-form-wrapper,
    .contact-info-wrapper {
        min-width: 100%;
    }
}
