:root {
    --rounded-xl: 0.75rem;
    --primary: #1f7a8c;
    --primary-light: #1f7a8c;
    --secondary: #f59e0b;
    --white: #ffffff;
    --dark: #1e293b;
    --gray: #64748b;

    --rounded-full: 9999px;

    --light: #f8fafc;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

@import url("https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400;700&display=swap");

* {
    font-family: "Comic Sans MS", "Comic Sans", "Chalkboard SE", "Marker Felt",
        sans-serif;
}

body {
    font-family: "Comic Neue", cursive;
}

.banner-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.76);
    z-index: -1;
}

.banner-content {
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.banner-heading {
    font-size: 4rem;
    font-family: cursive;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-description {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.apply-button {
    background-color: #fb8503;
    color: white;
    border: none;
    padding: 12px 45px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.apply-button:hover {
    background-color: #e67700;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .banner-heading {
        font-size: 2.2rem;
    }

    .banner-description {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .banner-heading {
        font-size: 1.8rem;
    }

    .banner-description {
        font-size: 1rem;
    }

    .apply-button {
        padding: 10px 25px;
        font-size: 1rem;
    }
}

/* Why AHS Needs Ambassadors Section */
.ambassadors-section {
    position: relative;
    width: 100%;
    padding: 80px 0;
    overflow: hidden;
    background-image: url("/assets/img/ambassador/Ambassador-Program-bg.png");
    background-size: cover;
}

.section-content {
    position: relative;
    z-index: 1;
}

.section-heading {
    font-family: cursive;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 800;
    font-size: 2.5rem;
}

.section-heading span {
    color: #fb8503;
}

.logo-center {
    display: block;
    margin: 0 auto 40px;
    width: 131px;
    height: 38px;
}

.content-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.left-content {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.left-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 500;
}

.ambassador-button {
    background-color: #268ea2;
    color: white;
    border: none;
    padding: 12px 45px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    margin-right: 100px;
}

.ambassador-button:hover {
    background-color: #1f7a8c;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.small-image {
    width: 70px;
    height: 78px;
    display: inline-block;
    transition: all 0.5s ease;
    margin-right: 20px;
    right: 0;
}

.small-image:hover {
    transform: rotate(10deg) scale(1.1);
}

.right-content {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    position: relative;
}

.main-right-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    margin: 0 auto;
    margin-bottom: 30px;
    border-radius: 10px;
}

.corner-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 83px;
    height: 61px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }

    .left-content,
    .right-content {
        width: 100%;
        padding: 10px;
    }

    .ambassador-button {
        margin-bottom: 20px;
    }

    .small-image {
        margin-bottom: 20px;
    }

    .corner-image {
        position: relative;
        margin-top: 20px;
        display: block;
        margin-left: auto;
    }
}

/* Who Can Become Section */
.who-can-section {
    position: relative;
    width: 100%;
    padding: 80px 0;
    background-image: url("/assets/img/ambassador/ambassador-section-3-bg.png");
    background-size: contain;
    background-repeat: no-repeat;
}

/* .who-can-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.9);
            z-index: 0;
        } */

.who-can-content {
    position: relative;
    z-index: 1;
}

.who-can-heading {
    font-family: cursive;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 900;
}

.who-can-heading span {
    color: #fb8503;
}

.who-can-logo {
    display: block;
    margin: 0 auto 40px;
    width: 131px;
    height: 38px;
}

.boxes-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 80px;
}

