/* B2B Marketing Blog Styles */

/* Futura-first typography stack */
@font-face {
    font-family: 'FuturaSite';
    src: local('Futura'), local('Futura Book'), local('Futura-Boo');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FuturaSite';
    src: local('Futura Medium'), local('Futura-Medium'), local('Futura Md BT');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FuturaSite';
    src: local('Futura Bold'), local('Futura-Bold'), local('Futura Hv BT');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

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

html {
    scroll-behavior: smooth;
}

:root {
    /* Executive palette: midnight navy + champagne accents */
    --brand-950: #0b1220;
    --brand-900: #111a2b; /* primary deep navy */
    --brand-800: #1f2e45;
    --brand-700: #2a3d58;
    --brand-600: #c9a96b; /* champagne accent */
    --brand-500: #b89557; /* hover accent */
    --brand-400: #e2c896; /* light accent */
    --font-sans: 'FuturaSite', 'Futura PT', Futura, 'Avenir Next', 'Segoe UI', Roboto, sans-serif;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: #1b2430;
    background-color: #ffffff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brand-900);
    text-decoration: none;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--brand-500);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--brand-600);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-narrative {
    height: auto;
    min-height: clamp(558px, 73.8vh, 810px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    position: relative;
    z-index: 10;
    padding-top: 120px;
    padding-bottom: clamp(2.5rem, 7vh, 4.5rem);
    box-sizing: border-box;
    color: white;
    overflow: hidden;
}

.hero-narrative .container {
    position: relative;
    z-index: 5;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
    padding-top: clamp(1.5rem, 5vh, 3rem);
}

.hero-narrative.hero-vertical-center {
    justify-content: center;
}

.hero-narrative .overlay {
    position: absolute;
    inset: 0;
}


.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    margin-top: 0;
}

.hero-content {
    max-width: 680px;
    margin-top: 1rem;
    position: relative;
    z-index: 12;
    text-align: center;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #fff;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    color: #fff;
}

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

/* Unify hero CTA buttons with the premium light style */
.hero-buttons .btn,
.hero-buttons .btn-primary,
.hero-buttons .btn-secondary {
    background-color: #ffffff;
    color: var(--brand-600);
    border: 2px solid #ffffff;
}

.hero-buttons .btn:hover,
.hero-buttons .btn-primary:hover,
.hero-buttons .btn-secondary:hover {
    background-color: var(--brand-600);
    color: #ffffff;
    border-color: var(--brand-600);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Make the first (primary) CTA the default highlighted option */
.hero-buttons .btn-primary {
    background-color: var(--brand-600);
    color: #ffffff;
    border-color: var(--brand-600);
}

.hero-buttons .btn-primary:hover {
    background-color: #ffffff;
    color: var(--brand-600);
    border-color: #ffffff;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 12;
}

.hero-placeholder {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-container { z-index: 5; position: relative; }
.hero-image { display: flex; justify-content: center; align-items: center; padding-right: 0; }
.hero-avatar {
    width: clamp(160px, 17.6vw, 240px);
    height: clamp(160px, 17.6vw, 240px);
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.85);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25), 0 0 0 6px rgba(255,255,255,0.08);
    backdrop-filter: blur(2px);
}

.hero-profile-image {
    width: 300px;
    height: 300px;
    border-radius: 20px;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.hero-disclaimer {
    padding: 1.1rem 0 1.35rem;
    background: #ffffff;
    border-top: 1px solid rgba(10, 20, 36, 0.08);
}

.hero-disclaimer p {
    margin: 0 auto;
    max-width: 980px;
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.55;
    color: #4b5563;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--brand-600);
    color: white;
}

.btn-primary:hover {
    background-color: var(--brand-700);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(31, 77, 143, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-divider {
    height: 1px;
    width: min(820px, 92%);
    margin: 1.25rem auto 2.5rem;
    background: linear-gradient(90deg, rgba(10,20,36,0) 0%, rgba(31,77,143,0.25) 50%, rgba(10,20,36,0) 100%);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--brand-900);
}

.section-header p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background-color: #f9fafb;
}

.about-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.about-profile-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--brand-600);
    box-shadow: 0 12px 28px rgba(31, 77, 143, 0.18), 0 0 0 6px rgba(31, 77, 143, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-profile-image:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(31, 77, 143, 0.3);
}

