/* ========================================================
   MANJUNATH JV | STRATEGIC PROCUREMENT & SUPPLY CHAIN
   Theme: Global Supply Chain & EPC Excellence
   Fonts: Libre Baskerville (Accents), Nunito Sans (Body/Headings)
   Colors: Core Navy, Strategy Olive/Gold, Clean White
   ======================================================== */

:root {
    /* Colors */
    --bg-main: #ffffff;
    --bg-light: #f8fafc;
    /* Slate 50 */
    --bg-dark: #0f172a;
    /* Slate 900 (Core Navy) */
    --bg-darker: #020617;
    /* Slate 950 */

    --color-primary: #1e293b;
    /* Slate 800 */
    --color-accent: #b45309;
    /* Amber/Gold - Status & Wealth */
    --color-accent-light: rgba(180, 83, 9, 0.1);

    --text-dark: #0f172a;
    --text-body: #475569;
    /* Slate 600 */
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    /* Slate 400 */

    --border-light: #e2e8f0;
    /* Slate 200 */
    --border-dark: #334155;
    /* Slate 700 */

    /* Typography */
    --font-serif: 'Libre Baskerville', serif;
    --font-sans: 'Nunito Sans', sans-serif;

    /* Utilities */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

/* === GENERAL Reset & Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.2;
}

.italic-serif {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--color-accent);
}

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

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

ul {
    list-style: none;
}

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

/* Background Logistics Lines */
.bg-lines {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.03;
    display: flex;
    justify-content: space-evenly;
}

.line {
    width: 1px;
    height: 100%;
    background-color: var(--color-primary);
}

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 120px 0;
}

.bg-light {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.bg-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.text-white .main-heading,
.text-white h3,
.text-white h4,
.text-white p {
    color: var(--text-light);
}

.center {
    text-align: center;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-solid {
    background-color: var(--color-accent);
    color: #fff;
    box-shadow: 0 4px 10px rgba(180, 83, 9, 0.3);
}

.btn-solid:hover {
    background-color: #92400e;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(180, 83, 9, 0.4);
}

.btn-outline {
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
}

.btn-outline:hover {
    background-color: var(--text-dark);
    color: #fff;
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition);
    padding: 24px 0;
}

.navbar.scrolled {
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.brand-name {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-dark);
}

.brand-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-body);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--color-accent);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    z-index: 101;
}

.nav-toggle span {
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

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

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

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

.mobile-nav {
    position: fixed;
    inset: 0;
    background: var(--bg-main);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-nav.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav a {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.mobile-nav a:hover {
    color: var(--color-accent);
}

/* === HEADINGS === */
.section-head {
    margin-bottom: 4rem;
}

.sub-heading {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.main-heading {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -1px;
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-label {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 40px;
    max-width: 560px;
}

.metric-ribbon {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-light);
}

.metric-box h4 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--color-accent);
    margin-bottom: 4px;
}

.metric-box p {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
}

.visual-frame {
    position: relative;
    width: 360px;
    height: 480px;
    z-index: 2;
}

.frame-border {
    position: absolute;
    inset: -20px;
    border: 2px solid var(--border-light);
    z-index: 0;
}

.profile-img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    z-index: 2;
    box-shadow: var(--shadow-lg);
}

.visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.4), transparent);
    z-index: 3;
    pointer-events: none;
}

.badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-main);
    padding: 14px 24px;
    border: 1px solid var(--border-light);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    box-shadow: var(--shadow-md);
    z-index: 4;
}

.badge svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
}

.badge-top {
    top: 15%;
    right: -25%;
}

.badge-bottom {
    bottom: 15%;
    left: -25%;
}

/* === CAPABILITIES GRID === */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.skill-card {
    background: var(--bg-main);
    padding: 50px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid var(--color-accent);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.s-icon {
    width: 48px;
    height: 48px;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.skill-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.s-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.s-list li {
    position: relative;
    padding-left: 24px;
    font-size: 1rem;
    color: var(--text-body);
}

.s-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 800;
}

/* === TIMELINE (Professional Journey) === */
.timeline-wrap {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.tl-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 40px;
    position: relative;
}

.tl-side {
    position: relative;
    padding-top: 24px;
}

.tl-date {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 1rem;
    color: var(--color-accent);
    text-align: right;
}

.tl-line {
    position: absolute;
    right: -20px;
    top: 32px;
    bottom: -40px;
    width: 2px;
    background-color: var(--border-light);
}

.tl-line::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 2px solid var(--color-accent);
}

.line-end {
    bottom: 0;
}

.tl-content {
    padding-bottom: 60px;
}

.tl-box {
    background: var(--bg-light);
    padding: 40px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
}

.highlight-box {
    background: var(--bg-main);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
}

.tl-role {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.tl-company {
    font-size: 1.1rem;
    color: var(--text-body);
    font-weight: 600;
    font-family: var(--font-sans);
}

.tl-bullets {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tl-bullets li {
    position: relative;
    padding-left: 20px;
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.6;
}

.tl-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--text-muted);
    border-radius: 50%;
}

.tl-box strong {
    color: var(--text-dark);
}

/* === ACHIEVEMENTS & EDUCATION === */
.double-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
}

.award-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.award {
    display: flex;
    gap: 24px;
    background: var(--color-primary);
    border: 1px solid var(--border-dark);
    padding: 30px;
    border-radius: var(--radius-md);
}

.a-icon {
    font-size: 2rem;
}

.a-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-accent);
}

.a-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.edu-col {
    padding-top: 108px;
}

.edu-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-dark);
    padding: 30px;
    border-radius: var(--radius-md);
}

.edu-block h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.border-top-sub {
    height: 1px;
    background: var(--border-dark);
    margin-bottom: 20px;
}

.edu-block h4 {
    font-size: 1.1rem;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.edu-block p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* === FOOTER === */
.footer {
    background: var(--bg-darker);
    color: var(--text-muted);
    padding: 80px 0 30px;
    border-top: 4px solid var(--color-accent);
}

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

.footer-brand h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.f-role {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-accent);
}

.f-desc {
    font-size: 0.95rem;
    max-width: 400px;
}

.footer-contact h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.c-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.c-link svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
}

.c-link:not(.no-hover):hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-copy {
    border-top: 1px solid var(--border-dark);
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
}

/* === ANIMATIONS === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero-desc {
        margin: 0 auto 40px;
    }

    .metric-ribbon {
        justify-content: center;
    }

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

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

    .tl-side {
        padding-top: 0;
        text-align: left;
    }

    .tl-date {
        text-align: left;
    }

    .tl-line {
        display: none;
    }

    .tl-content {
        padding-bottom: 40px;
    }

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

    .edu-col {
        padding-top: 0;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-btn {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: clamp(2.5rem, 8vw, 3rem);
    }

    .metric-ribbon {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .hero-visual {
        height: 450px;
    }

    .visual-frame {
        width: 300px;
        height: 400px;
    }

    .badge {
        display: none;
    }

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

    .award {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
    }

    .skill-card,
    .tl-box,
    .award,
    .edu-block {
        padding: 30px 20px;
    }
}