/* === CSS Variables === */
:root[data-theme="dark"] {
    --bg-color: #05050a;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --accent-primary: #00d2ff;
    --accent-secondary: #3a7bd5;
    --card-bg: rgba(15, 23, 42, 0.6);
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(12px);
    --nav-bg: rgba(5, 5, 10, 0.85);
}

:root[data-theme="light"] {
    --bg-color: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent-primary: #0284c7;
    --accent-secondary: #2563eb;
    --card-bg: rgba(255, 255, 255, 0.7);
    --border-color: rgba(0, 0, 0, 0.1);
    --glass-blur: blur(12px);
    --nav-bg: rgba(248, 250, 252, 0.85);
}

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

html,
body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    transition: background-color 0.4s ease, color 0.4s ease;
    scroll-behavior: smooth;
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p,
li,
address {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: var(--accent-primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-secondary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* === Layout & Containers === */
main {
    position: relative;
    z-index: 10;
    padding-top: 80px;
    /* Offset for navbar */
    min-height: calc(100vh - 80px);
    /* Fill remaining height */
}

.page-section {
    min-height: 100vh;
    padding: 6rem 2rem;
    position: relative;
    z-index: 5;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 800;
}

/* === Reusable Components === */
.glass-panel {
    background: var(--card-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5);
    transform: translateY(-2px);
    color: white;
}

.btn-secondary {
    background: var(--card-bg);
    border: 1px solid var(--accent-primary);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--border-color);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.staggered-fade:nth-child(1) {
    animation-delay: 0.2s;
}

.staggered-fade:nth-child(2) {
    animation-delay: 0.4s;
}

.staggered-fade:nth-child(3) {
    animation-delay: 0.6s;
}

/* === Scroll Observer Fades === */
.scroll-element {
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(40px);
}

.scroll-element.in-view {
    opacity: 1;
    transform: translateY(0);
}

.scroll-element.scrolled-past {
    opacity: 0;
    transform: translateY(-40px);
}


/* === Navbar === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
    z-index: 100;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.logo-icon {
    color: var(--accent-primary);
}

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

.nav-links a {
    color: var(--text-secondary);
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

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

.nav-controls {
    display: flex;
    gap: 1rem;
}

.icon-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.icon-btn:hover {
    color: var(--accent-primary);
}

.icon-btn.active {
    color: var(--accent-primary);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* === 3D Canvas === */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Behind everything */
    pointer-events: none;
    /* Let clicks pass through */
}

/* === Home Section === */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 210, 255, 0.3);
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

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

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

/* Interactive Computer Styles */
.computer-wrapper {
    position: relative;
    width: 100%;
    max-width: 550px;
    perspective: 1000px;
}

.computer-monitor {
    position: relative;
    width: 100%;
    background: #111;
    border-radius: 12px 12px 0 0;
    padding: 15px 15px 30px 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 2px 5px rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
    transform: rotateX(2deg);
    border: 1px solid #333;
}

.monitor-logo {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    color: #444;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.monitor-screen {
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    height: 320px;
    display: flex;
    flex-direction: column;
    padding: 0;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.9);
}

