/* --- Base Styles & Variables --- */
:root {
    --primary-color: #0056b3;
    /* Example Blue */
    --secondary-color: #007bff;
    /* Lighter Blue */
    --accent-color: #ffc107;
    /* Example Yellow/Gold */
    --light-bg: #f8f9fa;
    --dark-text: #333;
    --light-text: #fff;
    --grey-text: #6c757d;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --font-family: 'Poppins', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: var(--dark-text);
    background-color: #fff;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3 {
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 600;
}

h1 {
    font-size: 2.8rem;
    color: var(--light-text);
}

h2 {
    font-size: 2.2rem;
    color: #000064;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    text-align: center;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
    padding: 0;
}

/* --- Utility Classes --- */
.alt-bg {
    background-color: #000064;
}

.alt-bg h2 {
    color: #ffff;
}

.how-it-worksbg {
    background-color: #fbfbfd;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--dark-text);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 1rem;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #e0a800;
    /* Darker accent */
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: var(--dark-text);
}

/* --- Header / Hero Section --- */
.hero-section {
    background: linear-gradient(rgba(39, 69, 99, 0.8), rgba(2, 38, 61, 0.7)), url('./images/img1.jpg') center center/cover no-repeat;
    /* Placeholder background */

    color: var(--light-text);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    min-height: 80vh;

}

.hero-section .logo {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.hero-section h1 {
    animation: fadeInDown 1s ease-out;
    font-size: 35px;
}

.sub-header {
    background-color: #d21417;
    width: 100%;
    text-align: center;
}

.sub-header .subtitle {
    font-size: 40px !important;
    max-width: 100%;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1s ease-out 0.5s backwards;
    text-transform: uppercase;
    font-weight: 600;
}

.hero-section .cta-button {
    animation: pulse 2s infinite ease-in-out 1s;
    /* Start pulsing after 1s */
}

.banner-wrap {
    display: flex;
    justify-content: space-between;
}

.banner-content {
    width: 48%;
    text-align: left;
}

.banner-form {
    width: 48%;
}

/* Scroll Down Indicator */
.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down-indicator span {
    display: block;
    width: 20px;
    height: 20px;
    border-bottom: 3px solid var(--light-text);
    border-right: 3px solid var(--light-text);
    transform: rotate(45deg);
}


/* --- Content Sections --- */
.content-section {
    padding: 20px 0;
}

/* --- Who Can Join (Cards) --- */
.card-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    /* Allow wrapping on smaller screens */
    margin-top: 2rem;
}

.card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    flex: 1;
    /* Equal width */
    min-width: 250px;
    /* Minimum width before wrapping */
    max-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 86, 179, 0.15);
}

.card-icon {
    display: block;
    margin-bottom: 1rem;
    /* animation: spin 5s linear infinite paused;  */
    /* Paused initially */
}

.card:hover .card-icon {
    animation-play-state: running;
    /* Play animation on hover */
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    color: #000064;
}

/* --- Why Join (Benefits List) --- */
.benefits-list {
    max-width: 700px;
    margin: 1rem auto;
}

.benefits-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    padding: 10px;
    background-color: var(--light-bg);
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border-left: solid 5px #ffc107;
}

.benefits-list li:hover {
    background-color: #e9ecef;
    border-left: solid 5px #d21417;
}

.benefits-list .icon {
    font-size: 1.5rem;
    /* Adjust icon size */
    margin-right: 15px;
    color: var(--success-color);
}

/* --- How It Works (Steps) --- */
.steps-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    /* Align items top */
    gap: 20px;
    margin-top: 2rem;
    flex-wrap: wrap;
    /* Wrap on smaller screens */
}

.step {
    text-align: center;
    flex: 1;
    min-width: 200px;
    padding: 20px;
    position: relative;
    /* Needed for pseudo-elements if adding lines */
}

.step-number {
    background-color: #000064;
    color: var(--light-text);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1rem auto;
    transition: transform 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1);
}

.step h3 {
    color: #000064;
    margin-bottom: 0.5rem;
}

.step-arrow {
    font-size: 2rem;
    color: var(--secondary-color);
    align-self: center;
    /* Center arrow vertically */
    margin: 0 10px;
    display: none;
    /* Hide arrow by default */
}

/* Show arrows on larger screens */
@media (min-width: 768px) {
    .steps-container {
        flex-wrap: nowrap;
    }

    .step-arrow {
        display: block;
    }
}


/* --- Mid CTA Section --- */
.cta-section {
    background: #575753;
    background: radial-gradient(circle, rgba(87, 87, 83, 1) 0%, rgba(0, 0, 100, 1) 0%, rgba(45, 45, 102, 1) 100%);
    color: var(--light-text);
    padding: 25px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.cta-section .cta-button {
    background-color: var(--accent-color);
    color: var(--dark-text);
}

.cta-section .cta-button:hover {
    background-color: #fff;
}

/* --- Rewards Section --- */
#rewards h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.reward-block {
    background-color: var(--light-bg);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 5px solid #ffc107;
}

