/* ============================================================
   STYLES.CSS - Home page (index.html) specific styles
   ============================================================ */

/* === HERO SECTION === */
.hero-section {
    position: relative;
}

.hero-left {
    position: absolute;
    top: calc(50% - 237px);
    left: calc(50% - 820px);
}

.hero-section-container {
    padding-bottom: 250px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-title {
    max-width: 620px;
}

.hero-title h1 {
    font-size: 100px;
    font-weight: 700;
    line-height: 100px;
}

.hero-title span {
    color: var(--outline-color);
}

.hero-info {
    max-width: 445px;
    position: relative;
}

.hero-right {
    position: absolute;
    top: calc(50% + 240px);
    left: 20%;
    z-index: -1;
}

.hero-info hr {
    width: 50px;
    border: none;
    height: 4px;
    background-color: var(--rapture-blue);
}

.hero-info p {
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    margin-top: 79px;
}

/* === MAIN / OPERATING PROCEDURE === */
.main-section {
    background-color: var(--sacramento-state-green);
}

.operating-procedure-container {
    display: flex;
    padding-top: 140px;
    padding-bottom: 140px;
}

.operating-procedure-title hr {
    width: 50px;
    height: 4px;
    border: none;
    background-color: var(--outline-color);
}

.operating-procedure-title h2 {
    margin-top: 58px;
    font-size: 48px;
    font-weight: 700;
    line-height: 48px;
    max-width: 445px;
    margin-right: 115px;
}

.operating-procedure-item {
    display: flex;
    align-items: flex-start;
}

.operating-procedure-info {
    position: relative;
}

.main-intro-right {
    position: absolute;
    left: calc(50% + 330px);
    top: calc(50% + 85px);
}

.operating-procedure-item:not(:last-child) {
    margin-bottom: 32px;
}

.operating-procedure-item img {
    margin-right: 23px;
}

.operating-procedure-info-wrapper h4 {
    color: var(--outline-color);
    font-weight: 700;
    margin-bottom: 16px;
}

.operating-procedure-info-wrapper p {
    color: var(--white-color);
    font-size: 15px;
    font-weight: 600;
    line-height: 25px;
    max-width: 440px;
    opacity: 0.8;
}

/* === SUCCESS STORIES === */
.success-stories-section {
    position: relative;
}

.anothers-success-opinion-section-left-top {
    position: absolute;
}

.anothers-success-opinion-section-right-bottom {
    position: absolute;
    top: calc(50% + 260px);
    left: calc(50% + 425px);
    z-index: -1;
}

.success-stories-section-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 140px;
    padding-bottom: 140px;
}

.success-stories-section-cards-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.success-stories-section-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 48px;
    text-align: center;
    width: 932px;
    margin-bottom: 56px;
}

.success-stories-section-title span {
    color: var(--rapture-blue);
}

.success-stories-section-card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.success-stories-section-card-wrapper:not(:last-child) {
    margin-right: 30px;
}

.cursom-opinion {
    color: var(--white-color);
    font-size: 15px;
    font-weight: 600;
    line-height: 25px;
    text-align: center;
    margin-top: -20px;
    margin-bottom: 24px;
    width: 350px;
    cursor: pointer;
}

.cursom-name {
    color: var(--rapture-blue);
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    text-align: center;
    margin-bottom: 2px;
}

.cursom-main-opinion {
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    text-align: center;
    margin-bottom: 32px;
    font-style: italic;
}

.success-stories-section-card-wrapper img {
    cursor: pointer;
}

/* ============================================================
   RESPONSIVE - HOME PAGE
   ============================================================ */

/* Tablet */
@media (max-width: 768px) {
    .hero-section-container {
        flex-direction: column;
        padding-bottom: 120px;
    }

    .hero-title {
        max-width: 100%;
        margin-bottom: 32px;
    }

    .hero-title h1 {
        font-size: 64px;
        line-height: 64px;
    }

    .hero-info {
        max-width: 100%;
    }

    .hero-info p {
        margin-top: 32px;
    }

    .hero-left {
        display: none;
    }

    .operating-procedure-container {
        flex-direction: column;
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .operating-procedure-title h2 {
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 40px;
        font-size: 32px;
        line-height: 36px;
    }

    .main-intro-right {
        display: none;
    }

    .success-stories-section-container {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .success-stories-section-title {
        font-size: 32px;
        line-height: 36px;
        max-width: 100%;
    }

    .success-stories-section-cards-wrapper {
        flex-direction: column;
        gap: 48px;
    }

    .success-stories-section-card-wrapper:not(:last-child) {
        margin-right: 0;
    }

    .anothers-success-opinion-section-left-top,
    .anothers-success-opinion-section-right-bottom {
        display: none;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .hero-title h1 {
        font-size: 40px;
        line-height: 44px;
    }

    .hero-section-container {
        padding-bottom: 80px;
    }

    .hero-info p {
        margin-top: 24px;
        font-size: 15px;
        line-height: 25px;
    }

    .operating-procedure-container {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .operating-procedure-title h2 {
        font-size: 24px;
        line-height: 30px;
        margin-top: 32px;
    }

    .operating-procedure-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .operating-procedure-item img {
        margin-right: 0;
        margin-bottom: 16px;
    }

    .operating-procedure-info-wrapper p {
        max-width: 100%;
    }

    .success-stories-section-container {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .success-stories-section-title {
        font-size: 24px;
        line-height: 28px;
    }

    .cursom-opinion {
        max-width: 100%;
        font-size: 13px;
    }
}
