.hp-hero {
    position: relative;
    padding: 100px 0 60px;
    background-size: cover;
    background-position: center;
    color: #fff;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-card {
    background: rgba(0, 24, 69, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    text-transform: none;
    color: #f7f7f7;
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    color: #f7f7f7;
}

.form-caption {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.form-inline-flex {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.form-inline-flex .form-control {
    height: 45px;
    border-radius: 4px;
    border: none;
    padding: 10px 15px;
}

.btn-submit {
    background-color: #e34e4e;
    border: none;
    width: 50px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.btn-submit:hover {
    background-color: #c43b3b;
}

.hero-checkboxes {
    font-size: 11px;
    line-height: 1.3;
}

.checkbox-custom {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    font-weight: 400;
}

.checkbox-custom a {
    color: #4e8cff;
    text-decoration: none;
}

.hero-stats {
    margin-top: 60px;
}

.stat-item {
    margin-bottom: 20px;
}

.stat-num {
    display: block;
    font-size: 32px;
    font-weight: 700;
}

.stat-text {
    display: block;
    font-size: 13px;
    opacity: 0.8;
    max-width: 200px;
    line-height: 120%;
    margin-top: 15px;
}

.btn-hero-mobile {
    background-color: #e34e4e;
    color: #fff;
    width: 100%;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: background-color 0.3s;
}

.btn-hero-mobile:hover,
.btn-hero-mobile:active,
.btn-hero-mobile:focus {
    background-color: #c43b3b;
    color: #fff;
    outline: none;
}

.btn-hero-mobile svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
}
.hp-mobile-only {
    display: none;
}

@media (max-width: 767px) {
    .hp-desktop-only {
        display: none !important;
    }

    .hp-mobile-only {
        display: block !important;
    }

    .btn-hero-mobile {
        background-color: #e34e4e;
        color: #fff;
        width: 100%;
        border: none;
        border-radius: 6px;
        padding: 15px;
        font-size: 18px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .btn-hero-mobile svg {
        width: 20px;
        height: 20px;
    }
}

[class*="col-xs-"] {
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    float: left;
    box-sizing: border-box;
}

.col-xs-12 { width: 100%; }
.col-xs-6  { width: 50%; }
.col-xs-4  { width: 33.33333333%; }
.col-xs-3  { width: 25%; }

@media (min-width: 768px) {
    .col-sm-3 {
        width: 25%;
        float: left;
    }
}


@media (max-width: 767px) {
    .hero-card {
        text-align: center;
        padding: 30px 15px;
    }

    .stat-item {
        text-align: center;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-stats .stat-item {
        padding: 0 5px;
        margin-bottom: 30px;
    }

    .stat-num {
        font-size: 24px;
    }

    .stat-text {
        font-size: 11px;
        margin: 0 auto;
    }

    .form-inline-flex {
        flex-direction: column;
    }
    .btn-submit {
        width: 100%;
    }
    .hero-card {
        padding: 20px;
    }
}

.hp-popular-categories {
    padding: 60px 0;
    background-color: #fff;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: #000;
}

.btn-all-categories {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 20px;
    color: #666;
    background: #fff;
    transition: 0.3s;
    width:auto
}

.btn-all-categories:hover {
    border-color: #999;
    background: #f9f9f9;
    color:#000;
}

.category-card {
    display: block;
    position: relative;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.category-name {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    max-width: 90%;
    z-index: 2;
}

@media (max-width: 767px) {
    .section-title {
        font-size: 22px;
        text-align: center;
        width: 100%;
    }
    .category-card {
        height: 160px;
        margin-bottom: 15px;
    }
    .mt-20 {
        margin-top: 20px;
    }
}