/* 
 * Portfolio Styles
 * Theme: Pastel & Modern
 */

:root {
    /* Color Palette - Minimalist & Clean */
    --primary-color: #2D3436;
    /* Dark Charcoal for Headings */
    --text-color: #636e72;
    /* Slate Grey for Body */
    --text-light: #b2bec3;
    /* Light Grey for subtle text */
    --bg-color: #FAFAFA;
    /* Soft White Background */
    --bg-light: #FFFFFF;
    /* Pure White for Cards/Sections */
    --bg-hero: #dfe6e9;
    /* Very light grey for accents */
    --accent-color: #74b9ff;
    /* Muted Blue for Primary Actions */

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1.5rem;
    /* Increased spacing */
    --spacing-md: 3rem;
    /* Increased spacing */
    --spacing-lg: 6rem;
    /* Increased spacing */

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.8;
    /* Increased line-height */
    background-color: var(--bg-color);
    font-size: 1.05rem;
    /* Slightly larger text */
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
}

.headline {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
    max-width: 600px;
}

/* Layout Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-lg) 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid #e0e0e0;
    margin-right: var(--spacing-sm);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Navbar */
.navbar {
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #eee;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-links a:not(.btn) {
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background-color: var(--bg-hero);
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-lg) 0;
}

.hero-container {
    display: flex;
    flex-direction: column-reverse;
    /* Stack on mobile */
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-text {
    flex: 1;
}

.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* About Section Styles - Refactored */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-intro {
    font-size: 1.35rem;
    color: var(--primary-color);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-resume {
    margin-top: var(--spacing-sm);
    min-width: 200px;
}

/* Skills Chips */
/* Skills & Categories */
/* Skills & Categories */
.skills-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    /* Tightened margin */
    color: var(--text-light);
    font-size: 1.1rem;
}

.skills-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

/* Bento Grid Layout for Desktop */
/* Bento Grid Layout (Refined) */
@media (min-width: 900px) {
    .skills-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
        max-width: 900px;
        margin: 0 auto;
    }

    .area-cloud {
        grid-column: span 2;
    }

    .area-devops {
        grid-column: span 1;
    }

    .area-collab {
        grid-column: span 1;
    }

    .area-security {
        grid-column: span 2;
    }
}

.skills-category {
    background: rgba(255, 255, 255, 0.85);
    /* Slightly more opaque for depth */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Deep shadow */
    text-align: center;
    border: none;
    /* Removed border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    /* Ensure accent border stays contained */
}

.skills-category:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

/* Bento Card Gradients & Accents */
.area-cloud {
    border-top: 5px solid #ff9f43;
    /* AWS Orange */
}

.area-devops {
    border-top: 5px solid #54a0ff;
    /* DevOps Blue */
}

.area-collab {
    border-top: 5px solid #1dd1a1;
    /* Tools Green */
}

.area-security {
    border-top: 5px solid #ff6b6b;
    /* Security Red */
}

.category-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
    font-weight: 600;
    font-family: var(--font-heading);
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding-top: var(--spacing-xs);
}

.chip {
    display: inline-block;
    background-color: #f1f2f6;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    border: none;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
    line-height: 1.4;
}

.chip:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}



/* Experience */
.experience-list {
    max-width: 800px;
    margin: 0 auto;
}

.experience-item {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-md);
    border-left: 3px solid var(--bg-hero);
}

.experience-item h3 {
    margin-bottom: 4px;
}

