:root {
    --brand-red: #B02533;
    --brand-red-dark: #7d1828;
    --brand-red-darker: #5e1220;
    --ink: #000000A6;
    --poppins: "Poppins", sans-serif;
    --prompt: "Prompt", sans-serif;
    --fs-12: clamp(0.75rem, calc(0.75rem + 0vw), 0.75rem);
    --fs-14: clamp(0.75rem, calc(0.679rem + 0.357vw), 0.875rem);
    --fs-16: clamp(0.875rem, calc(0.768rem + 0.536vw), 1rem);
    --fs-18: clamp(0.938rem, calc(0.848rem + 0.446vw), 1.125rem);
    --fs-20: clamp(1rem, calc(0.929rem + 0.357vw), 1.25rem);
    --fs-24: clamp(1.125rem, calc(0.911rem + 1.071vw), 1.5rem);
    --fs-28: clamp(1.25rem, calc(0.964rem + 1.429vw), 1.75rem);
    --fs-32: clamp(1.375rem, calc(0.839rem + 2.679vw), 2rem);
    --fs-36: clamp(1.5rem, calc(0.643rem + 4.286vw), 2.25rem);
    --fs-40: clamp(1.625rem, calc(0.768rem + 4.286vw), 2.5rem);
    --fs-44: clamp(1.75rem, calc(0.607rem + 5.714vw), 2.75rem);
    --fs-48: clamp(1.875rem, calc(0.589rem + 6.429vw), 3rem);
    --fs-52: clamp(2rem, calc(0.571rem + 7.143vw), 3.25rem);
    --fs-56: clamp(2.125rem, calc(0.554rem + 7.857vw), 3.5rem);
    --fs-60: clamp(2.25rem, calc(0.536rem + 8.571vw), 3.75rem);
    --fs-64: clamp(2.375rem, calc(0.518rem + 9.286vw), 4rem);
    --fs-70: clamp(2.5rem, calc(0.357rem + 10.714vw), 4.375rem);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

html {
    font-size: 16px;
}

body {
    font-size: 1rem;
    color: var(--ink);
}

p {
    font-weight: 400;
    font-size: var(--fs-16);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #000000;
}

a {
    transition: color .2s ease, opacity .2s ease, background-color .2s ease;
}

/* Accessibility: clear keyboard focus + respect reduced motion */
a:focus-visible,
.btn:focus-visible,
.navbar-toggler:focus-visible {
    outline: 3px solid #ffd34d;
    outline-offset: 3px;
    border-radius: 4px;
}

ul,
ol {
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* ============ TOP BAR ============ */
.top-nav {
    background: var(--brand-red);
    color: #fff;
    font-size: 14px;
    padding: 10px 0;
}

.top-nav a {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.top-nav a:hover {
    opacity: .8;
}

.top-nav ul {
    list-style: none;
    margin: 0;
}

.top-contact i {
    font-size: 15px;
}

.top-right .social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-right a img {
    width: 24px;
    height: 24px;
}

/* ============ NAVBAR ============ */
.main-nav {
    background: #fff;
    padding: 14px 0;
    box-shadow: 0 2px 14px rgba(0, 0, 0, .05);
    position: relative;
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    max-width: 200px;
    display: inline-block;
}

/* ----- The menu (inline on desktop) ----- */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu-head {
    display: none;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.main-nav .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2b2b2b;
    font-weight: 500;
    font-size: 16px;
    padding: .5rem .85rem;
    white-space: nowrap;
    cursor: pointer;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active,
.has-dropdown:hover>.nav-link {
    color: var(--brand-red);
}

.caret {
    font-size: 11px;
    transition: transform .25s ease;
}

/* ----- Desktop dropdown ----- */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--brand-red);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 1001;
}

.has-dropdown:hover>.dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-dropdown:hover>.nav-link .caret {
    transform: rotate(90deg);
}

.dropdown li+li {
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.dropdown a {
    display: block;
    padding: 12px 18px;
    color: #fff;
    font-size: 14.5px;
    text-transform: capitalize;
    text-decoration: none;
    border-bottom: 0.5px solid #ffffff;
}

.dropdown a:hover {
    background: #ffffff;
    color: var(--brand-red-dark);
}

/* ----- Hamburger ----- */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 8px;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 8px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--brand-red);
    border-radius: 2px;
    transition: transform .25s ease, opacity .25s ease;
}

/* ----- Overlay (mobile only) ----- */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s;
    z-index: 1040;
}