.reward-block h4 {
    margin-bottom: 1rem;
}

.highlight-reward {
    font-size: 1.2rem;
    color: var(--success-color);
    margin: 0.5rem 0;
}

.reward-block small {
    color: var(--grey-text);
    display: block;
    margin-top: 0.5rem;
}

.table-container {
    overflow-x: auto;
    /* Allow horizontal scrolling on small screens */
    margin-top: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background-color: #fff;
}

th,
td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: var(--light-bg);
    color: #000064;
    font-weight: 600;
    white-space: nowrap;
    /* Prevent header text wrapping */
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:nth-child(even) {
    background-color: #fdfdfd;
}

tbody tr:hover {
    background-color: #f1f1f1;
}

td strong {
    color: var(--primary-color);
}

td .icon {
    color: var(--success-color);
    margin-right: 5px;
}

/* --- Terms & Conditions --- */
.terms-list {
    max-width: 800px;
    margin: 1rem auto;
}

.terms-list li {
    margin-bottom: 1rem;
    padding-left: 20px;
    position: relative;
}

.terms-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* --- FAQ Section --- */
.faq-container {
    max-width: 800px;
    margin: 2rem auto;
}

.faq-item {
    background-color: #fff;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
    /* Clip content */
}

.faq-item summary {
    padding: 15px 20px;
    font-weight: 600;
    color: #000064;
    cursor: pointer;
    list-style: none;
    /* Remove default marker */
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-item summary:hover {
    background-color: var(--light-bg);
}

.faq-item summary::after {
    /* Custom arrow */
    content: '+';
    font-size: 1.5rem;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    color: #000064;
}

.faq-item[open] summary {
    background-color: var(--light-bg);
}

.faq-item[open] summary::after {
    content: '−';
    /* Change to minus when open */
    /* transform: translateY(-50%) rotate(45deg); */
}

.faq-item p {
    padding: 0 20px 15px 20px;
    margin: 0;
    color: var(--grey-text);
    animation: fadeIn 0.5s ease;
    /* Fade in content */
    text-align: left;
}


/* --- Contact Section --- */
.contact-info {
    text-align: center;
    margin-top: 2rem;
    display: flex;


}

.contact-info p {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    margin-left: 10px;
    margin-right: 10px;
}

.contact-info a {
    font-weight: 600;
}

/* --- Referral Form Section --- */
.form-section {
    background-color: var(--secondary-color);
    color: var(--light-text);
    text-align: center;
}

.form-section h2 {
    color: var(--light-text);
}

.form-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.form-placeholder {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 8px;
    border: 2px dashed var(--light-text);
    margin-bottom: 2rem;
}

.form-section .cta-button {
    background-color: var(--accent-color);
    color: var(--dark-text);
}

.form-section .cta-button:hover {
    background-color: #fff;
}


/* --- Footer --- */
.footer-section {
    /* background-color: var(--dark-text); */
    color: #ccc;
    text-align: center;
    padding: 10px 0 0px 0;
}

.footer-section h3 {
    color: var(--accent-color);
    font-weight: 600;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-section .back-to-top {
    display: inline-block;
    margin-top: 1rem;
    color: var(--light-text);
    font-size: 1.2rem;
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.footer-section .back-to-top:hover {
    background-color: var(--secondary-color);
}

/* --- Animations --- */

/* Fade In */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Fade In Down */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide In Left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide In Right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Pulse */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}

/* Simple Spin */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Bounce */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-15px);
    }

    60% {
        transform: translateX(-50%) translateY(-8px);
    }
}

/* Apply entrance animations */
.fade-in {
    opacity: 0;
    /* Start hidden */
    animation: fadeIn 1s ease-out forwards;
    /* Optional: Delay based on scroll - requires JS (Intersection Observer) */
    /* For simplicity, this fades in on load. Add staggered delays if desired */
}

.slide-in-left {
    opacity: 0;
    animation: slideInLeft 1s ease-out forwards;
}

.slide-in-right {
    opacity: 0;
    animation: slideInRight 1s ease-out forwards;
}

/* Stagger animations (Example - apply different delays if needed) */
#about {
    animation-delay: 0.2s;
}

#who-can-join {
    animation-delay: 0.4s;
}

#why-join {
    animation-delay: 0.6s;
}

/* ... and so on */


/* --- Responsiveness --- */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-section {
        padding: 80px 0;
        min-height: 70vh;
    }

    .banner-wrap {
        display: block;
        text-align: center;
    }

    .banner-content {
        width: 99%;
        margin-bottom: 40px;
        text-align: center;
    }

    .banner-form {
        width: 95%;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 15px;
    }

    .card-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
        max-width: 400px;
        flex: none;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .step {
        min-width: 80%;
        margin-bottom: 1rem;
    }

    .step-arrow {
        display: none;
    }

    /* Hide arrows on vertical layout */

    .hero-section {
        min-height: 60vh;
    }

    .sub-header .subtitle {
        font-size: 1.1rem;
    }

    .table-container {
        box-shadow: none;
        border: none;
    }

    /* Optional: Stack table rows on mobile, but horizontal scroll is often simpler */
}