.ambassador-box {
    background: white;
    border-radius: 15px;
    padding: 20px;
    width: 250px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.ambassador-box:hover {
    transform: translateY(-10px);
}

.box-icon {
    width: 55px;
    height: 55px;
    margin-bottom: 40px;
}

.box-title {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.box-description {
    color: #555;
    line-height: 1.5;
}

.bottom-text {
    background-color: #fff4ed;
    border-left: 4px solid #fb8503;
    padding: 15px 15px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 1200px) {
    .boxes-container {
        gap: 20px;
    }

    .ambassador-box {
        width: 220px;
    }
}

@media (max-width: 992px) {
    .boxes-container {
        gap: 15px;
    }

    .ambassador-box {
        width: 200px;
        min-height: 260px;
    }
}

@media (max-width: 768px) {
    .boxes-container {
        flex-wrap: wrap;
    }

    .ambassador-box {
        width: 45%;
        min-height: 240px;
    }
}

@media (max-width: 576px) {
    .who-can-section {
        background-size: cover;
    }

    .ambassador-box {
        width: 100%;
        max-width: 300px;
        min-height: auto;
    }

    .bottom-text {
        padding: 15px 20px;
    }
}

/* What You Get Section */
.benefits-section {
    position: relative;
    width: 100%;
    padding: 10px 0;
    overflow: hidden;
    /* background-image: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80'); */
    /* background-size: cover;
            background-position: center;
            background-attachment: fixed;
             */
    background-color: #ffffff;
}

/* .benefits-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.9);
            z-index: 0;
        } */

.benefits-content {
    position: relative;
    z-index: 1;
}

.benefits-heading {
    text-align: center;
    margin-bottom: 10px;
    font-family: cursive;
    font-weight: 900;
}

.benefits-heading span {
    color: #fb8503;
}

.benefits-logo {
    display: block;
    margin: 0 auto 40px;
    width: 131px;
    height: 38px;
}

.benefits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
}

.benefit-box {
    background: white;
    border-radius: 15px;
    padding: 25px;
    width: 250px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.benefit-box:hover {
    border-color: rgba(0, 0, 0, 0.3);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 30px;
}

.benefit-title {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.benefit-description {
    color: #555;
    line-height: 1.5;
}

@media (max-width: 1200px) {
    .benefits-container {
        gap: 25px;
    }

    .benefit-box {
        width: 230px;
    }
}

@media (max-width: 992px) {
    .benefits-container {
        gap: 20px;
    }

    .benefit-box {
        width: 220px;
        min-height: 260px;
    }
}

@media (max-width: 768px) {
    .benefits-container {
        gap: 15px;
    }

    .benefit-box {
        width: 45%;
        min-height: 240px;
    }
}

@media (max-width: 576px) {
    .benefit-box {
        width: 100%;
        max-width: 300px;
        min-height: auto;
    }
}

/* Your Role Section */
.role-section {
    position: relative;
    width: 100%;
    padding: 80px 0;
    overflow: hidden;
    background-image: url("/assets/img/ambassador/role-section-background.png");
    background-size: cover;
    background-position: center;
}

.role-content {
    position: relative;
    z-index: 1;
}

.role-heading {
    text-align: center;
    margin-bottom: 0px;
    font-weight: 700;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.role-heading span {
    color: #fb8503;
}

.role-logo {
    display: block;
    margin: 0 auto 40px;
    width: 131px;
    height: 38px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.step-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--rounded-xl);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.step-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.role-quote {
    text-align: center;
    color: white;
    font-style: italic;
    margin-top: 20px;
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1200px) {
    .role-container {
        gap: 25px;
    }

    .role-box {
        width: 230px;
    }
}

@media (max-width: 992px) {
    .role-container {
        gap: 20px;
    }

    .role-box {
        width: 220px;
        min-height: 260px;
    }
}

@media (max-width: 768px) {
    .role-container {
        gap: 15px;
    }

    .role-box {
        width: 45%;
        min-height: 240px;
    }
}

@media (max-width: 576px) {
    .role-box {
        width: 100%;
        max-width: 300px;
        min-height: auto;
    }

    .role-quote {
        padding: 0 20px;
    }
}

/* Ambassador Stories Section */
.stories-section {
    position: relative;
    width: 100%;
    padding: 100px 0;
    background-color: white;
    overflow: hidden;
    background-image: url("/assets/img/ambassador/testimonial\ -bg.png");
    background-size: contain;
    background-repeat: no-repeat;
}

.section-heading {
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
    color: #333;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 400px;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cards-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.story-card {
    position: absolute;
    width: 350px;
    height: 450px;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.6s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transform-origin: center;
    backface-visibility: visible;
}

.card-left {
    transform: translateX(-80%) rotateY(-15deg) rotateZ(-5deg) scale(0.9);
    z-index: 1;
    background-color: #fb8503;
    color: white;
}

.card-center {
    transform: translateX(0) scale(1);
    z-index: 3;
    background-color: #228da1;
    color: white;
}

.card-right {
    transform: translateX(80%) rotateY(15deg) rotateZ(5deg) scale(0.9);
    z-index: 1;
    background-color: #fb8503;
    color: white;
}

.user-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    font-family: cursive;
    font-weight: 900;
    border: 4px solid white;
    object-fit: cover;
    object-position: top;

    margin-bottom: 20px;
}

.user-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
}

.user-location {
    font-size: 18px;
    margin-bottom: 0px;
    color: white;
    font-weight: 6 00;
}

.quote-icon {
    width: 30px;
    height: 20px;
    margin-bottom: 10px;
}

.quote-icon-top {
    align-self: flex-start;
    margin-bottom: 10px;
}

.quote-icon-bottom {
    align-self: flex-end;
    margin-top: auto;
}

.story-message {
    font-size: 16px;
    line-height: 1.6;
    color: white;
    font-weight: 500;
    flex-grow: 1;
    display: flex;
    margin-bottom: 0px;
    align-items: center;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: #228da1;
    transform: scale(1.2);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: #228da1;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    z-index: 4;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    user-select: none;
}

.carousel-arrow:hover {
    background-color: #fb8503;
    transform: translateY(-50%) scale(1.1);
}

.arrow-left {
    left: 20px;
}

.arrow-right {
    right: 20px;
}

@media (max-width: 768px) {
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .arrow-left {
        left: 10px;
    }

    .arrow-right {
        right: 10px;
    }
}

@media (max-width: 992px) {
    .card-left {
        transform: translateX(-60%) rotateY(15deg) rotateZ(-5deg) scale(0.9);
    }

    .card-right {
        transform: translateX(60%) rotateY(-15deg) rotateZ(5deg) scale(0.9);
    }
}

@media (max-width: 768px) {
    .carousel-container {
        height: 500px;
        overflow: hidden;
    }

    .cards-wrapper {
        width: 100%;
        height: 100%;
    }

    .story-card {
        width: 80%;
        left: 50%;
        transform: translateX(-50%) !important;
        opacity: 0;
        transition: opacity 0.5s ease;
        margin-bottom: 0;
        background-color: #228da1;
    }

    .story-card.active {
        opacity: 1;
        z-index: 2;
    }

    .carousel-dots {
        position: absolute;
        bottom: 20px;
        left: 0;
        right: 0;
        margin-top: 0;
        z-index: 3;
    }
}

/* Impact Section Styles */
.impact-section {
    background-color: #228da1;
    padding: 80px 0;
    text-align: center;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

.impact-heading {
    color: white;
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 30px;
}

.impact-subheading {
    color: white;
    font-size: 20px;
    margin-bottom: 40px;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #fb8503;
    color: white;
}

.btn-secondary {
    background-color: white;
    color: black;
}

.btn-primary:hover {
    background-color: #e67700;
    transform: translateY(-2px);
    border: none;
}

.btn-primary:active {
    transform: translateY(2px);
    border: none;
    background-color: #e67700 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .impact-section {
        padding: 60px 0;
    }

    .impact-heading {
        font-size: 30px;
    }

    .impact-subheading {
        font-size: 18px;
    }

    .impact-description {
        font-size: 18px;
    }

    .button-group {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Timeline Section */
.timeline {
    padding: 80px 0;
    background-color: var(--light);
    position: relative;
}

.timeline-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
}

.timeline-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    padding-bottom: 2rem;
    z-index: 2;
}

.timeline-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 3rem;
    left: 50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 1;
}

.timeline-icon-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.timeline-icon {
    width: 5rem;
    height: 5rem;
    background-color: var(--white);
    border-radius: var(--rounded-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.5rem;
    color: var(--primary);
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--primary-light);
}

.timeline-step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.timeline-step p {
    color: var(--gray);
    font-size: 0.8rem;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .timeline-steps {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        padding-left: 1rem;
    }

    .timeline-step {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding-left: 4.5rem;
        min-width: 100%;
        position: relative;
    }

    .timeline-step:not(:last-child)::after {
        display: none;
    }

    .timeline-step:not(:last-child) {
        padding-bottom: 2rem;
    }

    .timeline-step:not(:last-child)::before {
        content: "";
        position: absolute;
        left: 2rem;
        top: 0;
        bottom: -2rem;
        width: 2px;
        background: linear-gradient(
            to bottom,
            var(--primary),
            var(--secondary)
        );
    }

    .timeline-icon-container {
        position: absolute;
        left: 0;
        top: 0;
        margin-bottom: 0;
        margin-right: 0;
    }

    .timeline-icon {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.25rem;
        margin: 0;
    }

    .timeline-content {
        display: flex;
        flex-direction: column;
    }

    .timeline-step h3 {
        margin-bottom: 0.25rem;
        font-size: 1.1rem;
        order: 1;
    }

    .timeline-step p {
        font-size: 0.9rem;
        order: 2;
    }
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: var(--white);
}

.faq-container {
    max-width: 850px;
    margin: 3rem auto 0;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: var(--rounded-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 1.5rem;
    background-color: var(--light);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    color: var(--dark);
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(37, 99, 235, 0.1);
}

.faq-question::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.faq-question.active {
    background-color: var(--primary);
    color: var(--white);
}

.faq-question.active::after {
    content: "-";
    color: var(--white);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-slow);
    background-color: var(--white);
}

.faq-answer.show {
    padding: 1rem;
    max-height: 600px;
}

.faq-answer p {
    color: var(--dark-light);
    line-height: 1.7;
    margin-bottom: 0; /* Remove default paragraph margin */
}

/* Help Section */
.faq-help {
    max-width: 800px;
    margin: 40px auto 0;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--gray-light);
}

.faq-help-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.faq-help-content i {
    font-size: 1.5rem;
    color: var(--primary);
}

.faq-help-content p {
    margin: 0;
    color: var(--dark);
    font-size: 1.1rem;
}

.faq-help-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.faq-help-content a:hover {
    text-decoration: underline;
}

.btn-visit {
    display: inline-block;
    background-color: #fb8503;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-visit:hover {
    background-color: #e67700;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.modal-backdrop{z-index: 900;}

/* Mobile Responsive */
@media (max-width: 768px) {
    .faq-help-content {
        flex-direction: column;
        text-align: center;
    }

    .faq-help-content i {
        margin-bottom: 10px;
    }

    .faq-help-content p {
        font-size: 1rem;
    }
}
