@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
    --navy: #0A1F44;
    --blue: #1E5BFF;
    --orange: #FF8A00;
    --mint: #14B8A6;
    --ink: #0f172a;
    --muted: #64748b;
    --soft: #f5f7fb;
    --line: #e5edf7;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--soft);
    color: var(--ink);
    line-height: 1.6;
}

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

/* Navbar is now handled by style.css for consistency across all pages */

.hero {
    width: min(1180px, calc(100% - 32px));
    margin: 100px auto 0;
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 42px;
    align-items: center;
    min-height: 640px;
}

.eyebrow,
.section-heading span,
.result-label,
.path-card span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 13px;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    margin-top: 18px;
    max-width: 680px;
    font-size: clamp(2.7rem, 5vw, 5.4rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    color: var(--navy);
}

.hero-copy p {
    max-width: 620px;
    margin-top: 24px;
    color: var(--muted);
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 15px;
    font-weight: 900;
    transition: 0.25s ease;
}

.btn.primary {
    background: var(--orange);
    color: #231400;
    box-shadow: 0 14px 30px rgba(255, 138, 0, 0.25);
}

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

.btn:hover,
.submit-btn:hover {
    transform: translateY(-3px);
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 34px;
    max-width: 560px;
}

.trust-row div {
    padding: 16px;
    border-radius: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(10, 31, 68, 0.07);
}

.trust-row strong {
    display: block;
    color: var(--blue);
    font-size: 1.45rem;
    line-height: 1;
}

.trust-row span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.counsellor-panel {
    position: relative;
    min-height: 560px;
}

.hero-img {
    width: 82%;
    height: 520px;
    margin-left: auto;
    display: block;
    object-fit: cover;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 28px 70px rgba(10, 31, 68, 0.24);
}

.advisor-card {
    position: absolute;
    left: 0;
    bottom: 58px;
    width: min(380px, 86%);
    padding: 18px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 20px 45px rgba(10, 31, 68, 0.18);
    border: 1px solid var(--line);
}

.advisor-avatar {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--mint));
}

.advisor-card strong {
    color: var(--navy);
}

.advisor-card p {
    color: var(--muted);
    font-size: 0.86rem;
}

.mini-card {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: var(--navy);
    color: var(--white);
    font-weight: 900;
    box-shadow: 0 18px 38px rgba(10, 31, 68, 0.25);
}

.mini-card i {
    color: var(--orange);
}

.card-one {
    top: 54px;
    left: 16px;
}

.card-two {
    right: 0;
    bottom: 142px;
}

.support-strip,
.counsellor-section,
.paths-section,
.process-section {
    width: min(1180px, calc(100% - 32px));
    margin: 80px auto 0;
}

.support-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.support-strip div {
    padding: 24px;
    border-radius: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 14px 34px rgba(10, 31, 68, 0.08);
}

.support-strip i {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--mint));
}

.support-strip h3 {
    margin-top: 18px;
    color: var(--navy);
}

.support-strip p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.94rem;
}

.section-heading {
    text-align: center;
    margin-bottom: 34px;
}

.section-heading span {
    margin: 0 auto 14px;
}

.section-heading h2 {
    color: var(--navy);
    font-size: clamp(2rem, 3.4vw, 3.2rem);
    letter-spacing: -0.04em;
}

.section-heading p {
    max-width: 620px;
    margin: 12px auto 0;
    color: var(--muted);
}

.counsellor-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    align-items: stretch;
}

.guidance-form,
.guidance-result {
    border-radius: 28px;
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 22px 54px rgba(10, 31, 68, 0.1);
}

