/* ==========================================================================
   HIMANSHU SAINI PORTFOLIO - MODERN GLASSMORPHISM DESIGN SYSTEM
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Color Tokens
   -------------------------------------------------------------------------- */
:root {
    --bg-primary: #07090e;
    --bg-secondary: #0d111a;
    --bg-card: rgba(18, 24, 38, 0.65);
    --bg-card-hover: rgba(28, 38, 58, 0.85);
    --border-card: rgba(255, 255, 255, 0.08);
    --border-card-hover: rgba(0, 242, 254, 0.35);

    --accent-cyan: #00f2fe;
    --accent-blue: #4facfe;
    --accent-purple: #7000ff;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;

    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-code: 'Fira Code', monospace;

    --glass-blur: blur(16px);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-glow: 0 0 25px rgba(0, 242, 254, 0.2);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

/* Canvas Background */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

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

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

/* --------------------------------------------------------------------------
   3. Glassmorphism Utilities & Typography
   -------------------------------------------------------------------------- */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-alt {
    background: linear-gradient(135deg, #a855f7, var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.section-title-wrapper {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title-wrapper.align-left {
    text-align: left;
}

.section-subtitle {
    font-family: var(--font-code);
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--accent-cyan);
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-main);
}

.title-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), transparent);
    margin: 1rem auto 0;
    border-radius: var(--radius-full);
}

.align-left .title-line {
    margin: 1rem 0 0;
}

