@font-face {
    font-family: 'Rosellia';
    src: url('../fonts/rosellia.otf') format('opentype');
}

@font-face {
    font-family: 'TT Bluescreens';
    src: url('../fonts/bluescreens-light.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'TT Bluescreens', Arial, sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background-color: #fefcfa;
}

.hero-container {
    width: 100%;
    height: 100vh;
    background: #f45b69;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.content {
    text-align: center;
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hello-text {
    font-family: 'Rosellia', cursive;
    font-size: clamp(10rem, 33vw, 24rem);
    color: white;
    font-weight: normal;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.02em;
}

.hero-image {
    width: clamp(500px, 70vw, 900px);
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) contrast(1.1);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 1;
}

.subtitle {
    font-family: 'TT Bluescreens', Arial, sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: white;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

@media (max-width: 768px) {
    .hello-text {
        font-size: clamp(6rem, 25vw, 12rem);
    }

    .subtitle {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }

    .hero-image {
        width: clamp(400px, 80vw, 600px);
    }
}

@media (max-width: 480px) {
    .hello-text {
        font-size: clamp(4rem, 30vw, 8rem);
    }

    .subtitle {
        bottom: 5rem;
        font-size: clamp(0.9rem, 6vw, 3.2rem);
    }

    .hero-image {
        width: clamp(360px, 90vw, 100vw);
    }
}

/* Experts Section */
.experts-section {
    position: relative;
    background-color: #fefcfa;
    height: 25rem;
    width: 100%;
    padding: 0;
    margin: 0;
}

.experts-section .curved-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background: #f45b69;
    z-index: 1;
}

.curve-svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 180px;
    transform: translateY(100%);
}

.experts-content {
    position: relative;
    z-index: 2;
    padding: 4rem 2rem 2rem 2rem;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
}

.experts-title {
    font-size: clamp(4rem, 12vw, 8rem);
    margin-bottom: 0.2rem;
    line-height: 1.1;
    font-weight: normal;
}

.on-demand {
    color: #3d3a4b;
}

.experts-text {
    color: #a09be7;
}

.experts-subtitle,
.experts-description {
    font-size: clamp(3rem, 6vw, 4rem);
    color: #3d3a4b;
    margin-bottom: 0.2rem;
    font-weight: 300;
}

.reasons-section {
    position: relative;
    background-color: #fefcfa;
    min-height: 100vh;
    width: 100%;
    margin-top: 5rem;
    padding: 2rem;
}

.signs-title {
    font-family: 'Rosellia', cursive;
    font-size: clamp(3rem, 7vw, 6rem);
    color: #4b88a2;
    margin: 0 0 2rem 0;
    font-weight: normal;
    text-align: center;
}

.reasons-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.reasons-image {
    width: clamp(300px, 40vw, 500px);
    height: auto;
    filter: grayscale(100%) contrast(1.1);
    flex-shrink: 0;
}

.reasons-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.reason-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.reason-number {
    font-family: 'Rosellia', cursive;
    font-size: clamp(8rem, 12vw, 12rem);
    color: #3d3a4b;
    line-height: 0.7;
    flex-shrink: 0;
    margin-top: -0.5rem;
}

.reason-text {
    flex: 1;
    padding-top: 1rem;
}

.reason-title {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    color: #3d3a4b;
    margin: 0 0 1rem 0;
    font-weight: 400;
    line-height: 1.1;
}

.reason-description {
    font-size: clamp(1.5rem, 2.8vw, 2.3rem);
    color: #4b88a2;
    margin: 0;
    font-weight: 300;
    line-height: 1.25;
}

.reasons-section .curved-bg {
    position: absolute;
    top: 18rem;
    left: 0;
    width: 100%;
    height: calc(100% - 18rem);
    background: #f3c677;
    z-index: 1;
}

.reasons-section .curve-svg {
    top: 0;
    width: 100%;
    transform: translateY(-100%);
}

