/*
 * INNOVATION HUB SECTIONS
 * Specialized styles for innovation/tech hub website
 */

/* ============================================
   PROGRAMS & SERVICES SECTION
   ============================================ */
.programs-section {
    position: relative;
    overflow: hidden;
}

.program-card {
    background: white;
    border-radius: 25px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #5bc1ac, #667eea, #764ba2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(91, 193, 172, 0.25);
    border-color: rgba(91, 193, 172, 0.3);
}

.program-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(91, 193, 172, 0.1), rgba(102, 126, 234, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #5bc1ac;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.program-card:hover .program-icon {
    background: linear-gradient(135deg, #5bc1ac, #667eea);
    color: var(--golden);
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 10px 30px rgba(91, 193, 172, 0.4);
}

.program-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.program-description {
    color: #717275;
    line-height: 1.8;
    margin-bottom: 20px;
}

.program-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.program-features li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #717275;
}

.program-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #5bc1ac;
    font-weight: bold;
    font-size: 1.2rem;
}

/* ============================================
   STARTUPS SHOWCASE SECTION
   ============================================ */
.startups-showcase {
    background: linear-gradient(135deg, #f0f8ff 0%, #fff 100%);
    position: relative;
}

.startup-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
}

.startup-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.startup-logo-container {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa, #fff);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.startup-logo-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(91, 193, 172, 0.05), rgba(102, 126, 234, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.startup-card:hover .startup-logo-container::before {
    opacity: 1;
}

.startup-logo {
    max-width: 150px;
    max-height: 80px;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: grayscale(100%);
}

.startup-card:hover .startup-logo {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.startup-info {
    padding: 30px;
}

.startup-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.startup-category {
    display: inline-block;
    padding: 6px 15px;
    background: linear-gradient(135deg, rgba(91, 193, 172, 0.1), rgba(102, 126, 234, 0.1));
    color: #5bc1ac;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.startup-description {
    color: #717275;
    line-height: 1.6;
    margin-bottom: 20px;
}

.startup-metrics {
    display: flex;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9eaeb;
}

.startup-metric {
    flex: 1;
    text-align: center;
}

.startup-metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #5bc1ac;
    display: block;
}

.startup-metric-label {
    font-size: 0.75rem;
    color: #717275;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   EVENTS CALENDAR SECTION
   ============================================ */
.events-section {
    background: #fff;
}

.event-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    display: flex;
    margin-bottom: 30px;
    border-left: 5px solid transparent;
}

.event-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 40px rgba(91, 193, 172, 0.2);
    border-left-color: #5bc1ac;
}

.event-date {
    background: linear-gradient(135deg, #5bc1ac, #667eea);
    color: white;
    padding: 10px;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.event-day {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.event-month {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-top: 5px;
}

.event-details {
    padding: 30px;
    flex: 1;
}

.event-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.event-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #717275;
    font-size: 0.9rem;
}

.event-meta-item i {
    color: #5bc1ac;
}

.event-description {
    color: #717275;
    line-height: 1.6;
    margin-bottom: 15px;
}

.event-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.event-tag {
    padding: 5px 12px;
    background: rgba(91, 193, 172, 0.1);
    color: #5bc1ac;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ============================================
   PARTNERS & SPONSORS SECTION
   ============================================ */
.partners-section {
    background: linear-gradient(to bottom, #fff, #f8f9fa);
    position: relative;
    overflow: hidden;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.partner-item {
    background: white;
    padding: 7px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    transition: all 0.4s ease;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.partner-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(91, 193, 172, 0.05), rgba(102, 126, 234, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.partner-item:hover::before {
    opacity: 1;
}

.partner-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(91, 193, 172, 0.15);
}

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

.partner-item:hover .partner-logo {
    /* filter: grayscale(0%) opacity(1); */
    transform: scale(1.1);
}

/* ============================================
   COMMUNITY SECTION
   ============================================ */
.community-section {
    background: var(--gradient-purple-cyan);
    color: white;
    position: relative;
    overflow: hidden;
}

.community-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: communityPattern 30s linear infinite;
}

@keyframes communityPattern {
    from {
        background-position: 0 0, 0 0;
    }
    to {
        background-position: 50px 50px, -50px -50px;
    }
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.community-stat {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.community-stat:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.community-stat-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.community-stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 10px;
}

.community-stat-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

/* ============================================
   SUCCESS STORIES SECTION
   ============================================ */
.success-stories {
    position: relative;
}

.story-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.story-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

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

.story-card:hover .story-image img {
    transform: scale(1.1);
}

.story-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.story-category {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(91, 193, 172, 0.9);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.story-content {
    padding: 30px;
}

.story-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.story-excerpt {
    color: #717275;
    line-height: 1.8;
    margin-bottom: 20px;
}

.story-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #e9eaeb;
}

.story-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.story-author-info {
    flex: 1;
}

.story-author-name {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 3px;
}

.story-author-role {
    font-size: 0.85rem;
    color: #717275;
}

/* ============================================
   TIMELINE SECTION
   ============================================ */
.timeline-section {
    background: linear-gradient(to bottom, #fff, #f0f8ff);
}

.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(to bottom, #5bc1ac, #667eea, #764ba2);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 60px;
    position: relative;
}

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

.timeline-content {
    width: calc(50% - 40px);
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.4s ease;
}

.timeline-content:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(91, 193, 172, 0.2);
}

.timeline-marker {
    position: absolute;
    top: 30px;
    left: 50%;
    width: 30px;
    height: 30px;
    background: white;
    border: 4px solid #5bc1ac;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 10px rgba(91, 193, 172, 0.1);
    z-index: 1;
}

.timeline-year {
    font-size: 1.2rem;
    font-weight: 800;
    color: #5bc1ac;
    margin-bottom: 10px;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.timeline-description {
    color: #717275;
    line-height: 1.6;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item:nth-child(odd) .timeline-content {
        margin-left: 60px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
    }

    .timeline-marker {
        left: 30px;
    }

    .event-card {
        flex-direction: column;
    }

    .event-date {
        min-width: 100%;
        /* padding: 20px; */
    }
}
