/* ===================================
   CSS Variables & Reset
   =================================== */
:root {
    --primary-color: #FF8C00;
    --primary-dark: #E67600;
    --primary-light: #FFA500;
    --secondary-color: #FFD700;
    --accent-color: #FFB347;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

}

.container {
    max-width: 12000px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    align-items: center;
    justify-items: space-between;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
    padding: 0.5rem 0;
}

.logo img {
    height: 100px;
    width: auto;
    display: block;
    max-width: 300px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.1rem;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}
.lang-switcher .lang-btn {
    background-color: #FF8C00;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 0.5rem 1rem;
    transition: 0.3s;
}
    
.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-content {
    flex-grow: 1;
}

.btn-donate {
    background: var(--primary-color);
    color: var(--bg-white) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 25px;
    font-weight: 600;
    margin-top: auto;   
    align-self: center;
}

.btn-donate::after {
    display: none;
}

.btn-donate:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.join-us-section {
    display: flex;
    justify-content: center; 
    margin-top: auto;        
}

.btn-get-involved {
    background: var(--secondary-color);
    color: var(--bg-white) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 25px;
    font-weight: 600;
}

.btn-get-involved::after {
    display: none;
}

.btn-get-involved:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('11.jpg') center/cover no-repeat;
    transition: background-position 0.1s ease;
    overflow: hidden;
    margin-top: 70px;
}
.hero-bg {
  background: url('topo-pattern.svg') center/cover;
  transform: translateZ(0); 
  transition: transform 0.6s ease-out;
}

.grain {
  position: absolute;
  inset: 0;
  background: url('grain.png') repeat;
  opacity: 0.15;
  animation: grain 8s steps(10) infinite;
  pointer-events: none;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-1%, -1%); }
  /* ... */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('22.png') center center/cover no-repeat;
    opacity: 0.2;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    bottom: 0;
    background: url ('https://www.transparenttextures.com/patterns/diagmonds-light.png') repeat;
    background-size: 400% 400%;
    animation: gradientBG 10s ease infinite;
    opacity: 0.5;
    z-index: 1;
}
@keyframes gradientBG {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--bg-white);
    padding: 2rem;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-title {
    font-family: 'Tajawal', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    transition: text-shadow 0.3s ease, color 0.3s ease;
    animation: glow 3s ease-in-out infinite alternate;

    @keyframes glow {
        from {
            text-shadow: 0 0 5px #E67600, 0 0 10px #E67600, 0 0 15px #E67600;
        }
        to {
            text-shadow: 0 0 20px #ffffff, 0 0 30px #E67600, 0 0 40px #E67600;
        }
    }
}
.hero-title:hover {
    text-shadow: 0 0 10px #E67600, 0 0 20px #ffffff, 0 0 30px #E67600;
    color: #ffffff;
}
.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
}
.hero-description {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.7rem;
    color: white;
    margin-bottom: 20px;
    line-height: 1.6;
    transition: text-shadow 0.3s ease, color 0.3s ease;
    animation: glow 3s ease-in-out infinite alternate;

    @keyframes glow {
        from {
        text-shadow: 0 0 5px #E67600, 0 0 10px #E67600, 0 0 15px #E67600;
        }
        to {
            text-shadow: 0 0 20px #ffffff, 0 0 30px #E67600, 0 0 40px #E67600;
        }
    }
}
.hero-description:hover {
    text-shadow: 0 0 10px #E67600, 0 0 20px #ffffff, 0 0 30px #E67600;
    color: #ffffff;
}

.hero-features {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.7rem;
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    transition: text-shadow 0.3s ease, color 0.3s ease;
    animation: glow 3s ease-in-out infinite alternate;

    @keyframes glow {
        from {
        text-shadow: 0 0 5px #E67600, 0 0 10px #E67600, 0 0 15px #E67600;
        }
        to {
            text-shadow: 0 0 20px #ffffff, 0 0 30px #E67600, 0 0 40px #E67600;
        }
    }
}
.hero-features:hover {
    text-shadow: 0 0 10px #E67600, 0 0 20px #ffffff, 0 0 30px #E67600;
    color: #ffffff;
}

.hero-features li {
    font-size: 1.55rem;
    color: white;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 35px;
    line-height: 1.2;
}

.arrow {
    flex-shrink: 0;
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    flex-direction: row; 
    justify-content: center;
    align-items: center;      
    gap: 20px;              
    margin-top: 60px;   
    transition: text-shadow 0.3s ease, color 0.3s ease;
    animation: glow 3s ease-in-out infinite alternate;

    @keyframes glow {
        from {
        text-shadow: 0 0 5px #E67600, 0 0 10px #E67600, 0 0 15px #E67600;
        }
        to {
            text-shadow: 0 0 20px #ffffff, 0 0 30px #E67600, 0 0 40px #E67600;
        }
    }
}
.hero-buttons:hover {
    text-shadow: 0 0 10px #E67600, 0 0 20px #ffffff, 0 0 30px #E67600;
    color: #ffffff;
}



