/* ═══════════════════════════════════════════════
   ಉದ್ಯೋಗ ಯೋಗ · Udyoga Yoga — Shared Design System
   Used by every page in /site. Keep this file the
   single source of truth for look & feel so all
   pages stay visually consistent.
   ═══════════════════════════════════════════════ */

:root {
    --kn: 'Noto Sans Kannada', sans-serif;
    --en: 'Inter', sans-serif;
    --serif: 'Playfair Display', serif;
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --blue-soft: #eff6ff;
    --blue-light: #bfdbfe;
    --sky: #0ea5e9;
    --green: #16a34a;
    --amber: #d97706;
    --text: #0f172a;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --navy: #0f172a;
    --slate: #1e293b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--en);
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

a { color: inherit; }

/* ═══════════════════════════════════ */
/* UTILITY BAR — founder credit + lang */
/* ═══════════════════════════════════ */
.util-bar {
    background: var(--navy);
    padding: 9px 0;
}

.util-bar-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.util-founder {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: rgba(255,255,255,0.8);
    transition: color 0.2s;
}

.util-founder:hover { color: #fcd34d; }

.util-founder img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 18%;
    border: 1.5px solid rgba(245,158,11,0.55);
    flex-shrink: 0;
    display: block;
}

.util-founder-text { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2px; line-height: 1.3; }
.util-founder-text .i18n-kn { font-family: var(--kn); font-size: 0.75rem; }

.lang-toggle {
    display: inline-flex;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 20px;
    padding: 2px;
    flex-shrink: 0;
}

.lang-toggle button {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--en);
}

.lang-toggle button[data-lang="kn"] { font-family: var(--kn); }

.lang-toggle button.active { background: #fff; color: var(--navy); }

@media (max-width: 560px) {
    .util-founder-text { display: none; }
}

/* ═══════════════════════════════════ */
/* LANGUAGE VISIBILITY                 */
/* Default (server-rendered) = Kannada.*/
/* body.lang-en hides Kannada blocks;  */
/* body.lang-kn hides English blocks.  */
/* ═══════════════════════════════════ */
body.lang-en .i18n-kn { display: none !important; }
body.lang-kn .i18n-en { display: none !important; }

/* ═══════════════════════════════════ */
/* NAVBAR                              */
/* ═══════════════════════════════════ */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e2e8f0;
}

.nav-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo .badge {
    width: 34px;
    height: 34px;
    background: var(--blue);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
}

.nav-logo .name-kn { font-family: var(--kn); font-weight: 700; font-size: 1rem; color: var(--navy); line-height: 1.1; }
.nav-logo .name-en { font-size: 0.65rem; color: var(--text-light); letter-spacing: 0.5px; }

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

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--blue);
    border-bottom-color: var(--blue);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue);
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s;
}

.nav-cta:hover { background: var(--blue-dark); transform: translateY(-1px); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--navy);
    cursor: pointer;
}

@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid #e2e8f0;
        padding: 8px 24px 20px;
        gap: 4px;
        box-shadow: 0 12px 24px rgba(0,0,0,0.06);
    }

    .nav-links.open a {
        padding: 12px 0;
        border-bottom: 1px solid #f1f5f9;
        width: 100%;
    }

    .nav-links.open .nav-cta {
        margin-top: 10px;
        justify-content: center;
    }
}

