
/* =========================================================
   EDU 9JA - MAIN WEBSITE STYLESHEET
   Nigerian-inspired education recruitment platform
   ========================================================= */

:root {
    --green: #087a45;
    --green-dark: #04552f;
    --green-light: #e9f6ef;
    --navy: #0c2445;
    --navy-light: #193b63;
    --gold: #e8b84a;
    --gold-light: #fff3d4;
    --white: #ffffff;
    --text: #263649;
    --muted: #718096;
    --bg: #f7faf8;
    --border: #e5ece7;
    --shadow: 0 12px 35px rgba(12,36,69,.08);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--white);
}

a {
    text-decoration: none;
}

button, input {
    font-family: inherit;
}

.section-padding {
    padding: 85px 0;
}

/* HEADER */

.site-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 18px rgba(12,36,69,.06);
}

.site-header .navbar {
    min-height: 78px;
}

.edu-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: 27px;
    font-weight: 900;
    color: var(--navy);
}

.edu-brand strong {
    color: var(--green);
}

.brand-mark {
    width: 43px;
    height: 43px;
    border-radius: 13px;
    background: var(--green);
    color: white;
    display: grid;
    place-items: center;
    font-size: 23px;
    box-shadow: 0 5px 12px rgba(8,122,69,.22);
}

.navbar-nav {
    gap: 8px;
}

.navbar-nav .nav-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    padding: 12px 13px !important;
}

.navbar-nav .nav-link:hover {
    color: var(--green);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 17px;
}

.header-login {
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
}

.wallet-link {
    background: var(--green-light);
    color: var(--green-dark);
    padding: 10px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 800;
}

.btn-brand {
    background: var(--green);
    color: #fff;
    border: 1px solid var(--green);
    padding: 12px 21px;
    border-radius: 9px;
    font-weight: 800;
}

.btn-brand:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    color: white;
}

.navbar-toggler {
    border: 0;
    color: var(--green);
    font-size: 28px;
}

/* HERO CAROUSEL */

.hero-section {
    background: var(--navy);
    overflow: hidden;
}

.min-vh-75 {
    min-height: 590px;
}

.hero-slide {
    min-height: 590px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 80% 15%,
        rgba(232,184,74,.15), transparent 28%),
        radial-gradient(circle at 10% 90%,
        rgba(255,255,255,.08), transparent 30%);
}