@media (max-width: 768px) {
    .curved-bg {
        height: 32%;
    }

    .curve-svg {
        height: 140px;
    }

    .experts-content {
        padding: 3rem 1.5rem 1.5rem 1.5rem;
    }

    .experts-title {
        font-size: clamp(4rem, 15vw, 6rem);
    }

    .experts-subtitle,
    .experts-description {
        font-size: clamp(2.5rem, 6vw, 3rem);
    }

    .reasons-section {
        margin-top: 2rem;
    }

    .reasons-section .curved-bg {
        top: 15rem;
    }

    .signs-title {
        font-size: clamp(1.8rem, 7vw, 3rem);
    }

    .reasons-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .reasons-image {
        width: clamp(250px, 60vw, 400px);
    }

    .reason-number {
        font-size: clamp(2rem, 6vw, 4rem);
    }

    .reason-title {
        font-size: clamp(1.2rem, 3.5vw, 1.8rem);
    }

    .reason-description {
        font-size: clamp(1rem, 2.5vw, 1.4rem);
    }
}

@media (max-width: 480px) {
    .experts-section {
        height: 18rem;
    }

    .curved-bg {
        height: 28%;
    }

    .curve-svg {
        height: 80px;
    }

    .experts-content {
        padding: 2rem 1rem 1rem 1rem;
    }

    .experts-title {
        font-size: clamp(2.5rem, 18vw, 5rem);
        margin-bottom: 1.5rem;
    }

    .experts-subtitle,
    .experts-description {
        font-size: clamp(1.6rem, 3.5vw, 2rem);
    }

    .reasons-section {
        margin-top: 1rem;
    }

    .signs-title {
        font-size: clamp(1.5rem, 12vw, 3rem);
    }

    .reasons-content {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem;
    }

    .reasons-image {
        width: clamp(200px, 70vw, 300px);
    }

    .reason-item {
        gap: 1rem;
    }

    .reason-number {
        font-size: clamp(1.5rem, 8vw, 3rem);
    }
}

/* Reasons Continued Section (Artboard 4) */
.reasons-continued {
    position: relative;
    background-color: #f3c677;
    width: 100%;
    padding: 0 4rem 6rem 4rem;
    margin-top: -1px;
    overflow-x: visible;
}

.reasons-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.column-left {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    padding-top: 0;
    padding-left: 2rem;
}

.column-right {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    padding-top: 8rem;
}

.reasons-continued .reason-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.reasons-continued .reason-number {
    font-family: 'Rosellia', cursive;
    font-size: clamp(8rem, 12vw, 12rem);
    color: #3d3a4b;
    line-height: 0.7;
    flex-shrink: 0;
    margin-top: -0.5rem;
}

.reasons-continued .reason-text {
    flex: 1;
    padding-top: 1rem;
}

.reasons-continued .reason-title {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    color: #3d3a4b;
    margin: 0 0 1rem 0;
    font-weight: 400;
    line-height: 1.1;
}

.reasons-continued .reason-description {
    font-size: clamp(1.5rem, 2.8vw, 2.3rem);
    color: #4b88a2;
    margin: 0;
    font-weight: 300;
    line-height: 1.25;
}

.baby-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    margin-top: 2rem;
}

.baby-image {
    width: clamp(250px, 30vw, 450px);
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) contrast(1.1);
}

/* 'YOU' Label and Arrow */
.you-wrapper {
    position: absolute;
    bottom: -5%;
    left: -25%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    z-index: 10;
    transform: rotate(-15deg);
}

.you-text {
    font-family: 'Rosellia', cursive;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: #4b88a2;
    line-height: 1;
}

.arrow-image {
    width: clamp(30px, 4vw, 50px);
    height: auto;
    transform: rotate(45deg);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .reasons-two-col {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .column-left,
    .column-right {
        gap: 3rem;
        padding-top: 0;
    }

    .baby-container {
        order: 2;
    }

    .you-wrapper {
        left: 10%;
        bottom: -10%;
    }

    .reasons-continued .reason-number {
        font-size: clamp(4rem, 12vw, 6rem);
    }

    .reasons-continued .reason-title {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
    }

    .reasons-continued .reason-description {
        font-size: clamp(1rem, 3vw, 1.4rem);
    }
}

/* What You Get Section (Artboard 5) */
.what-you-get-section {
    position: relative;
    background-color: #4a4458;
    width: 100%;
    padding: 0;
    margin: 0;
}

.what-you-get-image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: clamp(280px, 30vw, 450px);
    height: auto;
    filter: grayscale(100%) contrast(1.1);
    z-index: 1;
}

