/* ===== HISTORY PAGE SPECIFIC STYLES ===== */

/* History Hero Section */
.vidoolabs-history-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 80px;
}

.vidoolabs-history-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.vidoolabs-history-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.vidoolabs-history-hero-content {
    max-width: 800px;
    color: white;
    text-align: center;
    margin: 0 auto;
}

.vidoolabs-history-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.vidoolabs-history-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Milestones Timeline Section */
.vidoolabs-milestones {
    padding: 6rem 0;
    background: white;
}

.vidoolabs-timeline {
    max-width: 1000px;
    margin: 3rem auto 0;
    position: relative;
}

.vidoolabs-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
    transform: translateX(-50%);
}

.vidoolabs-timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.vidoolabs-timeline-item:nth-child(odd) {
    flex-direction: row;
}

.vidoolabs-timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.vidoolabs-timeline-year {
    flex: 0 0 150px;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #1E3A8A;
    background: white;
    padding: 1.5rem;
    border-radius: 50%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 4px solid #1E3A8A;
    position: relative;
    z-index: 2;
}

.vidoolabs-timeline-content {
    flex: 1;
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    margin: 0 3rem;
    border: 1px solid rgba(30, 58, 138, 0.1);
    position: relative;
}

.vidoolabs-timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 15px solid transparent;
}

.vidoolabs-timeline-item:nth-child(odd) .vidoolabs-timeline-content::before {
    right: -30px;
    border-left-color: white;
    transform: translateY(-50%);
}

.vidoolabs-timeline-item:nth-child(even) .vidoolabs-timeline-content::before {
    left: -30px;
    border-right-color: white;
    transform: translateY(-50%);
}

.vidoolabs-timeline-icon {
    margin-bottom: 1.5rem;
}

.vidoolabs-timeline-icon i {
    font-size: 2.5rem;
    color: #1E3A8A;
    transition: all 0.3s ease;
}

.vidoolabs-timeline-item:hover .vidoolabs-timeline-icon i {
    color: #F97316;
    transform: scale(1.1);
}

.vidoolabs-timeline-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1E3A8A;
    margin-bottom: 1rem;
}

.vidoolabs-timeline-desc {
    color: #6B7280;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.vidoolabs-timeline-achievements {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.vidoolabs-achievement-tag {
    background: rgba(30, 58, 138, 0.1);
    color: #1E3A8A;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Business Expansion Section */
.vidoolabs-business-expansion {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.vidoolabs-expansion-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: center;
}

.vidoolabs-expansion-text {
    padding: 2rem 0;
}

.vidoolabs-expansion-title {
    font-size: 2rem;
    font-weight: 600;
    color: #1E3A8A;
    margin-bottom: 1.5rem;
}

.vidoolabs-expansion-desc {
    color: #6B7280;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.vidoolabs-expansion-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.vidoolabs-expansion-stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(30, 58, 138, 0.1);
    transition: all 0.3s ease;
}

.vidoolabs-expansion-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.vidoolabs-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1E3A8A;
    margin-bottom: 0.5rem;
}

.vidoolabs-stat-label {
    color: #6B7280;
    font-size: 0.875rem;
    font-weight: 500;
}

.vidoolabs-expansion-image {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.vidoolabs-expansion-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vidoolabs-expansion-image:hover img {
    transform: scale(1.05);
}

/* Tech Breakthroughs Section */
.vidoolabs-tech-breakthroughs {
    padding: 6rem 0;
    background: white;
}

.vidoolabs-breakthroughs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.vidoolabs-breakthrough-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 58, 138, 0.1);
    position: relative;
    overflow: hidden;
}

.vidoolabs-breakthrough-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
}

.vidoolabs-breakthrough-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.vidoolabs-breakthrough-icon {
    margin-bottom: 1.5rem;
}

.vidoolabs-breakthrough-icon i {
    font-size: 3rem;
    color: #F97316;
    transition: all 0.3s ease;
}

.vidoolabs-breakthrough-card:hover .vidoolabs-breakthrough-icon i {
    transform: scale(1.1);
}

.vidoolabs-breakthrough-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1E3A8A;
    margin-bottom: 1rem;
}