@media (max-width: 576px) {
    body {
        font-size: 15px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .hero-section {
        padding: 60px 0;
        min-height: 50vh;
    }

    .sub-header .subtitle {
        font-size: 1.4rem !important;
        padding: 5px 0px;
    }

    .cta-button {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .content-section {
        padding: 40px 0;
    }

    .faq-item summary {
        padding: 12px 15px;
    }

    .faq-item summary::after {
        right: 15px;
    }

    .contact-info p {
        font-size: 1rem;
    }

    .footer-section h3 {
        font-size: 1.4rem;
    }

}

/* steps */
/* --- How It Works Section ALT --- */
.steps-section-alt {
    padding: 60px 0;
    /* background-color: #e9ecef; */
    /* Slightly different background */
}

.steps-section-alt h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #0056b3;
    /* Primary color */
}

.steps-container-alt {
    display: flex;
    justify-content: center;
    /* Center items */
    align-items: center;
    /* Center vertically */
    gap: 15px;
    flex-wrap: wrap;
    /* Allow wrapping */
}

.step-item-alt {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 15px;
    opacity: 0;
    transform: scale(0.8);
    animation: fadeInScale 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;

}

.step-item-alt h3 {
    color: #fff !important;
}

.step-item-alt p {
    color: #fff !important;
    font-size: 12px !important;
}

/* Stagger animation */
.step-item-alt:nth-of-type(1) {
    animation-delay: 0.1s;
}

.step-item-alt:nth-of-type(2) {
    animation-delay: 0.4s;
}

.step-item-alt:nth-of-type(3) {
    animation-delay: 0.7s;
}

.step-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffc107, #7a8591);
    color: white;
    display: flex;
    flex-direction: column;
    /* Stack number and icon */
    justify-content: center;
    align-items: center;
    margin: 0 auto 1rem auto;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
    transition: transform 0.3s ease;
}

.step-item-alt:hover .step-circle {
    transform: scale(1.05);
}

.step-number-alt {
    font-size: 3rem;
    font-weight: bold;
    position: absolute;
    /* Or adjust layout */
    align-items: center;

}

.step-icon-alt {
    /* Also style for i tag if using Font Awesome */
    font-size: 2.5rem;
    /* Adjust icon size */
    margin-top: 10px;
    /* Space from number */
    line-height: 1;
}

.step-item-alt h3 {
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
    color: #333;
}

.step-item-alt p {
    font-size: 0.9rem;
    color: #6c757d;
}

.step-connector-alt {
    flex: 0 1 50px;
    /* Connector takes some space but doesn't grow */
    height: 5px;
    background: linear-gradient(135deg, #ffc107, #7a8591);
    opacity: 0.5;
    border-radius: 2px;
    margin: 0 10px;
    /* Spacing */
    align-self: center;
    /* Align with middle of circles */
    position: relative;
    top: -62px;
    /* Adjust vertical position to align with circle center */
    animation: fadeIn 0.5s ease-out forwards;
    animation-delay: 0.3s;
    /* Appear after first step */
}

/* Second connector delay */
.steps-container-alt .step-connector-alt:nth-of-type(2) {
    animation-delay: 0.6s;
}


/* Responsive adjustments for ALT */
@media (max-width: 768px) {
    .steps-container-alt {
        flex-direction: column;
        gap: 20px;
        /* Adjust gap for vertical */
    }

    /* Hide connectors on mobile */
    .step-connector-alt {
        display: none;
    }

    .step-item-alt {
        max-width: 300px;
        /* Allow items to be wider */
        transform: scale(0.8);
        /* Reset for animation */
        animation: fadeInScale 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
        /* Adjust delays if needed */
    }
}


/* Keyframe Animations ALT */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* second type steps */
/* --- Basic Setup (Use your existing base if available) --- */
:root {
    /* Adjust colors to match the image/your branding */
    --timeline-color: #2a7d8c;
    /* Teal/Blue from image */
    --timeline-icon-bg: transparent;
    /* Or white if preferred */
    --timeline-icon-color: var(--timeline-color);
    --timeline-text-color: #ffffff;
    /* White text like image */
    --timeline-heading-color: #ffffff;
    --timeline-bg-overlay: #d21417;
    /* Semi-transparent overlay */
}

body {
    /* Assuming you have font setup elsewhere */
    font-family: 'Poppins', sans-serif;
    margin: 0;
    /* background-color: #f4f4f4; */
    /* Fallback if no image */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    /* Ensure content is above background overlay */
    z-index: 2;
}

/* --- How It Works Section --- */
.how-it-works-section {
    padding: 20px 0;
    position: relative;
    overflow: hidden;
    /* Contain pseudo-elements */
    /* Add background image styling here if needed */
    background: url('https://via.placeholder.com/1500x800/cccccc/ffffff?text=Background+Image') center center/cover no-repeat;
    /* Placeholder */
}

/* Background Overlay */
.how-it-works-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--timeline-bg-overlay);
    z-index: 1;
    /* Behind content, above background image */
}