.experience-item .company {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.experience-item ul {
    list-style: disc;
    margin-left: var(--spacing-md);
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.project-card {
    background: white;
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card h3 {
    margin-bottom: var(--spacing-xs);
}

.project-card p {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
}

.tags {
    margin-bottom: var(--spacing-sm);
}

.tag {
    display: inline-block;
    font-size: 0.75rem;
    background: #f1f1f1;
    padding: 4px 10px;
    border-radius: 4px;
    margin-right: 5px;
}

.link-text {
    font-weight: 600;
    border-bottom: 2px solid var(--bg-hero);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: var(--spacing-sm);
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    padding: var(--spacing-md) 0;
    text-align: center;
    border-top: 1px solid #eee;
    color: var(--text-light);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

/* Desktop Styles */
@media (min-width: 768px) {
    .headline {
        font-size: 4rem;
    }

    .hero-container {
        flex-direction: row;
        /* Side by side on desktop */
        text-align: left;
    }
}



/* Experience */
.experience-list {
    max-width: 800px;
    margin: 0 auto;
}

.experience-item {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-md);
    border-left: 3px solid var(--bg-hero);
}

.experience-item h3 {
    margin-bottom: 4px;
}

.experience-item .company {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.experience-item ul {
    list-style: disc;
    margin-left: var(--spacing-md);
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.project-card {
    background: white;
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card h3 {
    margin-bottom: var(--spacing-xs);
}

.project-card p {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
}

.tags {
    margin-bottom: var(--spacing-sm);
}

.tag {
    display: inline-block;
    font-size: 0.75rem;
    background: #f1f1f1;
    padding: 4px 10px;
    border-radius: 4px;
    margin-right: 5px;
}

.link-text {
    font-weight: 600;
    border-bottom: 2px solid var(--bg-hero);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: var(--spacing-sm);
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    padding: var(--spacing-md) 0;
    text-align: center;
    border-top: 1px solid #eee;
    color: var(--text-light);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

/* Projects Redesign */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    /* Slightly wider min-width */
    gap: var(--spacing-md);
}

.project-card {
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
    border: none;
}

.gradient-card-1 {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
    border-top: 4px solid #a8c0ff;
    /* Subtle blue accents */
}

.gradient-card-2 {
    background: linear-gradient(135deg, #ffffff 0%, #fff0f5 100%);
    border-top: 4px solid #fbc2eb;
    /* Subtle pink/pastel accents */
}

.project-card:hover {
    transform: translateY(-8px);
    /* Scale/Lift effect */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.project-content h3 {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-sm);
    color: #111827;
    /* Darker title */
    font-weight: 700;
}

.project-desc {
    color: #333333;
    /* Darker charcoal */
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
    /* Increased weight */
}

.project-bullets {
    list-style: none;
    /* No default bullets */
    margin-bottom: var(--spacing-md);
}

.project-bullets li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
    color: #333333;
    /* Darker charcoal text */
    font-weight: 500;
    /* Slightly heavier */
}

.project-bullets li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Tool Badges */
.project-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    /* Push to bottom if flex column */
}

.tool-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: background-color 0.2s;
}

.tool-badge:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Desktop Styles */
@media (min-width: 768px) {
    .headline {
        font-size: 4rem;
    }

    .hero-container {
        flex-direction: row;
        /* Side by side on desktop */
        text-align: left;
    }
}

/* Experience Section (Dark Terminal Theme) */
.experience-section-dark {
    position: relative;
    padding: var(--spacing-lg) 0;
    background-color: #0f172a;
    /* Deep Slate/Midnight Blue */
    color: #e2e8f0;
    /* Light text */
}

.text-code {
    font-family: 'Courier New', Courier, monospace;
    color: #38bdf8;
    /* Cyan */
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-size: 2.5rem;
    font-weight: 700;
}

/* Timeline Layout */
.timeline-dark {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: var(--spacing-md) 0;
}

/* Central Circuit Line */
.timeline-dark::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, #38bdf8, #f472b6, #38bdf8);
    /* Cyan to Pink gradient */
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
    border-radius: 2px;
}

/* Circuit Dot Marker */
.circuit-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #0f172a;
    border: 3px solid #38bdf8;
    border-radius: 50%;
    right: -13px;
    /* Center on line (4px line width, 2px offset + half dot?) - needs tweaking visually */
    top: 24px;
    z-index: 2;
    box-shadow: 0 0 10px #38bdf8;
    transition: all 0.3s ease;
}

.timeline-item.right .circuit-dot {
    left: -13px;
    right: auto;
}

.timeline-item:hover .circuit-dot {
    background: #38bdf8;
    box-shadow: 0 0 20px #38bdf8, 0 0 40px #38bdf8;
}

/* Timeline Items */
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 30px;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

/* Terminal Card */
.terminal-card {
    background: #1e293b;
    /* Dark Slate */
    border-radius: 8px;
    border: 1px solid #334155;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.terminal-card:hover {
    transform: scale(1.05);
    border-color: #38bdf8;
    /* Cyan border glow */
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
}

/* Terminal Header (Mac vibes) */
.terminal-header {
    background: #334155;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #475569;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.terminal-btn.red {
    background: #ff5f56;
}

.terminal-btn.yellow {
    background: #ffbd2e;
}

.terminal-btn.green {
    background: #27c93f;
}

.terminal-title {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-left: 10px;
    opacity: 0.8;
}

/* Terminal Body */
.terminal-body {
    padding: var(--spacing-md);
}

.mono-font {
    font-family: 'Courier New', Courier, monospace;
}

.prompt {
    color: #27c93f;
    /* Terminal Green prompt */
    margin-right: 8px;
}

.timeline-title {
    font-size: 1.25rem;
    color: #e2e8f0;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.terminal-card:hover .timeline-title {
    color: #38bdf8;
    /* Neon Cyan on hover */
    text-shadow: 0 0 5px rgba(56, 189, 248, 0.5);
}

.timeline-company {
    font-size: 0.95rem;
    color: #94a3b8;
    margin-bottom: 4px;
}

.timeline-date {
    display: block;
    font-size: 0.85rem;
    color: #64748b;
    /* Comment color */
    margin-bottom: 15px;
}

.terminal-text li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-family: var(--font-body);
    /* Sans-serif for readability */
    color: #cbd5e1;
    font-size: 0.95rem;
}

.terminal-text li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: #f97316;
    /* Orange chevron */
    font-family: monospace;
    font-weight: bold;
}

