/* Basic styling for layout */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* What is MSACCO Section */
#what-is-msacco {
    background-color: #f9f9f9;
    padding: 30px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#what-is-msacco h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

#what-is-msacco p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.container {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Styling the buttons for MTN and Airtel */
.toggle-buttons button {
    margin: 10px;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.toggle-buttons button:hover {
    background-color: #333;
    color: white;
}

/* Styling for MTN and Airtel backgrounds */
.mtn-background {
     /* MTN Yellow */
    padding: 20px;
    width: 100%;
    border-radius: 8px;
}

.airtel-background {
     /* Airtel Red */
    padding: 20px;
    width: 100%;
    border-radius: 8px;
}

#mtn-guide .main-section-box {
    background-color: #f7c800;
}

#airtel-guide .main-section-box {
    background-color: #e60012;
}

/* Styling for the sections under each guide */
.main-section-box {
    text-align: center;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 8px;
}
#mtn-guide .section-box {
    box-shadow: 10px 5px 5px rgb(244, 244, 7);
    border-left: 5px solid;
    border-top: 0.5px solid black; 
}

#airtel-guide .section-box {
    box-shadow: 10px 5px 10px rgb(248, 1, 2);
    border-left: 5px solid black;
    border-top: 0.5px solid black;
}

.section-box {
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Title & Section Headers */
h2, h3 {
    margin-top: 0;
    font-family: 'Arial', sans-serif;
}

h3 {
    margin-bottom: 10px;
}

/* Notes styling */
.note {
    font-size: 0.9em;
    color: #555;
}

/* Grid layout for large screens */
@media (min-width: 768px) {
    .sections-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 3 items per row */
        gap: 20px;
        padding: 10px;
    }

    .section-box {
        width: 80%;
    }

    .toggle-buttons {
        grid-column: span 3;
        text-align: center;
    }
}

/* For small and medium screens, stack the sections vertically (1 per row) */
@media (max-width: 768px) {
    .sections-container {
        display: flex;
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }

    .section-box {
        width: 80%;
        margin-bottom: 20px;
    }

    .toggle-buttons {
        text-align: center;
    }
}

/* FAQ Section */
#faq {
    margin: 20px 0;
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#faq h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.accordion {
    display: block;
}

.accordion h3 {
    background-color: #ffb84d;
    color: #fff;
    padding: 10px;
    margin: 5px 0;
    font-size: 18px;
    cursor: pointer;
    border: none;
    text-align: left;
    width: fit-content;
    border-radius: 4px;
}

.accordion h3:hover {
    background-color: #ffa500;
}

.panel {
    padding: 0 18px;
    display: none;
    background-color: #e9e9e9;
    border-left: 3px solid #ffb84d;
    margin-bottom: 10px;
    border-radius: 4px;
    width: fit-content;
}

.panel p {
    margin: 10px 0;
}

.accordion h3.active + .panel {
    display: block;
}

/* Stay Safe Section */
#security {
    background-color: #e2f3e2;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#security h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

#security ul {
    list-style-type: none;
    padding: 0;
    font-size: 16px;
    color: #555;
}

#security li {
    padding: 8px 0;
    line-height: 1.6;
}

/* Download MSACCO App Section */
#download {
    background-color: #ffd699;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#download h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

#download p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #555;
}

#download a button {
    background-color: #ffb84d;
    color: white;
    padding: 12px 25px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#download a button:hover {
    background-color: #ffa500;
}