.how-it-works-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--timeline-heading-color);
    font-weight: 600;
}

/* --- Steps Timeline --- */
.steps-timeline {
    max-width: 700px;
    /* Adjust width as needed */
    margin: 0 auto;
    /* Center the timeline */
    position: relative;
}

.step {
    display: flex;
    position: relative;
    margin-bottom: 10px;
    /* Spacing between steps */
    opacity: 0;
    /* Start hidden for animation */
    transform: translateX(-30px);
    /* Start slightly to the left */
}

.step:last-child {
    margin-bottom: 0;
}

/* --- Icon Column --- */
.step-icon-col {
    flex: 0 0 60px;
    /* Fixed width for the icon column (adjust size) */
    position: relative;
    margin-right: 25px;
    /* Space between icon column and text */
}

.icon-wrapper {
    width: 60px;
    /* Match column width */
    height: 60px;
    /* Match column width */
    border-radius: 50%;
    border: 3px solid #fff;
    background-color: var(--timeline-icon-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* Needed for z-index */
    z-index: 1;
    /* Ensure icon circle is above the line */
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.step:hover .icon-wrapper {
    transform: scale(1.1);

}

.step:hover .icon-wrapper i {
    color: #fff;
    /* Optional: Change icon color on hover */
}

.icon-wrapper i {
    font-size: 1.8rem;
    /* Adjust icon size */
    color: #fff;
    transition: color 0.3s ease;
}

/* Connecting Line using pseudo-element */
.step:not(:last-child) .step-icon-col::after {
    content: '';
    position: absolute;
    top: 60px;
    /* Start below the icon wrapper */
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    /* Line thickness */
    height: calc(100% + 50px - 60px);
    /* Calculate height to next step */
    /* (100% of parent + margin-bottom - icon-height) */
    background-color: #fff;
    z-index: 0;
    /* Behind the icon circle */
}


/* --- Content Column --- */
.step-content-col {
    flex: 1;
    /* Take remaining space */
    padding-top: 15px;
    /* Align text baseline roughly with icon center */
    text-align: left;
}

.step-content-col h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    color: var(--timeline-heading-color);
    font-weight: 600;
    text-align: left;
}

.step-content-col p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--timeline-text-color);
    opacity: 0.9;
    /* Slightly less bright than heading */
    text-align: left;
}


/* --- Animations --- */
.animated-step {
    animation: slideInFade 0.8s ease-out forwards;
}

/* Stagger the animation */
.step:nth-child(1) {
    animation-delay: 0.2s;
}

.step:nth-child(2) {
    animation-delay: 0.5s;
}

.step:nth-child(3) {
    animation-delay: 0.8s;
}

/* Add more if you have more steps */

