/* ===== Home Page Styles ===== */

/* ---------- Hero Section ---------- */
.home-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: linear-gradient(160deg, rgba(1,23,44,.82) 0%, rgba(25,109,219,.50) 100%), url('https://amforus.com/public/assets/images/banner-home.jpg');
    background-size: cover;
    background-position: center;
}
.home-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 60px 0 50px;
}
.home-hero-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 20px;
}
.home-hero-text p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.08rem;
    color: rgba(255,255,255,.88);
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 540px;
}
.home-hero-btns .btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: .95rem;
    letter-spacing: .3px;
    transition: all .25s ease;
}
.home-hero-btns .btn-hero-primary {
    background: #fff;
    color: #196ddb;
    border: 2px solid #fff;
}
.home-hero-btns .btn-hero-primary:hover {
    background: transparent;
    color: #fff;
}
.home-hero-btns .btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.6);
}
.home-hero-btns .btn-hero-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,.1);
}
.home-hero-img img {
    width: 100%;
    max-width: 380px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,.3);
}

/* ---------- Intro / Network Section ---------- */
.home-network {
    padding: 70px 0 50px;
    background: #fff;
}
.home-network-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    color: #0f1f3c;
    margin-bottom: 6px;
}
.home-network-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 20px;
    font-weight: 400;
}
.home-network-divider {
    width: 60px;
    height: 4px;
    background: #196ddb;
    border-radius: 4px;
    margin: 0 auto 28px;
}
.home-network p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.02rem;
    color: #444;
    line-height: 1.75;
    max-width: 780px;
    margin: 0 auto 12px;
}
.home-network strong {
    font-family: 'Poppins', sans-serif;
    font-size: 1.02rem;
    color: #0f1f3c;
}

/* ---------- Feature Cards (Job Seekers / Companies) ---------- */
.home-features {
    padding: 40px 0 70px;
    background: #f8fafd;
}
.home-feature-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
    transition: transform .3s ease, box-shadow .3s ease;
    height: 100%;
}
.home-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(25,109,219,.12);
}
.home-feature-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    display: block;
}
.home-feature-body {
    padding: 28px 28px 32px;
}
.home-feature-body h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    color: #0f1f3c;
    margin-bottom: 14px;
}
.home-feature-body p {
    font-family: 'Poppins', sans-serif;
    font-size: .97rem;
    color: #4a5568;
    line-height: 1.75;
    margin: 0;
}
.home-feature-tag {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: .75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.home-feature-tag.seekers {
    background: #e8f4ff;
    color: #196ddb;
}
.home-feature-tag.companies {
    background: #e6faf0;
    color: #0e9958;
}

/* ---------- Bottom CTA ---------- */
.home-cta {
    background-image: linear-gradient(rgba(0,0,0,.58), rgba(0,0,0,.58)), url('https://amforus.com/public/assets/images/banner-home.jpg');
    background-size: cover;
    background-position: center;
    padding: 65px 0;
    text-align: center;
}
.home-cta h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 26px;
}
.home-cta .btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 14px 38px;
    border-radius: 8px;
    font-size: 1rem;
    letter-spacing: .5px;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .home-hero { min-height: 420px; }
    .home-hero-text h1 { font-size: 2.1rem; }
    .home-hero-img { text-align: center; margin-top: 30px; }
    .home-hero-img img { max-width: 300px; }
}
@media (max-width: 767px) {
    .home-hero { min-height: auto; }
    .home-hero-inner { padding: 40px 0 30px; }
    .home-hero-text h1 { font-size: 1.8rem; }
    .home-hero-text p { font-size: 1rem; }
    .home-hero-btns .btn { display: block; width: 100%; margin-bottom: 12px; }
    .home-hero-img { text-align: center; margin-top: 24px; }
    .home-hero-img img { max-width: 260px; }
    .home-network { padding: 50px 0 30px; }
    .home-network-title { font-size: 1.45rem; }
    .home-features { padding: 30px 0 50px; }
    .home-feature-img { height: 200px; }
    .home-cta h2 { font-size: 1.45rem; }
}
@media (max-width: 480px) {
    .home-hero-text h1 { font-size: 1.55rem; }
    .home-feature-body { padding: 20px; }
}
