.accordion {
    width: 100%;
    /* background-image: url(/img/why-savax.png); */
    background-position: center;
    background-size: cover;
    background-color: #006039;
    height: 600px;
    margin-top: 2%;
    border-radius: 12px;
    align-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.accordion .inner-container {
    padding: 0 1.5rem;
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.accordion .col1 {
    width: 44%;
}

.accordion .col2 {
    width: 48%;
}

.accordion-item {
    transition: all 0.3s ease;
    border-bottom: solid 1px #ffffff33;

}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-title {
    display: flex;
    align-items: center;
    column-gap: 20px;
    width: 100%;
    padding: 1.2rem 0px;
    /* background-color: white; */
    color: white;
    font-size: calc(1.7vw + 0.1rem);
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.accordion-title:hover {
    background-color: var(--background-light);
}

.accordion-title svg {
    transition: transform 0.3s ease;
    width: 35px;
}

.accordion-title.active svg {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    background-color: var(--background-light);
    /* padding: 0 1.5rem; */
    transition: all 0.3s ease;
}

.accordion-content p {
    padding-bottom: 1em;
    font-size: calc(0.9vw + 0.1rem);
    line-height: calc(1.2vw + 0.1rem);
    color: #eceeef;
}

.button-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-container .button2 {
    color: black;
    padding: 14px 43px;
    margin-top: 20px;
    font-weight: 500;
    background-color: #D4AF37;
}

.button-container .button2:hover {
    background-color: #006039;
    color: white;
}

/* Section Styling */
.section {
    padding: 60px 0;
    /* Add top and bottom padding */
    background-color: #f9f9f9;
    /* Light background color */
}

.bottom-padding {
    padding-bottom: 50px;
    /* Additional bottom padding */
}

.container {
    width: 80%;
    margin: 0 auto;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header .sub-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.highlight-text {
    color: #006039;
    /* Highlighted text color */
}

/* Card Container */
.card-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 25px;
    justify-content: space-between;
}

.card {
    flex: 1;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    min-width: 280px;
}

.card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #006039;
}

.card .card-content ul {
    list-style: none;
    padding-left: 0;
}

.card .card-content li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #555;
}

.card .card-content li strong {
    font-weight: 600;
    color: #D4AF37;
}

.card .card-content li p {
    margin-top: 5px;
    line-height: 1.6;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 90%;
        /* Adjust container width for smaller screens */
    }

    .section-header .sub-heading {
        font-size: 1.8rem;
        /* Adjust font size for sub-heading on mobile */
    }

    .card-container {
        flex-direction: column;
        gap: 20px;
        /* Stacking the cards on mobile */
    }

    .card {
        margin: 0;
    }

    .card h3 {
        font-size: 1.3rem;
        /* Smaller font size for card title */
    }

    .d-sm-none {
        display: none;
    }

    .accordion .inner-container {
        padding: 15px;
        align-items: center;
        display: flex;
        columns: 1;

        flex-direction: column;
    }

    .accordion .col1 {
        width: 100%;
    }

    .accordion-title {
        font-size: 25px;
    }

    .accordion-title svg {

        width: 28px;
    }

    .accordion {
        height: auto;
        background-image: url(/img/why-savax.png);
    }

    .accordion-content p {
        padding-bottom: 1em;
        font-size: 20px;
        line-height: 1;
        color: #eceeef;
    }

    .sub-heading {
        font-size: 2rem;
        margin-bottom: 20px;
        text-align: center;
        line-height: 1;
    }
}

.referral-info {
    font-family: 'Arial', sans-serif;
    /* max-width: 800px; */
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.referral-info p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.referral-info h5 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.earnings-details {
    margin-top: 20px;
    padding-left: 20px;
    border-left: 3px solid #006039;
}

.earnings-details b {
    color: #D4AF37;
    font-size: 16px;
    margin-bottom: 8px;
    display: inline-block;
}

.earnings-details p {
    font-size: 16px;
    margin-bottom: 12px;
    color: #555;
}


/* Define Theme Colors */
:root {
    --primary-color: #006039;
    --secondary-color: #D4AF37;
    --text-color: #333;
    --background-color: #f8f9fa;
    --button-hover: #004c2d;
}

/* Section Title */
.text-center {
    text-align: center;
    margin-bottom: 40px;
}

.title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.highlight {
    color: var(--secondary-color);
}

.description {
    font-size: 1rem;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
}

/* Flex Row */
.maindiv {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;

}

.reverse {
    flex-direction: row-reverse;
}

/* Text Box */
.text-box {
    width: 48%;
}

.subtitle {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.list {
    list-style: none;
    padding: 0;
}


.list li {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 8px;
}

/* Image Box */
.image-box {
    width: 48%;
}

.image-box img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}

/* Call to Action */
.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--button-hover);
}



.referral-program {
    width: 100%;
    background-image: url(/img/why-savax.png);
    background-position: center;
    background-size: cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;


    margin-top: 2%;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.referral-program-description {
    color: white;
    font-size: 20px;
    text-align: center;
}

.rental-return {
    background-image: url("/img/track-your-investments.png");
    background-position: center;
    background-size: cover;
    padding: 54px 0;
    width: 100%;
}

.readytostart {
    background-image: url("/images/refer/ready.jpg");
    padding: 54px 0;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-radius: 35px;
    margin-bottom: 25px;
}

.my-5 {
    margin: 50px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .maindiv {
        flex-direction: column;
    }

    .reverse {
        flex-direction: column-reverse;
    }

    .text-box,
    .image-box {
        width: 100%;
        text-align: center;
    }

    .image-box img {
        max-width: 90%;
        margin: 0 auto;
    }

    .referral-program {
        height: auto;
    }
    .readytostart {
        height: auto;
    }
}
