body{
     background:linear-gradient(to bottom, #9f212c, #a24857); ;
    font-family: Arial, sans-serif;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: auto;

}
nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color:#7e1821;
    border-radius: 20px;
    position: relative;
}

#nav-toggle{
    display: none;
}

.nav-toggle-label{
    display: none;
    width: 42px;
    height: 42px;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.nav-toggle-label span{
    display: block;
    width: 100%;
    height: 4px;
    background: white;
    border-radius: 4px;
    margin-bottom: 7px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

#nav-toggle:checked + .nav-toggle-label span:nth-child(1){
    transform: translateY(11px) rotate(45deg);
}

#nav-toggle:checked + .nav-toggle-label span:nth-child(2){
    opacity: 0;
}

#nav-toggle:checked + .nav-toggle-label span:nth-child(3){
    transform: translateY(-11px) rotate(-45deg);
}

img{
   border-radius: 10px;
}
/* Leader cards now use the shared grid and card styling to keep all entries aligned */
.navul{
    list-style-type: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}
.navul li a{
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 8px 16px;
    border-radius: 4px;
}
.navul li a:hover{
    background-color: #9f212c;
    color: white;
}
#home{
    background-color: #ffffff;
    color: rgb(71, 11, 11);
    padding: 28px;
    border-radius: 20px;
    text-align: left;
    margin-top: 50px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}
.home-video{
    max-width: 640px;
    margin: 24px auto;
}
.home-video video{
    width: 100%;
    height: auto;
    border-radius: 16px;
}
#home h1{
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 2.6rem;
}
#home p{
    line-height: 1.8;
    margin-bottom: 18px;
}
.leaders-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 18px;
}
.leader-card{
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.96);
    padding: 18px;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.branch-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin: 28px 0 18px;
}

.branch-card{
    background: rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(126, 24, 33, 0.12);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}
#sassol-branch img{
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    transition: background-color 1.1s ease;
}
.branch-card:hover{
    transform: scale(1.5);
    background-color: #4f1014;
}
.branch-card img{
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
}

.branch-card h4{
    margin: 0;
    font-size: 1.05rem;
    color: #7e1821;
}
.donate-button{
    display: inline-block;
    background-color: #7e1821;
    color: #c12d2d;
    padding: 14px 24px;
    border-radius: 12px;
    border-color: #d8cfcf;
    text-decoration: none;
    font-weight: 900;
    transition: background-color 1.1s ease;
}
.donate-button:hover{
    background-color: #2c9441;
    border-color: #174f12;
    color: #15ff00;
    transform: scale(1.2);
}
@media (max-width: 920px) {
    #home{
        padding: 22px;
    }
    .home-video{
        max-width: 100%;
    }
}
@media (max-width: 640px) {
    nav{
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    .navul{
        justify-content: flex-start;
    }
    #home{
        padding: 18px;
        margin-top: 30px;
    }
    #home h1{
        font-size: 2rem;
    }
}

#Events{
    background-color: #ffffff;
    color: rgb(71, 11, 11);
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    margin-top: 50px;
}
#contact{
    background-color: #ffffff;
    color: rgb(71, 11, 11);
    padding: 24px;
    border-radius: 20px;
    text-align: left;
    margin-top: 50px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.donation-banner{
    background: linear-gradient(135deg, #f4e2de 0%, #fde6df 100%);
    color: #4f1014;
    padding: 26px;
    border-radius: 24px;
    margin: 40px auto 20px;
    max-width: 1100px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.1);
}

.donation-banner h2{
    margin-top: 0;
    font-size: 1.95rem;
}

.donation-banner p{
    margin: 16px 0 20px;
    line-height: 1.8;
}

