:root {
    --primary: #5d93e4;
    --secondary: #f5f7fa;
    --accent: #ff6b6b;
    --text: #333;
    --light-text: #666;
    --white: #fff;
    --dark-blue: #2c3e50;
    --emergency: #ff4757;
    --success: #4CAF50;
    --link-color: #64b5f6;
    --depression-blue: #3a7ca5;
    --timeline-color: #e0f2f8;
}

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

body {
    background-color: var(--secondary);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: #4a7bc8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

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

.btn-accent:hover {
    background-color: #e05555;
}

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

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

section {
    padding: 80px 0;
}

h1, h2, h3, h4 {
    margin-bottom: 20px;
    font-weight: 700;
}

p {
    margin-bottom: 15px;
    color: var(--light-text);
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo span {
    color: var(--accent);
}

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

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 1001;
}

.mobile-menu .bar {
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.mobile-menu .bar:nth-child(1) {
    top: 0;
}

.mobile-menu .bar:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu .bar:nth-child(3) {
    bottom: 0;
}

.mobile-menu.active .bar:nth-child(1) {
    transform: translateY(13.5px) rotate(45deg);
}

.mobile-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu.active .bar:nth-child(3) {
    transform: translateY(-13.5px) rotate(-45deg);
}

/* Page Header with Parallax */
.page-header {
    position: relative;
    padding: 180px 0 100px;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.parallax-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(45, 104, 156, 0.8), rgba(45, 104, 156, 0.8)), 
                url('https://images.unsplash.com/photo-1506126613408-eca07ce68773?ixlib=rb-1.2.1&auto=format&fit=crop&w=1200&q=80') no-repeat center center/cover;
    z-index: -1;
    transform: translateZ(0);
    will-change: transform;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.page-header p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.9);
}

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

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--depression-blue);
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--depression-blue);
}

.section-header p {
    font-size: 18px;
    margin-top: 20px;
}

/* Timeline Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background-color: var(--timeline-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--depression-blue);
    border: 4px solid var(--timeline-color);
    z-index: 1;
}

.timeline-content {
    width: calc(50% - 40px);
    padding: 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    left: calc(50% + 40px);
}

.timeline-content h3 {
    color: var(--depression-blue);
    font-size: 20px;
}

.timeline-item.future .timeline-dot {
    background-color: var(--accent);
}

.timeline-item.future .timeline-content h3 {
    color: var(--accent);
}

/* Mission Section */
.mission-section {
    background-color: var(--white);
}

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

.mission-card {
    background-color: var(--secondary);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.mission-card.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.mission-icon {
    width: 80px;
    height: 80px;
    background-color: var(--depression-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 30px;
    transition: all 0.3s ease;
}

.mission-card:hover .mission-icon {
    background-color: var(--accent);
    transform: rotate(15deg) scale(1.1);
}

.mission-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* Team Section */
.team-section {
    background-color: var(--secondary);
}

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

.team-member {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.team-member.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.member-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.social-links {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: rgba(58, 124, 165, 0.8);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.team-member:hover .social-links {
    bottom: 0;
}

.social-links a {
    color: var(--white);
    margin: 0 10px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

.team-member h3 {
    font-size: 20px;
    text-align: center;
    margin-top: 20px;
}

.position {
    color: var(--depression-blue);
    text-align: center;
    font-weight: 600;
    margin-bottom: 15px;
}

.bio {
    padding: 0 20px 20px;
    text-align: center;
}

/* Impact Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(30px);
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--depression-blue);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    color: var(--light-text);
}

/* Testimonials Section */
.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 1s ease;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-content {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.testimonial-content p {
    font-size: 20px;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
}

.testimonial-content p:before,
.testimonial-content p:after {
    content: '"';
    font-size: 40px;
    color: var(--depression-blue);
    opacity: 0.3;
    position: absolute;
}

.testimonial-content p:before {
    top: -20px;
    left: -10px;
}

.testimonial-content p:after {
    bottom: -40px;
    right: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.testimonial-author h4 {
    margin-bottom: 5px;
    font-size: 18px;
}

.testimonial-author p {
    font-size: 14px;
    color: var(--light-text);
    margin: 0;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.slider-prev,
.slider-next {
    background-color: transparent;
    border: none;
    color: var(--depression-blue);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-prev:hover,
.slider-next:hover {
    background-color: var(--depression-blue);
    color: var(--white);
}

.slider-dots {
    display: flex;
    margin: 0 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--depression-blue);
    transform: scale(1.2);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--depression-blue) 0%, #2c5f82 100%);
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
}

.cta-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-content h2 {
    font-size: 36px;
    color: var(--white);
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

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

.cta-buttons .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

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

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

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

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

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

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

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-links i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

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

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

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

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

.footer-bottom a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 40px 40px;
        transition: left 0.3s ease;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .mobile-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .page-header p {
        font-size: 18px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .timeline:before {
        left: 30px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        left: 70px;
        width: calc(100% - 90px);
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .header-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .header-buttons .btn,
    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
        margin-bottom: 10px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-author img {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 150px 0 80px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .mission-grid,
    .team-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-content {
        padding: 30px 20px;
    }
    
    .testimonial-content p {
        font-size: 18px;
    }
}
