:root {
    --primary-color: #00A8E8;
    --primary-dark: #0088BB;
    --secondary-color: #2C3E50;
    --text-dark: #1a1a1a;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 12px 32px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 168, 232, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
    padding: 12px 32px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.btn-outline-light {
    border-width: 2px;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.navbar {
    padding: 1rem 0;
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.navbar-brand img {
    height: 50px;
    margin-right: 12px;
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: rgba(0, 168, 232, 0.1);
    color: var(--primary-color);
}

.hero-section {
    position: relative;
    min-height: 600px;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 168, 232, 0.7), rgba(0, 136, 187, 0.6));
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-buttons .btn {
    margin: 0.5rem;
}

.stats-section {
    background-color: var(--primary-color);
}

.stat-item {
    padding: 1.5rem;
}

.stat-icon {
    opacity: 0.9;
}

.initiatives-section {
    padding: 5rem 0;
}

.initiative-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.initiative-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.initiative-image {
    height: 240px;
    overflow: hidden;
}

.initiative-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.initiative-card:hover .initiative-image img {
    transform: scale(1.05);
}

.impact-section {
    padding: 5rem 0;
}

.allocation-item .progress {
    background-color: #e9ecef;
    border-radius: 10px;
}

.allocation-item .progress-bar {
    background-color: var(--primary-color);
    border-radius: 10px;
}

.story-card {
    border-radius: var(--border-radius);
}

.story-card img {
    width: 100%;
    max-width: 150px;
}

.newsletter-section {
    padding: 5rem 0;
}

.newsletter-form input {
    border-radius: var(--border-radius);
    border: none;
    padding: 0.75rem 1.25rem;
}

.newsletter-form .btn {
    border-radius: var(--border-radius);
    font-weight: 600;
}

.footer {
    background-color: #1a1a1a;
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0 1rem;
}

.footer h5 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    padding-top: 2rem;
}

.hero-about, .hero-achievements, .hero-testimonials, .hero-contact {
    background: linear-gradient(135deg, rgba(0, 168, 232, 0.9), rgba(0, 136, 187, 0.9)), 
                url('../images/hero-bg.jpg') center/cover no-repeat;
}

.min-vh-50 {
    min-height: 50vh;
}

.purpose-card, .value-card {
    transition: var(--transition);
}

.purpose-card:hover, .value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.trustee-card {
    transition: var(--transition);
}

.trustee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.trustee-image {
    height: 350px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.trustee-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.beneficiary-card {
    transition: var(--transition);
}

.beneficiary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.beneficiary-image {
    height: 250px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.beneficiary-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-filters .nav-link {
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    background-color: transparent;
    border: 2px solid #e9ecef;
    margin: 0 0.5rem;
    transition: var(--transition);
}

.testimonial-filters .nav-link.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.testimonial-filters .nav-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.video-wrapper {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.video-overlay {
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: var(--transition);
}

.video-wrapper:hover .video-overlay {
    opacity: 1;
}

.testimonial-card {
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.contact-info-card {
    border: 1px solid #e9ecef;
}

.contact-form-card {
    border: 1px solid #e9ecef;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 168, 232, 0.25);
}

.navbar.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
        padding-top: 100px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        padding-top: 20px;
    }
    
    .stats-section .stat-item {
        padding: 1rem;
    }
    
    .navbar-brand img {
        height: 40px;
    }
    
    .testimonial-filters .nav-link {
        margin: 0.25rem;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .trustee-image, .beneficiary-image {
        height: 200px;
    }
}

.trustee-bio {
    position: relative;
}

.bio-preview, .bio-full {
    transition: opacity 0.3s ease;
}

.read-more-btn {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    text-decoration: none;
    transform: translateX(4px);
}

.read-more-btn .arrow-icon {
    transition: transform 0.3s ease;
    display: inline-block;
}

.read-more-btn:focus {
    outline: none;
    box-shadow: none;
}

/* Initiatives Page Styles */
.hero-initiatives {
    background: linear-gradient(135deg, rgba(0, 168, 232, 0.9), rgba(0, 136, 187, 0.9)), 
                url('../images/hero-bg.jpg') center/cover no-repeat;
}

.initiative-detail {
    position: relative;
    overflow: hidden;
}

.initiative-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 168, 232, 0.3);
}

.initiative-detail-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    border-left: 4px solid var(--primary-color);
}

.initiative-detail-card h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.initiative-detail-card h5::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    flex-shrink: 0;
}

.initiative-detail ul {
    padding-left: 0;
    list-style: none;
}

.initiative-detail ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.initiative-detail ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.initiative-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.initiative-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 168, 232, 0.1), transparent);
    pointer-events: none;
}

.initiative-image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.initiative-image-wrapper:hover img {
    transform: scale(1.05);
}

.initiative-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 168, 232, 0.3);
}

.initiatives-nav {
    background: var(--white);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
    z-index: 100;
}

.initiatives-nav a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
    margin-bottom: 0.25rem;
}

.initiatives-nav a:hover,
.initiatives-nav a.active {
    background: rgba(0, 168, 232, 0.1);
    color: var(--primary-color);
}

.initiatives-nav a.active {
    border-left: 3px solid var(--primary-color);
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: 2px;
    margin: 1rem 0 1.5rem;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(0, 168, 232, 0.08), rgba(0, 168, 232, 0.03));
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 1.5rem;
}

.highlight-box p {
    margin-bottom: 0;
    font-size: 1.05rem;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.objective-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border: 1px solid rgba(0, 168, 232, 0.1);
}

.objective-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.objective-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(0, 168, 232, 0.15), rgba(0, 168, 232, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.target-group-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1rem 0;
}

.target-group-item {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
}

@media (max-width: 991px) {
    .initiative-image-wrapper img {
        height: 300px;
    }
    
    .initiative-detail-card {
        padding: 1.5rem;
    }
    
    .initiatives-nav {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .initiative-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .initiative-image-wrapper img {
        height: 250px;
    }
    
    .objectives-grid {
        grid-template-columns: 1fr;
    }
}