@keyframes slideInFade {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Optional: Animate line drawing (more advanced) */
/* @keyframes drawLine {
    from { transform: translateX(-50%) scaleY(0); }
    to   { transform: translateX(-50%) scaleY(1); }
}
.step:not(:last-child) .step-icon-col::after {
    transform-origin: top center;
    animation: drawLine 0.5s ease-out forwards;
    animation-delay: 0.5s; /* Delay based on icon appearance */
/* } */
/* Note: Staggering line animation delays would require more complex nth-child selectors */


/* --- Responsiveness --- */
@media (max-width: 768px) {
    .how-it-works-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .steps-timeline {
        max-width: 95%;
        /* Use more width */
    }

    .step-icon-col {
        flex: 0 0 50px;
        /* Slightly smaller icon column */
        margin-right: 15px;
    }

    .icon-wrapper {
        width: 50px;
        height: 50px;
    }

    .icon-wrapper i {
        font-size: 1.5rem;
    }

    /* Adjust line position and height for smaller icon */
    .step:not(:last-child) .step-icon-col::after {
        top: 50px;
        height: calc(100% + 50px - 50px);
    }


    .step-content-col {
        padding-top: 10px;
        /* Adjust alignment */
    }

    .step-content-col h3 {
        font-size: 1.3rem;
    }

    .step-content-col p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .how-it-works-section {
        padding: 50px 0;
    }

    .how-it-works-section h2 {
        font-size: 1.8rem;
    }

    .step-icon-col {
        flex: 0 0 40px;
        /* Even smaller */
        margin-right: 15px;
    }

    .icon-wrapper {
        width: 40px;
        height: 40px;
        border-width: 2px;
    }

    .icon-wrapper i {
        font-size: 1.2rem;
    }

    .step:not(:last-child) .step-icon-col::after {
        top: 40px;
        height: calc(100% + 50px - 40px);
        width: 2px;
        /* Thinner line */
    }

    .step-content-col h3 {
        font-size: 1.1rem;
    }

    .step-content-col p {
        font-size: 0.85rem;
    }

    .step {
        margin-bottom: 10px;
        /* Reduce spacing */
    }
}

.note {
    background-color: #ffc107;
    color: #000;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 11px;
    text-align: center;
}

/* footer css */
/* --- Base Styles & Variables --- */
:root {
    --forest-dark: #2a1a3a;
    /* Deep purple */
    --forest-mid: #4a3a5a;
    --glow-light: #a89ac8;
    /* Soft lavender glow */
    --glow-bright: #d8c8ff;
    --text-color: #e0d8f0;
    --wood-text: #b8a898;
    --firefly-color: #f0e8a8;
    /* Yellowish glow for fireflies */
}

.site-footer.mystic-forest {
    background-color: #000064;
    color: var(--text-color);
    padding: 10px 20px 20px;
    position: relative;
    /* For absolute positioning of effects */
    overflow: hidden;
    /* Hide overflowing animations if needed */
    /* Add subtle texture background-image if desired */
}

/* --- Layout & Responsiveness --- */
.footer-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    /* Distribute sections */
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

.footer-section {
    flex: 1;
    /* Sections share space */
    min-width: 180px;
    /* Prevent sections from becoming too narrow */
    text-align: center;
    /* Center content within sections */
    /* Entry Animation Placeholder */
    opacity: 0;
    transform: translateY(20px);
    animation: elementFadeIn 0.6s ease-out forwards;
}

/* Stagger animations */
.footer-section:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-section:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-section:nth-child(3) {
    animation-delay: 0.3s;
}

/* Add more if you have more sections */

@keyframes elementFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet */
@media (max-width: 768px) {
    .footer-content-wrapper {
        justify-content: space-between;
        /* Align better for 2 columns */
    }

    .footer-section {
        flex-basis: 45%;
        /* Roughly 2 columns */
        margin-bottom: 30px;
    }

    .footer-section.section-social {
        flex-basis: 100%;
        /* Social might take full width */
    }
}

/* Mobile */
@media (max-width: 480px) {
    .footer-section {
        flex-basis: 100%;
        /* Stack into single column */
        min-width: unset;
        text-align: left;
        /* Align text left on mobile */
    }

    .social-icons {
        justify-content: flex-start;
        /* Align icons left */
    }
}


/* --- Styling Elements (Mushrooms/Stones/Fireflies) --- */
.footer-section h4 {
    color: #fff;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 1.1em;
    /* Add subtle text-shadow for glow */
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    /* For pseudo-elements */
    transition: color 0.3s ease, text-shadow 0.3s ease;
    display: inline-block;
    /* Needed for hover effects */
}

/* "Mushroom/Stone" hover effect */
.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background-color: var(--glow-light);
    border-radius: 50%;
    opacity: 0.6;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px 2px var(--glow-light);
}

.footer-links a:hover {
    color: var(--glow-bright);
    text-shadow: 0 0 8px var(--glow-light);
}

.footer-links a:hover::before {
    transform: translateX(-50%) scale(1.5);
    opacity: 1;
    box-shadow: 0 0 12px 4px var(--glow-bright);
}

/* Social Icons (Fireflies) */
.social-icons {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    /* Center icons horizontally */
    gap: 20px;
    flex-wrap: wrap;
    /* Allow wrapping if needed */
}

.social-icons li {
    /* Add animation for subtle drifting */
    animation: fireflyDrift 6s ease-in-out infinite alternate;
}

/* Stagger drift animation */
.social-icons li:nth-child(2) {
    animation-delay: -1.5s;
}

.social-icons li:nth-child(3) {
    animation-delay: -3s;
}

.social-icons li:nth-child(4) {
    animation-delay: -4.5s;
}

@keyframes fireflyDrift {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(2px, -3px);
    }

    100% {
        transform: translate(-2px, 2px);
    }
}

.social-icon {
    color: #fff;
    font-size: 1.5em;
    /* Icon size */
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    /* Center icon vertically */
    text-align: center;
    border-radius: 50%;
    background-color: rgba(248, 248, 221, 0.1);
    /* Faint background glow */
    transition: all 0.3s ease;
    box-shadow: 0 0 10px 2px var(--firefly-color);
    /* Add subtle pulsing animation */
    animation: fireflyPulse 2.5s ease-in-out infinite alternate;
}

/* Stagger pulse animation */
.social-icon.twitter {
    animation-delay: 0s;
}

.social-icon.facebook {
    animation-delay: 0.5s;
}

.social-icon.instagram {
    animation-delay: 1s;
}

.social-icon.linkedin {
    animation-delay: 1.5s;
}


