/* Global styles */
:root {
    --navy-blue: #1B1E3B;
    --orange: #F29100;
    --dark-blue: #115C94;
    --light-blue: #259ED5;
    --gray-bg: #f5f5f5;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

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

h1, h2, h3, h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--navy-blue);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--dark-blue);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--orange);
    color: white;
}

.btn-primary:hover {
    background-color: #d98100;
}

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

.btn-secondary:hover {
    background-color: #0e4a78;
}

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

/* Header styles */
header {
    background-color: var(--navy-blue);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    direction: ltr !important;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
    direction: ltr !important;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 160px;
    margin-right: 10px;
    border-radius: 50%;
}

.logo span {
    color: white;
    font-size: 2rem;
    font-family: 'Arial', sans-serif;
    font-weight: 600;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo a:hover {
    text-decoration: none;
    color: inherit;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    font-weight: 600;
    color: white;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--orange);
}

.language-toggle {
    display: flex;
    align-items: center;
    font-weight: 600;
    cursor: pointer;
    color: white;
}

.language-toggle i {
    margin-right: 0.5rem;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Page banner */
.page-banner {
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    margin-top: 80px;
}

.page-banner h1 {
    color: white;
    font-size: 3rem;
}

/* Hero section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding: 8rem 0;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: white;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background-color: var(--navy-blue);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--orange);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--orange);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* Responsive styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .page-banner h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}

.volunteer-form {
    padding: 5rem 0;
    background-color: var(--gray-bg);
}

.form-container {
    max-width: 800px;
    margin: 2rem auto 0;
}

/* About page specific styles */
.our-story {
    padding: 5rem 0;
}

.story-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.story-text {
    flex: 1;
}

.story-image {
    flex: 1;
    max-width: 500px;
}

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

.vision {
    padding: 5rem 0;
    background-color: var(--gray-bg);
}

.vision-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.vision-text {
    flex: 1;
}

.vision-image {
    flex: 1;
    max-width: 500px;
}

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

.team {
    padding: 5rem 0;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.member-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.member-info {
    padding: 1.5rem;
}

.member-name {
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--orange);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    margin-bottom: 1rem;
}

.social-links-member {
    display: flex;
    gap: 1rem;
}

.social-links-member a {
    color: var(--navy-blue);
    transition: color 0.3s ease;
}

.social-links-member a:hover {
    color: var(--orange);
}

.values {
    padding: 5rem 0;
    background-color: var(--gray-bg);
}

.values-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.value i {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 1rem;
}

.join-us {
    padding: 5rem 0;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/join-us-bg.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
}

.join-us h2 {
    color: white;
}

/* Responsive styles for About page */
@media (max-width: 768px) {
    .story-content,
    .vision-content {
        flex-direction: column;
    }
    
    .story-image,
    .vision-image {
        max-width: 100%;
    }
    
    .team-members {
        grid-template-columns: 1fr;
    }
}

/* Home page specific styles */
.mission {
    padding: 5rem 0;
    background-color: var(--gray-bg);
}

.mission-content {
    display: flex;
    gap: 4rem;
    margin-top: 3rem;
}

.mission-text {
    flex: 1;
}

.mission-points {
    flex: 1;
}

.mission-points ul li {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.mission-points i {
    color: var(--orange);
    margin-right: 1rem;
    font-size: 1.5rem;
}

.impact {
    padding: 5rem 0;
}

.stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    min-width: 200px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.programs {
    padding: 5rem 0;
    background-color: var(--gray-bg);
}

.program-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.program-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.program-card i {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 1rem;
}

.cta {
    padding: 5rem 0;
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.donation-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.donation-option {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    min-width: 200px;
}

.donation-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 1rem;
}

/* Responsive styles for home page */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .mission-content {
        flex-direction: column;
    }
    
    .stat-item {
        min-width: 150px;
    }
    
    .donation-option {
        width: 100%;
    }
}

/* Contact page specific styles */
.contact-intro {
    padding: 5rem 0;
    background-color: var(--gray-bg);
}

.contact-intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-section {
    padding: 5rem 0;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.contact-form-container {
    flex: 3;
    min-width: 300px;
    background-color: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-info {
    flex: 2;
    min-width: 300px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--light-blue);
}

.form-select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background-color: white;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    transition: border-color 0.3s ease;
}

.form-select:focus {
    outline: none;
    border-color: var(--light-blue);
}

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

.info-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.info-card h3 {
    margin-bottom: 1.5rem;
    color: var(--dark-blue);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-icon {
    color: var(--orange);
    font-size: 1.2rem;
    margin-right: 1rem;
    width: 20px;
    text-align: center;
}

.social-info {
    margin-top: 2rem;
}

.social-info h4 {
    margin-bottom: 1rem;
}

.faq-section {
    padding: 5rem 0;
    background-color: var(--gray-bg);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.faq-question i {
    color: var(--dark-blue);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.faq-item.active .faq-question {
    background-color: rgba(242, 145, 0, 0.05);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.map-section {
    padding: 5rem 0;
}

.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive styles for contact page */
@media (max-width: 768px) {
    .contact-form-container, 
    .contact-info {
        flex: 100%;
    }
}

/* Work page specific styles */
.achievements {
    padding: 5rem 0;
}

.achievements-content {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.achievements-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.stat-box {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 1rem;
}

/* Programs section */
.programs {
    padding: 5rem 0;
    background-color: var(--gray-bg);
}

.programs-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.program-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

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

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-content {
    padding: 1.5rem;
}

/* Gallery section */
.gallery {
    padding: 5rem 0;
}

.gallery-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.gallery-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Stories section */
.stories {
    padding: 5rem 0;
}

.stories-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.stories-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.story-card {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.story-header {
    padding: 1.5rem;
    background-color: var(--dark-blue);
    color: white;
}

.story-header h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.story-content {
    padding: 1.5rem;
}

.story-quote {
    padding: 1rem;
    background-color: rgba(242, 145, 0, 0.1);
    border-left: 4px solid var(--orange);
    margin: 1rem 0;
    font-style: italic;
}

/* Future aspirations */
.future-aspirations {
    padding: 5rem 0;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('images/future-vision.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
}

.future-aspirations h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.future-aspirations p {
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Get involved */
.get-involved {
    padding: 5rem 0;
    text-align: center;
}

.get-involved h2 {
    margin-bottom: 1.5rem;
}

.get-involved p {
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Responsive styles */
@media (max-width: 768px) {
    .stat-box {
        width: 100%;
    }
    
    .program-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-items {
        grid-template-columns: 1fr;
    }
}

/* Add this to your CSS file */
header.preserve-layout {
    direction: ltr !important;
}

header.preserve-layout * {
    direction: inherit;
}

/* Support page specific styles */
.support-intro {
    padding: 5rem 0;
    background-color: var(--gray-bg);
}

.support-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.support-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

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

.support-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.support-card-content {
    padding: 2rem;
}

/* Donation Options Section */
.donation-options {
    padding: 5rem 0;
    background-color: var(--gray-bg);
}

.donation-title {
    text-align: center;
    margin-bottom: 3rem;
}

.donation-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.donation-box {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.donation-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 1rem;
}

.donation-description {
    margin-bottom: 1.5rem;
}

/* Impact Section */
.impact-section {
    padding: 5rem 0;
}

.impact-content {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.impact-text {
    flex: 1;
}

.impact-image {
    flex: 1;
    max-width: 500px;
}

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

.impact-list {
    margin-top: 2rem;
}

.impact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.impact-icon {
    color: var(--orange);
    font-size: 1.5rem;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: var(--gray-bg);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-quote {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author-info h4 {
    margin-bottom: 0.25rem;
}

/* Contact CTA Section */
.contact-cta {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/contact-cta-bg.jpg') center/cover no-repeat;
    color: white;
}

.contact-cta h2 {
    color: white;
    margin-bottom: 1.5rem;
}

/* Responsive styles for support page */
@media (max-width: 768px) {
    .impact-content {
        flex-direction: column;
    }
    
    .impact-image {
        max-width: 100%;
    }
    
    .donation-boxes {
        grid-template-columns: 1fr;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

/* Adjust spacing for content below header */
main, section:first-of-type {
    margin-top: 70px;
}

/* Shared donation card styles */
.donation-option, .donation-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    max-width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.donation-option:hover, .donation-box:hover {
    transform: translateY(-5px);
}

/* CTA section specific styles */
.cta .donation-options {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    margin-top: 3rem;
}

.donation-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.donation-option p, .donation-box p {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Add buttons to CTA donation options */
.donation-option {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.donation-option::after {
    content: "Donate Now";
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--navy-blue);
    color: white;
    border-radius: 5px;
    margin-top: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.donation-option:hover::after {
    background-color: var(--dark-navy);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cta .donation-options {
        flex-direction: column;
        align-items: center;
    }
    
    .donation-option, .donation-box {
        width: 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }
}