/* ==========================================================================
   DESIGN SYSTEM & CSS VARIABLES
   ========================================================================== */
:root {
    /* Color Palette - Light Theme (Rich & Vibrant) */
    --bg-main: #f8fafc;
    --bg-alt: #f1f5f9;
    --bg-card: rgba(255, 255, 255, 0.85);
    --border-card: rgba(226, 232, 240, 0.8);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    /* Brand Accent Colors */
    --color-blue: #2563eb;
    --color-blue-light: #eff6ff;
    --color-cyan: #06b6d4;
    --color-cyan-light: #ecfeff;
    --color-purple: #7c3aed;
    --color-purple-light: #f5f3ff;
    --color-green: #10b981;
    --color-green-light: #ecfdf5;
    --color-orange: #f59e0b;
    --color-orange-light: #fffbeb;
    --color-pink: #ec4899;
    --color-pink-light: #fdf2f8;
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --grad-cyan-blue: linear-gradient(135deg, #06b6d4 0%, #2563eb 100%);
    --grad-orange-pink: linear-gradient(135deg, #f59e0b 0%, #ec4899 100%);
    --grad-green-teal: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);

    /* Shadows & Glassmorphism */
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 20px 40px rgba(37, 99, 235, 0.12);
    --backdrop-blur: blur(16px);
    
    /* Layout */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme Overrides */
body.dark-theme {
    --bg-main: #0b0f19;
    --bg-alt: #111827;
    --bg-card: rgba(17, 24, 39, 0.75);
    --border-card: rgba(255, 255, 255, 0.1);
    
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    --color-blue-light: rgba(37, 99, 235, 0.15);
    --color-cyan-light: rgba(6, 182, 212, 0.15);
    --color-purple-light: rgba(124, 58, 237, 0.15);
    --color-green-light: rgba(16, 185, 129, 0.15);
    --color-orange-light: rgba(245, 158, 11, 0.15);
    --color-pink-light: rgba(236, 72, 153, 0.15);
    
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 20px 40px rgba(37, 99, 235, 0.25);
}

/* ==========================================================================
   GLOBAL RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.4s ease, color 0.4s ease;
}

ul {
    list-style: none;
}

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

/* Decorative Background Blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
    animation: float 20s infinite alternate ease-in-out;
}

.blob-1 {
    top: -100px;
    right: -50px;
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(6, 182, 212, 0.3));
}

.blob-2 {
    top: 35%;
    left: -100px;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(236, 72, 153, 0.25));
}

.blob-3 {
    bottom: 10%;
    right: -100px;
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(6, 182, 212, 0.25));
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 40px) scale(1.08); }
    100% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Containers & Sections */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.bg-light-alt {
    background-color: var(--bg-alt);
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.glass-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.3);
}

/* Typography Helpers */
.gradient-text {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* Badges & Buttons */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-status {
    background-color: var(--color-blue-light);
    color: var(--color-blue);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.badge-cyan {
    background-color: var(--color-cyan-light);
    color: var(--color-cyan);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.badge-purple {
    background-color: var(--color-purple-light);
    color: var(--color-purple);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-blue);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--grad-primary);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-card);
}

.btn-outline:hover {
    background: var(--bg-card);
    border-color: var(--color-blue);
    color: var(--color-blue);
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--bg-card);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid var(--border-card);
    padding: 0.875rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.25rem;
}

.logo-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--grad-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

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

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

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-blue);
}

.btn-nav {
    background: var(--color-blue-light);
    color: var(--color-blue) !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
}

.btn-nav:hover {
    background: var(--color-blue);
    color: #fff !important;
}

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