.what-you-get-content {
    position: relative;
    padding: 4rem 2rem 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    z-index: 2;
}

.what-you-get-title {
    font-family: 'Rosellia', cursive;
    font-size: clamp(3rem, 6vw, 5.5rem);
    color: #f3c677;
    font-weight: normal;
    margin: 0 0 4rem 0;
    text-align: center;
    line-height: 1.2;
}

.benefits-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    padding: 0 2rem;
}

.benefits-column-left,
.benefits-column-right {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.benefit-item {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: #f3c677;
    margin: 0;
    font-weight: 300;
    line-height: 1.2;
}

.leverage-section {
    background-color: #a09be7;
    padding: 3rem 4rem;
    text-align: center;
}

.leverage-text {
    font-size: clamp(2.5rem, 5vw, 5rem);
    color: white;
    margin: 0;
    font-weight: 300;
    line-height: 1.3;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .benefits-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .what-you-get-image {
        width: clamp(200px, 50vw, 300px);
        margin: 2rem auto 0;
        display: block;
    }

    .benefits-column-left,
    .benefits-column-right {
        gap: 2rem;
    }
}

/* Common Issues Carousel Section */
.common-issues-section {
    position: relative;
    background-color: #fefcfa;
    width: 100%;
    min-height: 60vh;
    padding: 0;
    margin: 0;
}

.carousel-header {
    position: relative;
    background-color: #fefcfa;
    height: 149px;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0rem;
    overflow: visible;
}

.header-curve-svg {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 1;
}

.carousel-title {
    font-family: 'Rosellia', cursive;
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: #3d3a4b;
    font-weight: normal;
    margin: 0;
    text-align: center;
    position: relative;
    z-index: 2;
    padding-top: 0rem;
}

.carousel-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    gap: 3rem;
}

.carousel-arrow {
    background: none;
    border: none;
    cursor: pointer;
    padding: 1rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
    flex-shrink: 0;
}

.carousel-arrow:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.carousel-arrow:active {
    transform: scale(0.95);
}

.carousel-arrow-left .arrow-icon,
.carousel-arrow-right .arrow-icon {
    width: clamp(40px, 6vw, 80px);
    height: auto;
}

.carousel-slide {
    flex: 1;
    min-height: 200px;
    position: relative;
    overflow: hidden;
    /* Clip sliding content */
}

.slide-content {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
}

/* Dynamic Directional Animations */
.dir-right .slide-anim-enter {
    animation: slideInFromRight 0.5s ease-in-out forwards;
}

.dir-right .slide-anim-leave {
    animation: slideOutToLeft 0.5s ease-in-out forwards;
}

.dir-left .slide-anim-enter {
    animation: slideInFromLeft 0.5s ease-in-out forwards;
}

.dir-left .slide-anim-leave {
    animation: slideOutToRight 0.5s ease-in-out forwards;
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutToLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes slideOutToRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.slide-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: #f45b69;
    font-weight: 400;
    margin: 0 0 1.5rem 0;
    line-height: 1.1;
}

.slide-description {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: #3d3a4b;
    font-weight: 300;
    margin: 0;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .carousel-header {
        height: 180px;
    }

    .header-curve-svg {
        height: 120px;
    }

    .carousel-title {
        font-size: clamp(2rem, 8vw, 3rem);
        padding-top: 2rem;
    }

    .carousel-content {
        flex-direction: column;
        gap: 2rem;
        padding: 3rem 1.5rem;
    }

    .carousel-arrow-left,
    .carousel-arrow-right {
        order: 2;
    }

    .carousel-slide {
        order: 1;
        min-height: 250px;
    }

    .carousel-arrow-left .arrow-icon,
    .carousel-arrow-right .arrow-icon {
        width: clamp(30px, 10vw, 60px);
    }

    .slide-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .slide-description {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
    }
}

@media (max-width: 480px) {
    .carousel-header {
        height: 180px;
    }

    .header-curve-svg {
        height: 100px;
    }

    .carousel-title {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
    }

    .carousel-content {
        padding: 2rem 1rem;
    }

    .carousel-slide {
        min-height: 300px;
    }
}