@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Fira+Code:wght@400;500&display=swap');

/* ==========================================
   DESIGN SYSTEM & VARIABLES
   ========================================== */
:root {
    /* Color Palette */
    --primary: #1d4ed8;
    --primary-hover: #1e40af;
    --primary-light: #eff6ff;
    --secondary: #0f172a;
    --accent: #3b82f6;
    --bg-dark: #070e24;
    --bg-dark-light: #0d1b3e;
    --bg-light: #f8fafc;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    --border-color: #e2e8f0;
    
    /* Layout */
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-mono: 'Fira Code', monospace;
    --border-radius: 12px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, .btn {
    font-family: var(--font-sans);
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
    transition: var(--transition-fast);
}

/* Base Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Base Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--border-radius);
    gap: 8px;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}

.btn-secondary {
    background-color: white;
    color: var(--primary);
    border: 1px solid var(--primary);
}

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

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

.btn-white:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Utilities */
.text-gradient {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 48px;
    color: var(--secondary);
}

/* ==========================================
   LANDING PAGE LAYOUT
   ========================================== */

/* Header */
.site-header {
    background-color: var(--bg-dark);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: white;
}

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

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    color: #94a3b8;
    font-weight: 500;
    font-size: 15px;
}

.nav-menu a:hover {
    color: white;
}

.hamburger-btn {
    display: none;
    color: white;
    font-size: 24px;
}

