/* Support/Contact Us Page Styles */



.support-hero {
    width: 100%;
    min-height: 550px;
    background-image: url('../image/ribena-texture-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.support-hero__title {
    color: #FFFFFF;
    font-family: "Gazpacho", serif;
    font-size: 120px;
    font-weight: 700;
    margin: 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.faq-section {
    background-color: var(--Ribena-purple, #9B26B6);
    padding: 224px 43px;
    text-align: center;
}

.faq-section__title {
    color: #FFFFFF;
    font-family: "Gazpacho", serif;
    font-size: 80px;
    font-weight: 700;
    margin-bottom: 50px;
}

.faq-section__description {
    color: #FFFFFF;
    font-family: "ES Rebond Grotesque", sans-serif;
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.5;
}

.faq-section__button {
    display: inline-block;
    background-color: #FFFFFF;
    color: #E3061B;
    font-family: "ES Rebond Grotesque", sans-serif;
    font-size: 20px;
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

    .faq-section__button:hover {
        transform: scale(1.05);
        background-color: #FFF0EE;
        color: #E3061B;
    }

/* Responsive Styles */
@media (max-width: 992px) {
    .support-hero__title {
        font-size: 80px;
    }

    .faq-section__title {
        font-size: 50px;
    }

    .support-hero {
        min-height: 350px;
    }
}

@media (max-width: 576px) {
    .support-hero__title {
        font-size: 60px;
    }

    .faq-section__title {
        font-size: 36px;
    }

    .faq-section__description {
        font-size: 16px;
    }

    .support-hero {
        min-height: 250px;
    }
}

/* Contact Info Section Styles */
.contact-info {
    width: 100%;
    overflow: hidden;
}

.contact-info__row {
    margin: 0;
    --bs-gutter-x: 0;
}

.contact-info__col {
    padding: 120px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 600px;
}

.contact-info__col--phone {
    background-color: #FFF0EE;
    padding: 224px 47px;
}

.contact-info__col--webchat {
    background-image: url('../image/ribena-texture-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 200px 40px;
}

.contact-info__title {
    font-family: "Gazpacho", serif;
    font-size: 100px;
    font-weight: 700;
    margin-bottom: 50px;
    line-height: 1;
}

.contact-info__title--red {
    color: #E3061B;
}

.contact-info__title--white {
    color: #FFFFFF;
}

.contact-info__subtitle {
    color: #E3061B;
    font-family: "ES Rebond Grotesque", sans-serif;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 30px;
}

.contact-info__details {
    color: #E3061B;
    font-family: "ES Rebond Grotesque", sans-serif;
    font-size: 20px;
    line-height: 1.6;
}

    .contact-info__details p {
        margin-bottom: 5px;
    }

.contact-info__description {
    color: #FFFFFF;
    font-family: "ES Rebond Grotesque", sans-serif;
    font-size: 20px;
    margin-bottom: 50px;
    max-width: 450px;
    line-height: 1.5;
}

.contact-info__button {
    display: inline-block;
    background-color: #FFFFFF;
    color: #E3061B;
    font-family: "ES Rebond Grotesque", sans-serif;
    font-size: 20px;
    font-weight: 600;
    padding: 15px 45px;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

    .contact-info__button:hover {
        transform: scale(1.05);
        background-color: #FFF0EE;
        color: #E3061B;
    }

/* More Responsive updates */
@media (max-width: 1200px) {
    .contact-info__title {
        font-size: 80px;
    }
}

@media (max-width: 992px) {
    .contact-info__title {
        font-size: 70px;
    }

    .contact-info__col {
        padding: 80px 20px;
        min-height: 500px;
    }
}

@media (max-width: 576px) {
    .contact-info__title {
        font-size: 50px;
    }

    .contact-info__subtitle {
        font-size: 20px;
    }

    .contact-info__description,
    .contact-info__details {
        font-size: 18px;
    }
}

/* Contact Form Section Styles */
.contact-form-section {
    background-color: #FFF0EE;
    padding: 100px 0;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form__section-title {
    color: var(--Ribena-purple, #9B26B6);
    font-family: "ES Rebond Grotesque", sans-serif;
    font-size: 40px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 60px;
}

.contact-form__group {
    margin-bottom: 30px;
}

.contact-form__label {
    display: block;
    color: #333333;
    font-family: "ES Rebond Grotesque", sans-serif;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}

.contact-form__input {
    width: 100%;
    padding: 18px 25px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background-color: #FFFFFF;
    font-family: "ES Rebond Grotesque", sans-serif;
    font-size: 18px;
    color: #333333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Validation Styles */
.contact-form.was-validated .contact-form__input:invalid,
.contact-form.was-validated select.contact-form__input:invalid,
.contact-form.was-validated textarea.contact-form__input:invalid {
    border: 2px solid #E3061B !important;
    box-shadow: 0 0 0 4px rgba(227, 6, 27, 0.1) !important;
}

.contact-form.was-validated .contact-form__input:valid {
    border-color: #28a745;
}

.contact-form.was-validated .contact-form__checkbox:invalid {
    outline: 2px solid #E3061B !important;
    outline-offset: 2px;
}

.contact-form__error-text {
    display: none;
    color: #E3061B;
    font-size: 14px;
    font-weight: 500;
    margin-top: 5px;
}

.contact-form.was-validated .contact-form__group:has(:invalid) .contact-form__error-text,
.contact-form.was-validated .contact-form__group:has(.is-invalid) .contact-form__error-text {
    display: block;
}

.contact-form__file-input.is-invalid + .contact-form__file-label {
    border: 2px solid #E3061B !important;
    box-shadow: 0 0 0 4px rgba(227, 6, 27, 0.1) !important;
}

.contact-form__input:focus {
    outline: none;
    border-color: #9B26B6;
    box-shadow: 0 0 0 4px rgba(155, 38, 182, 0.1);
}

.contact-form__input--select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%239B26B6' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 25px center;
    padding-right: 60px;
}

.contact-form__input::placeholder {
    color: #999999;
}

@media (max-width: 768px) {
    .contact-form-section {
        padding: 60px 20px;
    }

    .contact-form__section-title {
        font-size: 30px;
        margin-bottom: 40px;
    }
}

/* Form Element Enhancements */
.contact-form__input--textarea {
    resize: none;
    min-height: 200px;
}

.contact-form__file-wrapper {
    position: relative;
    width: 100%;
    margin-top: 10px;
}

.contact-form__file-input {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.contact-form__file-label {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background-color: #FFFFFF;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

    .contact-form__file-label:hover {
        border-color: #9B26B6;
    }

.contact-form__file-button {
    background-color: #f0f0f0;
    color: #333333;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: "ES Rebond Grotesque", sans-serif;
    font-size: 16px;
    font-weight: 500;
    margin-right: 20px;
    transition: background-color 0.3s ease;
}

.contact-form__file-label:hover .contact-form__file-button {
    background-color: #e5e5e5;
}

.contact-form__file-name {
    font-family: "ES Rebond Grotesque", sans-serif;
    font-size: 16px;
    color: #666666;
}

.contact-form__file-hint {
    font-family: "ES Rebond Grotesque", sans-serif;
    font-size: 14px;
    color: #888888;
    margin-top: 10px;
}

.mt-5 {
    margin-top: 3rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

.text-center {
    text-align: center;
}

/* Subscription & Checkbox Styles */
.contact-form__subscription-text {
    font-family: "ES Rebond Grotesque", sans-serif;
    font-size: 22px;
    color: #000000;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 700px;
}

.contact-form__link {
    color: #000000;
    text-decoration: underline;
    font-weight: 500;
}

    .contact-form__link:hover {
        color: #9B26B6;
    }

.contact-form__link--purple {
    color: #9B26B6;
}

.contact-form__checkbox-row {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.contact-form__checkbox-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-form__checkbox {
    width: 24px;
    height: 24px;
    cursor: pointer;
    accent-color: #9B26B6;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.contact-form__checkbox-label {
    font-family: "ES Rebond Grotesque", sans-serif;
    font-size: 22px;
    color: #000000;
    cursor: pointer;
}

.contact-form__tick-label {
    font-family: "ES Rebond Grotesque", sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 15px;
}

.contact-form__submit-button {
    background-color: #9B26B6;
    color: #FFFFFF;
    font-family: "ES Rebond Grotesque", sans-serif;
    font-size: 20px;
    font-weight: 500;
    padding: 12px 60px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .contact-form__submit-button:hover {
        background-color: #7B1FA2;
        transform: scale(1.02);
    }

    .contact-form__submit-button:active {
        transform: scale(0.98);
    }

@media (max-width: 576px) {
    .contact-form__checkbox-row {
        flex-direction: column;
        gap: 15px;
    }
}

/* Help Categories Styles */
.help-categories {
    background: #9b26b6;
    background: radial-gradient(circle at center, #af33cd 0%, #9B26B6 100%);
    padding: 224px 47px;
    text-align: center;
    color: #FFFFFF;
}

.help-categories__title {
    font-family: "Gazpacho", serif;
    font-size: 80px;
    font-weight: 700;
    margin-bottom: 50px;
}

.help-categories__description {
    font-family: "ES Rebond Grotesque", sans-serif;
    font-size: 20px;
    margin-bottom: 50px;
    opacity: 0.9;
}

.help-categories__grid {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.help-categories__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .help-categories__item:hover {
        transform: translateY(-10px);
    }

.help-categories__icon-wrapper {
    width: 100px;
    height: 100px;
    background-color: #FFF0EE;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9B26B6;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.help-categories__label {
    font-family: "ES Rebond Grotesque", sans-serif;
    font-size: 24px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .help-categories__title {
        font-size: 50px;
    }

    .help-categories__grid {
        gap: 30px;
    }

    .help-categories__icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .help-categories__label {
        font-size: 20px;
    }
}

/* Modal Styles for Batch Code Help */
body.modal-open {
    overflow: hidden !important;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

/* modal active is handled by jQuery fadeIn in user script */
.modal-content-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background-color: #fff;
    padding: 10px; /* Reduced for thinner border look */
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

    .modal-content-wrapper img {
        max-width: 100%;
        max-height: 80vh;
        display: block;
        height: auto;
        border-radius: 4px;
    }

.close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 36px;
    height: 36px;
    background-color: #9B26B6;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 26px;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, background-color 0.2s ease;
    z-index: 11;
    line-height: 1;
    padding-bottom: 4px; /* Slight offset for perfect visual centering of times symbol */
}

    .close-btn:hover {
        background-color: #7B1FA2;
        transform: scale(1.1);
    }
