/* Hero Section */
.hero-section {
    position: relative;
    margin-top: 0;
    margin-bottom: 0;
    z-index: 1;
    clear: both;
    padding: 0;
}

/* Hero Head */
.hero-head {
    color: black;
    position: relative;
}

.hero-content {
    display: flex;
    gap: 10px;
    position: relative;
}

.hero-text {
    flex: 1;
    padding: 50px 0 20px;
}

.hero-title {
    font-family: Roboto, sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: #57B262;
    margin-bottom: 20px;
    margin-left: 20px;
    line-height: 1;
    letter-spacing: 0;
}

.hero-description {
    font-family: Roboto, sans-serif;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 40px;
    margin-left: 20px;
    color: #000000;
    width: 81%;
    line-height: 1.1;
    letter-spacing: 0;
}

.hero-description__warning {
    font-family: Roboto, sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-left: 20px;
    line-height: 100%;
    letter-spacing: 0;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.hero-enroll-now {
    font-family: Roboto, sans-serif;
    background-color: #57B262;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    margin-left: 20px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.hero-enroll-now:hover {
    background-color: #4a9a4a;
    color: #f0f0f0;
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* Hero Search Form (Absolute positioned) */
.hero-search {
    position: relative;
}

.hero-search-form {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    padding: 0 15px;
    transform: translateY(30%) translateX(-50%);
    width: 800px;
}

.hero-search-form .container {
    position: relative;
    pointer-events: auto;
    max-width: 1200px;
    margin: 0 auto;
}

.search-form-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    margin: 0 auto;
}

.search-form__title {
    font-family: Roboto, sans-serif;
    font-weight: 300;
    font-size: 2rem;
    letter-spacing: 0;
    color: #242428;
}

.search-form-card form {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 10px;
}

.search-form-card .form-control {
    border: 2px solid #e9ecef;
    border-radius: 25px;
    padding: 12px 20px;
    font-size: 16px;
    flex: 1;
}

.search-form-card .form-control:focus {
    border-color: #5cb85c;
    box-shadow: 0 0 0 0.2rem rgba(92, 184, 92, 0.25);
}

.search-form-card .btn-search {
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 26px;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-form-card .btn-search:hover {
    background-color: #c82333;
    transform: translateY(-2px);
}

/* Hero Features */
.hero-features {
    background-color: #57B262;
    padding: 100px 0 50px;
    position: relative;
    z-index: 2;
    margin-top: 0;
}

.hero-features-content {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-feature {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.hero-feature-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.hero-feature-text {
    font-size: 16px;
    color: white;
}

@media (max-width: 1399px) {
    .hero-title {
        font-size: 42px;
    }

    .hero-description {
        margin-bottom: 30px;
        width: 100%;
    }
}

@media (max-width: 1199px) {
    .hero-section .container {
        padding: 0;
    }

    .hero-head {
        padding: 20px 0 0;
    }

    .hero-content {
        flex-direction: column;
        gap: 20px;
    }

    .hero-text {
        padding: 0 12px;
        width: 100%;
    }

    .hero-title {
        font-size: 32px;
        margin-left: 0;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 16px;
        margin-left: 0;
        margin-bottom: 30px;
        width: 100%;
    }

    .hero-description__warning {
        font-size: 16px;
        margin-left: 0;
        margin-bottom: 20px;
    }

    .hero-enroll-now {
        margin-left: 0;
        font-size: 14px;
        padding: 10px 20px;
    }

    .hero-image {
        width: 100%;
    }

    .hero-image img {
        width: 100%;
        max-width: 100%;
    }

    .hero-search {
        padding: 0 12px;
    }

    .hero-search-form {
        position: relative;
        top: auto;
        transform: none;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .search-form-card {
        padding: 20px;
        margin: 0;
    }

    .search-form__title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .search-form-card form {
        flex-direction: column;
    }

    .search-form-card .form-control {
        width: 100%;
        margin-bottom: 10px;
    }

    .search-form-card .btn-search {
        width: 100%;
        justify-content: center;
    }

    .hero-features {
        padding: 0;
    }

    .hero-features-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        padding: 0;
    }

    .hero-feature {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 16px 12px;
        min-width: 0;
        max-width: none;
        border: 1px solid #ffffff;
    }

    .hero-feature-icon {
        margin-bottom: 0;
    }

    .hero-feature-text {
        font-size: 14px;
        text-align: center;
        margin-top: 8px;
    }
}

/* Who We Help Section */
.who-we-help-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
    background-color: #ffffff;
}

.who-we-help-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 50px;
    color: #333;
}

.help-box {
    padding: 40px;
    border-radius: 10px;
    height: 100%;
    transition: transform 0.3s;
}

.help-box:hover {
    transform: translateY(-5px);
}

.help-box-light-green {
    background-color: #e8f5e9;
}

.help-box-light-beige {
    background-color: #fff8e1;
}

.help-box-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.help-box-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.help-box-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.help-box-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #555;
}

.help-box-features li::before {
    content: '✓';
    width: 20px;
    height: 20px;
    color: #5cb85c;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.help-box-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.help-box-btn {
    background-color: #333;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.help-box-btn:hover {
    background-color: #5cb85c;
    color: white;
    transform: translateY(-2px);
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.products-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 50px;
    color: #333;
}

.products-section .product-card {
    box-shadow: 0 16px 17px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    overflow: auto;
    margin: 20px auto;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
}

.products-section .product-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.products-section .product-card .product-card__image {
    min-height: 265px;
    overflow: auto;
    text-align: center;
}

.products-section .product-card__name,
.products-section .product-card__short-description {
    padding: 5px 16px;
}

.products-section .product-card__name {
    font-size: 17px;
    font-weight: 700;
    color: #000000;
    font-family: 'Inter', sans-serif;
    line-height: 1.1;
    height: 48px;
    overflow-x: auto;
}

.products-section .product-card__short-description {
    font-size: 14px;
    font-weight: 400;
    color: #6F6E77;
    font-family: 'Inter', sans-serif;
    line-height: 1.1;
    height: 56px;
    overflow-x: auto;
}

.products-section .product-card__footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #57B262;
    color: #ffffff;
    padding: 15px 5px;
    margin-top: 10px;
}

