/* ─────────────────────────────────────────────
   Our Team Page Custom Styles
   ───────────────────────────────────────────── */

.our-team-page-main {
    background: #ffffff;
}

/* ── Banner Header (Dark Premium Purple Theme) ── */
.our-team-banner-section {
    position: relative;
    min-height: 520px;
    height: 90vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: 100px 0;
    box-sizing: border-box;
}

.our-team-banner-section .uk-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.our-team-banner-header {
    max-width: 650px;
    text-align: left;
    margin-top: 60px;
}

.our-team-banner-title {
    font-size: 58px;
    font-weight: 700;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 0 20px 0;
    font-family: 'Quicksand', sans-serif;
    line-height: 1.1;
}

.our-team-banner-desc {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-family: 'Noto Sans Myanmar', sans-serif;
    font-weight: 400;
}

.team-section-header {
    gap: 30px 40px;
}

/* Responsive banner height overrides */
@media (max-width: 959px) {
    .our-team-banner-section {
        min-height: auto !important;
        height: 45vh !important;
        max-height: none !important;
        padding: 40px 0 !important;
    }

    .our-team-banner-header {
        margin-top: 30px !important;
    }

    .our-team-banner-title {
        font-size: 42px !important;
        letter-spacing: 2px !important;
        margin-bottom: 12px !important;
    }

    .our-team-banner-desc {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }

    .our-team-slider-section,
    .our-team-faq-section {
        padding: 40px 0 !important;
    }

    .team-section-title,
    .feedback-title,
    .faq-section-title {
        font-size: 32px;
    }
}

@media (max-width: 640px) {
    .our-team-banner-section {
        height: 55vh !important;
    }

    .our-team-banner-title {
        font-size: 42px !important;
        letter-spacing: 1px !important;
    }
}

.our-team-slider-section {
    background: #ffffff !important;
    padding: 60px 0;
}

.our-team-slider-section .uk-invisible {
    visibility: visible !important;
    opacity: .5;
}

.team-section-title {
    font-size: 38px;
    font-weight: 700;
    color: #4D3766 !important;
    margin: 0 0 10px 0;
    font-family: 'Quicksand', sans-serif;
    text-transform: capitalize;
}

.team-section-desc {
    font-size: 16px;
    color: #4D3766 !important;
    line-height: 1.6;
    margin: 0;
}

/* ── Slider Arrows ── */
.team-slider-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 32px;
    border-radius: 999px;
    background: #5d4a7a;
    color: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    box-shadow: 0 4px 12px rgba(77, 55, 102, 0.12);
}

.team-slider-btn:hover {
    background: #4D3766;
    transform: scale(1.06);
    box-shadow: 0 6px 18px rgba(77, 55, 102, 0.25);
}

/* ── Minimalist Team Card (Matching Mock exactly) ── */
.team-member-card {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    transition: transform 0.3s ease;
}

.team-member-avatar-wrapper {
    width: 210px;
    height: 210px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 24px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(77, 55, 102, 0.06);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.team-member-avatar-wrapper.no-image {
    background: #d4e8f7 !important;
    /* Perfect pastel baby blue color as shown in mock! */
    border: none;
    box-shadow: none;
}

.team-member-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-name {
    font-size: 20px;
    font-weight: 700;
    color: #4D3766 !important;
    margin: 0 0 4px 0;
    font-family: 'Quicksand', sans-serif;
}

.team-member-position {
    font-size: 14px;
    font-weight: 500;
    color: rgba(77, 55, 102, 0.7);
    margin: 0;
    font-family: 'Noto Sans Myanmar', sans-serif;
}

/* ── Join Our Team / Careers Section Styles ── */
.our-team-faq-section {
    background: #ffffff;
    padding: 60px 0;
}

.faq-section-header {
    max-width: 700px;
    margin-left: 0;
}

.faq-section-title {
    font-size: 38px;
    font-weight: 700;
    color: #4D3766 !important;
    margin-bottom: 12px;
    font-family: 'Quicksand', sans-serif;
    text-transform: capitalize;
}

.faq-section-desc {
    font-size: 16px;
    color: #4D3766 !important;
    line-height: 1.6;
    margin: 0;
}

/* ─────────────────────────────────────────────
   FAQ Accordion Custom Styles (Mock-matched)
   ───────────────────────────────────────────── */

.zlann-faq-accordion {
    margin-top: 35px;
    padding-left: 0;
    list-style: none;
}

.faq-accordion-item {
    background: #F2F5F8;
    /* Soft light grey-blue background as in mock! */
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 12px;
    border: none !important;
    transition: background-color 0.3s ease;
}

.faq-accordion-item.uk-open {
    background: #ECF0F4;
    /* Slightly darker state when open */
    box-shadow: none !important;
}

.faq-accordion-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #2b233c !important;
    font-family: 'Quicksand', sans-serif;
    text-decoration: none !important;
    width: 100%;
}

.faq-accordion-question::after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b233c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

/* Hide default UIkit icon */
.zlann-faq-accordion .uk-accordion-title::before {
    display: none !important;
}

