/*
 * About THEDI Page Styles
 */

.about-thedi-section {
    padding: 60px 0;
    background: #ffffff;
}

.dark-theme .about-thedi-section {
    background: #1a1a1a;
    color: #eeeff1;
}

/* Intro Content */
.intro-content {
    margin-bottom: 40px;
}

.intro-content .lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: #333333;
    line-height: 1.8;
}

.dark-theme .intro-content .lead {
    color: #e0e0e0;
}

.intro-content .text-muted {
    color: #6c757d;
    line-height: 1.8;
}

.dark-theme .intro-content .text-muted {
    color: #b0b0b0;
}

/* Stats Section */
.stats-section {
    position: relative;
    overflow: hidden;
}

.stat-card {
    padding: 20px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon-wrapper {
    margin-bottom: 15px;
}

.stat-icon-bg {
    background: rgba(0, 75, 107, 0.1);
    border-radius: 50%;
}

.dark-theme .stat-icon-bg {
    background: rgba(81, 177, 70, 0.15);
}

.stat-number {
    color: #004b6b;
    font-weight: 700;
}

.dark-theme .stat-number {
    color: #51b146;
}

.stat-label {
    color: #6c757d;
    font-size: 0.9rem;
}

.dark-theme .stat-label {
    color: #b0b0b0;
}

/* VMV Section */
.vmv-section {
    margin-bottom: 60px;
}

.vmv-card {
    background: #ededed;
    border: 1px solid #d9d7d7 !important;
    transition: all 0.3s ease;
    height: 100%;
}

.vmv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 75, 107, 0.1);
}

.dark-theme .vmv-card {
    background: #2a2a2a;
    border-color: #444444;
}

.dark-theme .vmv-card:hover {
    box-shadow: 0 10px 30px rgba(81, 177, 70, 0.2);
}

.vmv-icon {
    margin-bottom: 20px;
}

.icon-wrapper {
    background: rgba(0, 75, 107, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dark-theme .icon-wrapper {
    background: rgba(81, 177, 70, 0.15);
}

.vmv-card h3 {
    color: #004b6b;
    font-weight: 700;
    margin-bottom: 15px;
}

.dark-theme .vmv-card h3 {
    color: #eeeff1;
}

.vmv-card p {
    color: #6c757d;
    line-height: 1.8;
    margin: 0;
}

.dark-theme .vmv-card p {
    color: #b0b0b0;
}

/* Story Section */
.story-section {
    position: relative;
    overflow: hidden;
}

.dark-theme .story-section {
    background: linear-gradient(135deg, rgba(81, 177, 70, 0.1) 0%, rgba(0, 75, 107, 0.2) 100%);
    border-top-color: rgba(81, 177, 70, 0.2);
    border-bottom-color: rgba(81, 177, 70, 0.2);
}

.story-content h2 {
    color: #004b6b;
    font-weight: 700;
    margin-bottom: 20px;
}

.dark-theme .story-content h2 {
    color: #eeeff1;
}

.story-content p {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 15px;
}

.dark-theme .story-content p {
    color: #b0b0b0;
}

.legal-badge {
    background: #ffffff;
    border-left: 4px solid #004b6b;
    color: #333333;
}

.dark-theme .legal-badge {
    background: #2a2a2a;
    border-left-color: #51b146;
    color: #eeeff1;
}

.legal-badge i {
    color: #004b6b;
}

.dark-theme .legal-badge i {
    color: #51b146;
}

.legal-badge strong {
    color: #004b6b;
}

.dark-theme .legal-badge strong {
    color: #51b146;
}

/* Story Visual */
.story-visual {
    background: rgba(0, 75, 107, 0.1);
    border-radius: 20px;
    padding: 30px;
}

.dark-theme .story-visual {
    background: rgba(81, 177, 70, 0.1);
}

.feature-box {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 75, 107, 0.1);
}

.dark-theme .feature-box {
    background: #2a2a2a;
    border: 1px solid #444444;
}

.dark-theme .feature-box:hover {
    box-shadow: 0 5px 15px rgba(81, 177, 70, 0.2);
}

.feature-box h5 {
    color: #004b6b;
    font-weight: 600;
    margin: 10px 0 0 0;
}

.dark-theme .feature-box h5 {
    color: #eeeff1;
}

/* Approach Section */
.approach-section {
    margin-bottom: 20px;
}

.approach-section .section-header h2 {
    color: #004b6b;
    font-weight: 700;
    margin-bottom: 15px;
}

.dark-theme .approach-section .section-header h2 {
    color: #eeeff1;
}

.approach-section .section-header p {
    color: #6c757d;
}

.dark-theme .approach-section .section-header p {
    color: #b0b0b0;
}

.approach-card {
    background: #ededed;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.approach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 75, 107, 0.1);
}

.dark-theme .approach-card {
    background: #2a2a2a;
    border-color: #444444;
}

.dark-theme .approach-card:hover {
    box-shadow: 0 10px 30px rgba(81, 177, 70, 0.2);
}

.approach-card h4 {
    color: #004b6b;
    font-weight: 600;
    margin-bottom: 15px;
}

.dark-theme .approach-card h4 {
    color: #eeeff1;
}

.approach-card p {
    color: #6c757d;
    line-height: 1.8;
    margin: 0;
}

.dark-theme .approach-card p {
    color: #b0b0b0;
}

/* Legal Section */
.legal-section {
    position: relative;
    overflow: hidden;
}

.dark-theme .legal-section {
    background: linear-gradient(135deg, rgba(0, 75, 107, 0.4) 0%, rgba(81, 177, 70, 0.5) 100%);
    border-top-color: rgba(81, 177, 70, 0.2);
}

.legal-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 40px;
}

