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

:root {
    --primary-blue: #1E88E5;
    --dark-blue: #0D47A1;
    --light-blue: #64B5F6;
    --mint-blue: #E3F2FD;
    --golden-yellow: #FFC107;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --text-dark: #333333;
    --text-light: #666666;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 50%;
}

.logo i {
    font-size: 28px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-menu a {
    white-space: nowrap;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown > a i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Keep dropdown items in ONE vertical list (overrides the .nav-menu ul flex row) */
.nav-menu ul.dropdown-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    font-size: 14px;
    transition: var(--transition);
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: var(--mint-blue);
    color: var(--primary-blue);
}

.donate-btn {
    white-space: nowrap;
    background: var(--golden-yellow);
    color: var(--text-dark);
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: url('./images/hero-children.webp') center/cover no-repeat;
    min-height: calc(100vh - 70px);
    padding: 70px 0;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 70px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
}

.hero-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 6px solid var(--white);
    box-shadow: 16px 16px 0 var(--golden-yellow), 0 20px 50px rgba(0, 0, 0, 0.3);
}

[dir="rtl"] .hero-media img {
    box-shadow: -16px 16px 0 var(--golden-yellow), 0 20px 50px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

.btn-primary {
    background: var(--golden-yellow);
    color: var(--text-dark);
    border: none;
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--text-dark);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--white);
}

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

.service-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background: var(--mint-blue);
    transition: var(--transition);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 30px;
    color: var(--white);
}

.service-card h3 {
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-size: 20px;
}

.service-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
    color: var(--dark-blue);
    font-size: 36px;
    margin-bottom: 20px;
}

.about-text > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.mission-vision {
    display: grid;
    gap: 20px;
}

