/* style/promo.css */
.page-promo {
    color: #333333; /* Dark text for default light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-promo__hero-section {
    background-color: #000080; /* Dark blue background for hero */
    color: #ffffff; /* Light text on dark background */
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.page-promo__hero-content {
    max-width: 900px;
    z-index: 1;
}

.page-promo__hero-title {
    font-size: 3.2em;
    color: #FFD700; /* Golden title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promo__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promo__hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-promo__hero-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    min-width: 200px;
    text-align: center;
}

.page-promo__hero-button--primary {
    background-color: #FFD700; /* Golden button */
    color: #000080; /* Dark blue text */
    border: 2px solid #FFD700;
}

.page-promo__hero-button--primary:hover {
    background-color: #e0b800;
    transform: translateY(-3px);
}

.page-promo__hero-button--secondary {
    background-color: transparent;
    color: #FFD700; /* Golden text */
    border: 2px solid #FFD700;
}

.page-promo__hero-button--secondary:hover {
    background-color: #FFD700;
    color: #000080;
    transform: translateY(-3px);
}

.page-promo__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-promo__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle overlay */
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-promo__section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.page-promo__section-title {
    font-size: 2.5em;
    color: #000080; /* Dark blue title */
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.page-promo__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Golden underline */
    border-radius: 2px;
}

.page-promo__section-description {
    font-size: 1.1em;
    color: #555555;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-promo__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promo__card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promo__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-promo__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #eee;
    min-width: 200px; 
    min-height: 200px;
}

.page-promo__card-content {
    padding: 25px;
}

.page-promo__card-title {
    font-size: 1.5em;
    color: #000080;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-promo__card-description {
    font-size: 1em;
    color: #666666;
    margin-bottom: 25px;
}

.page-promo__card-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #FFD700; /* Golden button */
    color: #000080;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
}

.page-promo__card-button:hover {
    background-color: #e0b800;
    transform: translateY(-2px);
}

/* How to Claim Section */
.page-promo__how-to-claim {
    background-color: #f9f9f9;
    padding: 80px 20px;
}

.page-promo__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.page-promo__step-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: left;
    transition: box-shadow 0.3s ease;
}

.page-promo__step-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-promo__step-title {
    font-size: 1.6em;
    color: #000080;
    margin-bottom: 15px;
}

.page-promo__step-description {
    font-size: 1em;
    color: #555555;
}

.page-promo__step-description a {
    color: #DC143C; /* Dark red for links in text */
    text-decoration: underline;
    font-weight: bold;
}

.page-promo__step-description a:hover {
    color: #a00d2b;
}

/* FAQ Section */
.page-promo__faq-section {
    padding: 80px 20px;
}

.page-promo__faq-list {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promo__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.page-promo__faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-promo__faq-question {
    font-size: 1.4em;
    color: #000080;
    padding: 20px 25px;
    cursor: pointer;
    position: relative;
    background-color: #fefefe;
    border-bottom: 1px solid #e0e0e0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-promo__faq-question::after {
    content: '+';
    font-size: 1.5em;
    color: #FFD700;
    position: absolute;
    right: 25px;
    transition: transform 0.3s ease;
}

.page-promo__faq-item.active .page-promo__faq-question::after {
    transform: rotate(45deg);
}

.page-promo__faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    color: #555555;
    font-size: 1em;
}

.page-promo__faq-item.active .page-promo__faq-answer {
    max-height: 200px; /* Adjust as needed for content length */
    padding: 15px 25px 25px;
}

.page-promo__faq-answer p {
    margin: 0;
}

/* Why Choose Jilievo Section */
.page-promo__why-jilievo {
    background-color: #000080; /* Dark blue background */
    color: #ffffff; /* Light text */
    padding: 80px 20px;
}

.page-promo__why-jilievo .page-promo__section-title {
    color: #FFD700; /* Golden title */
}

.page-promo__why-jilievo .page-promo__section-description {
    color: #f0f0f0;
}

.page-promo__why-jilievo .page-promo__section-title::after {
    background-color: #FFD700;
}

.page-promo__advantages-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-promo__advantage-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white */
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-promo__advantage-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.page-promo__advantage-title {
    font-size: 1.6em;
    color: #FFD700; /* Golden title */
    margin-bottom: 15px;
}

.page-promo__advantage-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* Final CTA Section */
.page-promo__final-cta {
    background-color: #DC143C; /* Dark red accent */
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

.page-promo__final-cta-title {
    font-size: 2.8em;
    color: #FFD700; /* Golden title */
    margin-bottom: 20px;
}

.page-promo__final-cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-promo__final-cta-button {
    display: inline-block;
    padding: 18px 40px;
    background-color: #FFD700; /* Golden button */
    color: #000080;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
}

.page-promo__final-cta-button:hover {
    background-color: #e0b800;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promo__hero-title {
        font-size: 2.8em;
    }

    .page-promo__section-title {
        font-size: 2em;
    }

    .page-promo__final-cta-title {
        font-size: 2.2em;
    }

    .page-promo__grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-promo__hero-section {
        padding: 60px 15px;
        gap: 20px;
    }

    .page-promo__hero-title {
        font-size: 2.2em;
    }

    .page-promo__hero-description {
        font-size: 1.1em;
    }

    .page-promo__hero-cta-group {
        flex-direction: column;
        gap: 15px;
    }

    .page-promo__hero-button {
        width: 100%;
        max-width: 300px;
    }

    .page-promo__section {
        margin: 40px auto;
        padding: 0 15px;
    }

    .page-promo__section-title {
        font-size: 1.8em;
    }

    .page-promo__section-description {
        font-size: 1em;
    }

    .page-promo__grid {
        grid-template-columns: 1fr;
    }

    .page-promo__card-image {
        height: 200px;
    }

    .page-promo__how-to-claim,
    .page-promo__faq-section,
    .page-promo__why-jilievo,
    .page-promo__final-cta {
        padding: 50px 15px;
    }

    .page-promo__steps-list {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-promo__faq-question {
        font-size: 1.2em;
        padding: 15px 20px;
    }

    .page-promo__faq-item.active .page-promo__faq-answer {
        padding: 10px 20px 20px;
    }

    .page-promo__advantage-title {
        font-size: 1.4em;
    }

    .page-promo__final-cta-title {
        font-size: 1.8em;
    }

    .page-promo__final-cta-button {
        padding: 15px 30px;
        font-size: 1.1em;
    }

    /* Mobile image constraint */
    .page-promo img {
        max-width: 100%;
        height: auto;
    }
    /* Ensure no content causes horizontal scroll */
    .page-promo {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .page-promo__hero-title {
        font-size: 1.8em;
    }
    .page-promo__hero-description {
        font-size: 0.95em;
    }
    .page-promo__section-title {
        font-size: 1.6em;
    }
    .page-promo__card-title {
        font-size: 1.3em;
    }
    .page-promo__final-cta-title {
        font-size: 1.6em;
    }
}

/* Ensure all images within .page-promo are not small icons */
.page-promo img {
    min-width: 200px;
    min-height: 200px;
    width: auto; /* Allow natural sizing or flexbox/grid to control */
    height: auto;
}

/* Specific sizing for card images to ensure they are not too small */
.page-promo__card-image {
    width: 100%; /* Fill the card width */
    height: 250px; /* Maintain a good display height */
    object-fit: cover;
    min-width: 200px; /* Explicitly ensure min-width */
    min-height: 200px; /* Explicitly ensure min-height */
}