/* ===================================
   Portfolio — Client Hunting / LinkedIn
   Light, professional color scheme
   =================================== */

:root {
    /* Light professional palette */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-dark: #0f172a;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;

    /* Accent - professional blue (trust + action) */
    --accent: #0369a1;
    --accent-hover: #0284c7;
    --accent-light: #e0f2fe;
    /* CTA - stands out for Hire Me / Send */
    --cta: #ea580c;
    --cta-hover: #c2410c;
    --cta-light: #ffedd5;

    --border: #e2e8f0;
    --border-dark: #cbd5e1;

    --font: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --container: 1100px;
    --section-padding: 100px;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 12px 40px rgba(15, 23, 42, 0.12);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

::selection { background: var(--accent-light); color: var(--text-primary); }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

a { text-decoration: none; color: inherit; transition: color 0.2s, background 0.2s, border-color 0.2s; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    border: none;
}
.btn-primary {
    background: var(--cta);
    color: #fff;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
}
.btn-primary:hover {
    background: var(--cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4);
}
.btn-secondary {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 2px solid var(--border-dark);
}
.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}
.btn-outline:hover {
    background: var(--accent-light);
}
.btn-full { width: 100%; justify-content: center; }

/* Top Bar */
.topbar {
    background: var(--bg-dark);
    color: #e2e8f0;
    padding: 10px 0;
    font-size: 14px;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar-cta {
    color: var(--cta-light);
    font-weight: 600;
}
.topbar-cta:hover { color: #fff; }

/* Nav */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    transition: box-shadow 0.2s;
}
.navbar.scrolled { box-shadow: var(--shadow); }

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    font-weight: 800;
    font-size: 20px;
    color: var(--text-primary);
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}
.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 15px;
}
.nav-link:hover { color: var(--text-primary); }
.nav-cta {
    background: var(--cta);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: var(--radius);
}
.nav-cta:hover { background: var(--cta-hover); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: transform 0.2s, opacity 0.2s;
}

/* Hero */
.hero {
    padding: 60px 0 80px;
    background: var(--bg-secondary);
}
.hero-inner { max-width: 720px; }
.hero-badge {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}
.hero-title {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 20px;
}
.hero-title .highlight { color: var(--accent); }
.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-trust { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.trust-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: block;
}
.trust-logos { display: flex; gap: 24px; flex-wrap: wrap; }
.trust-logo {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}
.hero-visual {
    margin-top: 48px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}
.hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 400px;
}

/* Section common */
section { padding: var(--section-padding) 0; }
.section-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 48px;
}
.section-header .section-title { margin-bottom: 40px; }
.section-desc {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.6;
    max-width: 560px;
    margin: -24px auto 40px;
}

/* Services */
.services { background: var(--bg-primary); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--bg-secondary);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.service-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-light);
    transform: translateY(-4px);
}
.service-icon { font-size: 32px; margin-bottom: 16px; }
.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}
.service-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* Strip */
.strip {
    background: var(--accent);
    color: #fff;
    padding: 40px 0;
}
.strip-inner {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}
.strip-item { text-align: center; }
.strip-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 4px;
}
.strip-label { font-size: 14px; opacity: 0.9; }

/* About */
.about { background: var(--bg-secondary); }
.about-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 60px;
    align-items: center;
}
.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}
.about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/5;
}
.about-content .section-tag { margin-bottom: 8px; }
.about-content .section-title { margin-bottom: 20px; }
.about-intro {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.6;
}
.about-text {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 15px;
}
.about-list {
    list-style: none;
    margin-bottom: 28px;
}
.about-list li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-secondary);
}
.about-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}
.about-subtitle {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 24px 0 12px;
}
.about-list.about-bring li {
    padding: 10px 0 10px 28px;
    line-height: 1.6;
}
.about-list.about-bring li strong {
    color: var(--text-primary);
}
.about-skills-line {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 28px;
    padding: 14px 18px;
    background: var(--bg-tertiary);
    border-radius: var(--radius);
    border-left: 3px solid var(--accent);
}
.about-skills-line strong { color: var(--text-primary); }

