/* =========================================
CHILD CARE FOUNDATION
Main Website Styles
========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }

html {
scroll-behavior: smooth;
}

body {
font-family: Arial, Helvetica, sans-serif;
line-height: 1.6;
color: #243238;
background: linear-gradient(135deg, #e8f5e9, #fff8e7);
}

a {
text-decoration: none;
color: inherit;
}

img {
max-width: 100%;
display: block;
}

.container {
width: min(1120px, 92%);
margin: 0 auto;
}

.section {
padding: 80px 0;
}

/* =========================================
HEADER
========================================= */

.header {
position: sticky;
top: 0;
z-index: 1000;
background: #ffffff;
box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.nav-container {
min-height: 78px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 25px;
}

.logo {
display: flex;
align-items: center;
gap: 10px;
flex-shrink: 0;
}

.logo-placeholder {
width: 50px;
height: 50px;
border-radius: 50%;
background: #15966b;
color: #ffffff;
display: grid;
place-items: center;
font-weight: 800;
font-size: 15px;
}

.logo-text {
display: flex;
flex-direction: column;
line-height: 1.1;
}

.logo-text strong {
color: #15966b;
font-size: 18px;
}

.logo-text span {
color: #243238;
font-size: 13px;
margin-top: 4px;
}

.navigation {
display: flex;
align-items: center;
gap: 22px;
}

.navigation a {
color: #38474c;
font-size: 14px;
font-weight: 600;
transition: 0.3s;
}

.navigation a:hover,
.navigation a.active {
color: #15966b;
}

.navigation .nav-donate {
background: #f4a62a;
color: #ffffff;
padding: 11px 19px;
border-radius: 30px;
}

.navigation .nav-donate:hover {
background: #dd8e13;
color: #ffffff;
}

.menu-toggle {
display: none;
border: none;
background: transparent;
font-size: 30px;
cursor: pointer;
color: #15966b;
}

/* =========================================
HERO
========================================= */

.hero {
min-height: 650px;
position: relative;
display: flex;
align-items: center;
background:
linear-gradient(
90deg,
rgba(0, 55, 43, 0.92),
rgba(0, 55, 43, 0.55),
rgba(0, 55, 43, 0.18)
),
url("../images/children.jpg") center/cover no-repeat;
}

.hero-overlay {
position: absolute;
inset: 0;
}

.hero-content {
position: relative;
z-index: 2;
color: #ffffff;
max-width: 720px;
}

.hero-tag {
display: inline-block;
background: rgba(255, 255, 255, 0.15);
border: 1px solid rgba(255, 255, 255, 0.3);
padding: 8px 15px;
border-radius: 30px;
margin-bottom: 20px;
font-size: 14px;
}

.hero h1 {
font-size: clamp(45px, 7vw, 76px);
line-height: 1.05;
margin-bottom: 25px;
}

.hero h1 span {
color: #f4a62a;
display: block;
}

.hero p {
font-size: 19px;
max-width: 650px;
margin-bottom: 32px;
color: rgba(255, 255, 255, 0.92);
}

.hero-buttons {
display: flex;
gap: 15px;
flex-wrap: wrap;
}

/* =========================================
BUTTONS
========================================= */

.btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 48px;
padding: 12px 24px;
border-radius: 30px;
font-weight: 700;
border: 2px solid transparent;
transition: 0.3s;
}

.btn-primary {
background: #f4a62a;
color: #ffffff;
}

.btn-primary:hover {
background: #dd8e13;
transform: translateY(-2px);
}

.btn-light {
background: #ffffff;
color: #15966b;
}

.btn-light:hover {
background: #f2f2f2;
transform: translateY(-2px);
}

/* =========================================
SECTION HEADINGS
========================================= */

.section-heading {
text-align: center;
max-width: 700px;
margin: 0 auto 45px;
}

.section-label {
display: inline-block;
color: #15966b;
font-size: 12px;
font-weight: 800;
letter-spacing: 2px;
margin-bottom: 12px;
}

.section-heading h2,
.welcome h2,
.supporter h2 {
font-size: clamp(32px, 5vw, 48px);
line-height: 1.15;
margin-bottom: 18px;
color: #203338;
}

.section-heading h2 span,
.welcome h2 span,
.supporter h2 span {
color: #15966b;
}