/* ═══════════════════════════════════ */
/* INNER PAGE HERO (banner)            */
/* ═══════════════════════════════════ */
.page-hero {
    background: linear-gradient(160deg, #0c1a33 0%, #172554 40%, #0c1a33 100%);
    padding: 64px 0 56px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -180px;
    right: -120px;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.page-hero-inner { position: relative; z-index: 2; }

.page-hero .crumb {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.page-hero .crumb a { text-decoration: none; color: rgba(255,255,255,0.55); }
.page-hero .crumb a:hover { color: #93c5fd; }

.page-hero .kn-eyebrow {
    font-family: var(--kn);
    font-size: 1rem;
    color: #93c5fd;
    margin-bottom: 10px;
}

.page-hero h1 {
    font-family: var(--serif);
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 14px;
}

.page-hero h1 em { font-style: italic; color: #93c5fd; }

.page-hero p {
    font-size: 1rem;
    color: rgba(255,255,255,0.55);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

@media (max-width: 640px) {
    .page-hero h1 { font-size: 2rem; }
}

/* ═══════════════════════════════════ */
/* SECTION HELPERS                     */
/* ═══════════════════════════════════ */
.section { padding: 90px 0; }
.section.soft { background: var(--bg-soft); }
.section.blue { background: var(--blue-soft); }
.section.dark { background: var(--slate); color: #fff; }

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header .kn { font-family: var(--kn); font-size: 1rem; color: var(--text-light); margin-bottom: 8px; }
.section-header h2 { font-family: var(--serif); font-size: 2.4rem; font-weight: 900; letter-spacing: -1px; line-height: 1.15; }
.section-header p { font-size: 1rem; color: var(--text-light); max-width: 560px; margin: 12px auto 0; line-height: 1.6; }

@media (max-width: 640px) {
    .section-header h2 { font-size: 1.8rem; }
}

/* ═══════════════════════════════════ */
/* CARDS (offer / category / pain)     */
/* ═══════════════════════════════════ */
.card-grid {
    display: grid;
    gap: 20px;
}

.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 860px) {
    .cols-2, .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
}

.info-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.info-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.06); }

.info-icon {
    width: 52px;
    height: 52px;
    background: var(--blue-soft);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--blue);
    margin-bottom: 16px;
}

.info-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 2px; }
.info-card .kn-ti { font-family: var(--kn); font-size: 0.85rem; color: var(--blue); margin-bottom: 10px; }
.info-card p { font-size: 0.86rem; color: var(--text-light); line-height: 1.65; }

.tag {
    display: inline-block;
    background: var(--blue-soft);
    color: var(--blue);
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    margin: 2px 4px 2px 0;
}

/* ═══════════════════════════════════ */
/* JOB LISTINGS                        */
/* ═══════════════════════════════════ */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-chip {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    color: var(--text);
    padding: 9px 18px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-chip:hover { border-color: var(--blue-light); }
.filter-chip.active { background: var(--blue); border-color: var(--blue); color: #fff; }

.job-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.job-row {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    transition: all 0.25s;
}

.job-row:hover { border-color: var(--blue-light); box-shadow: 0 10px 30px rgba(37,99,235,0.06); }

.job-row.featured { background: #fffdf5; border-color: #fde68a; }

.job-main { flex: 1; min-width: 240px; }
.job-title { font-size: 1.02rem; font-weight: 700; }
.job-title-kn { font-family: var(--kn); font-size: 0.8rem; color: var(--text-light); margin-top: 2px; }
.job-meta { font-size: 0.8rem; color: var(--text-light); margin-top: 6px; display: flex; gap: 14px; flex-wrap: wrap; }
.job-meta span { display: inline-flex; align-items: center; gap: 5px; }
.job-tags { margin-top: 10px; }

.job-side { display: flex; align-items: center; gap: 18px; }
.job-pay { font-weight: 800; color: var(--green); font-size: 1.05rem; white-space: nowrap; }

.btn-apply {
    background: var(--blue);
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
}

.btn-apply:hover { background: var(--blue-dark); }

.job-count-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 30px;
}

/* ═══════════════════════════════════ */
/* BUTTONS (generic)                   */
/* ═══════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn .kn { font-family: var(--kn); font-size: 0.82rem; font-weight: 600; opacity: 0.9; display: block; }

.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 25px rgba(37,99,235,0.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37,99,235,0.35); }

.btn-light { background: #fff; color: var(--blue-dark); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.btn-light:hover { transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--blue); border: 1.5px solid var(--blue-light); }
.btn-outline:hover { background: var(--blue-soft); }

.btn-ghost-dark { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.15); }
.btn-ghost-dark:hover { transform: translateY(-2px); }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ═══════════════════════════════════ */
/* FORMS                                */
/* ═══════════════════════════════════ */
.form-card {
    background: #fff;
    border-radius: 22px;
    border: 1px solid #e2e8f0;
    padding: 44px;
    max-width: 640px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(15,23,42,0.06);
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}

.form-group label .kn { font-family: var(--kn); font-weight: 500; color: var(--text-light); margin-left: 6px; font-size: 0.78rem; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    font-family: var(--en);
    font-size: 0.92rem;
    color: var(--text);
    background: var(--bg-soft);
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    background: #fff;
}

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

.form-note {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-top: 4px;
}

.form-submit {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 20px;
    background: #dcfce7;
    color: var(--green);
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 20px;
}

/* ═══════════════════════════════════ */
/* STEPS (how it works)                */
/* ═══════════════════════════════════ */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    counter-reset: step;
}

@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.step-card { text-align: center; position: relative; }

.step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.step-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 3px; }
.step-card .kn-ti { font-family: var(--kn); font-size: 0.8rem; color: var(--blue); margin-bottom: 8px; }
.step-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }

/* ═══════════════════════════════════ */
/* STAT / NUMBER CARDS                 */
/* ═══════════════════════════════════ */
.num-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--blue-soft);
    border-radius: 20px;
    border: 1px solid var(--blue-light);
}