/* Experience */
.experience { background: var(--bg-primary); }
.experience-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.experience-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.experience-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}
.exp-header { margin-bottom: 16px; }
.exp-role {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.exp-meta {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}
.exp-dot { margin: 0 6px; opacity: 0.6; }
.exp-date {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 2px;
}
.exp-duration { font-weight: 500; color: var(--text-secondary); }
.exp-location {
    font-size: 13px;
    color: var(--text-muted);
}
.exp-summary {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}
.exp-projects {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}
.exp-contributions {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}
.exp-contributions strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 14px;
}
.exp-contributions ul {
    list-style: disc;
    padding-left: 22px;
    margin: 0;
}
.exp-contributions li {
    margin-bottom: 6px;
    line-height: 1.5;
}
.exp-tech {
    font-size: 13px;
    color: var(--text-muted);
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius);
    border-left: 3px solid var(--accent);
}

/* Education */
.education { background: var(--bg-secondary); }
.education-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.education-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.education-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}
.edu-header { margin-bottom: 14px; }
.edu-degree {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.edu-school {
    font-size: 15px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 6px;
}
.edu-meta {
    font-size: 14px;
    color: var(--text-muted);
}
.edu-grade { font-weight: 600; color: var(--text-secondary); margin-left: 8px; }
.edu-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}

@media (max-width: 1024px) {
    .education-list { grid-template-columns: 1fr; }
}

/* Skills */
.skills { background: var(--bg-primary); }
.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.skill-tag {
    padding: 12px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: border-color 0.2s, background 0.2s;
}
.skill-tag:hover {
    border-color: var(--accent);
    background: var(--accent-light);
    color: var(--accent);
}

/* Projects */
.projects { background: var(--bg-secondary); }
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.project-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: box-shadow 0.2s, transform 0.2s;
}
.project-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}
.project-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}
.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.project-card:hover .project-image img { transform: scale(1.05); }
.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.2s;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-link {
    padding: 10px 20px;
    background: #fff;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius);
}
.project-link:hover { background: var(--accent-light); color: var(--accent); }
.project-content { padding: 24px; }
.project-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}
.project-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.project-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.project-tech span {
    padding: 6px 12px;
    background: var(--bg-tertiary);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Testimonials */
.testimonials { background: var(--bg-primary); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: var(--bg-secondary);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}
.testimonial-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}
.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-author strong { display: block; color: var(--text-primary); font-size: 15px; }
.testimonial-author span { font-size: 13px; color: var(--text-muted); }

/* Contact */
.contact { background: var(--bg-secondary); }
.contact-wrapper {
    max-width: 640px;
    margin: 0 auto;
}
.contact-heading { margin-bottom: 40px; }
.contact-heading .section-title { margin-bottom: 12px; }
.contact-heading p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}
.contact-quick { display: flex; gap: 24px; flex-wrap: wrap; }
.contact-quick-link {
    font-weight: 600;
    color: var(--accent);
}
.contact-quick-link:hover { color: var(--cta); }

.contact-form {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 15px;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* Footer */
.footer {
    background: var(--bg-dark);
    color: #94a3b8;
    padding: 48px 0 24px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 24px;
}
.footer-brand { flex-shrink: 0; }
.footer-logo {
    font-weight: 800;
    font-size: 20px;
    color: #fff;
}
.footer-brand p { font-size: 14px; margin-top: 4px; }
.footer-links-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}
.footer-links,
.footer-connect {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}
.footer-links a,
.footer-connect a {
    font-size: 14px;
    color: #94a3b8;
    white-space: nowrap;
}
.footer-links a:hover,
.footer-connect a:hover { color: #fff; }
.footer-bottom { font-size: 13px; text-align: center; }

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    :root { --section-padding: 80px; }
    .services-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .about-image { max-width: 400px; }
    .projects-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .strip-inner { gap: 40px; }
}

@media (max-width: 768px) {
    :root { --section-padding: 60px; }
    .topbar { display: none; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        transition: right 0.3s;
    }
    .nav-menu.active { right: 0; }
    .nav-toggle { display: flex; z-index: 101; }
    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; align-items: center; gap: 24px; text-align: center; }
    .footer-links-wrap { align-items: center; }
    .footer-links, .footer-connect { justify-content: center; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 28px; }
    .service-card { padding: 24px; }
    .contact-form { padding: 24px; }
}