.about-intro p {
    font-size: 1.1rem;
    color: #4b5563;
    text-align: center;
    max-width: 720px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
/* Icon sizing/tints */
.card-icon i {
    font-size: 2.25rem;
    color: var(--brand-600);
}

.contact-icon i {
    font-size: 1.25rem;
}

.social-links a i {
    font-size: 18px;
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.about-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Experience Section */
.experience {
    background-color: white;
}

.experience-timeline {
    max-width: 880px;
    margin: 0 auto;
    position: relative;
    padding-left: 0;
}

.experience-item {
    display: grid;
    grid-template-columns: 260px 1fr; /* wider year column to clear the line */
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    position: relative;
}

.experience-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.experience-year {
    font-weight: 600;
    color: var(--brand-600);
    font-size: 1.1rem;
    position: sticky;
    top: 100px;
    height: fit-content;
    padding-left: 16px; /* space from timeline */
}

.experience-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.experience-content h4 {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 1rem;
    font-weight: 500;
}

.experience-content ul {
    list-style: none;
    padding: 0;
}

.experience-content li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: #4b5563;
    line-height: 1.6;
}

.experience-content li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--brand-600);
    font-weight: bold;
}

/* Vertical timeline line and dots */
.experience-timeline:before {
    content: "";
    position: absolute;
    left: 140px; /* timeline x-position */
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(var(--brand-600), rgba(31,77,143,0.2));
}

.experience-item:before {
    content: "";
    position: absolute;
    left: 132px; /* center on the line (line 2px at 140px) */
    top: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--brand-600);
    box-shadow: 0 0 0 4px rgba(31,77,143,0.08);
}

/* Experience page hero */
.page-hero {
    background: linear-gradient(180deg, rgba(10,20,36,0.8), rgba(10,20,36,0.6)), url('../assets/Background.jpeg') center/cover no-repeat;
    color: white;
    padding: 140px 0 80px;
    text-align: center;
}

.page-hero h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.page-hero p { opacity: 0.9; max-width: 760px; margin: 0 auto; }
.page-hero a {
    color: var(--brand-400);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(226, 200, 150, 0.55);
}
.page-hero a:hover {
    color: #fff;
    border-bottom-color: #fff;
}

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

.article-item {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    border-top: 4px solid var(--brand-600);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.article-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid rgba(10,20,36,0.08);
}

.article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.article-date {
    color: #6b7280;
    font-weight: 500;
}

.article-category {
    background: var(--brand-600);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.75rem;
}

/* Tags bar */
.tags-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-chip {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #eef2ff;
    color: var(--brand-600);
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(31,77,143,0.15);
}
.tag-chip:hover { background: #e0e7ff; }
.tag-chip.active { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }

/* Blog controls row */
.blog-controls { background: #f8fafc; border-top: 1px solid #eef2f7; border-bottom: 1px solid #eef2f7; }
.blog-controls-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; }
.search-wrap { position: relative; min-width: 320px; flex: 0 0 40%; }
.search-wrap i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #9ca3af; font-size: 18px; }
.search-wrap .blog-search { padding-left: 40px; }

@media (max-width: 768px) {
    .blog-controls-inner { flex-direction: column; align-items: stretch; }
    .search-wrap { width: 100%; flex: 1 1 auto; min-width: 0; }
}

/* Blog search */
.blog-search {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}
.blog-search:focus { outline: none; border-color: var(--brand-600); }

.article-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
    line-height: 1.4;
}