.mv-card {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.mv-icon {
    width: 50px;
    height: 50px;
    background: var(--golden-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mv-icon i {
    font-size: 22px;
    color: var(--text-dark);
}

.mv-card h3 {
    color: var(--dark-blue);
    margin-bottom: 10px;
    font-size: 18px;
}

.mv-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.learn-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.learn-more:hover {
    color: var(--dark-blue);
}

/* Programs Section */
.programs {
    padding: 80px 0;
    background: var(--white);
}

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

.section-header h2 {
    color: var(--dark-blue);
    font-size: 36px;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 25px;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.program-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

.program-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.program-card h3 {
    color: var(--dark-blue);
    padding: 20px 20px 10px;
    font-size: 20px;
}

.program-card p {
    color: var(--text-light);
    padding: 0 20px 20px;
    font-size: 14px;
}

.program-card .learn-more {
    display: inline-block;
    padding: 0 20px 20px;
}

/* Projects Section */
.projects {
    padding: 80px 0;
    background: var(--mint-blue);
}

.projects-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 10px;
    margin: 0 -10px;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.projects-carousel::-webkit-scrollbar {
    display: none;
}

.project-card {
    flex: 0 0 calc((100% - 60px) / 4);
    min-width: 230px;
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

.project-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.project-icon i {
    font-size: 26px;
    color: var(--white);
}

.project-card h3 {
    color: var(--dark-blue);
    margin-bottom: 10px;
    font-size: 18px;
}

.project-card .location {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.project-card .location i {
    color: var(--primary-blue);
    margin-right: 5px;
}

.status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status.ongoing {
    background: var(--light-blue);
    color: var(--dark-blue);
}

.status.completed {
    background: var(--golden-yellow);
    color: var(--text-dark);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.carousel-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--primary-blue);
    background: var(--white);
    color: var(--primary-blue);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-btn:hover:not(:disabled) {
    background: var(--primary-blue);
    color: var(--white);
}

.carousel-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.carousel-controls.no-scroll {
    visibility: hidden;
}

/* Only four projects show until "View All Projects" is clicked */
.projects-carousel:not(.expanded) .project-extra {
    display: none;
}

@media (max-width: 992px) {
    .project-card { flex-basis: calc((100% - 20px) / 2); }
}

@media (max-width: 600px) {
    .project-card { flex-basis: 100%; }
}

/* Impact Section */
.impact {
    padding: 80px 0;
    background: var(--dark-blue);
}

.impact .section-header h2,
.impact .section-header p {
    color: var(--white);
}

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

.impact-card {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.impact-icon {
    width: 70px;
    height: 70px;
    background: var(--golden-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.impact-icon i {
    font-size: 30px;
    color: var(--text-dark);
}

.impact-card h3 {
    color: var(--golden-yellow);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.impact-card p {
    color: var(--white);
    font-size: 18px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: var(--white);
}

.testimonials-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.testimonials-carousel::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    min-width: 350px;
    background: var(--light-gray);
    padding: 40px;
    border-radius: 10px;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 40px;
    color: var(--light-blue);
    opacity: 0.5;
}

.testimonial-card p {
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 25px;
    padding-top: 30px;
    line-height: 1.8;
}

.author h4 {
    color: var(--dark-blue);
    font-size: 18px;
    margin-bottom: 5px;
}

.author span {
    color: var(--text-light);
    font-size: 14px;
}

/* News Section */
.news {
    padding: 80px 0;
    background: var(--light-gray);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card {
    position: relative;
}

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--golden-yellow);
    padding: 10px 15px;
    border-radius: 5px;
    text-align: center;
}

.news-date span:first-child {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.news-date span:last-child {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
}

.news-card h3 {
    color: var(--dark-blue);
    padding: 20px 20px 10px;
    font-size: 18px;
}

.news-card p {
    color: var(--text-light);
    padding: 0 20px 20px;
    font-size: 14px;
}

.news-card .read-more {
    display: inline-block;
    padding: 0 20px 20px;
}

/* CTA Section */
.cta {
    background: url('https://images.unsplash.com/photo-1509099836639-18ba1795216d?w=1920') center/cover no-repeat;
    padding: 100px 0;
    position: relative;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 71, 161, 0.9);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

/* Footer */
footer {
    background: var(--dark-blue);
    padding: 60px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-logo .logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 50%;
}

.footer-logo i {
    font-size: 28px;
}

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

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

.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(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--golden-yellow);
    color: var(--text-dark);
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: var(--golden-yellow);
}

.footer-section ul li i {
    color: var(--golden-yellow);
    margin-right: 10px;
}

/* Services Section Header */
.services .section-header {
    margin-bottom: 50px;
}

/* Donate Page Styles */
.donate-page {
    padding: 120px 0 80px;
    background: var(--light-gray);
}

.donate-content-single {
    max-width: 800px;
    margin: 0 auto;
}

.donate-content-single h1 {
    color: var(--dark-blue);
    font-size: 42px;
    margin-bottom: 20px;
    text-align: center;
}

.donate-content-single > p {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.8;
    text-align: center;
}

.donation-impact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.impact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.impact-item i {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
}

.impact-item span {
    color: var(--text-dark);
    font-weight: 500;
}

.contact-cta {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-cta h2 {
    color: var(--dark-blue);
    font-size: 28px;
    margin-bottom: 15px;
}

.contact-cta > p {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 30px;
}

.contact-info-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--mint-blue);
    border-radius: 10px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
}

.contact-item span {
    color: var(--text-dark);
    font-weight: 600;
}

@media (max-width: 768px) {
    .donation-impact {
        grid-template-columns: 1fr;
    }
    
    .donate-content-single h1 {
        font-size: 32px;
    }
}

/* Program Detail Page Styles */
.program-detail {
    padding: 120px 0 80px;
    background: var(--light-gray);
}

/* Contact Section Styles */
.contact-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-info .contact-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-info .contact-item h3 {
    color: var(--dark-blue);
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-info .contact-item p {
    color: var(--text-light);
    font-size: 15px;
}

.contact-form-container {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 15px;
}

.contact-form-container h3 {
    color: var(--dark-blue);
    font-size: 24px;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form .form-group label {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

[dir="rtl"] .contact-form .form-group input[type="tel"] {
    direction: rtl;
    text-align: right;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.contact-form .form-group textarea {
    resize: vertical;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* News Detail Page Styles */
.news-detail {
    padding: 120px 0 80px;
    background: var(--light-gray);
}

.news-detail-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.news-header {
    text-align: center;
    margin-bottom: 40px;
}

.news-date-large {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    border-radius: 50%;
    color: var(--white);
    margin-bottom: 20px;
}

.news-date-large span:first-child {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.news-date-large span:nth-child(2) {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

.news-date-large span:nth-child(3) {
    font-size: 12px;
    font-weight: 500;
}

.news-header h1 {
    color: var(--dark-blue);
    font-size: 36px;
    margin-bottom: 10px;
}

.news-meta {
    color: var(--text-light);
    font-size: 14px;
}

.news-image {
    margin-bottom: 40px;
}

.news-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-body p {
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.news-body h2 {
    color: var(--dark-blue);
    font-size: 28px;
    margin: 30px 0 15px;
}

.news-body ul {
    list-style: none;
    margin: 20px 0;
}

.news-body ul li {
    color: var(--text-dark);
    font-size: 15px;
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.news-body ul li i {
    position: absolute;
    left: 0;
    color: var(--primary-blue);
}

.news-cta {
    margin-top: 40px;
    padding: 30px;
    background: var(--mint-blue);
    border-radius: 10px;
    text-align: center;
}

.news-cta p {
    color: var(--dark-blue);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 20px;
}

.news-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

@media (max-width: 768px) {
    .news-detail-content {
        padding: 30px;
    }
    
    .news-header h1 {
        font-size: 28px;
    }
}

/* Language Selector Styles */
.language-selector {
    position: fixed;
    bottom: 88px;
    right: 20px;
    z-index: 1000;
}

/* Floating WhatsApp button (below the language selector) */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.whatsapp-float:hover {
    background: #1EBE5A;
    transform: scale(1.08);
}

.lang-dropdown {
    padding: 10px 15px;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    min-width: 150px;
}

.lang-dropdown:hover {
    background: var(--dark-blue);
}

.lang-dropdown option {
    background: var(--white);
    color: var(--text-dark);
}

/* RTL Support for Arabic */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .nav-menu ul {
    gap: 20px;
}

[dir="rtl"] .logo {
    flex-direction: row-reverse;
}

[dir="rtl"] .service-icon i,
[dir="rtl"] .mv-icon i,
[dir="rtl"] .impact-item i,
[dir="rtl"] .contact-item i,
[dir="rtl"] .news-body ul li i {
    margin-right: 0;
    margin-left: 10px;
}

[dir="rtl"] .service-icon,
[dir="rtl"] .mv-icon,
[dir="rtl"] .impact-item,
[dir="rtl"] .contact-item,
[dir="rtl"] .news-body ul li {
    padding-left: 0;
    padding-right: 30px;
}

[dir="rtl"] .news-body ul li i {
    left: auto;
    right: 0;
}

.detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.detail-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.detail-text h1 {
    color: var(--dark-blue);
    font-size: 42px;
    margin-bottom: 10px;
}

.detail-text .subtitle {
    color: var(--primary-blue);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.detail-text > p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.detail-text h2 {
    color: var(--dark-blue);
    font-size: 28px;
    margin-bottom: 15px;
    margin-top: 30px;
}

.detail-text ul {
    list-style: none;
    margin-bottom: 20px;
}

.detail-text ul li {
    color: var(--text-dark);
    font-size: 15px;
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.detail-text ul li i {
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    margin-right: 10px;
}

.detail-cta {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .detail-content {
        grid-template-columns: 1fr;
    }
    
    .detail-text h1 {
        font-size: 32px;
    }
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
}

.newsletter-form button {
    width: 45px;
    height: 45px;
    background: var(--golden-yellow);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

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

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

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

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .programs-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        transition: var(--transition);
        padding: 30px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .cta-content h2 {
        font-size: 32px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons button {
        width: 100%;
    }

    /* Mobile Dropdown Styles */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light-gray);
        padding: 0;
        margin-top: 5px;
        display: none;
    }

    .nav-menu ul.dropdown-menu {
        display: none;
        align-items: stretch;
    }

    .nav-menu .dropdown.active ul.dropdown-menu {
        display: flex;
        flex-direction: column;
    }

    .dropdown-menu a {
        padding: 12px 20px;
        font-size: 14px;
    }

    .dropdown > a i {
        transform: rotate(0deg);
    }

    .dropdown.active > a i {
        transform: rotate(180deg);
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-grid {
        grid-template-columns: 1fr;
    }
    
    .mv-card {
        flex-direction: column;
        text-align: start;
    }
}

/* RTL support for program detail pages */
[dir="rtl"] .detail-text ul li {
    padding-left: 0;
    padding-right: 30px;
}

[dir="rtl"] .detail-text ul li i {
    left: auto;
    right: 0;
    margin-right: 0;
    margin-left: 10px;
}

/* ========== Round 2: impact, partnership, forms, donate, footer ========== */
[dir="rtl"] .fa-arrow-right,
[dir="rtl"] .footer-links i {
    transform: scaleX(-1);
}

.impact-card h3 { font-size: 48px; }
.impact-card:hover { background: rgba(255, 255, 255, 0.16); }

/* Partnership */
.partnership {
    padding: 70px 0;
    background: var(--white);
}

.partnership-card {
    display: flex;
    align-items: center;
    gap: 35px;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--mint-blue), #ffffff);
    border: 1px solid #cfe5fb;
    box-shadow: 0 10px 30px rgba(13, 71, 161, 0.08);
}

.partnership-badge {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--dark-blue);
    background: var(--dark-blue);
    color: var(--golden-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    flex-shrink: 0;
}

.partnership-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary-blue);
    margin-bottom: 4px;
}

.partnership-body h2 {
    font-size: 40px;
    letter-spacing: 3px;
    color: var(--dark-blue);
    line-height: 1.2;
}

.partnership-body h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.partnership-body p { color: var(--text-light); }

@media (max-width: 640px) {
    .partnership-card { flex-direction: column; text-align: center; padding: 30px 20px; }
}

/* Contact / donate forms */
.contact-section,
.donate-page {
    background: #f4f8fd;
}

.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(13, 71, 161, 0.12);
    border-top: 5px solid var(--golden-yellow);
}

.contact-form .form-group label { color: var(--dark-blue); }

.contact-form .form-group input,
.contact-form .form-group textarea {
    background: #f7faff;
    border: 2px solid #dbe7f5;
    border-radius: 10px;
    padding: 13px 16px;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    background: var(--white);
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.15);
}

.honeypot { display: none !important; }

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    font: 600 16px 'Poppins', sans-serif;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    box-shadow: 0 8px 20px rgba(13, 71, 161, 0.3);
}

.btn-submit:disabled { opacity: 0.6; cursor: wait; }

.form-status {
    display: none;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
}

.form-status.info,
.form-status.success,
.form-status.error { display: block; }
.form-status.info { background: #e3f2fd; color: #0d47a1; }
.form-status.success { background: #e8f5e9; color: #1b5e20; }
.form-status.error { background: #ffebee; color: #b71c1c; }

/* Donate page */
.donate-page { padding: 80px 0; }

.donate-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: start;
}

.donate-intro h1 {
    color: var(--dark-blue);
    font-size: 42px;
    margin-bottom: 15px;
}

.donate-intro > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.donate-intro .contact-info { display: grid; gap: 20px; }

@media (max-width: 900px) {
    .donate-layout { grid-template-columns: 1fr; }
    .contact-form-container { padding: 28px 20px; }
}

/* Footer */
footer {
    background: linear-gradient(160deg, #0b3d91 0%, #0D47A1 50%, #082f6f 100%);
    border-top: 5px solid var(--golden-yellow);
    padding: 70px 0 0;
    color: var(--white);
}

footer .footer-content {
    grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr;
    gap: 40px;
    margin-bottom: 50px;
}

footer .footer-logo { margin-bottom: 18px; }

footer .footer-logo .logo-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: none;
    border-radius: 0;
}

footer .footer-logo span { font-size: 28px; letter-spacing: 1px; }

footer .footer-section h3 {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 22px;
}

footer .footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 40px;
    height: 3px;
    border-radius: 3px;
    background: var(--golden-yellow);
}

.footer-follow {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    margin: 4px 0 12px;
}

.social-links a { width: 42px; height: 42px; font-size: 16px; }
.social-links a:hover { transform: translateY(-3px); }

.footer-links li a,
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    text-decoration: none;
}

.footer-links li a { align-items: center; }
.footer-links li a i { font-size: 10px; color: var(--golden-yellow); margin: 0; }
.footer-links li a:hover { color: var(--golden-yellow); transform: translateX(4px); }
[dir="rtl"] .footer-links li a:hover { transform: translateX(-4px); }

.footer-contact li { margin-bottom: 14px; }
.footer-contact li i { color: var(--golden-yellow); margin: 4px 0 0; width: 16px; text-align: center; }
.footer-contact li a { color: inherit; text-decoration: none; word-break: break-all; }
.footer-contact li a:hover { color: var(--golden-yellow); }

footer .newsletter-form input { border-radius: 8px; min-width: 0; }
footer .newsletter-form button { border-radius: 8px; }

footer .footer-bottom {
    background: rgba(0, 0, 0, 0.22);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 0;
    text-align: center;
}

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

@media (max-width: 992px) {
    footer .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
    footer .footer-content { grid-template-columns: 1fr; }
}

.news-card .read-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.news-card .read-more:hover { color: var(--dark-blue); }

.partnership-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* "Back to ..." buttons on light detail pages were white-on-light: make them visible */
.detail-cta .btn-secondary,
.news-cta .btn-secondary {
    background: transparent;
    color: var(--dark-blue);
    border: 2px solid var(--dark-blue);
}

.detail-cta .btn-secondary:hover,
.news-cta .btn-secondary:hover {
    background: var(--dark-blue);
    color: var(--white);
}

.detail-cta,
.news-cta {
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-media {
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }
    .hero-media img {
        box-shadow: 10px 10px 0 var(--golden-yellow), 0 15px 40px rgba(0, 0, 0, 0.3);
    }
}

@media (max-width: 768px) {
    .hero { padding: 40px 0 50px; }
    .hero h1 { font-size: 28px; }
    .language-selector { bottom: 80px; right: 14px; }
    .whatsapp-float { right: 14px; bottom: 14px; }
    .lang-dropdown { min-width: 120px; padding: 8px 10px; }
}

@media (min-width: 769px) and (max-width: 1150px) {
    .nav-menu ul { gap: 10px; }
    .nav-menu a { font-size: 12.5px; }
    .donate-btn { padding: 10px 16px; font-size: 13px; }
    .logo { font-size: 20px; }
    .header-content { gap: 10px; }
}

@media (min-width: 1151px) {
    .header-content { gap: 24px; }
    .nav-menu ul { gap: 16px; }
    .nav-menu a { font-size: 13.5px; }
}

@media (min-width: 1151px) {
    .header-content { gap: 18px; }
    .nav-menu ul { gap: 13px; }
    .nav-menu a { font-size: 13px; }
    .donate-btn { padding: 12px 22px; }
}

/* Hero: full-width photo with dark overlay, text on the left */
.hero-inner { display: block; }
.hero-content { max-width: 720px; }
.hero h1 { font-size: 48px; }
@media (max-width: 768px) { .hero h1 { font-size: 28px; } }

/* Arabic: keep round icons perfectly centered (no RTL padding/margins) */
[dir="rtl"] .service-icon,
[dir="rtl"] .mv-icon,
[dir="rtl"] .impact-icon,
[dir="rtl"] .project-icon {
    padding: 0;
}
[dir="rtl"] .service-icon i,
[dir="rtl"] .mv-icon i,
[dir="rtl"] .impact-icon i,
[dir="rtl"] .project-icon i {
    margin: 0;
}
.mv-card p { text-align: start; }