/* Reveal Animation (Reuse existing JS) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item.left.reveal {
    transform: translateX(-30px);
}

.timeline-item.right.reveal {
    transform: translateX(30px);
}

.timeline-item.reveal.active {
    transform: translateX(0);
}

/* Contact Section Redesign (2-Column) */
.contact-container-modern {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    /* Subtle gradient */
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.contact-left {
    padding: var(--spacing-lg);
    background-color: var(--primary-color);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Texture/Shape overlay for left side */
.contact-left::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.contact-heading {
    font-size: 2rem;
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-md);
    position: relative;
    color: #ffffff;
    /* Force white for contrast against primary color bg */
}

.contact-msg {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    position: relative;
    color: #ffffff;
    /* Force white */
}

.social-icons-contact {
    display: flex;
    gap: 15px;
    position: relative;
}

.social-icon-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    /* Ensure no underline */
}

.social-icon-btn:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.contact-right {
    padding: var(--spacing-lg);
    flex: 1;
    background-color: white;
}

.modern-form .form-group {
    margin-bottom: var(--spacing-md);
}

.modern-form label {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 6px;
    font-weight: 600;
}

.modern-form input,
.modern-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s;
    background-color: #f9f9f9;
}

.modern-form input:focus,
.modern-form textarea:focus {
    background-color: white;
    border-color: #a8c0ff;
    /* Light blue focus */
    box-shadow: 0 0 0 3px rgba(168, 192, 255, 0.2);
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover {
    background-color: black;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Desktop 2-column layout */
@media (min-width: 768px) {
    .contact-container-modern {
        flex-direction: row;
    }

    .contact-left {
        width: 40%;
        text-align: left;
    }

    .contact-right {
        width: 60%;
    }
}

/* About Section Redesign */
.about-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-left {
    flex: 1;
}

.about-intro {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.about-text {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.btn-resume {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    margin-top: var(--spacing-sm);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-resume:hover {
    background-color: black;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.about-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    background: white;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    font-weight: 500;
    font-size: 0.95rem;
}

.domain-icon {
    margin-right: 12px;
}

/* Desktop About Layout */
@media (min-width: 900px) {
    .about-container {
        flex-direction: row;
        align-items: flex-start;
        gap: var(--spacing-xl, 60px);
    }

    .about-left {
        width: 55%;
    }

    .about-right {
        width: 45%;
        margin-top: 0;
    }
}

/* Mobile Responsive for Dark Timeline */
@media screen and (max-width: 768px) {
    .timeline-dark::after {
        left: 20px;
        /* Align line to left */
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        /* Space for line/dots */
        padding-right: 15px;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }

    .circuit-dot {
        left: 11px !important;
        /* Center on the 4px line at left:20px */
        right: auto !important;
    }

    /* Reset animations for mobile */
    .timeline-item.left.reveal,
    .timeline-item.right.reveal {
        transform: translateY(30px);
    }

    .timeline-item.reveal.active {
        transform: translateY(0);
    }
}

/* Technical Expertise List Styling */
.expertise-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    text-align: center;
    border-bottom: 2px solid var(--bg-hero);
    padding-bottom: 8px;
    width: 100%;
    margin-top: 0;
}

.expertise-group {
    width: 100%;
    margin-bottom: var(--spacing-md);
}

.expertise-heading {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.expertise-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background: white;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #eee;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: all 0.2s;
}

.skill-tag:hover {
    transform: translateY(-2px);
    border-color: var(--bg-hero);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.skill-tag.focus-tag {
    background: var(--bg-light);
    border-left: 3px solid var(--primary-color);
}

.tech-domains-list {
    display: none;
}