.vidoolabs-breakthrough-desc {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.vidoolabs-breakthrough-year {
    background: rgba(249, 115, 22, 0.1);
    color: #F97316;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
}

/* Awards Section */
.vidoolabs-awards {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.vidoolabs-awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.vidoolabs-award-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.vidoolabs-award-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.vidoolabs-award-logo {
    margin-bottom: 1.5rem;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vidoolabs-award-logo img {
    max-width: 120px;
    max-height: 120px;
    object-fit: contain;
}

.vidoolabs-award-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1E3A8A;
    margin-bottom: 0.5rem;
}

.vidoolabs-award-organization {
    color: #F97316;
    font-weight: 500;
    margin-bottom: 1rem;
}

.vidoolabs-award-desc {
    color: #6B7280;
    line-height: 1.6;
    font-size: 0.875rem;
}

/* Partnerships Section */
.vidoolabs-partnerships {
    padding: 6rem 0;
    background: white;
}

.vidoolabs-partnerships-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.vidoolabs-partnerships-text {
    padding: 2rem 0;
}

.vidoolabs-partnerships-title {
    font-size: 2rem;
    font-weight: 600;
    color: #1E3A8A;
    margin-bottom: 1.5rem;
}

.vidoolabs-partnerships-desc {
    color: #6B7280;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.vidoolabs-partnership-types {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vidoolabs-partnership-type {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 1rem;
    border-left: 4px solid #10B981;
    transition: all 0.3s ease;
}

.vidoolabs-partnership-type:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.vidoolabs-partnership-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.vidoolabs-partnership-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1E3A8A;
    margin-bottom: 0.5rem;
}

.vidoolabs-partnership-desc {
    color: #6B7280;
    line-height: 1.6;
}

.vidoolabs-partners-logos {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.vidoolabs-partners-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1E3A8A;
    margin-bottom: 2rem;
    text-align: center;
}

.vidoolabs-partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.vidoolabs-partner-logo {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.vidoolabs-partner-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.vidoolabs-partner-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

/* CTA Section */
.vidoolabs-contact-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
    color: white;
}

.vidoolabs-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.vidoolabs-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.vidoolabs-cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.vidoolabs-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design for History Page */
@media (max-width: 1024px) {
    .vidoolabs-history-hero-title {
        font-size: 2.5rem;
    }
    
    .vidoolabs-timeline::before {
        left: 60px;
    }
    
    .vidoolabs-timeline-item {
        flex-direction: row !important;
    }
    
    .vidoolabs-timeline-year {
        flex: 0 0 120px;
        font-size: 1.5rem;
        padding: 1rem;
        margin-right: 2rem;
    }
    
    .vidoolabs-timeline-content {
        margin: 0 2rem;
    }
    
    .vidoolabs-timeline-content::before {
        display: none;
    }
    
    .vidoolabs-expansion-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .vidoolabs-expansion-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vidoolabs-partnerships-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .vidoolabs-history-hero {
        min-height: 50vh;
        margin-top: 70px;
    }
    
    .vidoolabs-history-hero-title {
        font-size: 2rem;
    }
    
    .vidoolabs-history-hero-subtitle {
        font-size: 1rem;
    }
    
    .vidoolabs-timeline::before {
        left: 30px;
    }
    
    .vidoolabs-timeline-year {
        flex: 0 0 60px;
        font-size: 1rem;
        padding: 0.5rem;
        margin-right: 1rem;
    }
    
    .vidoolabs-timeline-content {
        margin: 0 1rem;
        padding: 1.5rem;
    }
    
    .vidoolabs-expansion-stats {
        grid-template-columns: 1fr;
    }
    
    .vidoolabs-breakthroughs-grid {
        grid-template-columns: 1fr;
    }
    
    .vidoolabs-awards-grid {
        grid-template-columns: 1fr;
    }
    
    .vidoolabs-partners-grid {
        grid-template-columns: 1fr;
    }
    
    .vidoolabs-cta-title {
        font-size: 2rem;
    }
    
    .vidoolabs-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .vidoolabs-history-hero-title {
        font-size: 1.75rem;
    }
    
    .vidoolabs-timeline-year {
        flex: 0 0 50px;
        font-size: 0.875rem;
        padding: 0.25rem;
    }
    
    .vidoolabs-timeline-content {
        padding: 1rem;
    }
    
    .vidoolabs-expansion-title,
    .vidoolabs-partnerships-title {
        font-size: 1.5rem;
    }
    
    .vidoolabs-breakthrough-card,
    .vidoolabs-award-item {
        padding: 1.5rem;
    }
    
    .vidoolabs-cta-title {
        font-size: 1.75rem;
    }
}