.donation-details{
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.donation-details li{
    background: rgba(255, 255, 255, 0.9);
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(150, 101, 101, 0.18);
}

.donation-button{
    display: inline-block;
    background-color: #7e1821;
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.2s ease;
}

.donation-button:hover{
    background-color: #9f212c;
}

.page-section{
    background-color: #ffffff;
    color: rgb(71, 11, 11);
    padding: 28px;
    border-radius: 20px;
    margin: 50px auto;
    max-width: 1100px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.page-section h1,
.page-section h2,
.page-section h3{
    color: #4f1014;
}

.page-section p{
    line-height: 1.75;
    margin-bottom: 18px;
}

.insurance-content{
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    align-items: start;
    margin-top: 24px;
}

.insurance-image img{
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.insurance-benefits{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.insurance-benefits article{
    background: #fff6f6;
    border-radius: 18px;
    border: 1px solid rgba(126, 24, 33, 0.1);
    padding: 20px;
}

.insurance-benefits h3{
    margin-top: 0;
    margin-bottom: 10px;
}

.insurance-contact{
    margin-top: 28px;
    padding: 20px;
    background: rgba(255,255,255,0.92);
    border-radius: 18px;
    border: 1px solid rgba(126, 24, 33, 0.12);
}

.insurance-form{
    margin-top: 32px;
}

.insurance-form form{
    display: grid;
    gap: 16px;
}

.insurance-form label{
    display: grid;
    gap: 8px;
    color: #4f1014;
    font-weight: 600;
}

.insurance-form input,
.insurance-form textarea{
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d8cfcf;
    border-radius: 10px;
    font-size: 16px;
}

.insurance-form textarea{
    min-height: 140px;
    resize: vertical;
}

.insurance-form button{
    width: fit-content;
    background-color: #7e1821;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.insurance-form button:hover{
    background-color: #9f212c;
}
.contact-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}
.contact-details h2,
.contact-form h2{
    margin-top: 0;
}
.contact-list{
    padding: 0;
    margin: 0;
}
.contact-list li{
    margin-bottom: 12px;
}
.contact-list a{
    color: #7e1821;
    text-decoration: none;
}
.contact-list a:hover{
    text-decoration: underline;
}
.map-frame{
    margin-top: 18px;
}
.map-frame iframe{
    width: 100%;
    min-height: 260px;
    border: 0;
    border-radius: 15px;
}
.contact-form form{
    display: grid;
    gap: 14px;
}
.contact-form label{
    display: grid;
    gap: 8px;
    font-weight: 600;
    color: #4f1014;
}
.contact-form input,
.contact-form textarea{
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d8cfcf;
    border-radius: 10px;
    font-size: 16px;
}
.contact-form textarea{
    min-height: 140px;
    resize: vertical;
}
.contact-form button{
    background-color: #7e1821;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.contact-form button:hover{
    background-color: #9f212c;
}
.social-section{
    margin-top: 28px;
    text-align: center;
}
.social-links{
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 14px;
}
.social-links a{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: #f5f5f5;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}
.social-links img{
    width: 40px;
    height: auto;
}
.social-section .qr-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    justify-items: center;
    margin-top: 18px;
}
.social-section .qr-card{
    width: 100%;
    max-width: 260px;
    padding: 16px;
    border-radius: 18px;
    background: #f5f5f5;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}
.social-section .qr-card p{
    margin: 0 0 12px;
    font-weight: 600;
}
.social-section .qr-card img,
.social-section .qr-code img{
    width: 100%;
    max-width: 220px;
    height: auto;
    display: block;
    margin: 0 auto;
}
.social-section .qr-code{
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.social-section .qr-code p{
    margin: 0;
    font-weight: 600;
}
@media (max-width: 640px) {
    .social-section .qr-grid{
        grid-template-columns: 1fr;
    }
    .social-section .qr-card{
        max-width: none;
    }
    .social-section .qr-code img{
        max-width: 180px;
    }
}
@media (max-width: 920px) {
    .contact-grid{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav{
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .nav-toggle-label{
        display: block;
    }

    .navul{
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 14px;
        gap: 0;
        border-top: 1px solid rgba(255,255,255,0.12);
        padding-top: 14px;
    }

    #nav-toggle:checked + .nav-toggle-label + .navul{
        display: flex;
    }

    .navul li{
        width: 100%;
    }

    .navul li a{
        display: block;
        width: 100%;
        padding: 12px 0;
        text-align: center;
    }
}

@media (max-width: 640px) {
    nav{
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    .navul{
        justify-content: flex-start;
    }
    #contact{
        padding: 18px;
        margin-top: 30px;
    }
}

.events-header{
    text-align: center;
    max-width: 800px;
    margin: 0 auto 28px;
}

.events-header p{
    margin: 16px auto 0;
    line-height: 1.7;
    color: rgb(71, 11, 11);
}

.events-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 18px;
}

.event-card{
    background: #fffafa;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(126, 24, 33, 0.1);
}

.event-type{
    display: inline-block;
    background: rgba(158, 33, 44, 0.14);
    color: #7e1821;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.event-card h3{
    margin: 0 0 14px;
    color: #4f1014;
}

.event-meta{
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
    color: #5c2b2f;
    font-size: 0.95rem;
}

.event-card p{
    margin: 0 0 18px;
    line-height: 1.7;
    color: #4d2a2e;
}

.event-cta{
    display: flex;
    justify-content: flex-start;
}

.event-cta a{
    text-decoration: none;
    color: #ffffff;
    background-color: #7e1821;
    padding: 12px 18px;
    border-radius: 12px;
    transition: background-color 0.2s ease;
}

.event-cta a:hover{
    background-color: #9f212c;
}

.event-callout{
    margin-top: 32px;
    background: rgba(255, 255, 255, 0.88);
    border-radius: 18px;
    padding: 20px 24px;
    border: 1px solid rgba(126, 24, 33, 0.12);
    color: rgb(71, 11, 11);
}

.event-callout p{
    margin: 0 0 10px;
    line-height: 1.8;
}

.prev-events{
    margin-top: 34px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
    align-items: center;
}

.prev-events img{
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.12);
    object-fit: cover;
}

@media (max-width: 760px){
    .prev-events{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 920px) {
    .insurance-content,
    .insurance-benefits {
        grid-template-columns: 1fr;
    }

    .insurance-benefits {
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .page-section,
    .insurance-contact,
    .insurance-form {
        padding: 20px;
    }

    .insurance-content {
        grid-template-columns: 1fr;
    }

    .insurance-form button {
        width: 100%;
    }
}

@media (max-width: 640px) {
    nav{
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    .navul{
        justify-content: flex-start;
    }
    #contact{
        padding: 18px;
        margin-top: 30px;
    }
}

ul{
    list-style-type: none;
}
.site-footer{
    background-color: #7e1821;
    color: white;
    padding: 24px 20px;
    margin: 40px auto 20px;
    border-radius: 20px;
    max-width: 1100px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.site-footer .footer-content{
    display: grid;
    gap: 12px;
    justify-items: center;
}

.site-footer .footer-brand{
    font-weight: 700;
    letter-spacing: 0.04em;
}

.site-footer a{
    color: #ffd8d7;
    text-decoration: underline;
}

.site-footer .footer-note{
    margin-top: 18px;
    opacity: 0.9;
    font-size: 0.95rem;
}

@media (min-width: 760px){
    .site-footer .footer-content{
        grid-template-columns: repeat(3, minmax(220px, auto));
        align-items: center;
        justify-items: stretch;
        text-align: center;
    }
}

footer{
    background-color: #7e1821;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 15px;
    border-radius: 20px;
}