/* =========================================
   Table of Contents:
   1. Hero Section
   2. Mission Section
   3. Programs Section
   4. Testimonial Section
   5. Stats Section
   6. Partner Section
   7. Media Queries
   ========================================= */

/* 1. Hero Section
   ========================================= */
   .os-hero-section {
    position: relative;
    background-color: var(--os-primary);
    color: white;
    overflow: hidden;
}

.os-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(11, 58, 109, 0.7),
        rgba(11, 58, 109, 0.3)
    );
    z-index: 1;
}

.os-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 600px;
    background-color: var(--os-primary);
}

.os-hero-text {
    padding: 4rem;
    max-width: 600px;
    margin: 0 auto;
}

.os-hero-image {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.os-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 2. Mission Section
   ========================================= */
.os-mission-section .os-card {
    height: 100%;
    transition: all 0.5s ease;
}

.os-mission-section .os-card:hover {
    background-color: var(--os-primary);
    color: white;
    transition: all 0.5s ease;
}

.os-mission-section .os-card:hover .card-title,
.os-mission-section .os-card:hover .card-text {
    color: white;
    transition: all 0.5s ease;
}

.os-mission-section .os-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--os-secondary);
    transition: all 0.3s ease;
}

.os-mission-section .os-card:hover .os-card-icon {
    color: white;
}

/* 3. Programs Section
   ========================================= */
.os-programs-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.os-programs-section .os-card {
    height: 100%;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.os-programs-section .os-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.os-programs-section .card-body {
    padding: 2rem;
}

.os-programs-section .card-title {
    color: var(--os-primary);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.os-programs-section .card-text {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.os-programs-section .list-unstyled li {
    margin-bottom: 0.5rem;
}

.os-programs-section .fas {
    color: var(--os-secondary);
}

.os-programs-section .os-card:first-child {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.os-programs-section .os-card:last-child {
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
}

.os-programs-section .os-card:first-child .card-title,
.os-programs-section .os-card:last-child .card-title {
    color: var(--os-primary-dark);
}

.os-programs-section .os-card:first-child .card-text,
.os-programs-section .os-card:last-child .card-text {
    color: #4a4a4a;
}

.os-programs-section .os-card:first-child .fas,
.os-programs-section .os-card:last-child .fas {
    color: var(--os-primary);
}

/* 4. Testimonial Section
   ========================================= */
.os-testimonial-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.os-testimonial-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.os-testimonial-icon {
    font-size: 2rem;
    color: var(--os-secondary);
    margin-bottom: 20px;
}

.os-testimonial-text {
    font-style: italic;
    color: #4a4a4a;
    font-size: 1.1rem;
    line-height: 1.6;
    flex-grow: 1;
}

.os-testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.os-testimonial-name {
    font-weight: bold;
    color: var(--os-primary);
    margin-bottom: 0;
}

.os-testimonial-info {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* 5. Stats Section
   ========================================= */
.os-stats-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.os-stat-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
}

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

.os-stat-icon {
    font-size: 3rem;
    color: var(--os-secondary);
    margin-right: 20px;
}

.os-stat-content {
    flex-grow: 1;
}

.os-stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--os-primary);
    margin-bottom: 10px;
}

.os-stat-description {
    color: #4a4a4a;
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0;
}

.os-stats-source {
    font-style: italic;
    color: #6c757d;
}

/* 6. Partner Section
   ========================================= */
.os-partner-section {
    background-color: #f8f9fa;
    padding: 80px 0;
    overflow: hidden;
}

.os-partner-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.os-partner-track {
    display: flex;
    animation: scroll 30s linear infinite;
}

.os-partner-item {
    flex: 0 0 200px;
    margin: 0 20px;
    transition: all 0.3s ease;
}

.os-partner-logo {
    max-width: 100%;
    height: auto;
    /* filter: grayscale(100%); */
    transition: all 0.3s ease;
}

.os-partner-item:hover .os-partner-logo {
    filter: grayscale(0%);
    transform: scale(1.1);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-220px * 5)); }
}

/* 7. Media Queries
   ========================================= */
@media (max-width: 991.98px) {
    .os-hero-content {
        min-height: auto;
        padding: 4rem 2rem;
        text-align: center;
    }
    
    .os-hero-image {
        height: 400px;
    }
    
    .os-hero-text {
        padding: 2rem;
    }
}

@media (max-width: 767.98px) {
    .os-hero-image {
        height: 300px;
    }
    
    .os-stat-card {
        flex-direction: column;
        text-align: center;
    }

    .os-stat-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .os-stat-number {
        font-size: 2rem;
    }
    
    .os-testimonial-card {
        margin-bottom: 30px;
    }
    
    .os-partner-item {
        flex: 0 0 150px;
        margin: 0 15px;
    }

    @keyframes scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-165px * 5)); }
    }
}