.faq-accordion-item.uk-open .faq-accordion-question::after {
    transform: rotate(180deg);
}

.faq-accordion-answer {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(43, 35, 60, 0.8);
    margin-top: 15px;
    padding-right: 20px;
}

.faq-accordion-answer * {
    list-style: disc;
}

/* ─────────────────────────────────────────────
   Send Feedback Section Custom Styles
   ───────────────────────────────────────────── */

.our-team-feedback-section {
    background: #ffffff !important;
    padding-top: 60px;
    padding-bottom: 0px;
}

.feedback-title-wrapper {
    max-width: 480px;
    text-align: left;
}

.feedback-title {
    font-size: 38px !important;
    font-weight: 700 !important;
    color: #4D3766 !important;
    margin: 0 !important;
    font-family: 'Quicksand', sans-serif !important;
    line-height: 1.25 !important;
}

/* Styling any Contact Form 7 generic form fields */
.our-team-feedback-section form.wpcf7-form {
    max-width: 600px;
    margin: 0 0 0 auto;
    /* Align to the right column */
    display: block;
}

.our-team-feedback-section form.wpcf7-form p {
    margin: 0 0 12px 0 !important;
}

.our-team-feedback-section span.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.our-team-feedback-section input[type="text"],
.our-team-feedback-section input[type="email"],
.our-team-feedback-section textarea,
.our-team-feedback-section select {
    width: 100% !important;
    background: #F2F5F8 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 16px 20px !important;
    font-size: 15px !important;
    color: #2b233c !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
    margin-bottom: 0 !important;
    font-family: 'Noto Sans Myanmar', sans-serif !important;
    height: 54px;
}

.our-team-feedback-section input[type="text"]::placeholder,
.our-team-feedback-section input[type="email"]::placeholder,
.our-team-feedback-section textarea::placeholder {
    color: rgba(43, 35, 60, 0.5) !important;
}

.our-team-feedback-section input:focus,
.our-team-feedback-section textarea:focus {
    background: #ECF0F4 !important;
    outline: none !important;
    box-shadow: none !important;
}

.our-team-feedback-section textarea {
    min-height: 160px !important;
    resize: vertical !important;
}

/* Star Rating styling if present inside form markup */
.our-team-feedback-section .rating-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F2F5F8;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 12px;
    box-sizing: border-box;
}

.our-team-feedback-section .rating-label {
    font-size: 15px;
    color: rgba(43, 35, 60, 0.7);
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
}

.our-team-feedback-section .rating-stars {
    color: #4D3766;
    font-size: 18px;
    letter-spacing: 4px;
}

/* Premium submit button aligned to the right */
.our-team-feedback-section .wpcf7-submit,
.our-team-feedback-section input[type="submit"] {
    display: inline-block !important;
    float: right !important;
    background: #4D3766 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 42px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    box-shadow: 0 4px 15px rgba(77, 55, 102, 0.15) !important;
    margin-top: 10px !important;
}

.our-team-feedback-section .wpcf7-submit:hover,
.our-team-feedback-section input[type="submit"]:hover {
    background: #5d4a7a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(77, 55, 102, 0.25) !important;
}

/* Clear floated elements inside form wrapper */
.our-team-feedback-section form.wpcf7-form::after {
    content: "";
    display: table;
    clear: both;
}

.wpcf7-response-output {
    color: #4D3766 !important;
}


/* /////////////// */
/* main card container */
.rating-card {
    width: 100% !important;
    background: #F2F5F8 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 16px 20px !important;
    font-size: 15px !important;
    color: #2b233c !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
    margin-bottom: 10px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 480px) {
    .rating-card {
        padding: 1.5rem 1.2rem;
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* header / title area */
.rating-header {
    margin-bottom: 0;
    flex: 0 0 auto;
}

.rating-header h2 {
    font-size: 14px !important;
    font-weight: 500;
    color: #333;
    letter-spacing: -0.3px;
    margin-bottom: 0px;
}

/* stars container - flex row */
.stars-wrapper {
    display: flex;
    justify-content: flex-end;
    gap: 0.8rem;
    margin: 0;
    flex-wrap: wrap;
    flex: 0 0 auto;
}

/* individual star button styling */
.star-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 22px;
    padding: 0;
    margin: 0;
    line-height: 1;
    transition: transform 0.18s cubic-bezier(0.2, 0.9, 0.4, 1.1), filter 0.1s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    outline: none;
    border-radius: 1rem;
}

/* star symbol style */
.star-symbol {
    display: inline-block;
    transition: all 0.15s;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
    font-family: 'Segoe UI', 'Roboto', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif !important;
}

/* hover effect: gentle scaling + brighter color */
.star-btn:hover {
    transform: scale(1.12);
}

.star-btn:hover .star-symbol {
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
}

/* active press feedback */
.star-btn:active {
    transform: scale(0.96);
}

/* focus ring for accessibility */
.star-btn:focus-visible {
    outline: 3px solid #2c7da0;
    outline-offset: 4px;
    border-radius: 12px;
}

.star-rated {
    animation: pop 0.2s ease-out;
}

@keyframes pop {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    80% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}