/*==================================================
 SILENTTOUCH FOUNDATION
 HOME PAGE CSS
==================================================*/


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


html{
    scroll-behavior:smooth;
}


body{

    font-family:"Segoe UI", Arial, sans-serif;
    background:#fafafa;
    color:#222;
    overflow-x:hidden;
    margin-top: 130px;

}


a{
    text-decoration:none;
}






/*==================================================
 HERO SLIDER
==================================================*/


.hero{

    height:160vh;
    position:relative;
    overflow:hidden;

}



.hero-slide{

    position:absolute;
    inset:0;

    opacity:0;

    transition:
    opacity 1.5s ease,
    transform 1.5s ease;

}


.hero-slide.active{

    opacity:1;

    z-index:2;

}



.hero-slide.active{

    opacity:1;
    z-index:2;

}



.hero-slide img{

    width:100%;
    height:100%;

    object-fit:cover;

    transform:scale(1);

}


.hero-slide.active img{

    animation:heroZoom 10s ease forwards;

}



@keyframes heroZoom{


from{

    transform:scale(1);

}


to{

    transform:scale(1.12);

}


}


.overlay{

    position:absolute;
    inset:0;

    background:

    linear-gradient(
    rgba(0,0,0,.65),
    rgba(0,0,0,.45)
    );

}




.hero-content{
    animation:heroText 1.5s ease;
    position:absolute;

    top:50%;
    left:50%;

    transform:translate(-50%,-50%);

    width:90%;
    max-width:900px;

    text-align:center;

    color:white;

    z-index:5;

}



.hero-content h1{

    font-size:58px;
    font-weight:900;

    margin-bottom:20px;

}



.hero-content p{

    font-size:20px;

    line-height:1.7;

    margin-bottom:35px;

}



.hero-buttons{

    display:flex;
    justify-content:center;
    gap:20px;

}



.btn-primary,
.btn-secondary{

    padding:14px 35px;

    border-radius:40px;

    font-weight:bold;

    transition:.3s;

}



.btn-primary{

    background:#67032F;
    color:white;

}



.btn-secondary{

    background:white;
    color:#222;

}



.btn-primary:hover,
.btn-secondary:hover{

    transform:translateY(-5px);

}





.hero-dots{

    position:absolute;

    bottom:30px;

    left:50%;

    transform:translateX(-50%);

    display:flex;

    gap:12px;

    z-index:10;

}



.dot{

    width:12px;
    height:12px;

    background:white;

    border-radius:50%;

    opacity:.5;

}



.dot.active{

    opacity:1;

    background:#67032F;

}






/*==================================================
 GENERAL SECTIONS
==================================================*/


section{

    padding:75px 8%;

}



section h2{

    text-align:center;

    color:#67032F;

    font-size:36px;

    margin-bottom:25px;

}



.section-text{

    text-align:center;

    max-width:800px;

    margin:auto;

    color:#555;

    line-height:1.8;

}





/*==================================================
 INTRO
==================================================*/


.intro{

    background:white;

    text-align:center;

}



.intro p{

    max-width:850px;

    margin:auto;

    line-height:1.8;

    font-size:18px;

}





/*==================================================
 IMPACT CARDS
==================================================*/


.impact{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    background:#f5f5f5;

}



.impact-card{

    background:white;

    padding:40px;

    border-radius:20px;

    text-align:center;

    box-shadow:
    0 10px 30px rgba(0,0,0,.08);

    transition:.4s;

}



.impact-card:hover{

    transform:translateY(-10px);

}



.impact-card h2{

    font-size:55px;

    margin:0;

}





/*==================================================
 PROGRAMS
==================================================*/


.program-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}



.program-card{

    background:white;

    padding:30px;

    text-align:center;

    border-radius:18px;

    box-shadow:
    0 8px 25px rgba(0,0,0,.08);

    transition:.4s;

}



.program-card:hover{

    transform:translateY(-8px);

}



.program-icon{

    font-size:40px;

    margin-bottom:15px;

}





/*==================================================
 NEWS
==================================================*/


.news-grid,
.blog-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

}



.news-card,
.blog-card{

    background:white;

    border-radius:18px;

    overflow:hidden;

    box-shadow:
    0 8px 25px rgba(0,0,0,.08);

    transition:.4s;

}



.news-card:hover,
.blog-card:hover{

    transform:translateY(-8px);

}



.news-card img,
.blog-card img{

    width:100%;

    height:220px;

    object-fit:cover;

}



.news-card h3,
.blog-content{

    padding:20px;

}



