:root {
    --primary-color: #34c6a1;
    --secondary-color: #2aa786;
    --accent-color: #4ad4b1;
    --light-color: #f4f9f7; 
    --dark-color: #1e7a63;
    --text-color: #333333;
    --white: #ffffff;
    --black: #000000;
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3, h4 {
    font-family: var(--heading-font);
    font-weight: 600;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
    left: 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    height: 80px;
}

.logo img {
    height: 65px; /* Adjusted size */
    margin-right: 1rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2.5rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-family: var(--heading-font);
    padding: 0.5rem 0;
    font-size: 1rem;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
    border-radius: 2px;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('child-labour.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px; /* Offset for fixed header */
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 1.5s ease-in-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--primary-color);
    font-family: var(--heading-font);
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    margin-left: 1rem;
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
}

.about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.03);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: var(--white);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.service-image {
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-content p {
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--dark-color);
    padding-right: 10px;
}

/* Education & Healthcare Sections */
.education, .healthcare, .team, .contact-page {
    padding: 5rem 0;
    background-color: var(--white);
}

.education-container, .healthcare-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.education-feature {
    display: flex;
    align-items: flex-start;
}

.feature-icon {
    background-color: var(--primary-color);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.education-feature:hover .feature-icon {
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 5px 15px rgba(52, 198, 161, 0.4);
}

.feature-content h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.healthcare-card {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.healthcare-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.healthcare-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.healthcare-card h3 i {
    color: var(--primary-color);
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.healthcare-card:hover h3 i {
    transform: scale(1.2);
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    border-left: 5px solid var(--primary-color);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--dark-color);
    margin-bottom: 0.2rem;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(rgba(52, 198, 161, 0.9), rgba(30, 122, 99, 0.9)), url('join.jpg') fixed;
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background-color: #263238; /* Darker, more neutral color */
    color: #cfd8dc; /* Lighter text for contrast */
    padding: 4rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-col p, .footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li a {
    color: #cfd8dc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}



.social-links1 a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Page Specific Styles */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('school.jpg');
    background-size: cover;
    background-position: center;
    padding: 6rem 0;
    text-align: center;
    color: var(--white);
    margin-top: 80px; /* Offset for header */
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-header2 {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('school.jpg');
    background-size: cover;
    background-position: center;
    padding: 6rem 0;
    text-align: center;
    color: var(--white);
    margin-top: 80px; /* Offset for header */
}

.page-header2 h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-header3 {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('school.jpg');
    background-size: cover;
    background-position: center;
    padding: 6rem 0;
    text-align: center;
    color: var(--white);
    margin-top: 80px; /* Offset for header */
}

.page-header3 h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-header4 {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('healthcare2.jpg');
    background-size: cover;
    background-position: center;
    padding: 6rem 0;
    text-align: center;
    color: var(--white);
    margin-top: 80px; /* Offset for header */
}

.page-header4 h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.about-image {
    position: relative;
    text-align: center;
}

.image-caption {
    position: absolute;
    bottom: 10px;
    left: 10%;
    
    font-family: 'Georgia', serif; 
    color: darkgreen;
    font-size: 0.9rem;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 6px;
}


.team {
    background-color: var(--light-color);
    padding: 5rem 0;
}
.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}
.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    box-shadow: 0 0 0 5px var(--white), 0 0 0 7px var(--primary-color);
}
.team-member h4 {
    font-size: 1.3rem;
    color: var(--dark-color);
}
.team-member p {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-page {
    background-color: var(--light-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    background-color: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form h3, .contact-info h3 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: var(--dark-color);
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-family: var(--body-font);
    font-size: 1rem;
}
.contact-info ul {
    list-style: none;
}
.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}
.contact-info li i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 5px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        transition: left 0.3s ease-in-out;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        z-index: 999;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 2rem;
        align-items: center;
    }
    
    nav ul li {
        margin: 1.5rem 0;
    }
    
    nav ul li a {
        font-size: 1.2rem;
    }
    
    .mobile-menu {
        display: block;
    }

    .hero h1 { font-size: 2.5rem; }
    .section-title h2 { font-size: 2.2rem; }
    
    .about-content { text-align: center; }
    .about-text { order: 2; }
    .about-image { order: 1; margin-bottom: 2rem;}

    .btn-container {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    .btn-outline { margin-left: 0; }
}
/* Donation Page Specific Styles */
.donation-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('school.jpg') center center / cover no-repeat;
    color: white;
    padding: 120px 0 60px;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    margin-bottom: -30px;
}


.donation-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.donation-hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 20px;
    opacity: 0.9;
}

.donation-container {
    background-color: #f4f9f7;
    padding: 40px 0 60px;
}

.qr-container {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 850px;
    width: 100%;
    text-align: center;
    position: relative;
    margin: 0 auto;
}

.scan-text {
    color: #34c6a1;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.qr-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    position: relative;
}

.qr-code {
    width: 250px;
    height: 250px;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.account-info {
    position: absolute;
    font-size: 0.9rem;
    color: #555;
    padding: 8px 12px;
    max-width: 150px;
    text-align: center;
    word-break: break-all;
}

.account-number {
    left: -60px;
}

.upi-id {
    right: -60px;
}

.payment-apps-container {
    margin-top: 30px;
}

.payment-apps {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.payment-app {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.payment-app-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.payment-app-icon img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .donation-hero {
        padding: 100px 0 50px;
    }
    
    .account-info {
        position: static;
        margin: 15px 0;
        max-width: 100%;
    }
    
    .account-number, .upi-id {
        left: auto;
        right: auto;
    }
    
    .qr-wrapper {
        flex-direction: column;
    }
    
    .qr-code {
        width: 220px;
        height: 220px;
    }
    
    .payment-apps {
        gap: 10px;
    }
    
    .payment-app-icon {
        width: 45px;
        height: 45px;
    }
}
/* Remove background and style from left/right labels */
.qr-wrapper .no-style-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    background: none;
    box-shadow: none;
    padding: 0;
    font-size: 0.85rem;
    color: #444;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    line-height: 1.5;
    text-align: center;
}

.qr-wrapper .no-style-label i {
    font-size: 0.8rem;
    margin-bottom: 6px;
    color: #2aa786;
}

.qr-wrapper .account-number {
    left: 220px;
}


.qr-wrapper .upi-id {
    right: 220px;
}

/* Payment Logos - Single Line */
.payment-apps {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.payment-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.payment-logo:hover {
    transform: scale(1.1);
}
/* Payment App Individual Logo Styles */
.imobilepay-logo {
  height: 38px;
  width: auto;
}

.bhim-logo {
  height: 14px;
  width: auto;
}

.upi-logo {
  height: 32px;
  width: auto;
}

.digitalrupee-logo {
  height: 22px;
  width: auto;
}

.phonepe-logo {
  height: 54px;
  width: auto;
}

.gpay-logo {
  height: 24px;
  width: auto;
}

.paytm-logo {
  height: 14px;
  width: auto;
}