@keyframes fireflyPulse {
    from {
        box-shadow: 0 0 8px 1px var(--firefly-color);
        opacity: 0.8;
    }

    to {
        box-shadow: 0 0 15px 3px var(--firefly-color);
        opacity: 1;
    }
}

.social-icon:hover {
    color: var(--forest-dark);
    /* Darker icon on hover */
    background-color: var(--firefly-color);
    /* Bright background */
    box-shadow: 0 0 20px 5px var(--firefly-color);
    transform: scale(1.1) translateY(-3px);
    /* Fly up slightly */
    animation-play-state: paused;
    /* Stop pulse/drift on hover */
}

/* --- Footer Bottom (Copyright) --- */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(168, 154, 200, 0.2);
    /* Faint separator line */
    position: relative;
}

.copyright {
    color: #fff;
    /* Etched wood/stone color */
    font-size: 0.9em;
    letter-spacing: 0.5px;
}

/* --- Optional Animated Mist --- */
.footer-mist {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    /* Height of the mist effect */
    background: linear-gradient(to top, rgba(42, 26, 58, 0.5), transparent);
    /* Adjust color to match background */
    pointer-events: none;
    /* Doesn't interfere with clicks */
    opacity: 0.6;
    animation: mistFlow 25s linear infinite alternate;
    background-size: 200% 100%;
    /* Allows movement */
}

@keyframes mistFlow {
    from {
        background-position: 0% 0%;
    }

    to {
        background-position: 100% 0%;
    }
}


/* --- Accessibility --- */
@media (prefers-reduced-motion: reduce) {

    .footer-section,
    .social-icons li,
    .social-icon,
    .footer-mist {
        animation: none !important;
        /* Turn off animations */
    }

    .footer-links a::before,
    .social-icon {
        transition: none;
        /* Turn off transitions */
    }

    /* Provide static hover styles if needed */
    .footer-links a:hover {
        color: var(--glow-bright);
        text-shadow: none;
        /* Remove shadow if it pulses */
    }

    .social-icon:hover {
        transform: none;
        /* Remove hover movement */
        background-color: var(--firefly-color);
        color: var(--forest-dark);
    }
}


.footerbg {
    background-color: rgb(255, 193, 7) !important;
    color: #fff;

}

/* testimonial section css */
/* --- Base Styles (Desktop First Approach) --- */

.testimonials {
    padding: 60px 20px;
    /* Adjust padding as needed */
    background-color: #f8f9fa;
    /* Or your desired background */
    text-align: center;
}

.section-title {
    margin-bottom: 40px;
    font-size: 2em;
    /* Adjust size */
    color: #333;
    /* Adjust color */
}

.testimonial-container {
    display: flex;
    /* Arrange cards in a row */
    justify-content: center;
    /* Center cards horizontally */
    align-items: center;
    /* Align cards vertically (useful if heights vary slightly) */
    flex-wrap: wrap;
    /* Allow wrapping on very wide screens if needed, though we'll force stacking later */
    gap: 30px;
    /* Space between cards */
    max-width: 1200px;
    /* Limit container width */
    margin: 0 auto;
    /* Center the container */
}

.testimonial-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    /* --- Sizing for Flex Items --- */
    flex: 1;
    /* Allow cards to grow and shrink */
    min-width: 280px;
    /* Minimum width before stacking/wrapping */
    max-width: 350px;
    /* Optional: Prevent cards from getting too wide */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Smooth transition for featured card */
}

/* Style the featured middle card (slightly elevated) */
.testimonial-card.featured {
    transform: translateY(-15px);
    /* Lift it slightly */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    /* Enhance shadow */
    z-index: 1;
    /* Make sure it's visually on top if needed */
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
    /* Prevents image distortion */
}

.testimonial-card h3 {
    margin-bottom: 5px;
    font-size: 1.2em;
    color: #333;
}

.testimonial-card .location {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 10px;
}

.testimonial-card .stars {
    color: #f5c518;
    /* Gold color for stars */
    margin-bottom: 15px;
}

.testimonial-card .stars i {
    /* Style individual stars if needed */
    margin: 0 2px;
}

.testimonial-card .quote {
    font-size: 0.95em;
    color: #555;
    line-height: 1.6;
    text-align: justify;
}


/* --- Responsive Styles --- */

/* Tablet & Smaller Devices (e.g., < 992px) */
@media (max-width: 991.98px) {
    .testimonial-container {
        flex-direction: column;
        /* Stack cards vertically */
        align-items: center;
        /* Center cards horizontally in the column */
        gap: 40px;
        /* Adjust vertical gap */
    }

    .testimonial-card {
        flex: none;
        /* Reset flex grow/shrink */
        width: 90%;
        /* Make cards wider */
        max-width: 500px;
        /* Set a max-width for stacked cards */
        margin-left: auto;
        margin-right: auto;
        /* Ensure centering */
    }

    /* Remove the elevation effect on smaller screens if desired */
    .testimonial-card.featured {
        transform: none;
        /* Reset vertical translation */
        /* Keep the shadow or adjust as needed */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        /* Optional: Reset to normal shadow */
    }
}