.nav-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* ============ HERO ============ */
.hero {
    min-height: calc(100dvh - var(--header-total, 0px));
    display: flex;
    align-items: center;
    overflow: hidden;
    background: url('../img/hero.png') center center / cover no-repeat;
}

.hero h6 {
    font-family: Poppins;
    font-weight: 400;
    font-size: 16px;
    color: #FFFFFF;
}

.hero h1 {
    font-family: Prompt;
    font-weight: 400;
    font-size: var(--fs-48);
    color: #FFFFFF;
}

.hero p {
    color: #FFFFFF;
}

.hero a {
    padding: 10px 24px;
    text-align: center;
    color: #FFFFFF;
    background: var(--brand-red);
    border-radius: 1rem;
    text-decoration: none;
    font-family: Poppins;
    font-weight: 500;
    font-size: 16px;
    margin-top: 1rem;
    display: inline-block;
}

.hero .btn_group a:last-child {
    margin-left: 10px;
    background-color: transparent;
    border: 1px solid #FFFFFF;
}

/* ============ FOOTER ============ */
.site-footer {
    background: var(--brand-red);
    color: rgba(255, 255, 255, .9);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1.4fr 1fr .8fr;
    gap: 40px;
    padding: 56px 0 48px;
}

.site-footer h6 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 22px;
    padding-bottom: 12px;
    font-size: 17px;
    border-bottom: 1px solid #FFFFFF;
}

.footer-brand {
    max-width: 220px;
    margin-bottom: 18px;
}

.company-name {
    font-weight: 700;
    color: #fff;
    font-size: 15px;
    letter-spacing: .3px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.site-footer p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.site-footer a {
    color: rgba(255, 255, 255, .9);
    text-decoration: none;
    transition: color .2s ease;
}

.site-footer a:hover {
    color: #fff;
}

.address-block {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
}

.address-block li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-ico {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.reg-meta {
    font-size: 13.5px;
    color: rgba(255, 255, 255, .8);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    font-size: 14.5px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 30px;
}

/* Contact bar */
.footer-contact-bar {
    background: #fff;
    padding: 16px 0;
}

.footer-contact-bar .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px 30px;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--brand-red) !important;
    font-size: 15px;
    font-weight: 500;
}

.contact-item img {
    width: 20px;
    height: 20px;
}

.contact-item:hover {
    opacity: .8;
}

/* Bottom bar */
.footer-bottom {
    background: var(--brand-red);
    padding: 18px 0;
}

.footer-bottom .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.footer-bottom p {
    font-size: 13.5px;
    margin: 0;
    opacity: .9;
}

.social-footer {
    display: flex;
    align-items: center;
}

.follow-label {
    font-size: 14px;
    color: #fff;
    margin-right: 4px;
}

.social-footer a {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, opacity .2s ease;
}

.social-footer a img {
    width: 20px;
    height: 20px;
}

.social-footer a:hover {
    transform: translateY(-2px);
    opacity: .85;
}

/* ============ ABOUT ============ */
.about .about-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.about h2 {
    font-weight: 400;
    line-height: 3.25rem;
    margin-bottom: 1.5rem;
    font-size: var(--fs-48);
}

.about .red_card {
    background: var(--brand-red);
    border-radius: 1rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    color: #FFFFFF;
    height: 100%;
}

.about .red_card h6 {
    font-weight: 600;
    font-size: var(--fs-24);
    line-height: 3.25rem;
    color: #FFFFFF;
}

.about .red_card p {
    text-align: justify;
}

/* ============ programs ============ */
.program_card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1rem;
    background: #FFFFFF;
    padding: 40px;
    border: 0.5px solid #B02533;
    box-shadow: 0px 4px 0px 0px #B02533;
    border-radius: 1rem;
    height: 100%;
}

.program_card img {
    flex-grow: 0;
    width: 40px;
    height: 40px;
}

h2 {
    font-family: var(--prompt);
    font-weight: 400;
    font-size: var(--fs-48);
    line-height: 3.25rem;
}