/* --------------------------------------------------------------------------
   4. Buttons & Badges
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.6rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    color: #07090e;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 242, 254, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
}
.btn-outline:hover {
    background: rgba(0, 242, 254, 0.1);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-text {
    color: var(--accent-cyan);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}
.btn-text:hover {
    gap: 0.7rem;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-code);
}
.current-badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-emerald);
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.duration-badge {
    background: rgba(0, 242, 254, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 242, 254, 0.25);
}

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

.navbar.scrolled {
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-card);
    padding: 0.85rem 0;
}

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

.nav-logo {
    font-family: var(--font-code);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
}
.logo-bracket {
    color: var(--accent-cyan);
}
.logo-accent {
    color: var(--accent-blue);
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
    color: var(--accent-cyan);
}

.nav-btn {
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-sm);
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.3);
    color: var(--accent-cyan);
}
.nav-btn:hover {
    background: var(--accent-cyan);
    color: #07090e;
}

.mobile-toggle {
    display: none;
    color: var(--text-main);
    font-size: 1.4rem;
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
    padding: 9rem 0 5rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

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

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    margin-bottom: 1.5rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-emerald);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.status-text {
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--accent-emerald);
    font-family: var(--font-code);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-socials {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: var(--transition);
}
.social-icon:hover {
    background: var(--accent-cyan);
    color: #07090e;
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
}

.location-tag {
    font-size: 0.85rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: 0.5rem;
    font-family: var(--font-code);
}

.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile-card-glass {
    padding: 0.6rem;
    position: relative;
    overflow: hidden;
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 242, 254, 0.15);
}

.profile-img-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    transition: transform 0.5s ease;
}

.profile-card-glass:hover .profile-img {
    transform: scale(1.03);
}

.profile-accent-badge {
    position: absolute;
    bottom: 0.85rem;
    right: 0.85rem;
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-family: var(--font-code);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Terminal Visual */
.code-terminal {
    background: #090c15;
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.terminal-header {
    background: #0f1422;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-buttons {
    display: flex;
    gap: 6px;
}
.btn-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.btn-dot.close { background: #ff5f56; }
.btn-dot.minimize { background: #ffbd2e; }
.btn-dot.maximize { background: #27c93f; }

.terminal-title {
    margin: 0 auto;
    font-family: var(--font-code);
    font-size: 0.75rem;
    color: var(--text-dim);
}

.terminal-body {
    padding: 1.25rem;
    font-family: var(--font-code);
    font-size: 0.825rem;
    line-height: 1.6;
}

.code-keyword { color: #f43f5e; }
.code-prop { color: #38bdf8; }
.code-string { color: #a3e635; }
.code-number { color: #fbbf24; }
.code-comment { color: #64748b; font-style: italic; }
.code-prompt { color: var(--accent-cyan); font-weight: 600; }

.indent-1 { padding-left: 1.25rem; }
.indent-2 { padding-left: 2.5rem; }

.prompt-line {
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
}

.typing-cursor {
    display: inline-block;
    width: 7px;
    height: 14px;
    background-color: var(--accent-cyan);
    margin-left: 4px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* --------------------------------------------------------------------------
   7. Key Metrics Stats Bar
   -------------------------------------------------------------------------- */
.stats-bar-section {
    padding: 1rem 0;
}

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

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: var(--glass-blur);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(0, 242, 254, 0.1);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

/* --------------------------------------------------------------------------
   8. About Section
   -------------------------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.about-card {
    padding: 2rem;
}

.card-icon-header {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: rgba(112, 0, 255, 0.15);
    border: 1px solid rgba(112, 0, 255, 0.3);
    color: #a855f7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.about-card p {
    font-size: 0.925rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. Skills Section
   -------------------------------------------------------------------------- */
.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.tab-btn {
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-card);
    transition: var(--transition);
}

.tab-btn:hover, .tab-btn.active {
    background: var(--accent-cyan);
    color: #07090e;
    border-color: var(--accent-cyan);
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

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

.skill-chip {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.skill-chip:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.05);
    transform: translateY(-2px);
}

.skill-chip.hide {
    display: none;
}

.skill-icon {
    font-size: 1.1rem;
    color: var(--accent-cyan);
    margin-right: 0.6rem;
}

.skill-name {
    font-size: 0.9rem;
    font-weight: 600;
    flex-grow: 1;
}

.skill-level {
    font-size: 0.7rem;
    font-family: var(--font-code);
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

/* --------------------------------------------------------------------------
   10. Experience Section (Timeline)
   -------------------------------------------------------------------------- */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple), transparent);
}

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

.timeline-dot {
    position: absolute;
    left: 13px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 12px var(--accent-cyan);
    border: 3px solid var(--bg-primary);
}

.timeline-date {
    font-family: var(--font-code);
    font-size: 0.85rem;
    color: var(--accent-cyan);
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.timeline-content {
    padding: 2rem;
}

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

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

.company-name {
    font-size: 1rem;
    color: var(--accent-blue);
    font-weight: 500;
}

.role-highlights {
    margin-bottom: 1.5rem;
}

.role-highlights li {
    font-size: 0.925rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.bullet-icon {
    color: var(--accent-cyan);
    font-size: 0.75rem;
    margin-top: 0.3rem;
}

.role-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    font-size: 0.75rem;
    font-family: var(--font-code);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    color: var(--text-main);
}

/* --------------------------------------------------------------------------
   11. Projects Section
   -------------------------------------------------------------------------- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.project-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card.hide {
    display: none;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.project-badge {
    font-size: 0.75rem;
    font-family: var(--font-code);
    color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.1);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.project-duration {
    font-size: 0.75rem;
    color: var(--text-dim);
    font-family: var(--font-code);
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.project-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.project-tech-stack span {
    font-size: 0.725rem;
    font-family: var(--font-code);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    color: var(--text-muted);
}

.other-projects-box {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

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

.other-content h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

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

/* --------------------------------------------------------------------------
   12. Education & Achievements
   -------------------------------------------------------------------------- */
.education-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.edu-card, .achieve-card {
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.edu-icon, .achieve-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    background: rgba(0, 242, 254, 0.1);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.edu-year {
    font-family: var(--font-code);
    font-size: 0.75rem;
    color: var(--accent-cyan);
}

.edu-details h3, .achieve-details h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.edu-school {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.achieve-details p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   13. Contact Section
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
}

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

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

.link-card {
    cursor: pointer;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 242, 254, 0.1);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

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

.contact-label {
    font-size: 0.75rem;
    color: var(--text-dim);
    font-family: var(--font-code);
}

.contact-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

.copy-btn, .card-arrow {
    color: var(--text-muted);
    font-size: 1rem;
    transition: var(--transition);
}

.copy-btn:hover {
    color: var(--accent-cyan);
}

.contact-form-col {
    padding: 2.25rem;
}

.contact-form-col h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-family: var(--font-code);
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.925rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

/* --------------------------------------------------------------------------
   14. Modal & Toast Notifications
   -------------------------------------------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 5, 9, 0.85);
    backdrop-filter: var(--glass-blur);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    width: 90%;
    max-width: 680px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    border-color: var(--accent-cyan);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 1.3rem;
    color: var(--text-muted);
    transition: var(--transition);
}
.modal-close:hover {
    color: var(--accent-cyan);
}

.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    background: #0f172a;
    color: var(--text-main);
    border: 1px solid var(--accent-cyan);
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* --------------------------------------------------------------------------
   15. Footer & Responsive Media Queries
   -------------------------------------------------------------------------- */
.footer {
    border-top: 1px solid var(--border-card);
    padding: 2rem 0;
    background: #05070a;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
    }
    .hero-visual {
        order: -1;
    }
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .education-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(7, 9, 14, 0.95);
        flex-direction: column;
        padding: 1.5rem;
        border-bottom: 1px solid var(--border-card);
    }
    .nav-links.active {
        display: flex;
    }
    .mobile-toggle {
        display: block;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .stats-container {
        grid-template-columns: 1fr;
    }
}
