/* pages.css - Professional Redesign for Otacho Hands of Grace */

/* Color Variables - Enhanced with additional shades */
:root {
    --primary: #F39C12;      /* Warm orange - hope and compassion */
    --primary-light: #FDEBD0;
    --primary-dark: #E67E22;
    
    --secondary: #27AE60;    /* Earthy green - growth and sustainability */
    --secondary-light: #D5F5E3;
    --secondary-dark: #229954;
    
    --accent: #2980B9;       /* Strong blue - trust and action (for CTAs) */
    --accent-light: #D6EAF8;
    --accent-dark: #2471A3;
    
    --light: #FDFEFE;        /* Light background */
    --dark: #2C3E50;         /* Dark blue for text */
    --dark-light: #566573;
    
    --neutral: #EDBB99;      /* Warm neutral - earth tone */
    --neutral-light: #FDEBD0; /* Light warm neutral */
    --neutral-dark: #DC7633;
    
    --gray-100: #F8F9F9;
    --gray-200: #EBEDEF;
    --gray-300: #D5D8DC;
    --gray-400: #A6ACAF;
    --gray-500: #85929E;
    --gray-600: #707B7C;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    line-height: 1.7;
    background-color: var(--light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--dark);
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 2.2rem;
}

h4 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--dark-light);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
    color: var(--primary);
}

a:hover {
    color: var(--primary-dark);
}

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

section {
    padding: 100px 0;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    gap: 8px;
}

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

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

.btn-primary {
    background-color: var(--accent);
    color: white;
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--primary);
    color: white;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

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

/* Section Styles */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 2px;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 800px;
    margin: 30px auto 0;
    line-height: 1.8;
}

/* Header Styles */
.top-bar {
    background-color: var(--dark);
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
    position: relative;
    z-index: 1001;
}

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

.top-contact span {
    margin-right: 25px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.top-contact i {
    color: var(--primary);
}

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

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

.social-links a:hover {
    color: var(--primary);
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

header {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

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

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

.logo h1 {
    font-size: 2.2rem;
    margin: 0;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 10px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    padding: 12px 18px;
    border-radius: 6px;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: var(--gray-100);
}

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 70%;
}

.donate-btn {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 8px;
}

.donate-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--dark);
    background: none;
    border: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('img/about-hero-bg.jpg') center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 120px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(243, 156, 18, 0.3), rgba(39, 174, 96, 0.3));
    z-index: 0;
}

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

.hero-content {
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    line-height: 1.8;
    animation: fadeInUp 1s ease;
}

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

.hero-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: rotate(-2deg);
    transition: all 0.5s ease;
}

.hero-image:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
}

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

.hero-image::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary);
    border-radius: 20px;
    z-index: -1;
    transition: all 0.5s ease;
}

.hero-image:hover::after {
    bottom: 10px;
    right: 10px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    position: relative;
}

.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: var(--dark);
    line-height: 1.3;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: rotate(2deg);
    transition: all 0.5s ease;
}

.about-image:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
}

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

.about-image::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--secondary);
    border-radius: 20px;
    z-index: -1;
    transition: all 0.5s ease;
}

.about-image:hover::after {
    top: 10px;
    left: 10px;
}

/* Programs Section */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.program-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--gray-200);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.program-icon {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    font-size: 3.5rem;
    position: relative;
    overflow: hidden;
}

.program-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.program-card:hover .program-icon::before {
    transform: rotate(45deg) translate(20px, 20px);
}

.program-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.program-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark);
    position: relative;
    padding-bottom: 15px;
}

.program-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.program-content p {
    margin-bottom: 25px;
    flex-grow: 1;
}

.program-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 600;
    transition: all 0.3s ease;
}

.program-link:hover {
    color: var(--accent-dark);
    gap: 12px;
}

/* Impact Stats Section */
.impact-stats {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('img/impact-bg.jpg') center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: white;
    position: relative;
    overflow: hidden;
}

.impact-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(243, 156, 18, 0.3), rgba(39, 174, 96, 0.3));
    z-index: 0;
}

.impact-stats .container {
    position: relative;
    z-index: 1;
}

.impact-stats .section-title h2 {
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-box {
    padding: 40px 25px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

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

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.stat-box:hover::before {
    transform: translateX(100%);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
}

.stat-box p {
    font-size: 1.1rem;
    margin: 0;
    color: white;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100" opacity="0.1"><circle cx="50" cy="50" r="40" stroke="white" fill="none" /></svg>');
    background-size: 200px;
}

.cta-section h2 {
    font-size: 3.2rem;
    margin-bottom: 25px;
    color: white;
}

.cta-section p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
}

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

.cta-btn {
    background-color: white;
    color: var(--primary);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary);
    transition: width 0.4s ease;
    z-index: -1;
}

.cta-btn:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

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

.footer:before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 200px;
    background: var(--dark);
    transform: skewY(-3deg);
    z-index: -1;
}

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

.footer-col h3 {
    color: white;
    margin-bottom: 30px;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
}

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

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    display: block;
    position: relative;
    padding-left: 20px;
}

.footer-links a:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    transition: transform 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 30px;
}

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

.footer-contact li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 15px;
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 5px;
}

.newsletter-form {
    display: flex;
    margin-top: 25px;
    position: relative;
    border-radius: 50px;
    overflow: hidden;
    background: rgba(255,255,255,0.1);
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background: transparent;
    outline: none;
    font-family: 'Open Sans', sans-serif;
    color: white;
}

.newsletter-input::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-btn:hover {
    background: var(--primary-dark);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.social-icons a:hover {
    background-color: var(--primary);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding: 30px 0;
    margin-top: 70px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255,255,255,0.6);
}

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

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