.hero-one {
    background: linear-gradient(120deg,#06472b,#087a45 60%,#0d6945);
}

.hero-two {
    background: linear-gradient(120deg,#0c2445,#163d64 60%,#087a45);
}

.hero-three {
    background: linear-gradient(120deg,#063b32,#087a45 60%,#155c75);
}

.hero-content {
    padding-top: 70px;
    padding-bottom: 90px;
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--gold);
    border: 1px solid rgba(232,184,74,.45);
    background: rgba(255,255,255,.08);
    padding: 9px 15px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    margin-bottom: 23px;
}

.hero-content h1 {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: clamp(38px,5vw,62px);
    line-height: 1.13;
    letter-spacing: -1.5px;
    margin-bottom: 22px;
}

.hero-content h1 span {
    color: var(--gold);
    display: block;
}

.hero-content p {
    max-width: 510px;
    color: rgba(255,255,255,.83);
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.btn-gold {
    background: var(--gold);
    border: 1px solid var(--gold);
    color: var(--navy);
    padding: 14px 23px;
    font-weight: 800;
    border-radius: 9px;
}

.btn-gold:hover {
    background: #f4ce71;
    border-color: #f4ce71;
    color: var(--navy);
}

.btn-outline-light {
    border-radius: 9px;
    font-weight: 700;
    padding: 14px 21px;
}

.hero-trust {
    margin-top: 28px;
    font-size: 12px;
    color: rgba(255,255,255,.8);
}

.hero-trust i {
    color: var(--gold);
    margin-right: 6px;
}

/* HERO VISUALS */

.hero-visual {
    min-height: 440px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: min(100%,420px);
    height: 385px;
    border-radius: 180px 180px 35px 35px;
    background-size: cover;
    background-position: center;
    position: relative;
    border: 8px solid rgba(255,255,255,.17);
    box-shadow: 0 25px 60px rgba(0,0,0,.25);
}

.image-one {
    background-image:
        linear-gradient(0deg,rgba(5,45,30,.08),transparent),
        url('https://images.unsplash.com/photo-1588072432836-e10032774350?auto=format&fit=crop&w=1000&q=85');
}

.image-two {
    background-image:
        url('https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=1000&q=85');
}

.image-three {
    background-image:
        url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?auto=format&fit=crop&w=1000&q=85');
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: var(--navy);
    padding: 15px 17px;
    border-radius: 13px;
    box-shadow: 0 15px 35px rgba(0,0,0,.2);
    z-index: 3;
    animation: floatCard 4s ease-in-out infinite;
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card strong {
    font-size: 12px;
    font-weight: 800;
}

.floating-card small {
    color: var(--muted);
    font-size: 10px;
    margin-top: 4px;
}

.card-jobs {
    top: 18%;
    left: -5%;
}

.card-school {
    bottom: 13%;
    right: -3%;
    animation-delay: 1.5s;
}

.floating-icon {
    width: 43px;
    height: 43px;
    background: var(--green-light);
    color: var(--green);
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-size: 20px;
}

.gold-icon {
    background: var(--gold-light);
    color: #b78315;
}

@keyframes floatCard {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.carousel-indicators {
    bottom: 15px;
    z-index: 5;
}

.carousel-indicators button {
    width: 25px;
    height: 5px;
    border: 0;
    border-radius: 5px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 6%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 35px;
    height: 35px;
}

/* SEARCH BOX */

.search-section {
    position: relative;
    z-index: 10;
    margin-top: -45px;
}

.job-search-box {
    background: white;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 15px 45px rgba(12,36,69,.12);
}

.search-heading h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 5px;
}

.search-heading p {
    color: var(--muted);
    font-size: 13px;
}

.job-search-box .form-label {
    font-size: 12px;
    font-weight: 800;
    color: var(--navy);
}

.search-input {
    height: 52px;
    border: 1px solid var(--border);
    border-radius: 9px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
}

.search-input i {
    color: var(--green);
    font-size: 18px;
}

.search-input input {
    border: 0;
    outline: 0;
    width: 100%;
    font-size: 13px;
}

.search-button {
    height: 52px;
}

/* SECTION HEADINGS */

.section-heading {
    margin-bottom: 35px;
}

.section-tag {
    color: var(--green);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.4px;
}

.section-heading h2 {
    color: var(--navy);
    font-family: 'Nunito', sans-serif;
    font-size: clamp(27px,4vw,38px);
    font-weight: 900;
    margin: 12px 0;
}

.section-heading p {
    color: var(--muted);
    font-size: 14px;
}

/* AUDIENCE CARDS */

.audience-section {
    background: var(--bg);
}

.audience-card {
    min-height: 380px;
    border-radius: 20px;
    padding: 38px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.teacher-card {
    background: linear-gradient(135deg,#e9f6ef,#ffffff);
}

.school-card {
    background: linear-gradient(135deg,#eaf0fa,#ffffff);
}

.audience-icon {
    width: 58px;
    height: 58px;
    border-radius: 15px;
    background: var(--green);
    color: white;
    display: grid;
    place-items: center;
    font-size: 27px;
    margin-bottom: 20px;
}

.school-card .audience-icon {
    background: var(--navy);
}

.audience-label {
    color: var(--green);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
}

.audience-card h3 {
    color: var(--navy);
    font-family: 'Nunito', sans-serif;
    font-size: 25px;
    font-weight: 900;
    margin: 10px 0;
}

.audience-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
    max-width: 420px;
}

.audience-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.audience-card li {
    font-size: 12px;
    margin-bottom: 10px;
    color: var(--navy);
}

.audience-card li i {
    color: var(--green);
    margin-right: 7px;
}

.audience-link {
    color: var(--green);
    font-size: 13px;
    font-weight: 900;
}

.audience-link i {
    margin-left: 6px;
}

.audience-decoration {
    position: absolute;
    right: -10px;
    bottom: -45px;
    font-size: 180px;
    color: rgba(8,122,69,.06);
    pointer-events: none;
}

.school-card .audience-decoration {
    color: rgba(12,36,69,.06);
}

/* FEATURED JOBS */

.featured-section {
    background: white;
}

.job-card {
    height: 100%;
    padding: 23px;
    border: 1px solid var(--border);
    border-radius: 15px;
    transition: .25s ease;
    background: white;
}

.job-card:hover {
    transform: translateY(-6px);
    border-color: rgba(8,122,69,.3);
    box-shadow: var(--shadow);
}

.job-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.school-logo {
    width: 53px;
    height: 53px;
    background: var(--green-light);
    color: var(--green);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 22px;
    overflow: hidden;
}

.school-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.job-type {
    background: var(--gold-light);
    color: #91630c;
    font-size: 10px;
    padding: 7px 11px;
    border-radius: 30px;
    font-weight: 800;
}

.job-card h4 {
    font-family: 'Nunito', sans-serif;
    color: var(--navy);
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 7px;
}

.school-name {
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
}

.job-meta {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 22px 0;
    color: var(--muted);
    font-size: 11px;
}

.job-meta i {
    color: var(--green);
    margin-right: 7px;
}

.job-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.job-card-bottom small,
.job-card-bottom strong {
    display: block;
}

.job-card-bottom small {
    color: var(--muted);
    font-size: 10px;
}

.job-card-bottom strong {
    color: var(--green);
    font-size: 15px;
    margin-top: 3px;
}

.empty-jobs {
    background: var(--bg);
    border: 1px dashed #cbdad0;
    padding: 55px 20px;
    text-align: center;
    border-radius: 15px;
}

.empty-jobs i {
    font-size: 42px;
    color: var(--green);
}

.empty-jobs h4 {
    margin-top: 15px;
    color: var(--navy);
    font-weight: 800;
}

.empty-jobs p {
    color: var(--muted);
    font-size: 13px;
}

/* BENEFITS */

.benefits-section {
    background: var(--bg);
}

.benefit-card {
    height: 100%;
    background: white;
    border: 1px solid var(--border);
    padding: 28px;
    border-radius: 15px;
    transition: .25s;
}

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

.benefit-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    background: var(--green-light);
    color: var(--green);
    border-radius: 13px;
    font-size: 23px;
    margin-bottom: 18px;
}

.benefit-card h5 {
    font-size: 16px;
    font-weight: 900;
    color: var(--navy);
}

.benefit-card p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
    margin: 0;
}

/* CTA */

.cta-section {
    padding: 35px 0 85px;
}

.cta-box {
    background: linear-gradient(120deg,#06472b,#087a45 70%,#0c2445);
    padding: 50px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    color: white;
}

.cta-box span {
    color: var(--gold);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.cta-box h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 32px;
    font-weight: 900;
    margin: 12px 0;
}

.cta-box p {
    color: rgba(255,255,255,.8);
    font-size: 13px;
    max-width: 540px;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}

/* FOOTER */

.site-footer {
    background: var(--navy);
    color: white;
}

.footer-brand {
    color: white;
}

.footer-description {
    color: rgba(255,255,255,.65);
    font-size: 13px;
    line-height: 1.9;
    max-width: 390px;
}

.site-footer h6 {
    font-weight: 900;
    font-size: 14px;
    margin-bottom: 22px;
}

.site-footer .col-lg-2 a,
.site-footer .col-lg-3 a {
    display: block;
    color: rgba(255,255,255,.7);
    font-size: 12px;
    margin-bottom: 15px;
}

.site-footer a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: rgba(255,255,255,.6);
    font-size: 11px;
}

/* RESPONSIVE */

@media(max-width:991px) {
    .navbar-collapse {
        padding: 20px 0;
    }

    .header-actions {
        flex-wrap: wrap;
    }

    .hero-slide,
    .min-vh-75 {
        min-height: auto;
    }

    .hero-content {
        padding: 65px 15px 20px;
    }

    .hero-content h1 {
        font-size: 43px;
    }

    .hero-visual {
        min-height: 390px;
    }

    .hero-image {
        height: 340px;
        max-width: 350px;
    }

    .card-jobs {
        left: 0;
    }

    .card-school {
        right: 0;
    }

    .cta-box {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media(max-width:575px) {
    .section-padding {
        padding: 60px 0;
    }

    .edu-brand {
        font-size: 23px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .hero-content {
        padding-top: 50px;
    }

    .hero-content h1 {
        font-size: 37px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-visual {
        min-height: 340px;
    }

    .hero-image {
        height: 300px;
        max-width: 290px;
    }

    .floating-card {
        padding: 10px;
        gap: 8px;
    }

    .floating-card strong {
        font-size: 10px;
    }

    .floating-card small {
        font-size: 9px;
    }

    .floating-icon {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .job-search-box {
        padding: 22px;
    }

    .audience-card {
        padding: 27px;
    }

    .cta-box {
        padding: 30px 23px;
    }

    .cta-box h2 {
        font-size: 26px;
    }

    .cta-buttons {
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s ease, transform .65s ease;
}

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

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .floating-card {
        animation: none !important;
        transition: none !important;
    }
}