.dark-theme .legal-card {
    background: #2a2a2a;
    border-color: #444444;
}

.legal-icon i {
    color: #004b6b;
}

.dark-theme .legal-icon i {
    color: #51b146;
}

.legal-card h3 {
    color: #004b6b;
    font-weight: 700;
    margin-bottom: 20px;
}

.dark-theme .legal-card h3 {
    color: #eeeff1;
}

.legal-card p {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 15px;
}

.dark-theme .legal-card p {
    color: #b0b0b0;
}

.legal-card .text-muted {
    color: #6c757d;
}

.dark-theme .legal-card .text-muted {
    color: #b0b0b0;
}

.legal-card strong {
    color: #004b6b;
}

.dark-theme .legal-card strong {
    color: #51b146;
}

.dark-theme .legal-card .text-primary {
    color: #51b146 !important;
}

/* Partners Carousel Section */
.partners-section {
    position: relative;
    overflow: hidden;
}

.partners-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.partners-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.partners-track {
    display: flex;
    animation: scroll 30s linear infinite;
    gap: 40px;
    width: fit-content;
}

.partners-carousel:hover .partners-track {
    animation-play-state: paused;
}

.partner-item {
    flex-shrink: 0;
    width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.partner-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.dark-theme .partner-image-wrapper {
    background: #2a2a2a;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.partner-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 75, 107, 0.15);
}

.dark-theme .partner-image-wrapper:hover {
    box-shadow: 0 5px 20px rgba(81, 177, 70, 0.2);
}

.partner-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* filter: grayscale(100%); */
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-image-wrapper:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 75, 107, 0.95), transparent);
    color: #ffffff;
    padding: 15px 10px 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    text-align: center;
}

.dark-theme .partner-title-overlay {
    background: linear-gradient(to top, rgba(81, 177, 70, 0.95), transparent);
}

.partner-image-wrapper:hover .partner-title-overlay {
    transform: translateY(0);
}

.partner-title {
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-thedi-section {
        padding: 40px 0;
    }
    
    .intro-content .lead {
        font-size: 1.1rem;
    }
    
    .stat-card {
        margin-bottom: 20px;
    }
    
    .vmv-card,
    .approach-card {
        margin-bottom: 20px;
    }
    
    .legal-card {
        padding: 30px 20px;
    }
    
    .partner-item {
        width: 150px;
        height: 90px;
    }
    
    .partners-track {
        gap: 20px;
    }
    
    .partner-title {
        font-size: 0.75rem;
    }
}