/* NEW STYLES FOR SPECIFIC PAGES */

/* About Page Styles */
.about-intro {
    background: var(--gray-100);
}

.highlight-box {
    background: linear-gradient(to right, var(--primary-light), var(--secondary-light));
    padding: 30px;
    border-radius: 16px;
    border-left: 4px solid var(--primary);
    margin-bottom: 30px;
}

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

.history-highlight {
    background: var(--gray-100);
    padding: 25px;
    border-radius: 16px;
    margin: 25px 0;
    border-left: 4px solid var(--secondary);
}

/* Programs Page Styles */
.program-item {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-200);
    padding: 30px;
}

.program-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.program-status {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
}

.program-status.completed {
    background-color: var(--secondary);
    color: white;
}

.program-status.ongoing {
    background-color: var(--primary);
    color: white;
}

.program-status.future {
    background-color: var(--accent);
    color: white;
}

.program-stats {
    background: linear-gradient(to right, rgba(243, 156, 18, 0.1), rgba(39, 174, 96, 0.1));
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.program-stats h6 {
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.program-stats ul {
    padding-left: 20px;
}

.program-stats li {
    margin-bottom: 8px;
    color: var(--dark-light);
}

/* Page Header for All Pages */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('img/about-hero-bg.jpg') center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 180px 0 100px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(243, 156, 18, 0.3), rgba(39, 174, 96, 0.3));
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 25px;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
    animation: fadeInUp 1s ease;
    flex-wrap: wrap;
}

.breadcrumb-item {
    margin: 0 8px;
    font-size: 1.1rem;
}

.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s;
}

.breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-item.active {
    color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: white;
    margin-right: 15px;
}

/* Contact Page Styles */
.contact-section {
    background: var(--gray-100);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: 8px;
    color: var(--dark);
}

.contact-details p, 
.contact-details a {
    color: var(--dark-light);
    margin-bottom: 0;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
}

.form-notice {
    background: var(--gray-100);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 0.9rem;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 450px;
}

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

/* Donate Page Styles */
.hero-cta {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('img/donate-hero.jpg') center center/cover no-repeat;
    color: white;
    padding: 120px 0;
    text-align: center;
}

.hero-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-cta h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
}

.hero-cta p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.9);
}

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

.donation-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s;
    border: 1px solid var(--gray-200);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.donation-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.donation-icon {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    font-size: 3rem;
}

.donation-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.donation-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 10px 0;
}

.donation-impact {
    margin: 20px 0;
    flex-grow: 1;
}

.donation-impact h4 {
    color: var(--dark);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.donation-impact ul {
    padding-left: 20px;
}

.donation-impact li {
    margin-bottom: 8px;
    color: var(--dark-light);
}

.bank-details-section {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

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

.bank-info-card {
    background: var(--gray-100);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.bank-info-card h4 {
    color: var(--dark);
    margin-bottom: 15px;
}

.bank-info-card p {
    margin-bottom: 8px;
}

/* Gallery Page Styles */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.gallery-filter .btn {
    background: var(--gray-100);
    color: var(--dark);
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.gallery-filter .btn.active,
.gallery-filter .btn:hover {
    background: var(--primary);
    color: white;
}

.category-section {
    margin-bottom: 80px;
}

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

.category-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s;
    position: relative;
}

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

.gallery-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.gallery-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.4s;
}

.gallery-card:hover .gallery-content {
    transform: translateY(0);
}

.gallery-content h3 {
    color: white;
    margin-bottom: 10px;
}

/* Impact Page Styles */
.impact-hero {
    background: var(--gray-100);
    padding: 80px 0;
}

.impact-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.impact-hero-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.impact-hero-image img {
    width: 100%;
    height: auto;
}

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

.testimonial-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s;
}

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

.testimonial-img {
    height: 250px;
    overflow: hidden;
}

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

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

.testimonial-content {
    padding: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 25px;
    gap: 15px;
}

.testimonial-author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details h4 {
    margin-bottom: 5px;
    color: var(--dark);
}

.author-details p {
    margin-bottom: 0;
    color: var(--gray-500);
}

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

.achievement-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.4s;
}

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

.achievement-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.achievement-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    margin-bottom: 15px;
}

.education-impact {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

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

.education-stat {
    text-align: center;
    padding: 25px;
    background: var(--gray-100);
    border-radius: 12px;
}

.education-stat h3 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.gratitude-section {
    background: var(--gray-100);
    padding: 60px;
    border-radius: 16px;
    text-align: center;
}

.gratitude-section h2 {
    color: var(--primary);
    margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 960px;
    }

    .hero .container,
    .about-content,
    .history-content,
    .impact-hero .container,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-image,
    .about-image,
    .impact-hero-image {
        order: -1;
    }

    .section-title h2 {
        font-size: 2.5rem;
    }

    .page-header h1 {
        font-size: 3.2rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: var(--dark);
        flex-direction: column;
        padding-top: 100px;
        transition: right 0.4s ease;
        z-index: 1000;
        gap: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
        text-align: center;
        width: 100%;
    }

    .nav-links a {
        color: white;
        font-size: 1.3rem;
        padding: 15px 0;
        width: 100%;
        display: block;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 720px;
    }

    .section {
        padding: 80px 0;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .page-header h1 {
        font-size: 2.8rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-text h2 {
        font-size: 2.2rem;
    }

    .programs-grid,
    .stats-grid,
    .testimonial-grid,
    .achievement-grid,
    .education-stats {
        grid-template-columns: 1fr;
    }

    .cta-section h2 {
        font-size: 2.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 540px;
        padding: 0 15px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .page-header {
        padding: 120px 0 80px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 2.8rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1.1rem;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .gallery-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
}