
/************************************************
   Hero Section - Classdoor Style
   Left: badge + heading + description +
         horizontal stats row + CTA +
         4 feature boxes (2x2)
   Right: floating search card
*************************************************/

/* ── Wrapper ─────────────────────────────────── */
.hero-wrap {
    background: linear-gradient(135deg, #eef3fd 0%, #e5edfb 55%, #f4f7ff 100%);
    padding: 65px 0 60px;
    position: relative;
    overflow: hidden;
}
.hero-wrap::before {
    content: "";
    position: absolute;
    top: -150px;
    right: -150px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: rgba(3, 87, 233, 0.05);
    pointer-events: none;
}
.hero-wrap::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(3, 87, 233, 0.04);
    pointer-events: none;
}

/* ── Left column ─────────────────────────────── */
.hero-left-col {
    padding-right: 48px;
}

/* Trust badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #e8f0fe;
    color: #0357e9;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
    border: 1px solid rgba(3, 87, 233, 0.18);
    letter-spacing: 0.2px;
}
.hero-badge i {
    font-size: 13px;
    color: #0357e9;
}

/* Heading */
.hero-heading {
    font-size: 42px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    line-height: 1.22 !important;
    margin-bottom: 16px !important;
    font-family: "Montserrat", sans-serif !important;
}
.hero-heading-accent {
    color: #0357e9 !important;
}

/* Description */
.hero-subtext {
    font-size: 15px;
    color: #6b7280;
    line-height: 26px;
    margin-bottom: 28px;
    max-width: 500px;
}

/* ── Stats — horizontal row ─────────────────── */
.hero-stats-row {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 28px;
    flex-wrap: wrap;
    row-gap: 14px;
}
.hero-stat-item {
    display: flex;
    flex-direction: column;
    padding: 0 24px;
}
.hero-stat-item:first-child {
    padding-left: 0;
}
.hero-stat-num {
    font-size: 26px;
    font-weight: 800;
    color: #111827;
    font-family: "Montserrat", sans-serif;
    line-height: 1;
    margin-bottom: 4px;
}
.hero-stat-label {
    font-size: 13px;
    color: #9ca3af;
    font-weight: 500;
    white-space: nowrap;
}
.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: #d1d5db;
    flex-shrink: 0;
}

/* ── CTA Buttons ─────────────────────────────── */
.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 30px;
}
.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0357e9;
    color: #fff !important;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    border: 2px solid #0357e9;
    text-decoration: none !important;
    transition: all 0.25s ease;
    box-shadow: 0 4px 18px rgba(3, 87, 233, 0.28);
    font-family: "Montserrat", sans-serif;
}
.hero-btn-primary:hover {
    background: #0243b8;
    border-color: #0243b8;
    color: #fff !important;
    box-shadow: 0 6px 24px rgba(3, 87, 233, 0.38);
    transform: translateY(-1px);
}
.hero-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #0357e9 !important;
    border: 2px solid #0357e9;
    padding: 12px 24px;
    font-size: 15px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.25s ease;
    font-family: "Montserrat", sans-serif;
}
.hero-btn-outline:hover {
    background: #0357e9;
    color: #fff !important;
    transform: translateY(-1px);
}

/* ── 4 Feature boxes — 2x2 grid ─────────────── */
.hero-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.hero-feature-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff;
    border: 1px solid #e8eef8;
    border-radius: 12px;
    padding: 14px 16px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.hero-feature-box:hover {
    box-shadow: 0 4px 18px rgba(3, 87, 233, 0.1);
    transform: translateY(-2px);
}
.hero-feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.hero-feature-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.hero-feature-text strong {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    font-family: "Montserrat", sans-serif;
    line-height: 1.3;
}
.hero-feature-text span {
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.5;
}

/* ── Right column — Search Card ─────────────── */
.hero-right-col {
    padding-left: 10px;
}
.hero-search-card {
    background: #fff;
    border-radius: 22px;
    padding: 34px 30px 28px;
    box-shadow: 0 12px 55px rgba(3, 87, 233, 0.14);
    border: 1px solid rgba(3, 87, 233, 0.07);
    position: relative;
    z-index: 2;
}

