/* Base Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #3498db;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #7f8c8d;
    --white: #ffffff;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: #f9f9f9;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== Impact Section ===== */
.impact {
    padding: 80px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.impact .container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-top: 15px;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin: 60px auto 0;
    width: 100%;
    max-width: 1200px;
    padding: 0 15px;
    box-sizing: border-box;
}

.stat-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), #ff7e5f);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(231, 76, 60, 0.1);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(255, 126, 95, 0.1) 100%);
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 1;
}

.stat-card:hover .stat-icon {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ff7e5f 100%);
    color: white;
    transform: rotateY(180deg);
}

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

.stat-number {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 15px 0 10px;
    font-weight: 800;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-number {
    color: var(--secondary-color);
    transform: scale(1.05);
}

.stat-description {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.impact-cta {
    text-align: center;
    margin-top: 60px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ff7e5f 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.4);
    color: white;
}

/* ===== Responsive Styles ===== */

/* Large Desktops */
@media (max-width: 1440px) {
    .impact {
        padding: 70px 0;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
    
    .section-subtitle {
        font-size: 1.15rem;
    }
}

/* Small Desktops */
@media (max-width: 1200px) {
    .impact {
        padding: 65px 0;
    }
    
    .stat-card {
        padding: 30px 20px;
    }
    
    .stat-icon {
        width: 80px;
        height: 80px;
        font-size: 2.2rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
}

/* Tablets */
@media (max-width: 1024px) {
    .impact {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 2.1rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        margin-top: 40px;
    }
    
    .stat-card {
        padding: 25px 15px;
    }
    
    .stat-icon {
        width: 75px;
        height: 75px;
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
        margin: 12px 0 8px;
    }
    
    .stat-description {
        font-size: 1.05rem;
    }
    
    .impact-cta {
        margin-top: 50px;
    }
}

/* Small Tablets */
@media (max-width: 768px) {
    .impact {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.9rem;
    }
    
    .section-subtitle {
        font-size: 1.05rem;
        margin-top: 10px;
    }
    
    .impact-stats {
        gap: 20px;
        padding: 0 10px;
    }
    
    .stat-card {
        padding: 25px 15px;
        border-radius: 14px;
    }
    
    .stat-icon {
        width: 70px;
        height: 70px;
        font-size: 1.9rem;
        margin-bottom: 18px;
    }
    
    .stat-number {
        font-size: 1.9rem;
    }
    
    .stat-description {
        font-size: 1rem;
    }
    
    .btn-primary {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
}

/* Large Phones */
@media (max-width: 576px) {
    .impact {
        padding: 45px 0;
    }
    
    .section-header {
        margin-bottom: 35px;
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .section-title::after {
        height: 2.5px;
        bottom: -8px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .impact-stats {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 35px auto 0;
        gap: 18px;
        padding: 0 5px;
    }
    
    .stat-card {
        padding: 25px 20px;
        border-radius: 12px;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .stat-icon {
        width: 65px;
        height: 65px;
        font-size: 1.8rem;
        margin-bottom: 16px;
    }
    
    .stat-number {
        font-size: 1.8rem;
        margin: 10px 0 6px;
    }
    
    .stat-description {
        font-size: 0.98rem;
        line-height: 1.5;
    }
    
    .impact-cta {
        margin-top: 40px;
    }
    
    .btn-primary {
        padding: 13px 26px;
        font-size: 0.93rem;
    }
}

/* Small Phones */
@media (max-width: 400px) {
    .impact {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 1.65rem;
        margin-bottom: 10px;
    }
    
    .section-title::after {
        width: 60px;
        height: 2px;
        bottom: -6px;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .impact-stats {
        gap: 16px;
        margin-top: 30px;
    }
    
    .stat-card {
        padding: 22px 16px;
        border-radius: 10px;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.7rem;
        margin-bottom: 14px;
    }
    
    .stat-number {
        font-size: 1.7rem;
        margin: 8px 0 5px;
    }
    
    .stat-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .impact-cta {
        margin-top: 35px;
    }
    
    .btn-primary {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    padding: 180px 0 120px;
    color: #fff;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(44, 62, 80, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .hero {
        padding: 150px 0 100px;
        min-height: 70vh;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 15px;
    }
}

/* ===== Projects Section ===== */
.projects {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.6;
}

.project-category {
    margin-bottom: 60px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.project-category h3 {
    background: var(--primary-color);
    color: #fff;
    padding: 20px 30px;
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.project-category h3 i {
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.project-cards {
    padding: 30px;
}

.project-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-image {
    height: 300px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-content h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.project-date {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.project-features {
    margin: 15px 0 20px;
    padding-left: 20px;
}

.project-features li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
    color: var(--text-color);
}

.project-features li::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.project-impact {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-style: italic;
    color: var(--text-light);
}

.project-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 60px 0;
    text-align: center;
}

.stat-item {
    background: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.stat-item h4 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin: 10px 0 5px;
}

.project-cta {
    background: linear-gradient(135deg, var(--primary-color), #1a2a3a);
    color: #fff;
    padding: 50px;
    border-radius: 10px;
    text-align: center;
    margin-top: 60px;
}

.project-cta h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.project-cta p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-volunteer {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-volunteer:hover {
    background: transparent;
    color: #fff;
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .project-card {
        flex-direction: column;
    }
    
    .project-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .project-category h3 {
        font-size: 1.3rem;
        padding: 15px 20px;
    }
    
    .project-cta {
        padding: 30px 20px;
    }
    
    .project-cta h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .project-stats {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-volunteer, .btn-donate {
        width: 100%;
        justify-content: center;
    }
}

/* ===== Impact Section ===== */
.impact {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.impact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #ffffff; /* Changed to white */
    position: relative;
}

.impact h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-card {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 15px 0 10px;
}

.stat-card p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ===== Partners Section ===== */
.partners {
    padding: 80px 0;
    background-color: #f0f5ff;
}

.partners h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary-color);
    position: relative;
}

.partners h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.partners-slider {
    margin: 40px 0;
    padding: 20px 0;
    overflow: hidden;
    position: relative;
}

.partners-slider::before,
.partners-slider::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.partners-slider::before {
    left: 0;
    background: linear-gradient(90deg, #f9f9f9 0%, rgba(249, 249, 249, 0) 100%);
}

.partners-slider::after {
    right: 0;
    background: linear-gradient(270deg, #f9f9f9 0%, rgba(249, 249, 249, 0) 100%);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 20px 0;
    animation: scroll 30s linear infinite;
    width: calc(270px * 10);
}

.partner-logo {
    flex: 0 0 220px;
    height: 120px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: filter 0.3s ease;
}

/* شعار UNICEF بحجم أكبر */
.partner-logo img[alt="UNICEF"] {
    transform: scale(2.5);
    margin: 0 20px; /* إضافة هامش إضافي للشعار */
}

.partner-logo:hover img {
    filter: grayscale(0%) opacity(1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-220px * 5));
    }
}

.partners-details {
    margin-top: 80px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.partner-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
}

.partner-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    font-size: 1.4rem;
}

.partner-card ul {
    list-style-type: none;
    padding: 0;
}

.partner-card li {
    padding: 10px 0;
    color: var(--text-color);
    position: relative;
    padding-left: 25px;
    font-size: 1.1rem;
}

.partner-card li::before {
    content: '•';
    color: var(--secondary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: 2px;
}

/* ===== Button Styles ===== */

/* أزرار القاعدة */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-transform: none;
    letter-spacing: 0.3px;
    line-height: 1.5;
    min-width: 120px;
    text-decoration: none;
}

/* تأثيرات التحويم والنقر */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: all 0.3s ease;
}

.btn:hover::before {
    opacity: 1;
}

.btn:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* زر الأساسي */
.btn-primary {
    background: linear-gradient(135deg, #e74c3c, #d63c2f);
    color: #fff;
    border: 2px solid transparent;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d63c2f, #c0392b);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    transform: translateY(-2px);
}

.btn-primary:active {
    box-shadow: 0 2px 10px rgba(231, 76, 60, 0.3);
    transform: translateY(0) scale(0.98);
}

/* الزر الثانوي */
.btn-secondary {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.25);
}

.btn-secondary:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 10px rgba(231, 76, 60, 0.2);
}

/* زر الرابط */
.btn-link {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    position: relative;
    background: none;
    border: none;
    border-radius: 6px;
    box-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    transition: all 0.3s ease;
}

.btn-link:hover {
    background: rgba(231, 76, 60, 0.1);
    transform: translateX(4px);
}

.btn-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-link:hover i {
    transform: translateX(4px);
}

/* أحجام الأزرار */
.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
    min-width: 100px;
}

.btn-lg {
    padding: 14px 36px;
    font-size: 1.1rem;
    min-width: 160px;
}

/* أزرار إضافية */
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.15);
}

/* أزرار خاصة */
.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-donate {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #fff;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    padding: 15px 35px;
    font-size: 1.1rem;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.btn-donate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e67e22, #f39c12);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.btn-donate:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(243, 156, 18, 0.5);
}

.btn-donate:hover::before {
    opacity: 1;
}

.btn-donate:active {
    transform: translateY(1px);
    box-shadow: 0 4px 8px rgba(243, 156, 18, 0.3);
}

.btn-donate i {
    margin-left: 10px;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.btn-donate:hover i {
    transform: translateX(5px);
}

.btn-projects {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 13px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.btn-projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-projects:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-projects:hover::before {
    width: 100%;
}

.btn-projects:active {
    transform: translateY(1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-projects i {
    margin-right: 10px;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.btn-projects:hover i {
    transform: translateX(5px);
}

/* تأثيرات للشاشات الصغيرة */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-donate,
    .btn-projects {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
    }
}

/* تأثيرات خاصة */
.btn-pulse {
    animation: pulse 2s infinite;
    position: relative;
    overflow: visible;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(231, 76, 60, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
    }
}

/* أزرار الوسائط الاجتماعية */
.btn-social {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 8px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: #fff;
    color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-social:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* تأثيرات خاصة عند التركيز */
.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.4);
}

/* تعطيل الزر */
.btn:disabled,
.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* زر الكتلة الكاملة */
.btn-block {
    display: block;
    width: 100%;
    padding: 14px 20px;
}

/* مجموعة الأزرار */
.btn-group {
    display: inline-flex;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-group .btn {
    border-radius: 0;
    margin: 0;
    box-shadow: none;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-group .btn:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.btn-group .btn:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-right: none;
}

/* تأثيرات خاصة للأزرار في القوائم */
.nav-buttons .btn {
    margin: 0 5px;
    transition: all 0.3s ease;
}

.nav-buttons .btn:first-child {
    margin-right: 0;
}

.nav-buttons .btn:last-child {
    margin-left: 0;
}

/* تأثيرات خاصة للأزرار في البطاقات */
.project-card .btn-link {
    display: inline-flex;
    align-items: center;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 20px 10px 0;
    margin-top: 15px;
    position: relative;
    transition: all 0.3s ease;
    text-decoration: none;
}

.project-card .btn-link::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.project-card .btn-link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.project-card .btn-link i {
    margin-right: 8px;
    font-size: 0.9em;
    transition: transform 0.3s ease, margin-right 0.3s ease;
}

.project-card .btn-link:hover i {
    transform: translateX(5px);
    margin-right: 12px;
}

/* تأثيرات إضافية للبطاقات */
.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.project-image {
    overflow: hidden;
}

.project-image img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 20px;
    background: #fff;
}

.project-content h3 {
    color: var(--text-color);
    margin-bottom: 12px;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.project-card:hover .project-content h3 {
    color: var(--secondary-color);
}

.project-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* أزرار التنقل */
.btn-prev,
.btn-next {
    position: relative;
    padding-left: 40px;
    padding-right: 40px;
}

.btn-prev i {
    margin-right: 8px;
}

.btn-next i {
    margin-left: 8px;
}

/* تأثيرات خاصة للشاشات الصغيرة */
@media (max-width: 768px) {
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 12px 28px;
        font-size: 1rem;
    }
    
    .btn-group {
        display: flex;
        flex-direction: column;
        border-radius: 8px;
    }
    
    .btn-group .btn {
        border-radius: 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .btn-group .btn:first-child {
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }
    
    .btn-group .btn:last-child {
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
        border-bottom: none;
    }
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--primary-color);
}

.logo p {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin: 0;
    font-weight: 500;
}

.main-nav ul {
    display: flex;
    align-items: center;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: var(--dark-color);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
}

.main-nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.main-nav a:hover:after,
.main-nav a.active:after {
    width: 100%;
}

.main-nav .btn-donate {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    margin-left: 15px;
}

.main-nav .btn-donate:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.main-nav .btn-donate:after {
    display: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1582213787499-452ef99a50f5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1500&q=80') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: left;
    padding-top: 80px;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.04em;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--white);
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
}

.about h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: #4a4a4a;
    font-weight: 400;
    line-height: 1.8;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background-color: #f5f7fa;
}

.projects h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
}

.projects h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.project-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.project-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Impact Section */
.impact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), #1a252f);
    color: var(--white);
    text-align: center;
}

.impact h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.impact h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.stat-item {
    padding: 30px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-family: 'Poppins', sans-serif;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Donation Section */
.donate {
    padding: 100px 0;
    background-color: #f5f7fa;
    text-align: center;
}

.donate h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.donate p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 50px;
}

.donation-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.donation-option {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid #eee;
}

.donation-option.featured {
    transform: scale(1.05);
    border: 2px solid var(--secondary-color);
    z-index: 1;
}

.donation-option.featured:after {
    content: 'Popular';
    position: absolute;
    top: 15px;
    right: -30px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 3px 30px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
}

.donation-option h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.donation-option p {
    margin-bottom: 25px;
    color: var(--text-light);
    font-size: 1rem;
}

.donation-option input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.donation-option .btn-primary {
    width: 100%;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--white);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
}

.contact h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h2 {
    text-align: left;
    margin-bottom: 30px;
    font-size: 2rem;
}

.contact-info h2:after {
    left: 0;
    transform: none;
}

.contact-details {
    margin: 40px 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-color);
    color: var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.contact-form {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-about h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-about p {
    opacity: 0.8;
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-links h4,
.footer-newsletter h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    color: var(--white);
}

.footer-links h4:after,
.footer-newsletter h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #bdc3c7;
    transition: var(--transition);
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Footer Contact Section */
.footer-contact {
    flex: 1;
    min-width: 200px;
    margin: 15px 0;
}

.footer-contact h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

.footer-contact h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.contact-list {
    padding: 0;
    margin: 0;
}

.contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.contact-list li:hover {
    transform: translateX(5px);
}

.contact-list i {
    color: var(--secondary-color);
    margin-left: 10px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.contact-list a {
    color: var(--light-color);
    transition: var(--transition);
    font-weight: 400;
    display: inline-block;
    word-break: break-word;
    max-width: 100%;
    position: relative;
}

.contact-list a[href^="mailto:"] {
    padding-left: 5px;
}

.contact-list a[href^="mailto:"]:after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.contact-list a[href^="mailto:"]:hover:after {
    width: 100%;
}

.contact-list a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Responsive adjustments for footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-about,
    .footer-links,
    .footer-contact {
        margin: 15px 0;
        width: 100%;
    }
    
    .footer-contact h4:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-list li {
        justify-content: center;
    }
}

/* ===== Team Section ===== */
.team {
    padding: 80px 0;
    background-color: #f9f9f9;
    direction: ltr;
}

.team .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.team .section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-family: 'Tajawal', sans-serif;
}

.team .section-header p {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 700px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.team-member {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.member-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 25px 20px;
}

.member-info h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 5px;
    font-family: 'Tajawal', sans-serif;
}

.member-info .position {
    color: #e74c3c;
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #f1f2f6;
    border-radius: 50%;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #e74c3c;
    color: #fff;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team .section-header h2 {
        font-size: 2rem;
    }
}

.footer-newsletter p {
    opacity: 0.8;
    margin-bottom: 20px;
    line-height: 1.8;
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
}

.newsletter-form button {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 0 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: #c0392b;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: #bdc3c7;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--secondary-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-top: 40px;
    }
    
    .donation-option.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .main-nav {
        margin-top: 20px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav li {
        margin: 5px 10px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        margin-top: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        margin-top: 15px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
    
    .impact-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .donation-options {
        grid-template-columns: 1fr;
    }
}

/* ===== Footer Styles ===== */
.footer {
    background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 100%);
    color: #fff;
    padding: 70px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-about {
    padding-right: 20px;
}

.footer-logo img {
    max-width: 200px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.03);
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-links ul,
.contact-list {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--secondary-color);
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
    left: -15px;
}

/* Social Media Links */
.footer-social {
    margin-top: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
    border-color: transparent;
}

/* Contact List Styles */
.contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
}

.contact-list i {
    color: var(--secondary-color);
    margin-left: 10px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.contact-list a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.contact-list a:hover {
    color: var(--secondary-color);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: var(--secondary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-about {
        padding-right: 0;
    }
    
    .footer h4 {
        margin-top: 20px;
    }
}