.news-card a,
.blog-content a{

    color:#67032F;

    font-weight:bold;

}





/* ===============================
   IMPACT BANNER
================================= */

.impact-banner {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 80px 0;
}

/* Background image */
.impact-banner .impact-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    display: block;
}

/* Dark/purple overlay */
.impact-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0, 0, 0, 0.65),
        rgba(103, 3, 47, 0.55)
    );
    z-index: 1;
}

/* Text */
.impact-text {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    color: white;
    padding: 30px;
    animation: floatText 5s ease-in-out infinite;
}

.impact-text h2 {
    color: white;
    font-size: 48px;
    margin-bottom: 20px;
}

.impact-text p {
    font-size: 20px;
    line-height: 1.8;
    opacity: 0.95;
}

@keyframes floatText{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-8px);
    }

    100%{
        transform:translateY(0);
    }

}

/* Impact Banner Button */

.impact-text .btn-primary{

    display:inline-block;

    margin-top:35px;

    padding:16px 38px;

    border-radius:40px;

    font-size:16px;

    font-weight:600;

    text-decoration:none;

    box-shadow:0 12px 25px rgba(0,0,0,.25);

    transition:.35s ease;

}

.impact-text .btn-primary:hover{

    transform:translateY(-4px);

    box-shadow:0 18px 35px rgba(0,0,0,.35);

}

.impact-text h2{

    color:white;

}






/*==================================================*
* DONATE
*==================================================*/

.donate-section {
    text-align: center;
    color: rgb(70, 5, 50);

    background-image: url("/silenttouch/assets/img/home/silenttouchdonatesdesks.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
   
    
    padding: 80px 20px;

    position: relative;
}

/* Dark maroon overlay */
.donate-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 5, 10, 0.226);
}

.donate-section h2,
.donate-section p,
.donate-section a {
    position: relative;
    z-index: 1;
}

.donate-section h2 {
    color: white;
}



/*==================================================
 PARTNERS
==================================================*/


.partner-logos{

    display:flex;

    justify-content:center;

    gap:40px;

}



.partner-logos img{

    max-width:150px;

    height:auto;

}





/*==================================================
 FOOTER
==================================================*/


footer{

    background:#111;

    color:white;

    padding:50px 8%;

}



.footer-container{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:40px;

}



footer a{

    color:white;

    display:block;

    margin:8px 0;

}



.copyright{

    text-align:center;

    margin-top:30px;

}





/*==================================================
 MOBILE
==================================================*/


@media(max-width:1000px){


.links{

display:none;

}


.hero-content h1{

font-size:40px;

}



.impact,
.program-grid,
.news-grid,
.blog-grid,
.footer-container{

grid-template-columns:1fr;

}


.hero-buttons{

flex-direction:column;

}



}
@keyframes heroText{


from{

opacity:0;

transform:
translate(-50%,-35%);

}


to{

opacity:1;

transform:
translate(-50%,-50%);

}


}
/*==================================================
WHY LIVELIHOODS MATTER
==================================================*/

.livelihoods{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

    padding:90px 8%;

    background:white;

}

.livelihood-image{

    overflow:hidden;

    border-radius:20px;

    box-shadow:0 20px 45px rgba(0,0,0,.12);

}

.livelihood-image img{

    width:100%;

    height:500px;

    object-fit:cover;

    transition:.6s;

}

.livelihood-image:hover img{

    transform:scale(1.08);

}

.small-title{

    display:inline-block;

    background:#67032F;

    color:white;

    padding:8px 18px;

    border-radius:25px;

    font-size:13px;

    margin-bottom:20px;

    letter-spacing:1px;

}

.livelihood-content h2{

    font-size:42px;

    color:#67032F;

    margin-bottom:25px;

}

.livelihood-content p{

    font-size:18px;

    color:#555;

    line-height:1.9;

    margin-bottom:25px;

}

.livelihood-content .btn-primary{

    display:inline-block;

    margin-top:15px;

}

@media(max-width:900px){

.livelihoods{

grid-template-columns:1fr;

}

.livelihood-image img{

height:320px;

}

}
.program-card{

    position:relative;

    overflow:hidden;

}
.program-card::before{

    content:"";

    position:absolute;

    top:-40px;

    right:-70px;

    width:180px;

    height:180px;

    border-radius:50%;

    background:#67032F;

    opacity:.08;

}
.program-card::after{

    content:"";

    position:absolute;

    top:40px;

    right:-40px;

    width:120px;

    height:120px;

    border-radius:50%;

    background:white;

    opacity:.5;

}