/* Mobile Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-dark-light);
    z-index: 200;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    transition: right var(--transition-normal);
    box-shadow: -5px 0 25px rgba(0,0,0,0.5);
}

.mobile-nav-drawer.active {
    right: 0;
}

.mobile-nav-drawer .close-btn {
    align-self: flex-end;
    color: white;
    font-size: 24px;
}

.mobile-nav-drawer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-drawer a {
    color: #e2e8f0;
    font-size: 18px;
    font-weight: 600;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
    z-index: 150;
    display: none;
}

.mobile-nav-overlay.active {
    display: block;
}

/* Hero Section */
.hero-section {
    background: radial-gradient(circle at 80% 20%, var(--bg-dark-light) 0%, var(--bg-dark) 100%);
    color: white;
    padding: 80px 0 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-badges {
    display: flex;
    gap: 24px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #cbd5e1;
}

.hero-badge i {
    color: var(--accent);
    font-size: 16px;
}

/* Floating CV Mockups Showcase */
.hero-showcase {
    position: relative;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cv-mockup {
    position: absolute;
    width: 260px;
    height: 360px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transition: transform var(--transition-normal), z-index var(--transition-fast);
}

.cv-mockup-1 {
    transform: rotate(-10deg) translate(-80px, -20px);
    z-index: 1;
    background: #fcfbf7; /* Elegant Serif style mockup */
    border: 1px solid #eae6df;
}

.cv-mockup-2 {
    transform: translate(0, 0) scale(1.05);
    z-index: 3;
    border: 1px solid var(--border-color); /* Modern Blue style mockup */
}

.cv-mockup-3 {
    transform: rotate(8deg) translate(80px, 20px);
    z-index: 2;
    background: #0b0f19; /* Dark Neon style mockup */
    border: 1px solid rgba(255,255,255,0.05);
}

.cv-mockup:hover {
    transform: scale(1.1) translateY(-10px);
    z-index: 10;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

/* Mockup Content Placeholders */
.mockup-header {
    height: 80px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.cv-mockup-3 .mockup-header {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mockup-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #cbd5e1;
    overflow: hidden;
}
.mockup-title-lines {
    flex: 1;
}
.mockup-line {
    height: 8px;
    border-radius: 4px;
    margin-bottom: 6px;
    background-color: #e2e8f0;
}
.cv-mockup-3 .mockup-line {
    background-color: #1e293b;
}
.mockup-body {
    padding: 12px;
}
.mockup-blocks {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 12px;
}
.mockup-sidebar {
    border-right: 1px solid rgba(0,0,0,0.05);
    padding-right: 8px;
}
.cv-mockup-3 .mockup-sidebar {
    border-right: 1px solid rgba(255,255,255,0.05);
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 40px 32px;
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
}

.service-card:nth-child(2) .service-icon {
    background-color: #f0fdf4;
    color: #16a34a;
}

.service-card:nth-child(3) .service-icon {
    background-color: #fffbeb;
    color: #d97706;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--secondary);
}

.service-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* Metrics Section */
.metrics-section {
    background-color: var(--bg-dark);
    padding: 60px 0;
    color: white;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.metric-item {
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-item:last-child {
    border-right: none;
}

.metric-icon {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 12px;
}

.metric-value {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.metric-label {
    color: #94a3b8;
    font-size: 14px;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}

.pricing-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 48px 32px;
    border: 1px solid var(--border-color);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card:not(.popular):hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: white;
    padding: 6px 18px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 16px;
}

.pricing-price {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-price .currency {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    vertical-align: top;
}

.pricing-price .amount {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary);
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.pricing-features li i {
    color: #10b981;
    font-size: 16px;
}

.pricing-card .btn {
    width: 100%;
}

/* Testimonial Section */
.testimonial-section {
    padding: 100px 0;
    background-color: white;
}

.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 48px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.testimonial-slider {
    position: relative;
    min-height: 180px;
}

.testimonial-slide {
    display: none;
    text-align: center;
    animation: fadeEffect 0.5s;
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeEffect {
    from { opacity: 0; }
    to { opacity: 1; }
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 24px auto;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: var(--shadow-md);
}

.testimonial-text {
    font-size: 18px;
    font-weight: 500;
    color: var(--secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 700;
    font-size: 16px;
    color: var(--primary);
}

.testimonial-author span {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 14px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: var(--transition-fast);
}

.testimonial-dot.active {
    background-color: var(--primary);
    width: 24px;
    border-radius: 5px;
}

/* Call To Action Banner */
.cta-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.cta-banner {
    background: radial-gradient(circle at 10% 10%, var(--bg-dark-light) 0%, var(--bg-dark) 100%);
    border-radius: 20px;
    padding: 60px 80px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
}

.cta-content {
    max-width: 600px;
    z-index: 2;
}

.cta-content h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.cta-content p {
    color: #cbd5e1;
    font-size: 16px;
}

.cta-banner .btn {
    z-index: 2;
    padding: 16px 32px;
}

/* Footer */
.site-footer {
    background-color: #070a13;
    color: #94a3b8;
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
}

.footer-logo span {
    color: var(--accent);
}

.footer-about p {
    font-size: 15px;
    line-height: 1.7;
    max-width: 320px;
}

.footer-column h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 15px;
}

.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
}

.footer-contact i {
    color: var(--accent);
    font-size: 16px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

/* ==========================================
   RESUME VIEW LAYOUT & THEMES
   ========================================== */

/* Resume Top Bar (Controls for print, theme selector etc) */
.resume-top-bar {
    background-color: white;
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 50;
}

.resume-top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.theme-selector-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-selector-wrap label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.theme-pill-btn {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.theme-pill-btn.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Base CV Resume Container */
.resume-view-container {
    max-width: 900px;
    margin: 40px auto;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* 1. Theme: Modern Blue */
.theme-modern-blue {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 1000px;
}

.theme-modern-blue .resume-sidebar {
    background-color: #0f172a;
    color: #f1f5f9;
    padding: 40px 24px;
}

.theme-modern-blue .profile-card {
    text-align: center;
    margin-bottom: 40px;
}

.theme-modern-blue .profile-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    border: 4px solid var(--accent);
    overflow: hidden;
    background-color: var(--bg-dark-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-modern-blue .profile-photo i {
    font-size: 64px;
    color: #94a3b8;
}

.theme-modern-blue .profile-name {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.theme-modern-blue .profile-title {
    font-size: 14px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.theme-modern-blue .sidebar-section {
    margin-bottom: 32px;
}

.theme-modern-blue .sidebar-title {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 8px;
    margin-bottom: 16px;
    color: white;
    font-weight: 700;
}

.theme-modern-blue .contact-list {
    list-style: none;
}

.theme-modern-blue .contact-list li {
    margin-bottom: 12px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    word-break: break-all;
}

.theme-modern-blue .contact-list li i {
    color: var(--accent);
    font-size: 14px;
    width: 16px;
}

.theme-modern-blue .skill-tag-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.theme-modern-blue .skill-progress-item {
    font-size: 13px;
}

.theme-modern-blue .skill-progress-bar {
    height: 6px;
    background-color: #1e293b;
    border-radius: 3px;
    margin-top: 6px;
    overflow: hidden;
}

.theme-modern-blue .skill-progress-fill {
    height: 100%;
    background-color: var(--accent);
    border-radius: 3px;
}

.theme-modern-blue .resume-main {
    padding: 50px 40px;
    background-color: white;
}

.theme-modern-blue .main-section {
    margin-bottom: 40px;
}

.theme-modern-blue .main-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.theme-modern-blue .main-section-title i {
    color: var(--primary);
}

.theme-modern-blue .summary-text {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
}

.theme-modern-blue .timeline {
    position: relative;
    padding-left: 24px;
    border-left: 2px solid var(--border-color);
}

.theme-modern-blue .timeline-item {
    position: relative;
    margin-bottom: 28px;
}

.theme-modern-blue .timeline-item::before {
    content: '';
    position: absolute;
    left: -31px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: white;
    border: 3px solid var(--primary);
}

.theme-modern-blue .timeline-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    flex-wrap: wrap;
    gap: 8px;
}

.theme-modern-blue .timeline-role {
    font-weight: 700;
    font-size: 16px;
    color: var(--secondary);
}

.theme-modern-blue .timeline-company {
    font-weight: 500;
    font-size: 15px;
    color: var(--primary);
}

.theme-modern-blue .timeline-date {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.theme-modern-blue .timeline-desc {
    font-size: 14.5px;
    color: #475569;
}

.theme-modern-blue .project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.theme-modern-blue .project-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: var(--border-radius);
}

.theme-modern-blue .project-title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 6px;
}

.theme-modern-blue .project-desc {
    font-size: 13.5px;
    color: #475569;
    margin-bottom: 8px;
}

.theme-modern-blue .project-tech {
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--primary);
}

/* 2. Theme: Elegant Serif */
.theme-elegant-serif {
    background-color: #fcfbf7;
    color: #2c2c2c;
    padding: 60px 48px;
    font-family: var(--font-sans);
}

.theme-elegant-serif h1, 
.theme-elegant-serif h2, 
.theme-elegant-serif h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    color: #1a1a1a;
}

.theme-elegant-serif .profile-header {
    text-align: center;
    border-bottom: 2px double #eae6df;
    padding-bottom: 30px;
    margin-bottom: 40px;
}

.theme-elegant-serif .profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    overflow: hidden;
    background-color: #eae6df;
    border: 1px solid #eae6df;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-elegant-serif .profile-photo i {
    font-size: 54px;
    color: #a39e93;
}

.theme-elegant-serif .profile-name {
    font-size: 32px;
    margin-bottom: 6px;
}

.theme-elegant-serif .profile-title {
    font-family: var(--font-serif);
    font-size: 16px;
    font-style: italic;
    color: #6b6355;
    margin-bottom: 16px;
}

.theme-elegant-serif .contact-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #555;
}

.theme-elegant-serif .contact-grid span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.theme-elegant-serif .resume-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.theme-elegant-serif .section {
    margin-bottom: 36px;
}

.theme-elegant-serif .section-title {
    font-size: 20px;
    border-bottom: 1.5px solid #eae6df;
    padding-bottom: 6px;
    margin-bottom: 20px;
    text-align: left;
    color: #1a1a1a;
    font-weight: 600;
}

.theme-elegant-serif .summary-text {
    font-size: 15px;
    line-height: 1.7;
    color: #3c3c3c;
}

.theme-elegant-serif .experience-list,
.theme-elegant-serif .education-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.theme-elegant-serif .experience-item,
.theme-elegant-serif .education-item {
    border-left: 1.5px solid #eae6df;
    padding-left: 16px;
}

.theme-elegant-serif .item-header {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.theme-elegant-serif .item-title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 15.5px;
    color: #1a1a1a;
}

.theme-elegant-serif .item-company {
    font-style: italic;
    color: #6b6355;
}

.theme-elegant-serif .item-date {
    color: #777;
}

.theme-elegant-serif .item-desc {
    font-size: 14px;
    color: #3c3c3c;
    line-height: 1.6;
}

.theme-elegant-serif .skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.theme-elegant-serif .skill-badge {
    background-color: #f3ece3;
    border: 1px solid #eae6df;
    color: #5a5449;
    padding: 6px 12px;
    font-size: 12.5px;
    border-radius: 4px;
}

.theme-elegant-serif .project-item {
    margin-bottom: 16px;
}

.theme-elegant-serif .project-title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 14.5px;
    margin-bottom: 4px;
}

.theme-elegant-serif .project-tech {
    font-size: 11px;
    color: #6b6355;
    margin-top: 4px;
    display: block;
}

/* 3. Theme: Dark Neon */
.theme-dark-neon {
    background-color: #0b0f19;
    color: #cbd5e1;
    padding: 60px 48px;
}

.theme-dark-neon h1,
.theme-dark-neon h2,
.theme-dark-neon h3,
.theme-dark-neon h4 {
    color: white;
}

.theme-dark-neon .profile-header {
    display: flex;
    align-items: center;
    gap: 32px;
    border-bottom: 1px solid #1e293b;
    padding-bottom: 40px;
    margin-bottom: 40px;
}

.theme-dark-neon .profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #06b6d4;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
    background-color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-dark-neon .profile-photo i {
    font-size: 54px;
    color: #475569;
}

.theme-dark-neon .profile-details h1 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
}

.theme-dark-neon .profile-title {
    font-family: var(--font-mono);
    color: #06b6d4;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.theme-dark-neon .contact-flex {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13.5px;
}

.theme-dark-neon .contact-flex a {
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.theme-dark-neon .contact-flex a:hover {
    color: #06b6d4;
}

.theme-dark-neon .resume-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
}

.theme-dark-neon .section {
    margin-bottom: 40px;
}

.theme-dark-neon .section-title {
    font-family: var(--font-mono);
    color: white;
    font-size: 18px;
    border-bottom: 1px solid #1e293b;
    padding-bottom: 8px;
    margin-bottom: 24px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-dark-neon .section-title::before {
    content: '>';
    color: #06b6d4;
    font-weight: 700;
}

.theme-dark-neon .summary-text {
    line-height: 1.8;
    color: #94a3b8;
    font-size: 14.5px;
}

.theme-dark-neon .timeline {
    position: relative;
    border-left: 1px solid #1e293b;
    padding-left: 20px;
}

.theme-dark-neon .timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.theme-dark-neon .timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #06b6d4;
    box-shadow: 0 0 8px #06b6d4;
}

.theme-dark-neon .timeline-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.theme-dark-neon .timeline-role {
    font-weight: 700;
    color: white;
}

.theme-dark-neon .timeline-company {
    color: #a855f7;
    font-weight: 600;
}

.theme-dark-neon .timeline-date {
    color: #64748b;
    font-size: 13px;
    font-family: var(--font-mono);
}

.theme-dark-neon .timeline-desc {
    color: #94a3b8;
    font-size: 14px;
}

.theme-dark-neon .skill-badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.theme-dark-neon .skill-badge {
    background-color: #0f172a;
    border: 1px solid #1e293b;
    color: #06b6d4;
    font-family: var(--font-mono);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12.5px;
}

.theme-dark-neon .project-card {
    background-color: #0f172a;
    border: 1px solid #1e293b;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.theme-dark-neon .project-title {
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.theme-dark-neon .project-desc {
    font-size: 13.5px;
    color: #94a3b8;
    margin-bottom: 12px;
}

.theme-dark-neon .project-tech {
    font-family: var(--font-mono);
    color: #a855f7;
    font-size: 12px;
}

/* ==========================================
   CV BUILDER FORM STYLES (DASHBOARD)
   ========================================== */
.builder-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin: 40px auto;
}

.builder-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.builder-header {
    background-color: var(--secondary);
    color: white;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.builder-steps {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    background-color: #f8fafc;
}

.step-tab {
    flex: 1;
    padding: 16px;
    text-align: center;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 3px solid transparent;
    font-size: 14px;
}

.step-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background-color: white;
}

.builder-body {
    padding: 32px;
}

.form-step-content {
    display: none;
}

.form-step-content.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--secondary);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
    outline: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.builder-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

/* Dynamic entries (Experience, Education list builder) */
.dynamic-item-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    position: relative;
}

.remove-item-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #fee2e2;
    color: #ef4444;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.remove-item-btn:hover {
    background-color: #fca5a5;
}

.add-item-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    margin-top: 8px;
}

.add-item-btn:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Theme selector cards in builder */
.theme-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.theme-card-option {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-fast);
}