/* Card header */
.hero-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 2px solid #f0f4ff;
}
.hero-card-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: #eef3fd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0357e9;
    font-size: 18px;
    flex-shrink: 0;
}
.hero-card-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin: 0 !important;
    font-family: "Montserrat", sans-serif;
}

/* Form fields */
.hero-field {
    margin-bottom: 14px;
}
.hero-field-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

/* Input wrapper */
.hero-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.hero-field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 13px;
    pointer-events: none;
    z-index: 4;
}

/* Text input */
.hero-input {
    width: 100% !important;
    height: 48px !important;
    border: 1.5px solid #e2e8f0 !important;
    -webkit-border-radius: 10px !important;
    border-radius: 10px !important;
    padding: 0 16px 0 40px !important;
    font-size: 14px !important;
    color: #374151 !important;
    background: #f8faff !important;
    box-shadow: none !important;
    outline: none !important;
    font-family: "Open Sans", sans-serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.hero-input:focus {
    border-color: #0357e9 !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(3, 87, 233, 0.1) !important;
}

/* Select wrapper */
.hero-select-wrap {
    position: relative;
    width: 100%;
}
.hero-select {
    width: 100% !important;
    height: 48px !important;
    border: 1.5px solid #e2e8f0 !important;
    -webkit-border-radius: 10px !important;
    -moz-border-radius: 10px !important;
    border-radius: 10px !important;
    padding: 0 40px 0 40px !important;
    font-size: 14px !important;
    color: #374151 !important;
    background: #f8faff !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    cursor: pointer;
    outline: none !important;
    box-shadow: none !important;
    font-family: "Open Sans", sans-serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    display: block;
    position: relative;
    z-index: 1;
}
.hero-select:focus {
    border-color: #0357e9 !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(3, 87, 233, 0.1) !important;
}
.hero-select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 10px;
    pointer-events: none;
    z-index: 3;
}

/* Search button */
.hero-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: #0357e9;
    color: #fff;
    border: none;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s ease, box-shadow 0.25s ease;
    margin-top: 8px;
    font-family: "Montserrat", sans-serif;
    letter-spacing: 0.3px;
}
.hero-search-btn:hover {
    background: #0243b8;
    box-shadow: 0 6px 20px rgba(3, 87, 233, 0.32);
}

/* Trending tags */
.hero-card-trending {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f0f4ff;
}
.hero-trending-label {
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    white-space: nowrap;
}
.hero-trending-label i {
    color: #ff5722;
    margin-right: 3px;
}
.hero-trending-tag {
    display: inline-block;
    font-size: 12px;
    padding: 4px 13px;
    border: 1px solid #dde5f5;
    border-radius: 20px;
    color: #0357e9;
    background: #f0f4ff;
    white-space: nowrap;
    transition: all 0.2s ease;
    text-decoration: none;
}
.hero-trending-tag:hover {
    background: #0357e9;
    color: #fff !important;
    border-color: #0357e9;
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1199px) {
    .hero-heading { font-size: 36px !important; }
    .hero-left-col { padding-right: 30px; }
    .hero-stat-item { padding: 0 18px; }
}
@media (max-width: 991px) {
    .hero-wrap { padding: 50px 0 45px; }
    .hero-left-col { padding-right: 15px; }
    .hero-right-col { padding-left: 15px; }
    .hero-heading { font-size: 30px !important; }
    .hero-stat-num { font-size: 22px; }
    .hero-stat-item { padding: 0 14px; }
}
@media (max-width: 767px) {
    .hero-wrap { padding: 40px 0 35px; }
    .hero-heading { font-size: 26px !important; }
    .hero-stats-row { gap: 0; }
    .hero-stat-item { padding: 0 12px; }
    .hero-stat-num { font-size: 20px; }
    .hero-stat-label { font-size: 12px; }
    .hero-stat-divider { height: 28px; }
    .hero-search-card { padding: 24px 20px 20px; }
    .hero-ctas { gap: 10px; margin-bottom: 22px; }
}
@media (max-width: 575px) {
    .hero-heading { font-size: 22px !important; }
    .hero-stats-row { flex-wrap: wrap; gap: 14px; }
    .hero-stat-divider { display: none; }
    .hero-stat-item { padding: 0; }
    .hero-features-grid { grid-template-columns: 1fr; }
    .hero-ctas { flex-direction: column; }
    .hero-btn-primary,
    .hero-btn-outline {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}