.num-card .num { font-size: 2.6rem; font-weight: 900; color: var(--blue-dark); line-height: 1; }
.num-card .lbl { font-size: 0.8rem; color: var(--text-light); margin-top: 6px; }
.num-card .kn-lbl { font-family: var(--kn); font-size: 0.72rem; color: var(--blue); margin-top: 2px; }

/* ═══════════════════════════════════ */
/* TIMELINE (job fair / events)        */
/* ═══════════════════════════════════ */
.timeline {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    padding-left: 32px;
    border-left: 2px solid var(--blue-light);
}

.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
    content: '';
    position: absolute;
    left: -39px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--blue);
    border: 3px solid var(--blue-soft);
}

.timeline-item .time { font-size: 0.75rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.5px; }
.timeline-item h4 { font-size: 1rem; font-weight: 700; margin: 4px 0 2px; }
.timeline-item p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }

/* ═══════════════════════════════════ */
/* CTA BAND (bottom of every page)     */
/* ═══════════════════════════════════ */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(160deg, #0c1a33 0%, #172554 40%, #0c1a33 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-inner { position: relative; z-index: 2; }
.cta-kn { font-family: var(--kn); font-size: 1.4rem; font-weight: 700; color: rgba(255,255,255,0.25); margin-bottom: 12px; }

.cta-section h2 {
    font-family: var(--serif);
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 18px;
}

.cta-section h2 em { font-style: italic; color: #93c5fd; }

.cta-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    max-width: 500px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

@media (max-width: 640px) {
    .cta-section h2 { font-size: 2.1rem; }
}

/* ═══════════════════════════════════ */
/* FOOTER                              */
/* ═══════════════════════════════════ */
.footer {
    background: var(--navy);
    color: rgba(255,255,255,0.55);
    padding: 60px 0 30px;
}

/* ═══════════════════════════════════ */
/* FOOTER FOUNDER BAND                 */
/* ═══════════════════════════════════ */
.footer-founder {
    background: linear-gradient(135deg, #fef3c7 0%, #fef9ee 100%);
    border: 1px solid #fde68a;
    border-radius: 20px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.footer-founder img {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 18%;
    border: 3px solid #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    flex-shrink: 0;
    display: block;
}

.footer-founder-body { flex: 1; min-width: 240px; }

.footer-founder-eyebrow {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #b45309;
    margin-bottom: 5px;
}

.footer-founder-name {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 900;
    color: #78350f;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.footer-founder-kn {
    font-family: var(--kn);
    font-size: 1.05rem;
    font-weight: 700;
    color: #b45309;
    margin-top: 3px;
}

.footer-founder-role {
    font-size: 0.85rem;
    color: #78350f;
    opacity: 0.9;
    line-height: 1.65;
    margin-top: 8px;
    max-width: 560px;
}

.footer-founder-role strong { font-weight: 700; }

@media (max-width: 560px) {
    .footer-founder { padding: 22px 20px; gap: 16px; }
    .footer-founder img { width: 64px; height: 64px; }
    .footer-founder-name { font-size: 1.2rem; }
    .footer-founder-kn { font-size: 0.9rem; }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 860px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .nav-logo .name-kn { color: #fff; }
.footer-brand p { font-size: 0.82rem; line-height: 1.7; margin-top: 14px; max-width: 260px; }

.footer h5 {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { text-decoration: none; color: rgba(255,255,255,0.5); font-size: 0.85rem; transition: color 0.2s; }
.footer ul li a:hover { color: #93c5fd; }

.footer-bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
}

.footer-bottom .kn { font-family: var(--kn); }

/* ═══════════════════════════════════ */
/* MISC UTILITIES                      */
/* ═══════════════════════════════════ */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
