
/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #e7592a;
    --secondary-color: #02b290;
    --accent-color: #3498db;
    --dark-color: #2c3e50;
    --light-color: #f4f4f4;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --gray-color: #6c757d;
    --text-color: #333;
    --light-text: #f8f9fa;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

body {
    font-family: 'Montserrat', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f8f9fa;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--dark-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

.highlight {
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #d24e20;
    box-shadow: 0 7px 20px rgba(231, 89, 42, 0.3);
    transform: translateY(-3px);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: #029679;
    box-shadow: 0 7px 20px rgba(2, 178, 144, 0.3);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header.light h2 {
    color: white;
}

.section-description {
    max-width: 700px;
    margin: 0 auto 20px;
    font-size: 1.1rem;
    color: var(--gray-color);
}

.section-header.light .section-description {
    color: rgba(255, 255, 255, 0.8);
}

.underline {
    height: 4px;
    width: 80px;
    background: var(--primary-color);
    margin: 0 auto 20px;
    position: relative;
}

.underline::before, .underline::after {
    content: '';
    position: absolute;
    height: 4px;
    width: 15px;
    background: var(--secondary-color);
}

.underline::before {
    left: -20px;
}

.underline::after {
    right: -20px;
}

section {
    padding: 100px 0;
    position: relative;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo h1 {
    font-size: 2.5rem;
    margin: 0;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo p {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-top: -5px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    padding: 10px 0;
    font-weight: 600;
    position: relative;
    color: var(--dark-color);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

nav ul li a.active, nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after, nav ul li a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1624032335862-3f8c0f53d0b1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1170&q=80') no-repeat center center/cover;
    height: 100vh;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0;
    overflow: hidden;
}

#hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(44, 62, 80, 0.7), rgba(231, 89, 42, 0.7));
}

.hero-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 2;
}

#hero h2 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

#hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.stat-box {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: var(--border-radius);
    padding: 20px 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.stat-box p {
    font-size: 1rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-down a {
    color: white;
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* About Section */
.about-content {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.about-text, .about-image {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 10px;
}

.about-text h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
}

.values-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.value-item {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px 15px;
    text-align: center;
    flex: 1;
    min-width: 120px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--primary-color);
}

.value-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.value-item h4 {
    font-size: 1rem;
    margin: 0;
}

.image-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.image-placeholder {
    background-color: #e0e0e0;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    color: var(--gray-color);
    font-weight: 500;
    background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.full-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s ease;
}

.gallery-item:hover .full-image {
    transform: scale(1.1);
}

.image-placeholder i {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.floating-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Programs Section */
#programs {
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

#programs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e7592a' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.2;
}

.program-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-top: 5px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-icon-container {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 1.8rem;
    position: relative;
    z-index: 2;
}

.card:nth-child(2) {
    border-top-color: var(--secondary-color);
}

.card:nth-child(2) .card-icon-container {
    background: var(--secondary-color);
}

.card:nth-child(3) {
    border-top-color: var(--accent-color);
}

.card:nth-child(3) .card-icon-container {
    background: var(--accent-color);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.card p {
    color: var(--gray-color);
    margin-bottom: 20px;
    line-height: 1.7;
}

.program-features {
    margin-bottom: 25px;
}

.program-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.program-features li i {
    color: var(--success-color);
    margin-right: 10px;
}

.program-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.program-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.program-link:hover i {
    transform: translateX(5px);
}

/* Impact Section */
.parallax-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1504711434969-e33886168f5c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1170&q=80') no-repeat fixed center center/cover;
    color: white;
    position: relative;
}

.parallax-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(231, 89, 42, 0.7));
}

.impact-stories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.story {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: var(--border-radius);
    padding: 30px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.story:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.quote-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.1);
}

.testimonial {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    margin-right: 15px;
    overflow: hidden;
    position: relative;
}

.author-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.author-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.partners-section {
    text-align: center;
    margin-top: 60px;
}

.partners-section h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: white;
}

.partners-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.partner-logo {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 30px;
    border-radius: var(--border-radius);
    min-width: 150px;
    text-align: center;
    font-weight: 600;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.partner-image {
    max-width: 100%;
    max-height: 40px;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.partner-logo:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Gallery Section */
.gallery-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    color: var(--dark-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary-color);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    cursor: pointer;
    height: 250px;
}

.gallery-item .image-placeholder {
    height: 250px;
    transition: transform 0.5s ease;
    border-radius: 0;
}

.gallery-item:hover .image-placeholder {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
}

.gallery-overlay p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.contact-info, .contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-info h3, .contact-form h3 {
    margin-bottom: 30px;
    color: var(--primary-color);
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 15px;
}

.contact-info h3:after, .contact-form h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.icon-container {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 20px;
    font-size: 1.2rem;
    transition: var(--transition);
}

.contact-item:hover .icon-container {
    transform: scale(1.1) rotate(10deg);
}

.contact-details h4 {
    margin: 0 0 5px 0;
    color: var(--dark-color);
}

.contact-details p {
    margin: 0;
    color: var(--gray-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(231, 89, 42, 0.2);
}

.form-group textarea {
    resize: vertical;
}

/* Newsletter Section */
#newsletter {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1170&q=80') no-repeat fixed center center/cover;
}

.newsletter-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.newsletter-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: white;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
}

