.hero-main {
    background: var(--hero-bg);
    padding: 40px 20px;
    min-height: 717px;
    border-radius: 0 0 2rem 2rem;
    font-weight: 700;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    position: relative;
}

.hero-content {
    display: flex;
    flex: 1;
    z-index: 1;
    justify-content: space-between;
    padding-top: 80px;
    position: relative;
}

.hero-imgs {
    position: relative;
    z-index: 1;
    flex: 1;
}

.hero-imgs img {
    position: absolute;
    border-radius: 15px;
}

.hero-imgs .img-secondary_1 {
    right: -10%;
    width: 290px;
    height: 200px;
    border: 8px solid var(--white);
    top: 10%;
}

.hero-imgs .img-secondary_2 {
    left: 10%;
    width: 300px;
    height: 210px;
    border: 8px solid var(--white);
    top: 30%;
}

.hero-imgs .img-main {
    right: -30%;
    width: 120%;
    z-index: 1;
    bottom: -70px;
    border-radius: 0;
}

.hero-text {
    max-width: 440px;
    font-size: var(--text-small);
    display: flex;
    gap: 30px;
    flex-direction: column;
    justify-content: space-between;
    line-height: normal;
}

.hero-text p {
    font-weight: 600;
    font-size: 28px;
    margin-bottom: 70px;
}

/* <-- Description Section -- > */
.description {
    margin: 112px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.description img {
    height: 362px;
    border-radius: 28px;
}

.description p {
    margin-left: 30px;
    font-weight: 500;
    font-size: var(--text-large);
}

.description p span,
.about-section span {
    font-weight: 700;
    color: var(--primary-blue);
}

/* <-- App Section -- > */
.app-section {
    border-radius: 60px;
    background: var(--light-blue);
    padding: 100px 0;
}

/* Apply common section heading styles */
.app-section h2,
.edu-section h2,
.about-section h2 {
    font-size: var(--heading-large);
    font-weight: 700;
    margin-bottom: 30px;
}

/* Apply common section text styles */
.app-section p,
.edu-section p,
.about-section p {
    font-size: var(--text-large);
    font-weight: 500;
}

/* Apply common subheading styles */
.app-section h3,
.edu-section h3 {
    font-size: var(--heading-medium);
    font-weight: 700;
    text-align: center;
    color: var(--primary-blue);
}

/* Card Layouts */
.features-cards {
    margin-top: var(--card-spacing);
    display: flex;
    gap: var(--card-spacing);
    justify-content: center;
    flex-wrap: wrap;
}

/* Card Components */
.feature-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    width: 313px;
    height: 256px;
}

.feature-card img {
    width: 100%;
    padding: 1px;
    border-radius: var(--border-radius-lg);
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* Card Overlay */
.feature-img-overlay {
    position: absolute;
    height: 35%;
    display: flex;
    align-items: center;
    padding-left: 32px;
    padding-right: 20px;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--feature-overlay);
    z-index: 1;
}

.feature-img-overlay h4 {
    font-size: var(--heading-small);
    color: var(--black);
    font-weight: 700;
}

.border-outline {
    position: absolute;
    inset: 0;
    border: 5px solid var(--card-stroke);
    border-radius: var(--border-radius-lg);
    z-index: 3;
    pointer-events: none;
}

/* Dots Navigation */
.dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--dot-inactive);
}

.dot.active {
    background-color: var(--dot-active);
}

/* Suitable Cards Grid */
.suitable-cards {
    margin-top: var(--card-spacing);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: var(--card-spacing);
    justify-content: center;
    font-size: var(--text-medium);
    font-weight: 600;
}

.suitable-cards div {
    display: flex;
    max-width: 356px;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 25px 60px;
}

.edu-section {
    padding: var(--section-spacing) 0;
}

.edu-section hr {
    height: 2px;
    border: none;
    background-color: var(--hr-color);
}

.benefits-cards {
    margin-top: var(--card-spacing);
    margin-bottom: 120px;
    display: flex;
    flex-wrap: wrap;
    font-weight: 600;
    font-size: var(--text-medium);
    gap: var(--card-spacing);
    justify-content: center;
    align-items: stretch;
}

.benefit-icon {
    display: flex;
    height: 100%;
    flex-grow: 0;
    flex-shrink: 0;
    align-items: start;
    margin-right: 15px;
}

.benefit-card {
    display: grid;
    flex: 1;
    border-radius: var(--border-radius-md);
    justify-content: center;
    padding: 40px;
    background: var(--light-blue);
    grid-template-columns: auto auto;
}

/* Benefit Features */
.benefits-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.benefit-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 760px;
    gap: 45px;
}

.benefit-feature-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    background: var(--light-blue-bg);
    min-width: 312px;
    width: 312px;
    height: 256px;
}

