/* Global Styles */
:root {
    --primary-color: #e74c3c;
    --secondary-color: #3498db;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --white: #ffffff;
    --black: #333333;
    --gray: #95a5a6;
    --light-gray: #bdc3c7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: var(--dark-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto;
}

/* Top Bar */
.top-bar {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
    color: var(--primary-color);
}

.social-links a {
    color: var(--white);
    margin-left: 15px;
    font-size: 1rem;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--dark-color);
}

.logo h1 span {
    color: var(--primary-color);
    font-weight: 300;
}

.navbar ul {
    display: flex;
    list-style: none;
}

.navbar ul li {
    margin-left: 25px;
}

.navbar ul li a {
    color: var(--dark-color);
    font-weight: 600;
    padding: 5px 0;
    position: relative;
}

.navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar ul li a:hover::after {
    width: 100%;
}

.donate-btn a {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 600;
}

.donate-btn a:hover {
    background-color: var(--dark-color);
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 600px;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 30px;
    color: var(--white);
    border-radius: 5px;
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.slide-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.slider-nav button {
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-nav button:hover {
    background-color: var(--primary-color);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--white);
    transform: scale(1.2);
}

/* Causes Section */
.causes-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.causes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.cause-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.cause-card:hover {
    transform: translateY(-10px);
}

.cause-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.cause-card h3 {
    padding: 15px 20px 5px;
    color: var(--dark-color);
}

.cause-card p {
    padding: 0 20px 15px;
    color: var(--gray);
}

.cause-card .btn {
    display: block;
    margin: 0 20px 20px;
    text-align: center;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.stat-item h3 {
    font-size: 2.8rem;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 300;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/pjhrf12.jpg') center/cover no-repeat;
    color: var(--white);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Page Hero */
.page-hero {
    height: 50vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), center/cover no-repeat;
    color: var(--white);
    text-align: center;
}

.page-hero .container {
    width: 100%;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.3rem;
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.about-text p {
    margin-bottom: 15px;
    color: var(--black);
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.mv-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-10px);
}

.mv-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.mv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.director-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
    background-color: var(--light-color);
    padding: 40px;
    border-radius: 8px;
}

.director-image img {
    width: 100%;
    border-radius: 8px;
}

.director-message h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.director-message h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.director-message p {
    margin-bottom: 15px;
}

.signature {
    margin-top: 30px;
}

.signature img {
    height: 50px;
    margin-bottom: 5px;
}

.signature p {
    font-style: italic;
    color: var(--gray);
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member h3 {
    padding: 15px 0 5px;
    color: var(--dark-color);
}

.team-member p {
    padding: 0 0 20px;
    color: var(--gray);
}

/* Causes List Section */
.causes-list-section {
    padding: 80px 0;
}

.cause-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.cause-image img {
    width: 100%;
    border-radius: 8px;
}

.cause-details h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.cause-details p {
    margin-bottom: 20px;
    color: var(--black);
}

.cause-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.stat {
    text-align: center;
}

.stat span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat p {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
}

.progress-bar {
    height: 10px;
    background-color: var(--light-gray);
    border-radius: 5px;
    margin-bottom: 20px;
}

.progress {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 5px;
}

.cause-details .btn {
    margin-right: 15px;
    margin-bottom: 15px;
}

/* Donation Section */
.donation-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.donation-form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.donation-form {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.payment-method {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: var(--primary-color);
}

.payment-method input {
    width: auto;
    margin-right: 10px;
}

.payment-method i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.donation-info {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.donation-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.donation-info ul {
    margin-bottom: 30px;
}

.donation-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.donation-info li i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 3px;
}

.tax-benefit {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 8px;
}

.tax-benefit h4 {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.tax-benefit h4 i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col p {
    margin-bottom: 15px;
    color: var(--light-gray);
}

.footer-links li {
    margin-bottom: 10px;
    list-style: none;
}

.footer-links a {
    color: var(--light-gray);
    display: block;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-info-footer li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: var(--light-gray);
}

.contact-info-footer i {
    margin-right: 10px;
    color: var(--primary-color);
    margin-top: 5px;
}

.newsletter-form {
    display: flex;
    margin-bottom: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-family: inherit;
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content,
    .director-section,
    .cause-item,
    .donation-form-container {
        grid-template-columns: 1fr;
    }
    
    .director-image {
        grid-row: 1;
    }
    
    .slide-content {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .navbar {
        position: fixed;
        top: 120px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 120px);
        background-color: var(--white);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .navbar.active {
        left: 0;
    }
    
    .navbar ul {
        flex-direction: column;
        padding: 20px;
    }
    
    .navbar ul li {
        margin: 15px 0;
    }
    
    .slide-content h2 {
        font-size: 2rem;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .slide-content {
        left: 5%;
        padding: 20px;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}