.section-heading p {
color: #68777b;
font-size: 16px;
}

/* =========================================
WELCOME
========================================= */

.welcome {
background: #ffffff;
}

.welcome-grid {
display: grid;
grid-template-columns: 1.3fr 0.7fr;
gap: 60px;
align-items: center;
}

.welcome h2 {
max-width: 600px;
}

.welcome p {
color: #657477;
margin-bottom: 17px;
max-width: 650px;
}

.text-link {
display: inline-block;
color: #15966b;
font-weight: 700;
margin-top: 10px;
}

.welcome-card {
background: #f0faf6;
padding: 45px 35px;
border-radius: 25px;
border: 1px solid #d8f0e6;
}

.card-icon {
font-size: 48px;
margin-bottom: 18px;
}

.welcome-card h3 {
color: #15966b;
font-size: 25px;
margin-bottom: 12px;
}

.welcome-card p {
margin-bottom: 0;
}

/* =========================================
SERVICES
========================================= */

.services {
background: #f7faf9;
}

.service-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
}

.service-card {
background: #ffffff;
padding: 32px 24px;
border-radius: 20px;
border: 1px solid #e4ece9;
transition: 0.3s;
}

.service-card:hover {
transform: translateY(-7px);
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.service-icon {
width: 60px;
height: 60px;
display: grid;
place-items: center;
border-radius: 15px;
background: #e9f7f2;
font-size: 28px;
margin-bottom: 20px;
}

.service-card h3 {
color: #203338;
margin-bottom: 10px;
font-size: 20px;
}

.service-card p {
color: #68777b;
font-size: 14px;
}

/* =========================================
DONATION CTA
========================================= */

.donation-cta {
background:
linear-gradient(
110deg,
#117957,
#15966b
);
color: #ffffff;
padding: 75px 0;
}

.donation-content {
display: flex;
justify-content: space-between;
align-items: center;
gap: 40px;
}

.light-label {
color: #ffd98d;
}

.donation-content h2 {
font-size: clamp(32px, 5vw, 48px);
line-height: 1.15;
max-width: 650px;
margin-bottom: 17px;
}

.donation-content p {
max-width: 650px;
color: rgba(255, 255, 255, 0.9);
}

/* =========================================
SUPPORTER
========================================= */

.supporter {
background: #fff8e7;
}

.supporter-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
align-items: center;
}

.supporter-info p {
color: #68777b;
max-width: 600px;
margin-bottom: 25px;
}

.supporter-box {
background: #fff7e8;
border: 1px solid #ffe4af;
border-radius: 25px;
padding: 50px;
text-align: center;
}

.big-heart {
font-size: 65px;
margin-bottom: 15px;
}

.supporter-box h3 {
font-size: 30px;
color: #243238;
margin-bottom: 10px;
}

.supporter-box p {
color: #68777b;
}

/* =========================================
VOLUNTEER
========================================= */

.volunteer-section {
padding: 90px 0;
background:
linear-gradient(
rgba(23, 50, 55, 0.91),
rgba(23, 50, 55, 0.91)
),
url("../images/children.jpg") center/cover;
color: #ffffff;
text-align: center;
}

.volunteer-content {
max-width: 750px;
}

.volunteer-content h2 {
font-size: clamp(32px, 5vw, 50px);
margin-bottom: 15px;
}

.volunteer-content p {
color: rgba(255, 255, 255, 0.85);
margin-bottom: 28px;
}

/* =========================================
CONTACT CTA
========================================= */

.contact-cta {
background: #f7faf9;
}

.contact-cta .section-heading {
margin-bottom: 0;
}

/* =========================================
FOOTER
========================================= */

.footer {
background: #172f34;
color: #ffffff;
padding-top: 65px;
}

.footer-grid {
display: grid;
grid-template-columns: 1.5fr 0.8fr 1fr 0.8fr;
gap: 45px;
padding-bottom: 50px;
}

.footer h3 {
color: #ffffff;
margin-bottom: 15px;
font-size: 22px;
}

.footer h4 {
color: #f4a62a;
margin-bottom: 17px;
}

.footer p {
color: rgba(255, 255, 255, 0.7);
font-size: 14px;
margin-bottom: 10px;
}

.footer-grid > div > a {
display: block;
color: rgba(255, 255, 255, 0.7);
margin-bottom: 9px;
font-size: 14px;
transition: 0.3s;
}