.btn {
    padding: 0.875rem 2rem;
    border-radius: 30px;
    font-weight: 750;
    font-size: 1.2rem;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--bg-white);
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.btn-secondary:hover {
    background: var(--bg-white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 2rem;
}

.btn-outline {
    background: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
    padding: 0.6rem 1.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--bg-white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

/* ===================================
   what-we-do-section
   =================================== */
.what-we-do-section {
    background-color: white;
    padding: 0;
}

.image-placeholder {
    animation: fadeInRight 1s ease;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.section-title-what-we-do {
    font-family: 'Tajawal', sans-serif; 
    font-size: 4rem;
    color: #E67600;
}

.container-full {
    max-width: 100%;
    margin: 0 auto;
}

.content-wrapper {
    display: flex;
    min-height: 100vh;
}

.category-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin: 0;
    padding-left: 15px;
}

.category.open .category-list {
    max-height: 500px;
}

.category-title {
    cursor: pointer;
    font-weight: bold;
    margin: 10px 0;
}

.category-title {
    cursor: pointer;
    font-weight: bold;
    margin: 10px 0;
    position: relative;
    padding-right: 18px;
}

.category-title::after {
    content: "⯈";
    position: absolute;
    right: 0;
    top: 0;
    transition: transform 0.3s ease;
}

.category.open .category-title::after {
    transform: rotate(90deg);
}

.category-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    margin: 0;
    padding-left: 15px;
}

.category.open .category-list {
    max-height: 500px;
}



/* Main Content Area */
.main-content {
    flex: 1;
    padding: 60px 80px;
    background-color: white;
}

.section-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 60px;
}

.image-placeholder {
    width: 100%;
    min-height: 400px;
    background-color: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.placeholder-text {
    font-size: 2.5rem;
    color: #d0d0d0;
    font-style: italic;
    font-weight: 300;
}

/* Scrolling Sidebar */
.scrolling-sidebar {
    width: 650px;
    background-color: #f68d1e;
    padding: 30px 45px;
    overflow-y: auto;
    position: sticky;
    top: 0;
    height: 100vh;
    border-left: none;
    border-top-left-radius: 55px;
    border-bottom-left-radius: 55px;
    border-bottom-right-radius: 55px;
    border-top-right-radius: 55px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1)
}

.sidebar-header {
    margin-bottom: 30px;
    border-bottom: 2px solid #f26122;
    padding-bottom: 15px;
}

.sidebar-header h3 {
    font-size: 1.3rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 0.9rem;
    color: #666;
}

.sidebar-content {
    padding-right: 10px;
}

/* Category Styles */
.category {
    margin-bottom: 35px;
}

.category-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 12px;
}

.category-list {
    list-style: disc;
    padding-left: 25px;
    margin: 0;
}

.category-list li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 8px;
}

.category-list li a {
    color: #4169E1;
    text-decoration: none;
}

.category-list li a:hover {
    text-decoration: underline;
}

.category-list li.highlight {
    color: #d9534f;
    font-weight: 600;
}

/* Scrollbar Styling */
.scrolling-sidebar::-webkit-scrollbar {
    width: 8px;
}

.scrolling-sidebar::-webkit-scrollbar-track {
    background: #000000;
}

.scrolling-sidebar::-webkit-scrollbar-thumb {
    background: #ffd700;
    border-radius: 4px;
}

.scrolling-sidebar::-webkit-scrollbar-thumb:hover {
    background: #c09563;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
    }

    .scrolling-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        border-left: none;
        border-top: 3px solid #d4a574;
    }

    .main-content {
        padding: 40px 30px;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 30px 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .scrolling-sidebar {
        padding: 30px 20px;
    }

    .placeholder-text {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }

    .category-title {
        font-size: 1rem;
    }

    .category-list li {
        font-size: 0.9rem;
    }
}

/* ===================================
   YAP Page
   =================================== */
   .YAP-content {
      font-family: 'Tajawal', sans-serif;
   }

   
   .YAP-wrapper { 
    display: grid;
    grid-template-columns: 2.8fr 1fr;
    gap: 1rem;
    align-items: center;
   }



/* ===================================
   Section Styles
   =================================== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    font-family:  'Tajawal', sans-serif;
    margin-bottom: 3rem;
    position: relative;
}

.section-title {
    font-family:  'Tajawal', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-family:  'Tajawal', sans-serif;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 1rem;
    transition: var(--transition);
}

.view-all-link:hover {
    gap: 1rem;
    color: var(--primary-dark);
}

/* ===================================
   Projects Section
   =================================== */
.projects-section {
    background: var(--bg-light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
}

.project-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}


.project-card:hover .project-overlay {
    opacity: 1;
}

