/* Birthday Hero Section */

.birthday-hero-container {
    width: 100%;
    height: 55vh;
    min-height: 450px;
    overflow: hidden;
}

.birthday-hero-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
    display: block;
}

/* Birthday Title Section */

.birthday-title-section {
    min-height: 25vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary);
}

.birthday-h1 {
    color: var(--dark);
    font-family: var(--headings);
    font-size: 4.8rem;
}

.birthday-title-section {
    padding: 80px;
    overflow: hidden;
}

.birthday-title-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.birthday-cta {
    display: inline-block;
    padding: 14px 32px;
    background-color: #fff;
    color: #111;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s ease;
}

.birthday-cta:hover {
    background-color: #e5e5e5;
    transform: translateY(-2px);
}

/* Birthday Body Section */

.birthday-body-section {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 100px 0;
    border: solid 10px var(--white);
}

.birthday-stack {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.birthday-stack img {
    width: 100%;
    min-width: 0;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.birthday-stack h2 {
    text-align: center;
    color: var(--dark);
    font-size: 2rem;
}

.birthday-container {
    width: min(1400px, 90%);
    margin: 0 auto;
}

.birthday-problem {
    max-width: 760px;
    padding: 50px 0;
}


/* Birthday Paragraphs */

.birthday-paragraphs {
    max-width: 850px;
    margin: 80px auto 0;
    text-align: left;
    background-image: radial-gradient(
        circle,
        rgba(245, 98, 10, 0.4) 1px,
        transparent 1px
    );

    background-size: 24px 24px;
}

.birthday-paragraphs p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.birthday-paragraphs p:last-child {
    margin-bottom: 0;
}

.birthday-paragraphs strong {
    font-weight: 700;
}



/* Birthday Solution Section */

.birthday-solution-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 80vh;
    padding: 120px 0;
    border: 10px solid var(--white);

    background:
        radial-gradient(
            circle at 85% 15%,
            var(--accent) 0%,
            transparent 38%
        ),
        radial-gradient(
            circle at 10% 90%,
            var(--primary) 0%,
            transparent 42%
        ),
        linear-gradient(
            135deg,
            var(--dark) 0%,
            var(--primary) 100%
        );
}

/* Decorative Ring */

.birthday-solution-section::before {
    content: "";
    position: absolute;
    width: 550px;
    height: 550px;
    top: -260px;
    right: -180px;

    border: 75px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    transform: rotate(-20deg);

    pointer-events: none;
    z-index: -1;
}

/* Dotted Pattern */

.birthday-solution-section::after {
    content: "";
    position: absolute;
    inset: 0;

    background-image: radial-gradient(
        rgba(255, 255, 255, 0.25) 1.5px,
        transparent 1.5px
    );

    background-size: 28px 28px;
    mask-image: linear-gradient(
        to right,
        transparent 15%,
        black 100%
    );

    pointer-events: none;
    z-index: -1;
}

/* Content */

.birthday-solution-container {
    position: relative;
    width: min(1100px, 90%);
    margin: 0 auto;
    text-align: center;
    z-index: 1;
}

.birthday-solution-container h2 {
    font-family: var(--body);
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    max-width: 1000px;
    margin: 0 auto 55px;
    color: var(--white);
}

/* Glass Effect Text Card */

.birthday-solution-paragraphs {
    max-width: 720px;
    margin: 0 auto;
    padding: 45px;
    background: rgba(255, 248, 242, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    box-shadow: 0 25px 70px rgba(88, 8, 18, 0.2);
    backdrop-filter: blur(12px);
}

.birthday-solution-paragraphs p {
    font-family: var(--body);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: var(--dark-blue);
}

.birthday-solution-paragraphs p:last-child {
    margin-bottom: 0;
}


/* Birthday FAQ */

.birthday-faq-section {
    padding: 120px 0;
    background-color: var(--dark-blue);
    color: var(--white);
}

.birthday-faq-container {
    width: min(1200px, 90%);
    margin: 0 auto;
}

.birthday-faq-header {
    margin-bottom: 70px;
}

.birthday-faq-header h2 {
    font-family: var(--headings);
    font-size: 4.5rem;
    line-height: 1;
    margin-top: 20px;
}

.birthday-faq-list {
    border-top: 1px solid rgba(255, 255, 255, 0.25);    
}

.birthday-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.birthday-faq-question {
    width: 100%;
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    background: none;
    border: none;
    color: var(--dark);
    font-family: var(--body);
    font-size: 1.3rem;
    text-align: left;
    cursor: pointer;
}

.birthday-faq-icon {
    font-size: 2rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.birthday-faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        max-height 0.4s ease,
        opacity 0.3s ease;
}

.birthday-faq-answer p {
    max-width: 800px;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #d6d6d6;
}

.birthday-faq-item.active .birthday-faq-answer {
    max-height: 500px;
    opacity: 1;
}

.birthday-faq-item.active .birthday-faq-answer p {
    padding-bottom: 30px;
}

.birthday-faq-item.active .birthday-faq-icon {
    transform: rotate(45deg);
}

/* Tablet */

@media (max-width: 1100px) {

    .birthday-faq-section {
        padding: 90px 0;
    }

    .birthday-faq-header {
        margin-bottom: 50px;
    }

    .birthday-faq-header h2 {
        font-size: 4rem;
    }
}

/* Mobile */

@media (max-width: 768px) {

    .birthday-faq-section {
        padding: 70px 0;
    }

    .birthday-faq-container {
        width: 88%;
    }

    .birthday-faq-header {
        margin-bottom: 40px;
    }

    .birthday-faq-header h2 {
        font-size: clamp(3rem, 13vw, 4rem);
        line-height: 0.95;
    }

    .birthday-faq-question {
        padding: 24px 0;
        gap: 20px;
        font-size: 1.1rem;
        line-height: 1.4;
    }

    .birthday-faq-icon {
        flex-shrink: 0;
        font-size: 1.7rem;
    }
}

/* Small Mobile */

@media (max-width: 480px) {

    .birthday-faq-section {
        padding: 60px 0;
    }

    .birthday-faq-container {
        width: 86%;
    }

    .birthday-faq-header {
        margin-bottom: 35px;
    }

    .birthday-faq-header h2 {
        font-size: 3rem;
    }

    .birthday-faq-question {
        padding: 22px 0;
        font-size: 1rem;
    }

    .birthday-faq-answer p {
        font-size: 0.95rem;
    }
}


/* Mobile */


@media (max-width: 768px) {

    /* Hero */

    .birthday-hero-container {
        height: 35vh;
        min-height: 280px;
    }

    .birthday-hero-container img {
        object-position: center;
    }

    /* Title */

    .birthday-title-section {
        min-height: auto;
        padding: 60px 20px;
        text-align: center;
    }

    .birthday-h1 {
        font-size: clamp(2.2rem, 8vw, 3.2rem);
        line-height: 1.1;
    }

    /* Birthday Body */

    .birthday-body-section {
        padding: 60px 0;
    }

    .birthday-stack {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .birthday-stack img {
        width: 100%;
        max-width: 450px;
        height: 240px;
        margin: 0 auto;
        object-fit: cover;
    }

    .birthday-stack h2 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    /* Problem Paragraphs */

    .birthday-paragraphs {
        width: 90%;
        max-width: 100%;
        margin: 50px auto 0;
    }

    .birthday-paragraphs p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 20px;
    }

    /* Solution Section */

    .birthday-solution-section {
        min-height: auto;
        padding: 70px 0;
    }

    .birthday-solution-section::before {
        width: 300px;
        height: 300px;
        border-width: 40px;
        top: -150px;
        right: -160px;
    }

    .birthday-solution-container {
        width: 90%;
    }

    .birthday-solution-container h2 {
        font-size: clamp(2.2rem, 8vw, 3rem);
        line-height: 1.1;
        letter-spacing: -1px;
        margin-bottom: 35px;
    }

    .birthday-solution-paragraphs {
        padding: 25px 20px;
    }

    .birthday-solution-paragraphs p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 20px;
    }

}