.program-card{

    border-bottom:5px solid #67032F;

}
.counter{

    display:inline-block;

    transition:.3s;

}

.impact-card:hover .counter{

    transform:scale(1.08);

    color:#8b0442;

}
/* ================= PROJECTS ================= */

.projects-section{
    padding:80px 8%;
    text-align:center;
}


.projects-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
    margin-top:40px;

}


.project-card{

    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    text-align:left;

}


.project-card img{

    width:100%;
    height:220px;
    object-fit:cover;

}


.project-content{

    padding:25px;

}


.project-content h3{

    margin-bottom:15px;

}


.project-content p{

    color:#666;
    line-height:1.6;

}


.project-meta{

    display:flex;
    justify-content:space-between;
    margin:20px 0;
    font-size:14px;

}


.project-content a{

    color:#1c7c54;
    font-weight:bold;
    text-decoration:none;

}
/* ================= TESTIMONIALS ================= */


.testimonials-section{

    padding:80px 8%;
    text-align:center;

}



.testimonials-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

    margin-top:40px;

}



.testimonial-card{

    background:#fff;

    padding:35px 25px;

    border-radius:15px;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.08);

}



.testimonial-card img{

    width:90px;

    height:90px;

    border-radius:50%;

    object-fit:cover;

    margin-bottom:20px;

}



.testimonial-message{

    font-style:italic;

    color:#555;

    line-height:1.7;

}



.testimonial-card h3{

    margin-top:20px;

    margin-bottom:5px;

}



.testimonial-card span{

    color:#777;

    font-size:14px;

}

/* ==========================================
   CONTACT + X FEED SECTION
========================================== */

.social-contact-section{
    background:#f7f9fc;
    padding:80px 8%;
}


.social-contact-parent{
    width:100%;
    max-width:1200px;
    margin:auto;
}


.social-contact-parent h2{
    text-align:center;
    font-size:36px;
    color:#67032F;
    margin-bottom:40px;
}


/* TWO COLUMN LAYOUT */

.social-contact-grid{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    width:100%;

}


/* CARDS */

.contact-card,
.twitter-card{

    background:white;
    padding:35px;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);

}


/* CONTACT FORM */

.contact-card form{

    display:flex;
    flex-direction:column;
    gap:15px;

}


.contact-card input,
.contact-card textarea{

    width:100%;
    padding:15px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:16px;

}


.contact-card textarea{

    height:150px;

}


.contact-card button{

    background:#67032F;
    color:white;
    border:none;
    padding:15px;
    border-radius:30px;
    cursor:pointer;
    font-weight:bold;

}


/* TWITTER */

.twitter-card{

    overflow:hidden;

}


.twitter-card iframe{

    width:100% !important;

}


/* MOBILE */

@media(max-width:900px){

    .social-contact-grid{

        grid-template-columns:1fr;

    }

}


.social-contact-grid {
    display:flex !important;
    flex-direction:row !important;
    gap:40px !important;
}


.contact-card,
.twitter-card {
    width:50% !important;
}
/* =========================================================
   SOCIAL CONTACT - MOBILE RESPONSIVE
========================================================= */

@media screen and (max-width: 768px) {

    .social-contact-section {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .social-contact-parent {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .social-contact-grid {
        width: 100%;
        max-width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 25px;
        box-sizing: border-box;
    }

    .contact-card,
    .twitter-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .contact-card form {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .contact-card input,
    .contact-card textarea,
    .contact-card button {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .contact-card textarea {
        resize: vertical;
    }

}

@media screen and (max-width: 768px) {

    .contact-card *,
    .twitter-card * {
        max-width: 100%;
        box-sizing: border-box;
    }

}

/* =========================================================
   CONTACT + X FEED — MOBILE FIX
========================================================= */

@media screen and (max-width: 768px) {

    .social-contact-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 25px !important;
    }

    .contact-card,
    .twitter-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .contact-card form {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .contact-card input,
    .contact-card textarea,
    .contact-card button {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

}

/* =========================================================
   PREVENT HORIZONTAL OVERFLOW ON MOBILE
========================================================= */

@media screen and (max-width: 768px) {

    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

}
/* =========================================================
   PARTNERS - MOBILE
========================================================= */

@media screen and (max-width: 768px) {

    .partner-logos {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 25px;
        width: 100%;
    }

    .partner-logos img {
        max-width: 80%;
        height: auto;
        object-fit: contain;
    }

}

.g-recaptcha {
    margin: 15px 0;
}

@media screen and (max-width: 480px) {

    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: left top;
        margin-bottom: 5px;
    }

}