.footer-grid > div > a:hover {
color: #ffffff;
}

.social-links a {
display: block;
margin-bottom: 9px;
color: rgba(255, 255, 255, 0.7);
font-size: 14px;
}

.social-links a:hover {
color: #ffffff;
}

.footer-bottom {
border-top: 1px solid rgba(255, 255, 255, 0.1);
padding: 22px 4%;
display: flex;
justify-content: space-between;
gap: 20px;
flex-wrap: wrap;
}

.footer-bottom p {
margin: 0;
}

.footer-bottom strong {
color: #f4a62a;
}

/* =========================================
MOBILE NAVIGATION
========================================= */

@media (max-width: 900px) {

.menu-toggle {
    display: block;
}

.navigation {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #ffffff;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 5%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.navigation.show {
    display: flex;
}

.navigation a {
    padding: 10px 0;
}

.navigation .nav-donate {
    text-align: center;
}

.service-grid {
    grid-template-columns: repeat(2, 1fr);
}

.footer-grid {
    grid-template-columns: repeat(2, 1fr);
}

}

/* =========================================
SMALL DEVICES
========================================= */

@media (max-width: 650px) {

.section {
    padding: 60px 0;
}

.hero {
    min-height: 600px;
}

.hero h1 {
    font-size: 43px;
}

.hero p {
    font-size: 16px;
}

.hero-buttons {
    flex-direction: column;
    align-items: stretch;
}

.hero-buttons .btn {
    width: 100%;
}

.welcome-grid,
.supporter-grid {
    grid-template-columns: 1fr;
    gap: 35px;
}

.service-grid {
    grid-template-columns: 1fr;
}

.donation-content {
    flex-direction: column;
    align-items: flex-start;
}

.donation-content .btn {
    width: 100%;
}

.supporter-box {
    padding: 35px 25px;
}

.footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
}

.footer-bottom {
    flex-direction: column;
}

.logo-text strong {
    font-size: 16px;
}

.logo-placeholder {
    width: 44px;
    height: 44px;
}

}
/* ================================
   DONATION CARD DESIGN
   ================================ */

.payment-card {
    background: linear-gradient(135deg, #ffffff, #f1fff6);
    border-radius: 22px;
    padding: 30px;
    margin: 25px auto;
    max-width: 650px;
    box-shadow: 0 12px 35px rgba(0, 100, 60, 0.15);
    border: 1px solid #d7f0df;
}

.mtn-card {
    border-top: 7px solid #ffcc00;
}

.payment-logo {
    background: #ffcc00;
    color: #087a42;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 26px;
    font-weight: bold;
    box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

.payment-card h2 {
    text-align: center;
    color: #087a42;
    margin-bottom: 12px;
}

.payment-description {
    text-align: center;
    color: #65736b;
    margin-bottom: 25px;
}

.donation-form {
    background: #ffffff;
    padding: 25px;
    border-radius: 16px;
}

.donation-form label {
    display: block;
    margin-top: 15px;
    margin-bottom: 7px;
    font-weight: bold;
    color: #24523a;
}

.donation-form input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    border: 1px solid #cde3d5;
    border-radius: 10px;
    font-size: 16px;
    outline: none;
}

.donation-form input:focus {
    border-color: #087a42;
    box-shadow: 0 0 0 3px rgba(8,122,66,0.10);
}

.donation-form button {
    width: 100%;
    margin-top: 22px;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #087a42, #16a05a);
    color: white;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
}

.donation-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 18px rgba(8,122,66,0.25);
}
/* MTN DONATION CARD */

.payment-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 22px;
    padding: 30px;
    margin: 35px auto;
    max-width: 650px;
    box-shadow: 0 12px 35px rgba(0, 90, 50, 0.15);
    border: 1px solid #dcefe3;
}

.mtn-card {
    border-top: 7px solid #ffcc00;
}

.payment-logo {
    width: 82px;
    height: 82px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #ffcc00;
    color: #087a42;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: bold;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.payment-card h2 {
    text-align: center;
    color: #087a42;
    margin-bottom: 10px;
}

.payment-description {
    text-align: center;
    color: #65736b;
    margin-bottom: 25px;
}

.donation-form {
    background: #f7fff9;
    padding: 25px;
    border-radius: 16px;
}

