/* ================================================================
   Bizwoke Home Page Styles — Stitch "Premium Home Page" Design
   Framework: Bootstrap 5 | Fonts: Inter + Plus Jakarta Sans
   ================================================================ */

/* ---- Google Fonts & Material Symbols Import ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

/* ---- CSS Custom Properties (Design Tokens) ---- */
:root {
    --home-primary: #063a89;
    --home-primary-hover: #0a4da6;
    --home-primary-container: #2b52a2;
    --home-on-primary: #ffffff;
    --home-on-surface: #1a1c1e;
    --home-on-surface-variant: #434651;
    --home-surface: #f9f9fc;
    --home-surface-container-low: #f3f3f6;
    --home-surface-container-lowest: #ffffff;
    --home-outline-variant: #c4c6d3;
    --home-outline: #747783;
    --home-hero-bg: #f3f6ff;
    --home-font-display: 'Plus Jakarta Sans', sans-serif;
    --home-font-body: 'Inter', sans-serif;
}

/* ---- Base & Typography ---- */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.home-page {
    font-family: var(--home-font-body);
    color: var(--home-on-surface);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.home-page h1, .home-page h2, .home-page h3,
.home-page h4, .home-page h5, .home-page h6 {
    font-family: var(--home-font-display);
}

/* ---- Override Existing Header to Match Stitch Design ---- */
header.bg-gradient {
    background-color: var(--home-surface-container-lowest) !important;
    background-image: none !important;
    border-bottom: 1px solid var(--home-outline-variant);
    position: sticky;
    top: 0;
    z-index: 1050;
}

header.bg-gradient .navbar {
    min-height: 64px;
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.stitch-hero {
    background-color: var(--home-hero-bg);
    background-image:
        radial-gradient(circle at 80% 20%, rgba(177, 197, 255, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 10% 80%, rgba(177, 197, 255, 0.15) 0%, transparent 30%);
    padding-top: 4rem;
    padding-bottom: 8rem;
}

.stitch-hero .hero-title {
    font-family: var(--home-font-display);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--home-on-surface);
}

.stitch-hero .hero-title .text-highlight {
    color: var(--home-primary);
}

.stitch-hero .hero-subtitle {
    font-family: var(--home-font-body);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--home-on-surface-variant);
}

.stitch-hero .hero-image-wrapper img {
    filter: drop-shadow(0 20px 40px rgba(6, 58, 137, 0.12));
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn-stitch-primary {
    background-color: var(--home-primary);
    color: var(--home-on-primary);
    font-family: var(--home-font-display);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    padding: 1rem 2.5rem;
    border-radius: 0.75rem;
    border: none;
    box-shadow: 0 10px 30px -5px rgba(6, 58, 137, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-stitch-primary:hover {
    transform: scale(1.05);
    background-color: var(--home-primary-hover);
    color: var(--home-on-primary);
    box-shadow: 0 14px 36px -5px rgba(6, 58, 137, 0.35);
}

.btn-stitch-outline {
    background-color: var(--home-surface-container-lowest);
    color: var(--home-primary);
    font-family: var(--home-font-display);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    padding: 1rem 2.5rem;
    border-radius: 0.75rem;
    border: 2px solid rgba(6, 58, 137, 0.2);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-stitch-outline:hover {
    background-color: var(--home-surface-container-low);
    color: var(--home-primary);
}

.btn-stitch-nav {
    background-color: var(--home-primary);
    color: var(--home-on-primary);
    font-family: var(--home-font-body);
    font-size: 14px;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(6, 58, 137, 0.2);
    text-decoration: none;
    display: inline-block;
}

.btn-stitch-nav:hover {
    background-color: var(--home-primary-container);
    color: var(--home-on-primary);
}

.btn-stitch-nav-outline {
    background: transparent;
    color: var(--home-primary);
    font-family: var(--home-font-body);
    font-size: 14px;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid var(--home-primary);
    transition: background-color 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-stitch-nav-outline:hover {
    background-color: var(--home-surface-container-low);
    color: var(--home-primary);
}

.btn-browse-all {
    background-color: var(--home-primary);
    color: var(--home-on-primary);
    font-size: 14px;
    font-weight: 500;
    padding: 0.625rem 1.75rem;
    border-radius: 0.5rem;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-browse-all:hover {
    background-color: var(--home-primary-hover);
    color: var(--home-on-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 58, 137, 0.25);
}

/* ================================================================
   SEARCH CARD (Floating over Hero)
   ================================================================ */
.search-section {
    margin-top: -6rem;
    padding-bottom: 5rem;
    position: relative;
    z-index: 10;
}

.search-card {
    background-color: var(--home-surface-container-lowest);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--home-outline-variant);
    box-shadow: 0 10px 40px -10px rgba(6, 58, 137, 0.1);
}

.search-card .search-card-title {
    font-family: var(--home-font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--home-on-surface);
    margin-bottom: 1.5rem;
}

.search-card .form-label {
    font-family: var(--home-font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--home-on-surface-variant);
    letter-spacing: 0.01em;
    margin-bottom: 0.5rem;
}

.search-card .form-select {
    background-color: var(--home-surface-container-lowest);
    border: 1px solid var(--home-outline-variant);
    border-radius: 0.5rem;
    padding: 0.875rem 2.5rem 0.875rem 1rem;
    font-family: var(--home-font-body);
    font-size: 16px;
    color: var(--home-on-surface);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23747783' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

.search-card .form-select:focus {
    border-color: var(--home-primary);
    box-shadow: 0 0 0 0.2rem rgba(6, 58, 137, 0.15);
}

.btn-stitch-search {
    background-color: var(--home-primary);
    color: var(--home-on-primary);
    height: 54px;
    border: none;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: background-color 0.2s ease;
}

.btn-stitch-search:hover {
    background-color: var(--home-primary-container);
    color: var(--home-on-primary);
}

/* ================================================================
   SECTION HEADINGS
   ================================================================ */
.stitch-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.stitch-section.bg-light-custom {
    background-color: var(--home-surface-container-low);
}

.stitch-section-title {
    font-family: var(--home-font-display);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--home-on-surface);
    margin-bottom: 3rem;
}

/* ================================================================
   BENTO / JOB CARDS
   ================================================================ */
.bento-card {
    background-color: var(--home-surface-container-lowest);
    border: 1px solid var(--home-outline-variant);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px -8px rgba(6, 58, 137, 0.12);
}

/* ================================================================
   BRANDING / COMPANIES LOGO SLIDER
   ================================================================ */
.branding-section .slick-slider .slide img {
    filter: grayscale(40%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.branding-section .slick-slider .slide:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ================================================================
   STATS / ABOUT SECTION
   ================================================================ */
.stats-section {
    background-color: var(--home-primary);
    position: relative;
    overflow: hidden;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -5%;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.stat-item {
    position: relative;
    z-index: 1;
}

.stat-item .stat-icon {
    font-size: 32px;
    opacity: 0.6;
    color: var(--home-on-primary);
    margin-bottom: 0.75rem;
}

.stat-item .stat-number {
    font-family: var(--home-font-display);
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--home-on-primary);
}

.stat-item .stat-label {
    font-family: var(--home-font-body);
    font-size: 18px;
    color: var(--home-on-primary);
    margin-bottom: 0;
}

/* ================================================================
   FEATURED COMPANIES CARD
   ================================================================ */
.featured-company-card {
    background-color: var(--home-surface-container-lowest);
    border: 1px solid var(--home-outline-variant);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-company-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px -8px rgba(6, 58, 137, 0.12);
}

.featured-company-card img {
    border-radius: 0.5rem;
}

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonial-card-stitch {
    background-color: var(--home-surface-container-low);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: transform 0.3s ease;
    height: 100%;
}

.testimonial-card-stitch:hover {
    transform: scale(1.02);
}

.testimonial-card-stitch .testimonial-profile-img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--home-primary);
    flex-shrink: 0;
}

.testimonial-card-stitch .comma-icon img {
    width: 40px;
    opacity: 0.25;
}

/* ================================================================
   BLOG CARDS
   ================================================================ */
.blog-card-stitch {
    border: none;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card-stitch:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(6, 58, 137, 0.1);
}

.blog-card-stitch .card-img-top {
    border-radius: 0.75rem 0.75rem 0 0;
    height: 220px;
    object-fit: cover;
}

.blog-card-stitch .overlay {
    border-radius: 0.75rem 0.75rem 0 0;
}

.blog-card-stitch:hover .overlay {
    opacity: 1 !important;
}

/* ================================================================
   NOTICE SECTION
   ================================================================ */
.notice-card-stitch {
    background-color: var(--home-surface-container-lowest);
    border-left: 4px solid var(--home-primary);
    border-radius: 0.5rem;
    padding: 1.25rem 1.5rem;
    transition: transform 0.3s ease;
}

.notice-card-stitch:hover {
    transform: translateX(4px);
}

/* ================================================================
   RESPONSIVE BREAKPOINTS
   ================================================================ */
@media (max-width: 991.98px) {
    .stitch-hero {
        padding-top: 3rem;
        padding-bottom: 6rem;
    }

    .stitch-hero .hero-title {
        font-size: 32px;
    }

    .stitch-hero .hero-subtitle {
        font-size: 18px;
    }

    .search-section {
        margin-top: -4rem;
    }

    .btn-stitch-primary,
    .btn-stitch-outline {
        font-size: 18px;
        padding: 0.875rem 2rem;
    }

    .stitch-section {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .stitch-section-title {
        font-size: 24px;
        margin-bottom: 2rem;
    }

    .stat-item .stat-number {
        font-size: 32px;
    }

    .stat-item .stat-label {
        font-size: 16px;
    }
}

@media (max-width: 767.98px) {
    .stitch-hero {
        padding-top: 2rem;
        padding-bottom: 5rem;
    }

    .search-section {
        margin-top: -3rem;
        padding-bottom: 3rem;
    }

    .search-card {
        padding: 1.5rem;
    }

    .stitch-section {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .stitch-section-title {
        font-size: 22px;
    }

    .btn-stitch-primary,
    .btn-stitch-outline {
        width: 100%;
        font-size: 16px;
        padding: 0.875rem 1.5rem;
    }

    .stats-section {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .stat-item .stat-number {
        font-size: 26px;
    }

    .stat-item .stat-label {
        font-size: 14px;
    }
}

@media (max-width: 575.98px) {
    .stitch-hero .hero-title {
        font-size: 28px;
    }

    .search-card {
        padding: 1.25rem;
        border-radius: 0.75rem;
    }

    .search-card .search-card-title {
        font-size: 18px;
    }
}