.benefit-feature-card .content {
    inset: 0;
    position: absolute;
    padding: 1px;
    border-radius: var(--border-radius-lg);
}

.benefit-feature-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    bottom: 0;
    left: 0;
    padding: 15px 20px 20px 30px;
    width: 100%;
    background: var(--benefit-overlay);
    z-index: 1;
}

.benefit-feature-overlay h4 {
    font-size: 23px;
    color: var(--black);
    font-weight: 700;
}

.benefit-border-outline {
    position: absolute;
    inset: 0;
    border: 10px solid var(--card-stroke);
    border-radius: var(--border-radius-lg);
    z-index: 3;
    pointer-events: none;
}

/* <-- About Section -- > */
.about-section {
    padding-bottom: 120px;
}

/* Help Cards Grid - Similar to suitable-cards */
.help-cards {
    margin-top: 55px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: var(--card-spacing);
    justify-content: center;
}

.help-cards div {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 408px;
    text-align: center;
    background-color: var(--light-blue);
    border-radius: var(--border-radius-md);
    padding: 20px 40px;
    font-size: var(--text-medium);
    font-weight: 600;
}

.section-text {
    font-size: var(--text-large);
    font-weight: 500;
}

.section-subheading {
    font-size: var(--heading-medium);
    font-weight: 700;
    text-align: center;
    color: var(--primary-blue);
}

.section-heading {
    font-size: var(--heading-large);
    font-weight: 700;
    margin-bottom: 30px;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1200px) {

    .hero-imgs .img-main {
        width: 150%;
        right: -20%;
    }

    .hero-imgs .img-secondary_1,
    .hero-imgs .img-secondary_2 {
        width: 250px;
        height: 180px;
    }

    .description img {
        height: 320px;
    }

    .description p {
        font-size: 28px;
    }

    /* Heading size adjustments */
    .app-section h2,
    .edu-section h2,
    .about-section h2 {
        font-size: 42px;
    }

    /* Text size adjustments */
    .app-section p,
    .edu-section p,
    .about-section p {
        font-size: 28px;
    }
}

@media (max-width: 992px) {

    /* Hero adjustments */
    .hero-main {
        min-height: 600px;
    }

    .hero-text {
        max-width: 380px;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: var(--text-medium);
    }

    .hero-imgs .img-secondary_1,
    .hero-imgs .img-secondary_2 {
        width: 220px;
        height: 160px;
    }

    .hero-imgs .img-secondary_2 {
        left: 5%;
    }

    /* Description adjustments */
    .description {
        margin: 80px 0;
        gap: 15px;
        align-items: flex-start;
    }

    .description img {
        height: 280px;
    }

    .description p {
        font-size: var(--text-medium);
        margin-left: 20px;
    }

    /* Section adjustments */
    .app-section {
        padding: 80px 0;
        border-radius: 40px;
    }

    .app-section h3,
    .edu-section h3 {
        font-size: 32px;
    }

    /* Card adjustments */
    .feature-card,
    .benefit-feature-card {
        width: 280px;
        height: 230px;
    }

    .feature-img-overlay h4,
    .benefit-feature-overlay h4 {
        font-size: 20px;
    }

    .suitable-cards div,
    .help-cards div {
        font-size: 20px;
        padding: 20px 30px;
    }

    .benefit-feature-card {
        min-width: 280px;
    }
}

@media (max-width: 768px) {

    /* Hero adjustments */
    .hero-background {
        opacity: 0.5;
    }

    .hero-content {
        flex-direction: column;
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
    }

    .hero-main {
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-imgs {
        height: 300px;
        display: flex;
        justify-content: center;
    }

    .hero-imgs .img-main {
        position: relative;
        width: 120%;
        right: auto;
    }

    /* Description section */
    .description {
        flex-direction: column;
        margin: 60px 0;
    }

    .description img {
        width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: cover;
    }

    .description p {
        margin-left: 0;
        margin-top: 30px;
        text-align: center;
    }

    /* Section adjustments */
    .app-section {
        padding: 60px 0;
        border-radius: 30px;
    }

    /* Typography adjustments */
    .app-section h2,
    .edu-section h2,
    .about-section h2 {
        font-size: 36px;
        text-align: center;
    }

    .app-section p,
    .edu-section p,
    .about-section p {
        font-size: 22px;
        text-align: center;
    }

    /* Card grid adjustments */
    .suitable-cards,
    .help-cards {
        grid-template-columns: 1fr;
    }

    .suitable-cards div,
    .help-cards div {
        max-width: 100%;
    }

    /* Index-specific mobile styles */
    .feature-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .suitable-grid {
        grid-template-columns: 1fr;
    }

    .suitable-card {
        height: auto;
        padding: 30px 20px;
    }
}