.theme-card-option.active {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.theme-card-option h4 {
    margin-bottom: 8px;
}

.theme-card-option p {
    font-size: 12px;
    color: var(--text-muted);
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES (MOBILE FIRST)
   ========================================== */

/* Print stylesheet */
@media print {
    .site-header, 
    .resume-top-bar, 
    .site-footer, 
    .builder-actions, 
    .theme-selector-wrap {
        display: none !important;
    }
    
    body {
        background-color: white !important;
        color: black !important;
    }
    
    .resume-view-container {
        box-shadow: none !important;
        margin: 0 !important;
        max-width: 100% !important;
    }
    
    .theme-modern-blue {
        grid-template-columns: 240px 1fr !important;
    }
}

/* Mobile Devices (Max width 768px) */
@media (max-width: 768px) {
    /* Headers & Navigation */
    .nav-menu {
        display: none;
    }
    
    .hamburger-btn {
        display: block;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 40px 0 60px 0;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 15px;
        margin-bottom: 24px;
    }
    
    .hero-badges {
        justify-content: center;
        gap: 16px;
    }
    
    .hero-showcase {
        height: 380px;
    }
    
    .cv-mockup {
        width: 180px;
        height: 250px;
    }
    
    .cv-mockup-1 {
        transform: rotate(-10deg) translate(-50px, -10px);
    }
    
    .cv-mockup-2 {
        transform: scale(1.05) translate(0, 0);
    }
    
    .cv-mockup-3 {
        transform: rotate(8deg) translate(50px, 10px);
    }
    
    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    /* Metrics Section */
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .metric-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .metric-item:nth-child(even) {
        border-left: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .metric-item:nth-last-child(-n+2) {
        border-bottom: none;
    }
    
    /* Pricing Section */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    /* Testimonials */
    .testimonial-container {
        padding: 24px;
    }
    
    .testimonial-text {
        font-size: 15px;
    }
    
    /* CTA */
    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 32px;
        gap: 24px;
    }
    
    .cta-content h2 {
        font-size: 24px;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    /* Resume Show Mobile Views */
    /* Modern Blue Theme */
    .theme-modern-blue {
        grid-template-columns: 1fr;
    }
    
    .theme-modern-blue .resume-sidebar {
        padding: 32px 20px;
    }
    
    .theme-modern-blue .resume-main {
        padding: 32px 20px;
    }
    
    .theme-modern-blue .project-grid {
        grid-template-columns: 1fr;
    }
    
    /* Elegant Serif Theme */
    .theme-elegant-serif {
        padding: 32px 20px;
    }
    
    .theme-elegant-serif .resume-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    /* Dark Neon Theme */
    .theme-dark-neon {
        padding: 32px 20px;
    }
    
    .theme-dark-neon .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .theme-dark-neon .resume-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .theme-dark-neon .contact-flex {
        justify-content: center;
    }
    
    /* Builder Form Mobile Views */
    .builder-body {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .theme-options-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .builder-steps {
        flex-wrap: wrap;
    }
    
    .step-tab {
        flex: 1 1 50%;
        padding: 12px;
    }
}