.guidance-form {
    padding: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

label {
    display: block;
    margin-bottom: 16px;
    color: var(--navy);
    font-weight: 900;
    font-size: 0.92rem;
}

input,
select,
textarea {
    width: 100%;
    margin-top: 8px;
    padding: 14px 15px;
    border: 1px solid #dfe7f1;
    border-radius: 14px;
    outline: none;
    color: var(--ink);
    font: inherit;
    background: #fbfdff;
    transition: 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(30, 91, 255, 0.55);
    box-shadow: 0 0 0 4px rgba(30, 91, 255, 0.1);
    background: var(--white);
}

.interest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.interest-grid button {
    padding: 12px 10px;
    border-radius: 14px;
    border: 1px solid #dfe7f1;
    background: #fbfdff;
    color: #334155;
    font-weight: 900;
    cursor: pointer;
    transition: 0.2s ease;
}

.interest-grid button.active,
.interest-grid button:hover {
    background: #edf4ff;
    color: var(--blue);
    border-color: rgba(30, 91, 255, 0.35);
}

.submit-btn {
    width: 100%;
    min-height: 54px;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    background: linear-gradient(135deg, var(--blue), #2539cc);
    color: var(--white);
    font-weight: 900;
    font-size: 1rem;
    box-shadow: 0 15px 30px rgba(30, 91, 255, 0.22);
    transition: 0.25s ease;
}

.guidance-result {
    padding: 30px;
    background:
        radial-gradient(circle at top right, rgba(255, 138, 0, 0.22), transparent 32%),
        linear-gradient(145deg, #0A1F44 0%, #102f69 100%);
    color: var(--white);
}

.guidance-result .result-label {
    background: rgba(255, 255, 255, 0.1);
    color: #ffcf91;
}

.guidance-result h3 {
    margin-top: 18px;
    font-size: 1.8rem;
    line-height: 1.2;
}

.guidance-result p {
    margin-top: 12px;
    color: #cbd5e1;
}

.guidance-result ul {
    list-style: none;
    margin-top: 22px;
    display: grid;
    gap: 12px;
}

.guidance-result li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #eef4ff;
    font-weight: 800;
}

.guidance-result li i {
    color: var(--orange);
}

.modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 18, 45, 0.68);
    backdrop-filter: blur(6px);
}

.modal-content {
    position: relative;
    z-index: 1;
    width: min(560px, calc(100% - 40px));
    padding: 32px 28px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(244,248,255,0.96));
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.2);
    text-align: center;
    transform: scale(0.92);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    border: none;
    background: transparent;
    color: var(--ink);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
}

.modal-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: rgba(34, 197, 94, 0.14);
    color: #16a34a;
    font-size: 2.25rem;
    font-weight: 900;
}

.modal-content h2 {
    color: var(--navy);
    font-size: 1.95rem;
    margin-bottom: 18px;
}

.modal-content p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.8;
}

.paths-section {
    padding: 70px 0;
}

.section-heading.dark h2 {
    color: var(--navy);
}

.path-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.path-card {
    min-height: 380px;
    border-radius: 26px;
    overflow: hidden;
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 18px 42px rgba(10, 31, 68, 0.1);
    transition: 0.3s ease;
}

.path-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(10, 31, 68, 0.17);
}

.path-card img {
    width: 100%;
    height: 185px;
    object-fit: cover;
}

.path-card div {
    padding: 20px;
}

.path-card span {
    background: #fff7ed;
    color: #c2410c;
}

.path-card h3 {
    margin-top: 14px;
    color: var(--navy);
    line-height: 1.2;
}

.path-card p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.92rem;
}

.process-section {
    margin-bottom: 90px;
}

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

.timeline-step {
    padding: 26px;
    border-radius: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 14px 34px rgba(10, 31, 68, 0.08);
}

.timeline-step strong {
    color: var(--blue);
    font-size: 1.6rem;
}

.timeline-step h3 {
    margin-top: 12px;
    color: var(--navy);
}

.timeline-step p {
    margin-top: 8px;
    color: var(--muted);
}

.timeline-step.active {
    background: var(--navy);
}

.timeline-step.active h3,
.timeline-step.active p {
    color: var(--white);
}

@media (max-width: 980px) {
    .hero,
    .counsellor-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-panel {
        min-height: 500px;
    }

    .support-strip,
    .path-grid,
    .timeline {
        grid-template-columns: 1fr 1fr;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 680px) {
    .career-nav {
        top: 8px;
        width: calc(100% - 20px);
    }

    .nav-cta {
        padding: 10px 12px;
        font-size: 0.82rem;
    }

    .hero,
    .support-strip,
    .counsellor-section,
    .paths-section,
    .process-section {
        width: calc(100% - 24px);
    }

    .hero h1 {
        font-size: 2.45rem;
    }

    .trust-row,
    .support-strip,
    .path-grid,
    .timeline,
    .form-row,
    .interest-grid {
        grid-template-columns: 1fr;
    }

    .hero-img {
        width: 100%;
        height: 410px;
    }

    .counsellor-panel {
        min-height: 470px;
    }

    .advisor-card,
    .mini-card {
        position: relative;
        inset: auto;
        margin-top: 12px;
        width: 100%;
    }

    .guidance-form,
    .guidance-result {
        padding: 20px;
        border-radius: 22px;
    }
}