.program_card h4 {
    font-weight: 400;
    font-size: var(--fs-24);
    margin-bottom: 0;
}

.program_card h6 {
    font-family: Poppins;
    font-weight: 400;
    font-size: 1rem;
    color: var(--brand-red);
    margin-bottom: 0;
}

.labels {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.label {
    font-size: 14px;
    color: #B0253394;
    border: 0.5px solid #B02533;
    width: fit-content;
    padding: 5px 10px;
    border-radius: 8px;
}

.trust-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.trust_card {
    background: var(--brand-red);
    padding: 24px 20px;
    border-radius: 1rem;
    text-align: center;
    color: white;
    height: 100%;
}

.trust_card h5 {
    font-family: Prompt;
    font-weight: 600;
    font-size: var(--fs-48);
    margin-bottom: 0;
    color: white;
}

.trust_card p {
    font-weight: 500;
    text-align: center;
    text-transform: capitalize;
    margin-bottom: 0;
}

.special-list h5 {
    font-weight: 400;
    font-size: var(--fs-24);
}

.special-list ul {
    list-style: none;
    margin-top: 1.2rem;
}

.special-list ul li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--poppins);
    font-weight: 400;
    font-size: 14px;
    color: #000;
    margin-bottom: 1rem;
}

.entrepreneur {
    background: #F9F1E0;
}

.journey {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/tractor.png') center center / cover;
    position: relative;
}

.journey a {
    background: #FFFFFF;
    color: var(--brand-red);
    border-radius: 1rem;
    padding: 12px 22px;
    display: inline-block;
    min-width: 200px;
    text-decoration: none;
}

.banner {
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 200px;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.banner::after {
    background: #B025334D;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    content: '';
    z-index: 1;
}

.banner h1 {
    position: relative;
    z-index: 2;
    color: white;
    font-weight: 400;
    font-size: var(--fs-48);
    text-align: center;
    text-transform: capitalize;
}

.mid-title {
    font-weight: 500;
    font-size: var(--fs-20);
}

/* Careers Form */
.careers-form-sticky {
    position: sticky;
    top: 20px;
}

.careers-form {
    background-color: var(--brand-red);
    border-radius: 8px;
    padding: 40px;
    margin-top: 20px;
}

.careers-form .form-label {
    color: #fff;
    font-size: 14px;
    margin-bottom: 6px;
}

.careers-form .form-control,
.careers-form .form-select {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    color: #fff;
    padding: 10px 14px;
}

.careers-form .form-select {
    cursor: pointer;
}

.careers-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.careers-form .form-control:focus,
.careers-form .form-select:focus {
    background: transparent;
    border-color: #fff;
    box-shadow: none;
    color: #fff;
}

.careers-form .form-select option {
    color: #333;
    background: #fff;
}

.careers-form textarea.form-control {
    resize: none;
}

.cv-upload-wrapper {
    display: flex;
    align-items: center;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    overflow: hidden;
}

.cv-filename {
    flex: 1;
    color: rgba(255, 255, 255, 0.55);
    padding: 10px 14px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cv-upload-btn {
    background: #FFFFFF;
    color: var(--brand-red);
    border: none;
    padding: 10px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    white-space: nowrap;
    margin: 0;
}

.cv-upload-btn:hover {
    background: #ffdede;
}

.careers-submit-btn {
    background: #fff;
    color: #8B1A22;
    font-weight: 500;
    border-radius: 1rem;
    padding: 12px;
    font-size: 15px;
    border: none;
    transition: background 0.2s, color 0.2s;
}

.careers-submit-btn:hover {
    background: #f0e0e2;
    color: #8B1A22;
}

.job-card {
    border: 0.5px solid var(--brand-red);
    padding: 20px 24px;
    border-radius: 1rem;
    box-shadow: 0px 4px 0px 0px #B02533;
    margin-bottom: 1rem;
}

.job-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.job-card h6 {
    font-weight: 600;
    font-size: var(--fs-18);
    margin: 4px 0 0;
}

.job-badge {
    display: inline-block;
    background: #fce8ea;
    color: var(--brand-red);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 2px 10px;
    border-radius: 50px;
    margin-bottom: 4px;
}

.job-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 14px;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #777;
}

.job-meta-item svg {
    color: var(--brand-red);
    flex-shrink: 0;
}