.btn-read-more {
    background: var(--bg-white);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.5rem;
    font-family:  'Tajawal', sans-serif;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.project-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-meta i {
    color: var(--primary-color);
}

/* ===================================
   About Section
   =================================== */
.about-section {
    background: var(--bg-white);
}

.About-section-title {
    font-family: 'Tajawal', sans-serif; 
    font-size: 4rem;
    color: #E67600;

}
.about-wrapper {
    display: grid;
    grid-template-columns: 2.8fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content {
    animation: fadeInLeft 1s ease;
}

.about-text {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-light);
    line-height: 2;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.stat-label {
    color: #E67600;
    font-size: 1.4rem;
    margin-top: 1rem;
    font-weight: 400;
}

.about-image {
    animation: fadeInRight 1s ease;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===================================
   Events Section
   =================================== */
.events-section {
    background: var(--bg-light);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.event-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 10px;
    padding: 1rem;
    min-width: 80px;
    height: fit-content;
}

.event-day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.event-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.event-description {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-meta i {
    color: var(--primary-color);
}


/* ===================================
   Palm Trees
   =================================== */
.Palm-img {
    height: 1000px;
    width: 490px;
}

.Palm-wrapper {
    display: grid;
    grid-template-columns: 10fr 15fr;
    gap: 1rem;
    align-items: center;
}

.Palms-a-donation-title { 
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #f26122;
    line-height: 1;
}
 .Palms-a-donation-content {
    animation: fadeInLeft 1s ease;
 }

 .palms-text {
    font-size: 1rem;
    margin-bottom: 2.5rem;
    color: var(--text-light);
    line-height: 2;
 }

 .farafra {
    width: 750px;
    height: 450px;
 }
/* ===================================
   Newsletter Section
   =================================== */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--bg-white);
}

.newsletter-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.newsletter-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.newsletter-form {
    position: relative;
}

.form-group {
    display: flex;
    gap: 1rem;
}

.form-group input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus {
    outline: 3px solid rgba(255,255,255,0.5);
}

.form-group button {
    padding: 1rem 2rem;
    background: var(--bg-white);
    color: var(--primary-color);
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.form-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    background: rgba(40,167,69,0.2);
    border: 1px solid #28a745;
    color: #fff;
    display: block;
}

.form-message.error {
    background: rgba(220,53,69,0.2);
    border: 1px solid #dc3545;
    color: #fff;
    display: block;
}

/* ===================================
   Donate Section
   =================================== */
.donate-section {
    background: var(--bg-white);
}

.donate-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.donate-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.donate-options {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.donate-amount {
    padding: 0.75rem 2rem;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.donate-amount:hover,
.donate-amount.selected {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.donate-custom {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    font-size: 1rem;
    font-family: inherit;
    width: 200px;
    text-align: center;
}

.donate-custom:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ===================================
   Get Involved Section
   =================================== */
.involve-section {
    background: var(--bg-light);
}

.get-involved-section-title {
    font-family: 'Tajawal', sans-serif; 
    font-size: 4rem;
    color: #E67600;
    transition: text-shadow 0.3s ease, color 0.3s ease;
    animation: glow 3s ease-in-out infinite alternate;

    @keyframes glow {
        from {
            text-shadow: 0 0 5px #E67600, 0 0 10px #E67600, 0 0 15px #E67600;
        }
        to {
            text-shadow: 0 0 20px #ffffff, 0 0 30px #E67600, 0 0 40px #E67600;
        }
    }
}
.get-involved-section-title:hover {
    text-shadow: 0 0 10px #E67600, 0 0 20px #ffffff, 0 0 30px #E67600;
    color: #E67600
}
.involve-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.involve-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.involve-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.involve-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--bg-white);
}

.involve-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.involve-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.involve-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.involve-link:hover {
    gap: 1rem;
    color: var(--primary-dark);
}

.social-share {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-share a {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: var(--transition);
}

.social-share a:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-3px);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--text-dark);
    color: var(--bg-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--bg-white);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--bg-white);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-newsletter p {
    margin-bottom: 0.75rem;
    color: rgba(255,255,255,0.8);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: rgba(255,255,255,0.8);
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* ===================================
   Page Header
   =================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--bg-white);
    padding: 7rem 0 1rem;
    margin-top: 5px;
    text-align: center;
}

.page-title {
    font-family:  'Tajawal', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
}

.page-subtitle-2 {
    font-size: 3rem;
}

.projects-page-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.project-category {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

/* ===================================
   Scroll to Top Button
   =================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        gap: 1rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .logo img {
        height: 60px;
        max-width: 220px;
    }

    .logo {
        font-size: 1.3rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-wrapper,
    .newsletter-wrapper {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .form-group {
        flex-direction: column;
    }

    .form-group button {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .projects-grid,
    .events-grid,
    .involve-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .donate-options {
        flex-direction: column;
        align-items: stretch;
    }

    .donate-amount,
    .donate-custom {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 500px;
        margin-top: 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .logo img {
        height: 50px;
        max-width: 180px;
    }

    .logo {
        font-size: 1.2rem;
    }
}