.products-section .product-card__footer .product-card__footer-price {
    font-size: 25px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    line-height: 1.1;
}

.products-section .product-card .product-card__footer .product-card__footer-btn a {
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    border: 2px solid #ffffff;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.products-section .product-card .product-card__footer .product-card__footer-btn a:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-2px);
}

.products-section .product-card .product-card__footer .product-card__footer-btn a .i-cart {
    display: inline-block;
    width: 21px;
    height: 19px;
    background-image: url("../images/icons/shopping_cart_round_1137.svg");
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 5px;
}

.products-section .product-card .product-card__footer .product-card__footer-btn a:hover .i-cart {
    background-image: url("../images/icons/shopping_cart_round_1138.svg");
}

/* Owner App Section */
.owner-app-section {
    background-color: #57B262;
    padding: 20px 0;
    color: white;
}

.owner-app-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.owner-app-text {
    flex: 1;
}

.owner-app-title {
    font-size: 42px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
}

.owner-app-description {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.owner-app-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.owner-app-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 16px;
    color: white;
}

.owner-app-features li::before {
    content: '✓';
    width: 20px;
    height: 20px;
    color: #ffffff;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.owner-app-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.owner-app-btn {
    background-color: #333;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.owner-app-btn:hover {
    background-color: #ffffff;
    color: #5cb85c;
    transform: translateY(-2px);
}

.owner-app-image {
    flex: 1;
    text-align: center;
}

.owner-app-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

@media (max-width: 991px) {
    /* Who We Help Section Mobile */
    .who-we-help-section {
        padding: 40px 0;
    }

    .who-we-help-title {
        font-size: 28px;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .help-box {
        padding: 25px 20px;
        margin-bottom: 20px;
    }

    .help-box-title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .help-box-description {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .help-box-features li {
        font-size: 14px;
    }

    .help-box-actions {
        flex-direction: column;
        gap: 10px;
    }

    .help-box-btn {
        width: 100%;
        text-align: center;
    }

    /* Products Section Mobile */
    .products-section {
        padding: 40px 0;
    }

    .products-title {
        font-size: 28px;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    /* Owner App Section Mobile */
    .owner-app-section {
        padding: 40px 0;
    }

    .owner-app-content {
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
    }

    .owner-app-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .owner-app-description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .owner-app-features li {
        font-size: 14px;
    }

    .owner-app-buttons {
        flex-direction: column;
        width: 100%;
    }

    .owner-app-btn {
        width: 100%;
        text-align: center;
    }

    .owner-app-image {
        order: -1;
    }

    /* FAQ Section Mobile */
    .faq-section {
        padding: 40px 0;
    }

    .faq-title {
        font-size: 28px;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .faq-accordion {
        padding: 0 15px;
    }

    .faq-question {
        font-size: 16px;
        padding: 15px;
    }

    .faq-answer-content {
        font-size: 14px;
    }
}

/* Products: two columns from 375px, one column below 375px */
@media (max-width: 374px) {
    .products-section .row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 375px) and (max-width: 991px) {
    .products-section .row > [class*="col-"] {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .products-section .product-card {
        box-shadow: 0 7px 8px rgba(0, 0, 0, .25);
        border-radius: 8px;
        overflow: auto;
        margin: 10px auto;
    }

    .products-section .product-card .product-card__image {
        min-height: 160px;
    }

    .products-section .product-card .product-card__name {
        font-size: 9px;
        height: 20px;
        padding: 0px 10px;
        margin-top: 5px;
    }

    .products-section .product-card__short-description {
        font-size: 8px;
        height: 18px;
        color: #6F6E77;
        padding: 0px 10px;
        margin-top: 5px;
    }

    .products-section .product-card__footer {
        padding: 10px 5px;
        margin-top: 5px;
    }

    .products-section .product-card__footer .product-card__footer-price {
        font-size: 12px;
    }

    .products-section .product-card .product-card__footer .product-card__footer-btn a {
        padding: 6px 8px;
        font-size: 10px;
        border: 1px solid #ffffff;
    }

    .products-section .product-card .product-card__footer .product-card__footer-btn a .i-cart {
        width: 14px;
        height: 13px;
    }
}

/* FAQ Section */
.faq-section {
    background-color: #e8f5e9;
    padding: 80px 0;
}

.faq-title {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 50px;
    color: #333;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    background-color: #ffffff;
    border: none;
    width: 100%;
    padding: 20px;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    color: #5cb85c;
    transition: transform 0.3s;
}

.faq-question[aria-expanded="true"]::after {
    content: '−';
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.show {
    max-height: 500px;
    padding: 20px;
}

.faq-answer-content {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}