.monitor-stand {
    width: 80px;
    height: 40px;
    background: linear-gradient(to right, #222, #333, #222);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.monitor-base {
    width: 180px;
    height: 15px;
    background: linear-gradient(to right, #1a1a1a, #2a2a2a, #1a1a1a);
    margin: 0 auto;
    border-radius: 10px 10px 0 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    background: #1a1b26;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #000;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}

.dot.red {
    background: #f7768e;
}

.dot.yellow {
    background: #e0af68;
}

.dot.green {
    background: #9ece6a;
}

.terminal-body {
    padding: 1rem;
    font-size: 0.85rem;
    font-family: 'JetBrains Mono', monospace;
    color: #a9b1d6;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.interactive-terminal {
    cursor: text;
}

.terminal-output {
    margin-bottom: 0.5rem;
}

.prompt {
    color: #7aa2f7;
    margin-right: 8px;
    font-weight: bold;
}

.system-msg {
    margin-top: 4px;
}

.terminal-input-line {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.terminal-input {
    background: transparent;
    border: none;
    color: #c0caf5;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    outline: none;
    flex: 1;
    caret-color: #7aa2f7;
}

.terminal-body::-webkit-scrollbar {
    width: 6px;
}

.terminal-body::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 3px;
}

/* === About Section === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

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

.coding-human-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 210, 255, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--accent-primary);
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.stat-icon {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.9rem;
    margin: 0;
}

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

.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.4), inset 0 0 10px rgba(0, 210, 255, 0.1);
    border-color: var(--accent-primary);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.project-icon {
    font-size: 2rem;
    color: var(--accent-primary);
}

.project-desc {
    flex-grow: 1;
}

.project-features {
    list-style: none;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.project-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-features i {
    color: #27c93f;
    font-size: 0.8rem;
}

.read-more-btn {
    width: 100%;
    margin-top: auto;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    backdrop-filter: blur(5px);
}

.modal-overlay.hidden {
    display: none;
}

.modal-content {
    background: var(--bg-color);
    /* solidify fully */
    width: 100%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    padding: 3rem;
}

.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

.close-btn:hover {
    color: #ff5f56;
}

/* Project Modal specifics */
.modal-chip-container {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.modal-chip {
    background: var(--border-color);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

.modal-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.modal-split h4 {
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.hidden {
    display: none !important;
}

/* === Blog Index Grid === */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    padding: 2rem;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.1);
    border-color: rgba(0, 210, 255, 0.3);
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
}

.blog-category {
    color: var(--accent-primary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.blog-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    flex-grow: 1;
}

.blog-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-article-btn {
    align-self: flex-start;
    color: var(--text-primary);
    background: none;
    border: none;
    font-weight: 600;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.blog-card:hover .read-article-btn {
    color: var(--accent-primary);
}

/* === Zen Reader Overlay === */
.zen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-color);
    z-index: 2000;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.zen-overlay:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

.close-reader-btn {
    position: fixed;
    top: 2rem;
    left: 2rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    z-index: 2010;
    font-weight: 600;
}

/* === Experience Section === */
.experience-timeline {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 2rem;
}

.exp-card {
    display: flex;
    gap: 2.5rem;
    padding: 2.5rem;
    border-radius: 20px;
    align-items: flex-start;
    transition: transform 0.3s, box-shadow 0.3s;
}

.exp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 210, 255, 0.12);
    border-color: rgba(0, 210, 255, 0.3);
}

/* 3D Logo Cube */
.exp-logo-wrap {
    perspective: 300px;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
}

.exp-logo-3d {
    width: 80px;
    height: 80px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 8s linear infinite;
}

@keyframes rotateCube {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }

    25% {
        transform: rotateX(0deg) rotateY(90deg);
    }

    50% {
        transform: rotateX(0deg) rotateY(180deg);
    }

    75% {
        transform: rotateX(0deg) rotateY(270deg);
    }

    100% {
        transform: rotateX(0deg) rotateY(360deg);
    }
}

.exp-logo-face {
    position: absolute;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: 8px;
}

.exp-logo-3d .front {
    background: rgba(0, 210, 255, 0.12);
    color: var(--accent-primary);
    transform: translateZ(40px);
}

.exp-logo-3d .back {
    background: rgba(0, 210, 255, 0.08);
    color: var(--accent-secondary);
    transform: rotateY(180deg) translateZ(40px);
}

.exp-logo-3d .left {
    background: rgba(0, 210, 255, 0.06);
    transform: rotateY(-90deg) translateZ(40px);
}

.exp-logo-3d .right {
    background: rgba(0, 210, 255, 0.06);
    transform: rotateY(90deg) translateZ(40px);
}

.exp-logo-3d .top {
    background: rgba(0, 210, 255, 0.04);
    transform: rotateX(90deg) translateZ(40px);
}

.exp-logo-3d .bottom {
    background: rgba(0, 210, 255, 0.04);
    transform: rotateX(-90deg) translateZ(40px);
}

.exp-logo-prev .front {
    color: #bb86fc;
    border-color: rgba(187, 134, 252, 0.3);
    background: rgba(187, 134, 252, 0.1);
}

.exp-logo-prev .back {
    color: #bb86fc;
    border-color: rgba(187, 134, 252, 0.3);
    background: rgba(187, 134, 252, 0.07);
}

.exp-logo-prev .left,
.exp-logo-prev .right,
.exp-logo-prev .top,
.exp-logo-prev .bottom {
    border-color: rgba(187, 134, 252, 0.2);
}

.exp-details {
    flex: 1;
}

.exp-company-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.25rem;
    flex-wrap: wrap;
}

.exp-company {
    font-size: 1.5rem;
    margin: 0;
}

.exp-badge {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #0d1117;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.exp-badge-prev {
    background: rgba(187, 134, 252, 0.2);
    color: #bb86fc;
}

.exp-role {
    color: var(--accent-primary);
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.exp-duration {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.exp-description {
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.exp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.exp-achievements {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.exp-achievements li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.exp-achievements li i {
    color: var(--accent-primary);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* Nested role blocks within a company card */
.exp-role-block {
    margin-top: 1.25rem;
}

.exp-role-block:first-of-type {
    margin-top: 1rem;
}

.exp-role-divider {
    border: none;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    margin: 1.75rem 0;
}

@media (max-width: 768px) {
    .exp-card {
        flex-direction: column;
        gap: 1.5rem;
    }
}

.close-reader-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

.zen-content {
    width: 100%;
    max-width: 900px;
    margin: 6rem auto;
    padding: 4rem;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.6);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Zen Reader Typography overrides */
.zen-content .markdown-body {
    font-size: 1.15rem;
    line-height: 1.8;
}

.zen-content .markdown-body h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #fff 0%, #a9b1d6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.zen-content .markdown-body h2 {
    font-size: 2rem;
    margin-top: 3rem;
}

.zen-content .markdown-body pre {
    margin: 2rem 0;
    font-size: 0.95rem;
}

/* === Contact Section === */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-links {
    list-style: none;
    margin-top: 2rem;
}

.contact-links li {
    margin-bottom: 1rem;
}

.contact-links a {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-primary);
}

.contact-links a:hover {
    color: var(--accent-primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
}

/* === Footer === */
footer {
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--border-color);
    background: var(--nav-bg);
}

/* === Utility & Responsive === */
.w-100 {
    width: 100%;
}

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

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .navbar {
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--nav-bg);
        flex-direction: column;
        padding: 2rem;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.show {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .blog-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        width: 100%;
    }
}