.hero {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 64px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.08) 0%,
        rgba(0, 0, 0, 0.3) 40%,
        rgba(0, 0, 0, 0.15) 100%
    );
    z-index: 1;
}

.hero-wave-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    z-index: 999;
    line-height: 0;
    pointer-events: none;
}

.hero-wave-top svg {
    display: block;
    width: 100%;
    height: 40px;
}

.hero-wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
    pointer-events: none;
}

.hero-wave-bottom svg {
    display: block;
    width: 100%;
    height: 100px;
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    color: #ffffff;
    padding: 0 24px;
    max-width: 1400px;
    width: 100%;
}

.hero-subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.88);
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 36px 0;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* about-us */
.about-section {
    padding-top: 120px;
    position: relative;
}

.about-top-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}

.strokes-icon {
    position: absolute;
    top: 100px;
    left: 20;
    z-index: 1;
    width: 50px;
    height: auto;
    object-fit: contain;
}

.about-image-wrapper,
.about-text-content {
    flex: 1;
}

.about-us-main-img {
    max-width: 100%;
    height: auto;
}

.about-us-bg {
    position: absolute;
    top: 520px;
    z-index: -1;
    right: 0;
    max-width: 450px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* our-product */
.our-product {
    padding: 120px 10%;
    text-align: center;
    position: relative;
}

.our-product-bg {
    position: absolute;
    z-index: -1;
    top: 100px;
    left: 0;
    max-width: 400px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* our-contribution */
.our-contribution {
    background-image: url("../../../Frontend/assets/images/background-farm.png");
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: #ffffff;
    overflow: hidden;
}

.contribution-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* blog */
.blog {
    padding: 120px 10%;
}

.blog-top-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog-section {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

@media (max-width: 992px) {
    .hero {
        height: 75vh;
    }
    .hero-wave-top svg {
        height: 40px;
    }
    .hero-wave-bottom svg {
        height: 90px;
    }

    /* about-us */
    .about-top-content {
        flex-direction: column;
        text-align: center;
    }

    .strokes-icon,
    .about-us-bg {
        display: none;
    }

    /* our-contribution */
    .contribution-container {
        flex-direction: column-reverse;
        text-align: center;
    }
    .contribution-svg-wrapper {
        justify-content: center;
        width: 120%;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 70vh;
    }
    .hero-wave-top svg {
        height: 30px;
    }
    .hero-wave-bottom svg {
        height: 60px;
    }
    .hero-title {
        font-size: 1.9rem;
    }
    .hero-content {
        margin-top: 0;
    }
    
    /* blog cards - base styles */
.card-container.layout-2 {
    display: flex;
    gap: 24px;
    flex: 1.2;
}

.card-container.layout-2 .card {
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.blog-section > div:not(.card-container) {
    flex: 1;
    min-width: 0;
}

.list-card {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.list-card-img {
    width: 100px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.card-meta-info {
    display: flex;
    align-items: center;
    margin-top: 8px;
}

/* responsive fix - stack everything on mobile */
@media (max-width: 992px) {
    .blog {
        padding: 60px 5%;
    }
    .blog-top-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .blog-section {
        flex-direction: column;
    }
    .card-container.layout-2 {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .list-card {
        align-items: flex-start;
    }
    .list-card-img {
        width: 80px;
        height: 70px;
    }
}
}