/* Mobile Devices (e.g., < 576px) - Optional finer adjustments */
@media (max-width: 575.98px) {
    .section-title {
        font-size: 1.8em;
        /* Slightly smaller title */
    }

    .testimonial-card {
        padding: 20px;
        /* Less padding inside cards */
        width: 95%;
        /* Slightly wider */
    }

    .testimonial-card img {
        width: 70px;
        height: 70px;
    }

    .testimonial-card h3 {
        font-size: 1.1em;
    }

    .testimonial-card .quote {
        font-size: 0.9em;
    }
}


/*video css*/
.video-container.retro-tv {
    position: relative;
    /* Context for absolute positioning */
    width: 90%;
    /* Responsive width */
    margin: 50px auto;
    /* Center it */
    background: #d21417;
    /* Wood/plastic look */
    border-radius: 25px 25px 15px 15px;
    /* Rounded top, less rounded bottom */
    padding: 20px;
    /* Thick bezel, more space at bottom */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3),
        inset 0 2px 5px rgba(255, 255, 255, 0.2),
        /* Inner highlight */
        inset 0 -2px 5px rgba(0, 0, 0, 0.2);
    /* Inner shadow */
    overflow: hidden;
    /* Keep controls contained if needed */
}

/* --- Screen Area (Maintains Aspect Ratio) --- */
.retro-tv .tv-screen-area {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio (9 / 16 * 100) */
    background-color: #111;
    /* Black screen background */
    border-radius: 10px;
    /* Slightly rounded screen corners */
    overflow: hidden;
    /* Keep iframe and glare inside */
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.7);
    /* Inner shadow for depth */
}

/* --- YouTube Iframe --- */
.retro-tv iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    /* Remove default border */
}

/* --- Optional Screen Glare --- */
.retro-tv .screen-glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top right,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.05) 30%,
            transparent 60%);
    border-radius: 10px;
    /* Match screen radius */
    pointer-events: none;
    /* Allow clicks through to video */
    z-index: 1;
    /* Above the iframe */
}


/* --- TV Controls --- */
.retro-tv .tv-controls {
    position: absolute;
    bottom: 20px;
    /* Position controls in bottom padding area */
    left: 35px;
    /* Align with padding */
    right: 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Space out controls */
    height: 40px;
    /* Height of control area */
}

