/* =========================================
   JOBSTREETS - MAIN STYLESHEET
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #172554;
    background: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================================
   HEADER
   ========================================= */

.main-header {
    background: #ffffff;
    border-bottom: 1px solid #e5eaf2;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    flex-shrink: 0;
}

.logo a {
    font-size: 30px;
    font-weight: 800;
    color: #2563eb;
}

.logo span {
    color: #172554;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.main-nav a {
    color: #172554;
    font-size: 16px;
    font-weight: 600;
    transition: 0.3s;
}

.main-nav a:hover {
    color: #2563eb;
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-btn,
.register-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border-radius: 9px;
    font-weight: 600;
    transition: 0.3s;
}

.login-btn {
    border: 1px solid #2563eb;
    color: #2563eb;
    background: #ffffff;
}

.login-btn:hover {
    background: #eff6ff;
}

.register-btn {
    background: #2563eb;
    color: #ffffff !important;
    border: 1px solid #2563eb;
}

.register-btn:hover {
    background: #1d4ed8;
}


/* =========================================
   HERO SECTION
   ========================================= */

.hero {
    background:
        linear-gradient(
            135deg,
            #eff6ff 0%,
            #f8fbff 50%,
            #ffffff 100%
        );
    padding: 95px 0 110px;
    overflow: hidden;
}

.hero-content {
    text-align: center;
}

.hero-text {
    max-width: 1000px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 70px);
    line-height: 1.1;
    font-weight: 800;
    color: #172554;
    margin-bottom: 25px;
}

.hero h1 span {
    color: #2563eb;
}

.hero p {
    max-width: 850px;
    margin: 0 auto 40px;
    font-size: 20px;
    color: #5b6b85;
}


/* =========================================
   SEARCH BOX
   ========================================= */

.search-box {
    background: #ffffff;
    max-width: 950px;
    margin: 0 auto;
    padding: 12px;
    border-radius: 16px;
    display: flex;
    gap: 10px;
    box-shadow: 0 15px 45px rgba(37, 99, 235, 0.12);
    border: 1px solid #e8eef8;
}

.search-box input {
    flex: 1;
    min-width: 0;
    height: 54px;
    padding: 0 18px;
    border: 1px solid #d7dfec;
    border-radius: 9px;
    font-size: 16px;
    color: #172554;
    outline: none;
}

.search-box input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-box button {
    height: 54px;
    padding: 0 28px;
    border: none;
    border-radius: 9px;
    background: #2563eb;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.search-box button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}


/* =========================================
   SECTION TITLES
   ========================================= */

.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title h2 {
    font-size: 38px;
    line-height: 1.2;
    color: #172554;
    margin-bottom: 12px;
}

.section-title p {
    font-size: 17px;
    color: #64748b;
}


/* =========================================
   JOB CATEGORIES
   ========================================= */

.categories {
    padding: 85px 0;
    background: #ffffff;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-card {
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 16px;
    padding: 32px 25px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.04);
}

.category-card:hover {
    transform: translateY(-7px);
    border-color: #bfdbfe;
    box-shadow: 0 18px 35px rgba(37, 99, 235, 0.12);
}

.category-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 18px;
    border-radius: 16px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 31px;
}

.category-card h3 {
    font-size: 20px;
    color: #172554;
    margin-bottom: 6px;
}

.category-card p {
    color: #64748b;
    font-size: 15px;
}


/* =========================================
   WHY JOBSTREETS
   ========================================= */

.why-jobstreets {
    padding: 90px 0;
    background: #f8fbff;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px 28px;
    text-align: center;
    border: 1px solid #e5eaf2;
}

.feature-icon {
    font-size: 42px;
    margin-bottom: 18px;
}

.feature-card h3 {
    font-size: 21px;
    margin-bottom: 10px;
    color: #172554;
}

.feature-card p {
    color: #64748b;
    font-size: 15px;
}


/* =========================================
   CALL TO ACTION
   ========================================= */

.cta {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(
        135deg,
        #172554,
        #2563eb
    );
    color: #ffffff;
}

.cta h2 {
    font-size: 38px;
    margin-bottom: 12px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 9px;
    background: #ffffff;
    color: #2563eb;
    font-weight: 700;
    transition: 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


/* =========================================
   FOOTER
   ========================================= */

footer {
    background: #0f172a;
    color: #ffffff;
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 45px;
    padding-bottom: 45px;
}

.footer-content h3 {
    font-size: 25px;
    margin-bottom: 15px;
}

.footer-content h4 {
    font-size: 17px;
    margin-bottom: 15px;
}

.footer-content p {
    color: #cbd5e1;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-content a {
    display: block;
    color: #cbd5e1;
    font-size: 14px;
    margin-bottom: 8px;
    transition: 0.3s;
}

.footer-content a:hover {
    color: #ffffff;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
}


/* =========================================
   RESPONSIVE DESIGN
   ========================================= */

@media (max-width: 950px) {

    .header-content {
        flex-wrap: wrap;
        padding: 15px 0;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }

    .category-grid,
    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 650px) {

    .header-content {
        gap: 15px;
    }

    .logo a {
        font-size: 25px;
    }

    .header-buttons {
        margin-left: auto;
    }

    .login-btn,
    .register-btn {
        padding: 9px 13px;
        font-size: 14px;
    }

    .main-nav {
        gap: 15px;
    }

    .main-nav a {
        font-size: 14px;
    }

    .hero {
        padding: 65px 0 75px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 17px;
    }

    .search-box {
        flex-direction: column;
        padding: 12px;
    }

    .search-box input,
    .search-box button {
        width: 100%;
    }

    .category-grid,
    .features {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cta h2 {
        font-size: 30px;
    }
}