.article-item p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Post content typography */
.post-content { font-size: 1.125rem; line-height: 1.85; color: #1f2937; }
.post-content p { margin: 1rem 0 1.25rem; color: #374151; }
.post-content h2 { font-size: 1.75rem; margin: 2.25rem 0 0.75rem; line-height: 1.3; color: var(--brand-900); }
.post-content h3 { font-size: 1.35rem; margin: 1.75rem 0 0.5rem; line-height: 1.35; color: var(--brand-800); }
.post-content h4 { font-size: 1.15rem; margin: 1.25rem 0 0.5rem; color: var(--brand-700); }
.post-content ul, .post-content ol { margin: 0.75rem 0 1.25rem 1.25rem; color: #374151; }
.post-content li { margin: 0.35rem 0; }
.post-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 1.35rem 0.45rem; /* wider horizontal column spacing */
    margin: 1rem 0 1.5rem;
}
.post-content th,
.post-content td {
    text-align: left;
    vertical-align: top;
    padding: 0.2rem 0;
}
.post-content hr { border: 0; height: 1px; background: linear-gradient(90deg, rgba(10,20,36,0), rgba(31,77,143,0.25), rgba(10,20,36,0)); margin: 2rem 0; }
.post-content a { color: var(--brand-600); text-decoration: none; border-bottom: 1px dashed rgba(31,77,143,0.35); }
.post-content a:hover { color: var(--brand-500); border-bottom-color: var(--brand-500); }

.post-hero-image {
    display: block;
    width: min(860px, 92%);
    margin: 1.25rem auto 0;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 14px 36px rgba(0,0,0,0.25);
}

/* Article callouts (Markdown blockquotes using "> ") */
.article-item blockquote {
    position: relative;
    margin: 1.5rem 0;
    padding: 1.25rem 1.25rem 1.25rem 1.5rem;
    background: #f8fafc;
    border: 1px solid rgba(10,20,36,0.06);
    border-left: 6px solid var(--brand-600);
    border-radius: 12px;
    color: #1f2937;
}
.article-item blockquote p { margin: 0; }
.article-item blockquote:before {
    content: "\201C"; /* opening curly quote */
    position: absolute;
    left: 12px;
    top: -10px;
    font-size: 42px;
    line-height: 1;
    color: rgba(31,77,143,0.25);
}

.article-link {
    color: var(--brand-600);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.article-link:hover {
    color: var(--brand-500);
    text-decoration: underline;
}

/* Contact Section */
.contact {
    background-color: #f9fafb;
    position: relative;
    overflow: hidden;
}

/* Removed background image from contact section */

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-content { max-width: 900px; margin: 0 auto; }
.contact-content.single { display: block; }

/* Contact CTA panel */
.contact-cta {
    align-self: start;
}

.contact-cta-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 12px 30px rgba(10,20,36,0.08);
    border: 1px solid rgba(10,20,36,0.06);
}

.contact-cta-card h3 {
    color: var(--brand-900);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.contact-cta-card p {
    color: #4b5563;
    margin-bottom: 1.25rem;
}

.btn-email-large {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    padding: 14px 24px;
}

.btn-email-large i {
    font-size: 1.25rem;
}

.contact-cta-list {
    list-style: none;
    margin-top: 1.25rem;
    color: #4b5563;
}

.contact-cta-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.contact-cta-list { margin-bottom: 1.25rem; }
.contact-cta-list i { color: var(--brand-600); }

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: var(--brand-600);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* New unified contact box */
.contact-box {
    background: white;
    border: 1px solid rgba(10,20,36,0.06);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 12px 30px rgba(10,20,36,0.08);
    text-align: center;
}
.contact-box h3 { color: var(--brand-900); font-size: 1.5rem; margin-bottom: 0.5rem; }
.contact-box p { color: #4b5563; margin-bottom: 1.25rem; }

.contact-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.contact-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 12px 18px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.contact-btn i { font-size: 1.2rem; }
.contact-btn-linkedin { background: #0a66c2; color: #fff; }
.contact-btn-linkedin:hover { background: #09539c; }
.contact-btn-email { background: var(--brand-600); color: #fff; }
.contact-btn-email:hover { background: var(--brand-700); }

@media (max-width: 768px) {
    .contact-content { max-width: 100%; }
    .contact-box { padding: 1.5rem; }
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #1f2937;
}

.contact-item p {
    color: #6b7280;
}

.contact-item a {
    color: var(--brand-600);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--brand-500);
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background-color: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--brand-600);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: var(--brand-900);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #f9fafb;
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--brand-600);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #374151;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: var(--brand-600);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        margin-top: 0;
    }

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

    .hero-content {
        margin-top: 24px;
    }

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

    .hero-placeholder {
        width: 200px;
        height: 200px;
        font-size: 3rem;
    }

    .hero-profile-image {
        width: 200px;
        height: 200px;
    }

    .hero-avatar { width: 144px; height: 144px; }

    .about-intro {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .about-profile-image {
        width: 120px;
        height: 120px;
    }

    .contact-bg-image {
        display: none;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

    .experience-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .experience-year {
        position: static;
        text-align: center;
        padding: 0.5rem 1rem;
        background-color: #f3f4f6;
        border-radius: 20px;
        width: fit-content;
        margin: 0 auto;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-narrative {
        padding: 100px 0 60px;
    }

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

    .hero-subtitle {
        font-size: 0.88rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .about-card,
    .article-item {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

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

.about-card,
.article-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: 2px solid var(--brand-600);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer {
        display: none;
    }
    
    .hero-narrative {
        background: none;
        color: #333;
    }
}