.donation-form label {
    display: block;
    margin: 15px 0 7px;
    color: #24523a;
    font-weight: bold;
}

.donation-form input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    border: 1px solid #cfe5d6;
    border-radius: 10px;
    font-size: 16px;
}

.donation-form input:focus {
    outline: none;
    border-color: #087a42;
    box-shadow: 0 0 0 3px rgba(8, 122, 66, 0.12);
}

.donation-form button {
    width: 100%;
    margin-top: 22px;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #087a42, #16a05a);
    color: white;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
}

.donation-form button:hover {
    box-shadow: 0 8px 20px rgba(8, 122, 66, 0.25);
}
/* SHINY RED AIRTEL LOGO */
.airtel-card .payment-logo {
    position: relative;
    overflow: hidden;
    color: #ffffff !important;
    background: linear-gradient(135deg, #b30000, #ff0000, #b30000) !important;
    border: 2px solid #ff6666 !important;
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: 2px;
    text-align: center;
    text-shadow: 0 0 6px #ffffff, 0 0 12px #ff0000;
    box-shadow:
        0 0 8px rgba(255, 0, 0, 0.7),
        0 0 20px rgba(255, 0, 0, 0.45);
}

.airtel-card .payment-logo::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 45%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.9),
        transparent
    );
    transform: skewX(-20deg);
    animation: airtelShine 2.5s infinite;
}

@keyframes airtelShine {
    0% {
        left: -75%;
    }
    60% {
        left: 130%;
    }
    100% {
        left: 130%;
    }
}


/* =========================================
   ANIMATED HERO SLIDESHOW
========================================= */

.animated-hero {
    position: relative;
    overflow: hidden;
    min-height: 650px;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    animation: heroZoom 7s ease-in-out infinite alternate;
}

.animated-hero .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(0, 70, 35, 0.82),
        rgba(0, 70, 35, 0.45),
        rgba(0, 0, 0, 0.20)
    );
}

.animated-hero .hero-content {
    position: relative;
    z-index: 2;
}

@keyframes heroZoom {

    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }
}

@media (max-width: 600px) {

    .animated-hero {
        min-height: 600px;
    }

    .hero-slide img {
        object-position: center;
    }
}
/* =========================================
   PHOTO CATEGORY ANIMATION
========================================= */

.photo-categories {
    background: #f1f8f4;
    padding: 80px 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.category-card {
    position: relative;
    display: block;
    height: 320px;
    overflow: hidden;
    border-radius: 18px;
    text-decoration: none;
    background: #087a42;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(0);
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition:
        transform 0.7s ease,
        filter 0.5s ease;
}

.category-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    color: white;
    background: linear-gradient(
        transparent,
        rgba(0, 70, 35, 0.92)
    );
}

.category-overlay span {
    font-size: 35px;
    margin-bottom: 5px;
}

.category-overlay h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.category-overlay p {
    margin: 0;
    line-height: 1.5;
    opacity: 0.95;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.2);
}

.category-card:hover img {
    transform: scale(1.1);
    filter: brightness(0.85);
}

.category-button {
    text-align: center;
    margin-top: 40px;
}

@media (max-width: 850px) {

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 550px) {

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        height: 280px;
    }

}

/* Child Care Foundation official logo */
.foundation-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 50%;
    display: block;
    flex-shrink: 0;
}

/* Follow Us Section */
.follow-us-section{
    margin:30px auto 0;
    padding:20px;
    text-align:center;
    background:#f5fbf7;
    border:1px solid #d8eee1;
    border-radius:14px;
}

.follow-us-section h3{
    margin:0 0 8px;
    color:#087a42;
}

.follow-us-section p{
    margin:0 0 18px;
    color:#555;
}

.social-links{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:12px;
}

.social-links a{
    text-decoration:none;
    color:#087a42;
    background:#ffffff;
    border:1px solid #087a42;
    border-radius:30px;
    padding:10px 16px;
    font-weight:600;
    transition:all .2s ease;
}

.social-links a:hover{
    background:#087a42;
    color:#fff;
}


/* Professional social media icons */
.social-links a{
    display:inline-flex;
    align-items:center;
    gap:8px;
}

.social-links a img{
    width:24px;
    height:24px;
    object-fit:contain;
    vertical-align:middle;
}