.theme-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.theme-btn:hover {
    color: var(--color-blue);
    transform: rotate(15deg);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding-top: 10rem;
    padding-bottom: 6rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 1.5rem 0;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.tag {
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.tag-blue { background: var(--color-blue-light); color: var(--color-blue); }
.tag-orange { background: var(--color-orange-light); color: var(--color-orange); }
.tag-purple { background: var(--color-purple-light); color: var(--color-purple); }
.tag-cyan { background: var(--color-cyan-light); color: var(--color-cyan); }

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Terminal / SysAdmin Card */
.sysadmin-card {
    padding: 0;
    overflow: hidden;
    background: #0f172a;
    border: 1px solid #1e293b;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.4);
}

.card-header {
    background: #1e293b;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: #10b981; }

.terminal-title {
    color: #94a3b8;
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
}

.terminal-body {
    padding: 1.5rem;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    color: #e2e8f0;
}

.cmd { color: #38bdf8; margin-bottom: 0.5rem; }
.cmd .prompt { color: #f43f5e; margin-right: 0.5rem; }

.output {
    margin-left: 1rem;
    margin-bottom: 1.25rem;
    color: #cbd5e1;
}

.output p { margin-bottom: 0.3rem; }
.output .key { color: #a855f7; font-weight: 600; }

.status-ok p { color: #4ade80; }

/* ==========================================================================
   PROFIL SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.about-highlights {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.highlight-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.icon-blue { background: var(--color-blue-light); color: var(--color-blue); }
.icon-purple { background: var(--color-purple-light); color: var(--color-purple); }
.icon-green { background: var(--color-green-light); color: var(--color-green); }
.icon-orange { background: var(--color-orange-light); color: var(--color-orange); }

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

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

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.card-blue .stat-icon { color: var(--color-blue); }
.card-cyan .stat-icon { color: var(--color-cyan); }
.card-purple .stat-icon { color: var(--color-purple); }
.card-green .stat-icon { color: var(--color-green); }

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* ==========================================================================
   COMPÉTENCES SECTION
   ========================================================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.skill-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-card);
}

.skill-card-header i {
    font-size: 1.75rem;
}

.skill-card-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.color-blue i { color: var(--color-blue); }
.color-cyan i { color: var(--color-cyan); }
.color-purple i { color: var(--color-purple); }
.color-green i { color: var(--color-green); }
.color-orange i { color: var(--color-orange); }
.color-pink i { color: var(--color-pink); }

.skill-list li {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.6rem 0;
    color: var(--text-secondary);
    font-weight: 500;
}

.skill-list li i {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
    color: var(--color-blue);
}

/* ==========================================================================
   TIMELINE EXPERIENCES
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 950px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 28px;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, var(--color-blue), var(--color-purple));
    border-radius: 2px;
}

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

.timeline-dot {
    position: absolute;
    left: 8px;
    top: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 0 0 6px var(--bg-main);
    z-index: 2;
}

.dot-blue { background: var(--grad-primary); }
.dot-cyan { background: var(--grad-cyan-blue); }
.dot-purple { background: var(--grad-orange-pink); }

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.company-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.role-title {
    font-size: 1.35rem;
    font-weight: 800;
}

.timeline-date {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-alt);
    padding: 0.35rem 0.875rem;
    border-radius: var(--radius-full);
}

.location {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.task-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    color: var(--text-secondary);
}

.task-list li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--color-green);
    font-size: 0.875rem;
}

/* ==========================================================================
   PROJETS (PORTFOLIO GRID LAYOUT)
   ========================================================================== */
.projects-container {
    max-width: 1050px;
    margin: 0 auto;
}

.project-box-item {
    padding: 2.5rem;
    margin-bottom: 2.5rem !important;
}

.project-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-card);
}

.project-item-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    flex-grow: 1;
}

.project-item-body-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
}

.project-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.mini-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.spec-bullet-list {
    margin-left: 0.5rem;
}

.spec-bullet-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.spec-bullet-list li::before {
    content: "⚡";
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.9rem;
}

.project-item-diagram {
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px dashed var(--border-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.diagram-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mini-diagram {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    width: 100%;
}

.node {
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-sm);
    text-align: center;
    width: 100%;
    max-width: 220px;
    background: var(--bg-card);
}

.node-purple { border-left: 4px solid var(--color-purple); color: var(--color-purple); }
.node-blue { border-left: 4px solid var(--color-blue); color: var(--color-blue); }
.node-cyan { border-left: 4px solid var(--color-cyan); color: var(--color-cyan); }
.node-green { border-left: 4px solid var(--color-green); color: var(--color-green); }
.node-orange { border-left: 4px solid var(--color-orange); color: var(--color-orange); }

.node-link {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 0.15rem 0.75rem;
    background: var(--bg-main);
    border-radius: var(--radius-full);
    border: 1px dashed var(--border-card);
}

.node-row {
    display: flex;
    gap: 0.75rem;
    width: 100%;
    justify-content: center;
}

.node-row .node {
    max-width: 110px;
    padding: 0.5rem 0.5rem;
    font-size: 0.75rem;
}

.diagram-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.diagram-tech-tags span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    background: var(--bg-card);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-card);
}

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1.5rem; }

/* ==========================================================================
   EDUCATION SECTION
   ========================================================================== */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.edu-card {
    position: relative;
    display: flex;
    flex-direction: column;
}

.highlight-border {
    border: 2px solid var(--color-blue);
}

.edu-badge {
    align-self: flex-start;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.badge-blue { background: var(--color-blue-light); color: var(--color-blue); }
.badge-cyan { background: var(--color-cyan-light); color: var(--color-cyan); }
.badge-green { background: var(--color-green-light); color: var(--color-green); }
.badge-orange { background: var(--color-orange-light); color: var(--color-orange); }

.edu-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.school {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.edu-status {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.contact-info-cards {
    display: grid;
    gap: 1.25rem;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.contact-card h4 {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.contact-card p {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.contact-form .form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-card);
    background: var(--bg-main);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.form-status-msg {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    display: none;
    font-weight: 600;
    text-align: center;
}

.form-status-msg.success {
    display: block;
    background: var(--color-green-light);
    color: var(--color-green);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    padding: 2.5rem 0;
    background: var(--bg-main);
    border-top: 1px solid var(--border-card);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container, .about-grid, .project-item-body-grid, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-title { font-size: 2.5rem; }
    
    .timeline::before { left: 20px; }
    .timeline-item { padding-left: 60px; }
    .timeline-dot { left: 0; width: 40px; height: 40px; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-card);
        backdrop-filter: var(--backdrop-blur);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
    }
    
    .nav-links.active { left: 0; }
    
    .specs-grid, .about-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        flex-direction: column;
        justify-content: center;
    }
}