.newsletter-form button {
    padding: 0 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #d24e20;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 15px;
}

.footer-motto {
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4:after, .footer-contact h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #d24e20;
    transform: translateY(-5px);
}

/* Animation enhancements */
.card, .stat-box, .story, .gallery-item, .contact-item, .value-item {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.4s ease, 
                border-color 0.3s ease;
}

/* Header Scroll Effect */
header {
    transition: all 0.4s ease;
}

header.scrolled {
    padding: 5px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Additional African-Inspired Patterns */
#about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e7592a' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.2;
    z-index: -1;
}

#contact::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e7592a' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.2;
    z-index: -1;
}

/* Enhanced Button Styles */
.btn-primary, .btn-secondary, .social-link, .filter-btn {
    position: relative;
    overflow: hidden;
}

.btn-primary::after, .btn-secondary::after, .social-link::after, .filter-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:active::after, .btn-secondary:active::after, .social-link:active::after, .filter-btn:active::after {
    width: 300px;
    height: 300px;
    opacity: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    #hero h2 {
        font-size: 3.2rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-top: 40px;
    }
    
    .value-item {
        min-width: 110px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }
    
    .hamburger {
        display: block;
    }
    
    nav ul {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: white;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        transition: var(--transition);
        z-index: 100;
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
        margin: 10px 0;
        text-align: center;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    #hero h2 {
        font-size: 2.5rem;
    }
    
    #hero p {
        font-size: 1.2rem;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: var(--border-radius);
        padding: 15px;
    }
    
    .copyright {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 500px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .card {
        padding: 25px 20px;
    }
    
    .contact-info, .contact-form {
        padding: 30px 20px;
    }
    
    .contact-item {
        flex-direction: column;
    }
    
    .icon-container {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .values-container {
        gap: 10px;
    }
    
    .value-item {
        min-width: 100px;
        padding: 10px;
    }
}

/* Latest News Section */
#latest-news {
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

#latest-news::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e7592a' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.2;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.news-item {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 25px;
}

.news-date {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.news-content h3 {
    color: var(--dark-color);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.news-content p {
    color: var(--gray-color);
    margin-bottom: 20px;
    line-height: 1.7;
}

.news-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.news-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.news-link:hover i {
    transform: translateX(5px);
}

/* Enhanced Image Effects */
.full-image {
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover .full-image,
.news-item:hover .news-image img,
.about-image:hover .full-image {
    transform: scale(1.1);
}

/* Enhanced Interactive Elements */
.btn, .social-link, .card, .gallery-item, .news-item {
    position: relative;
    overflow: hidden;
}

.btn::after, .social-link::after, .card::after, .gallery-item::after, .news-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    transform: scale(0);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    pointer-events: none;
}

.btn:active::after, .social-link:active::after, .card:active::after, .gallery-item:active::after, .news-item:active::after {
    transform: scale(2);
    opacity: 1;
    transition: 0s;
}

/* Update Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    cursor: pointer;
    height: 250px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-image {
        height: 200px;
    }
}

@media (max-width: 500px) {
    .news-content {
        padding: 20px 15px;
    }
    
    .news-content h3 {
        font-size: 1.2rem;
    }
}

/* Form Message Styles */
.form-message {
    padding: 15px;
    margin-top: 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    animation: fadeIn 0.5s ease forwards;
}

.form-message.success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border-left: 4px solid #28a745;
}

.form-message.error {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-left: 4px solid #dc3545;
}

.form-message.fade-out {
    animation: fadeOut 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-10px); }
}

/* Improved Image Loading */
img {
    opacity: 0;
    transition: opacity 0.5s ease;
}

img.loaded {
    opacity: 1;
}

/* Enhanced Button Effects */
.btn, .social-link, .filter-btn {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn:before, .social-link:before, .filter-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    transition: height 0.3s ease;
    z-index: -1;
}

.btn:hover:before, .social-link:hover:before, .filter-btn:hover:before {
    height: 100%;
}

/* News Item Enhancements */
.news-item {
    position: relative;
    z-index: 1;
}

.news-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 2;
}

.news-item:hover:before {
    transform: scaleX(1);
}

.news-item:nth-child(2):before {
    background: var(--secondary-color);
}

.news-item:nth-child(3):before {
    background: var(--accent-color);
} 