.retro-tv .knob {
    width: 30px;
    height: 30px;
    background: linear-gradient(145deg, #888, #555);
    border-radius: 50%;
    border: 2px solid #444;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

/* Add a little notch to one knob */
.retro-tv .knob:first-child::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background-color: #333;
    border-radius: 2px;
}

.retro-tv .speaker-grill {
    width: 100px;
    height: 30px;
    background:
        repeating-linear-gradient(to bottom,
            #777,
            #777 2px,
            #666 2px,
            #666 4px);
    border-radius: 3px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

/* Basic Responsiveness for TV */
@media (max-width: 480px) {
    .video-container.retro-tv {
        padding: 20px 20px 60px 20px;
        /* Reduce padding */
        border-radius: 15px 15px 10px 10px;
    }

    .retro-tv .tv-controls {
        bottom: 10px;
        left: 20px;
        right: 20px;
        height: 30px;
    }

    .retro-tv .knob {
        width: 25px;
        height: 25px;
    }

    .retro-tv .speaker-grill {
        width: 70px;
        height: 25px;
    }
}

/* ready to make difference */

/* Stats Cards Container */
.stats-cards {
    display: flex;
    /* Arrange cards side-by-side */
    gap: 25px;
    /* Space between cards */
    flex-wrap: wrap;
    /* Allow cards to wrap on smaller screens */
    justify-content: center;
    /* Center cards if they wrap */
}

/* Individual Stat Card Styling */
.stat-card {
    flex: 1;
    /* Allow cards to grow */
    min-width: 280px;
    /* Minimum width before wrapping */
    padding: 30px;
    border-radius: 15px;
    /* Rounded corners */
    color: #fff;
    /* White text */
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    /* Lift effect on hover */
}

/* Specific Card Colors */
.stat-card.referrals {
    /* background-color: #5bc0de;  */
    /* Info Blue */
    background: linear-gradient(135deg, #000064, #7a8591);
}

.stat-card.rewards {
    /* background-color: #5cb85c; */
    /* Success Green */
    background: linear-gradient(135deg, #000064, #7a8591);
}

/* Stat Card Content */
.stat-number {
    display: block;
    font-size: 2.8rem;
    /* Large number */
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-description {
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {

    .stat-card {
        min-width: 100%;
        /* Make cards full width when stacked */
        flex-basis: 100%;
        /* Ensure they take full width */
    }

    .stats-cards {
        gap: 15px;
        /* Reduce gap when stacked */
    }

    .stat-number {
        font-size: 2.4rem;
    }
}

@media (max-width: 480px) {
    .stat-number {
        font-size: 2.2rem;
    }

    .stat-description {
        font-size: 0.9rem;
    }
}

.paddingclass {
    padding: 15px 0px;
}


/*ambasdor*/

.ambassador-section {
    padding: 60px 0;
    text-align: center;
}

/* Ambassador Testimonial Card */
.testimonial-card1 {
    display: flex;
    flex-direction: row;
    /* Columns side-by-side */
    align-items: center;
    /* Vertically align items */
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 40px;
    text-align: left;
    /* Reset text align for card content */
    gap: 40px;
    /* Space between photo and text */
    overflow: hidden;
    /* Ensure smooth corners */
    border: 1px solid var(--border-color);
}

/* Ambassador Photo Styles */
.ambassador-photo {
    flex: 0 0 200px;
    /* Fixed width for the photo column */
    height: 200px;
    border-radius: 50%;
    /* Make it circular */
    overflow: hidden;
    /* Clip image to the circle */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 4px solid var(--white);
    /* Optional white border */
}

.ambassador-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Scale image nicely */
}

/* Ambassador Text Content Styles */
.ambassador-content {
    flex: 1;
    /* Allow text content to take remaining space */
}

.ambassador-name {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 5px 0;
}

.ambassador-meta {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 500;
    text-align: left !important;
}

.ambassador-quote {
    font-size: 1.05rem;
    color: var(--text-quote);
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    padding-left: 25px;
    /* Space for quote mark */
}

/* Styling the quote marks */
.ambassador-quote::before {
    content: '“';
    /* Opening quote mark */
    font-family: Georgia, serif;
    /* Use a serif font for quotes */
    font-size: 3rem;
    color: rgb(0, 0, 100);
    opacity: 0.6;
    position: absolute;
    left: -5px;
    top: -10px;
    line-height: 1;
}

/* "Why Referred" Block Styles */
.why-referred {
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid #f5c518;
    /* Accent border */
    background: #d5ebff;
}

.why-referred strong {
    display: block;
    /* Make strong tag take full width */
    font-size: 1.1rem;
    color: #d21417;
    margin-bottom: 8px;
    font-weight: 600;
}

.why-referred strong .icon {
    /* Style the icon */
    margin-right: 8px;
    font-size: 1.2em;
    /* Make icon slightly larger */
    vertical-align: middle;
}


.why-referred p {
    font-size: 1rem;
    color: var(--text-quote);
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .testimonial-card1 {
        padding: 30px;
        gap: 30px;
    }

    .ambassador-photo {
        flex-basis: 180px;
        height: 180px;
    }

    .ambassador-name {
        font-size: 1.4rem;
    }

    .ambassador-quote {
        font-size: 1rem;
    }
}


@media (max-width: 768px) {
    .testimonial-card1 {
        flex-direction: column;
        /* Stack photo and text vertically */
        align-items: center;
        /* Center items when stacked */
        text-align: center;
        /* Center text content */
        padding: 30px 25px;
    }

    .ambassador-photo {
        flex-basis: auto;
        /* Reset flex basis */
        width: 160px;
        /* Adjust size for stacked view */
        height: 160px;
        margin-bottom: 20px;
        /* Space below photo */
    }

    .ambassador-content {
        width: 100%;
        /* Ensure text content takes full width */
    }

    .ambassador-quote {
        padding-left: 0;
        /* Remove padding for quote mark */
        text-align: center;
    }

    .ambassador-quote::before {
        /* Optionally hide or reposition quote mark for centered text */
        display: none;
        /* Hide quote mark when centered */
    }

    .why-referred {
        text-align: left;
        /* Keep referral reason left-aligned */
    }
}

@media (max-width: 576px) {
    body {
        padding: 20px 10px;
    }

    .container {
        padding: 0 10px;
    }

    .ambassador-section {
        padding: 40px 0;
    }

    .testimonial-card1 {
        padding: 25px 20px;
    }

    .ambassador-photo {
        width: 140px;
        height: 140px;
    }

    .ambassador-name {
        font-size: 1.3rem;
    }

    .ambassador-meta {
        font-size: 0.9rem;
    }

    .ambassador-quote {
        font-size: 0.95rem;
    }

    .why-referred strong {
        font-size: 1rem;
    }

    .why-referred p {
        font-size: 0.9rem;
    }
}

.reward-block p {
    text-align: left;
}


/* Testimonial slider */

.slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.slides {
    display: flex;
}

.slide {
    min-width: 100%;
    user-select: none;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 15px;
    border-radius: 50%;
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

.dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
}

.dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 5px;
    background: #bbb;
    border-radius: 50%;
    cursor: pointer;
}

.dots .active {
    background: #000064;
}