/* About Page Specific Styling - Exact Match to Original main.css */

/* Enhanced Section Backgrounds for Better Visual Flow */
.mission,
.founder,
.innovation {
    background: linear-gradient(135deg, #F5F7FA 0%, #FFFFFF 100%);
    position: relative;
    padding: var(--space-6) 0;      /* 48px - consistent section spacing */
}

.mission::before,
.founder::before,
.innovation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 70% 30%, rgba(14, 58, 116, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(45, 166, 110, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.mission .container,
.founder .container,
.innovation .container {
    position: relative;
    z-index: 2;
}

/* Enhanced Founder Section */
.founder {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    padding: var(--space-6) 0;      /* 48px - research maximum */
}

.founder-flex {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
}

.founder-photo {
    position: relative;
}

.founder-photo::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: var(--gradient-primary);
    border-radius: 20px;
    z-index: 1;
}

.founder-photo img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-heavy);
    transition: var(--transition);
}

.founder-photo:hover img {
    transform: translate(10px, 10px);
}

.founder-bio {
    padding: 2rem 0;
}

.founder-name {
    font-size: 1.625rem;            /* 26px - balanced hierarchy */
    font-weight: 700;
    color: var(--deep-atlantic-blue);
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.founder-role {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--royal-wave-blue);
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    background: rgba(23, 104, 212, 0.1);
    border-radius: 25px;
    display: inline-block;
}

.founder-bio p:not(.founder-role) {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Enhanced Team Section */
.team {
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
    position: relative;
    padding: var(--space-6) 0;      /* 48px - research maximum */
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(45, 166, 110, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(14, 58, 116, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.team .container {
    position: relative;
    z-index: 2;
}

/* Team Carousel - Fluid Motion Effect */
.team-carousel-container {
    overflow: hidden;
    position: relative;
    margin: 2rem 0;
    cursor: grab;
}

.team-carousel {
    width: 100%;
    height: auto;
    position: relative;
    /* Temporarily removing mask to test mouse events */
    /*
    mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 0) 0%,
        rgb(0, 0, 0) 12.5%,
        rgb(0, 0, 0) 87.5%,
        rgba(0, 0, 0, 0) 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 0) 0%,
        rgb(0, 0, 0) 12.5%,
        rgb(0, 0, 0) 87.5%,
        rgba(0, 0, 0, 0) 100%
    );
    */
}

.team-track {
    display: flex;
    gap: 2rem;
    will-change: transform;
    width: max-content;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

/* Adjust team cards for carousel */
.team-carousel .team-card {
    flex: 0 0 340px;            /* Wider cards to accommodate longer names */
    min-width: 340px;
    height: 420px;
    margin: 0;
    background: var(--white);
    border-radius: 16px;
    padding: var(--space-3);        /* 24px - comfortable card padding */
    box-shadow: 0 4px 20px rgba(23, 104, 212, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(23, 104, 212, 0.06);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-carousel .team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--royal-wave-blue), var(--gold-signal));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-carousel .team-card:hover::before {
    opacity: 1;
}

.team-carousel .team-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(23, 104, 212, 0.15);
}

.team-carousel .team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid rgba(23, 104, 212, 0.1);
    transition: all 0.3s ease;
}

.team-carousel .team-card:hover .team-photo {
    border-color: var(--royal-wave-blue);
    transform: scale(1.05);
}

.team-carousel .team-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--deep-atlantic-blue);
    margin-bottom: 0.5rem;
    white-space: nowrap;        /* Prevent name wrapping */
    text-align: center;         /* Keep names centered */
    width: 100%;               /* Full width of card */
}

.team-carousel .team-role {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    display: inline-block;
}

.team-carousel .team-bio {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    flex-grow: 1;
    display: flex;
    align-items: center;
    word-wrap: break-word;
    hyphens: auto;
    text-align: center;
    max-width: 100%;
}

/* Special styling for founder card */
.team-carousel .founder-card {
    border: 2px solid transparent;
    background: linear-gradient(var(--white), var(--white)) padding-box,
                linear-gradient(135deg, var(--gold-signal), var(--royal-wave-blue)) border-box;
}

.team-carousel .founder-card::before {
    background: linear-gradient(90deg, var(--gold-signal), var(--royal-wave-blue));
}

.team-carousel .founder-card .team-photo {
    border: 4px solid transparent;
    background: linear-gradient(var(--white), var(--white)) padding-box,
                linear-gradient(135deg, var(--gold-signal), var(--royal-wave-blue)) border-box;
}

.team-carousel .founder-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 50px rgba(255, 159, 28, 0.2);
}

/* AI Specialist - Orange gradient (innovation) */
.team-carousel .team-card:nth-child(2) .team-role,
.team-carousel .team-card:nth-child(8) .team-role {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: var(--white);
}

/* Senior Software Developer - Green gradient (development) */
.team-carousel .team-card:nth-child(3) .team-role,
.team-carousel .team-card:nth-child(9) .team-role {
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--white);
}

/* Academic Advisor - Deep blue gradient (academic) */
.team-carousel .team-card:nth-child(4) .team-role,
.team-carousel .team-card:nth-child(10) .team-role {
    background: linear-gradient(135deg, var(--deep-atlantic-blue), #1e3a8a);
    color: var(--white);
}

/* Executive Director - Purple gradient (executive) */
.team-carousel .team-card:nth-child(5) .team-role,
.team-carousel .team-card:nth-child(11) .team-role {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    color: var(--white);
}

.team-carousel .advisory-card {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid rgba(23, 104, 212, 0.1);
}

.team-carousel .advisory-card .team-name,
.team-carousel .advisory-card .team-role,
.team-carousel .advisory-card .team-bio {
    color: var(--text-dark);
}

.team-carousel .advisory-card .team-role {
    background: linear-gradient(135deg, rgba(23, 104, 212, 0.1), rgba(23, 104, 212, 0.05));
    color: var(--deep-atlantic-blue);
    border: 1px solid rgba(23, 104, 212, 0.2);
}

.team-carousel .advisory-icon {
    font-size: 2rem;                /* 32px - industry standard */
    margin-bottom: 1rem;
    opacity: 0.6;
    transition: all 0.3s ease;
    color: var(--deep-atlantic-blue);
}

.team-carousel .advisory-card:hover .advisory-icon {
    transform: scale(1.1) rotate(5deg);
    opacity: 0.8;
}

.advisory-icon {
    font-size: 2rem;                /* 32px - industry standard */
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
}

.advisory-card:hover .advisory-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Professional placeholder for missing team photos */
.team-photo {
    background: linear-gradient(135deg, var(--mist-grey), #E8F4FD);
    position: relative;
}

.team-photo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
}

.team-photo::after {
    content: '👤';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;                /* 32px - industry standard */
    color: var(--royal-wave-blue);
    opacity: 0.3;
}

/* Hide placeholder when actual image loads */
.team-photo[src*=".jpg"]::before,
.team-photo[src*=".png"]::before,
.team-photo[src*=".jpeg"]::before,
.team-photo[src*=".jpg"]::after,
.team-photo[src*=".png"]::after,
.team-photo[src*=".jpeg"]::after {
    display: none;
}

/* Enhanced team section animations */
.team-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.team-card:nth-child(1) { animation-delay: 0.1s; }
.team-card:nth-child(2) { animation-delay: 0.2s; }
.team-card:nth-child(3) { animation-delay: 0.3s; }
.team-card:nth-child(4) { animation-delay: 0.4s; }
.team-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced role badges with different colors for variety */
.team-card:nth-child(1) .team-role {
    background: linear-gradient(135deg, rgba(45, 166, 110, 0.1), rgba(45, 166, 110, 0.05));
    color: var(--verdant-rise-green);
    border-color: rgba(45, 166, 110, 0.1);
}

.team-card:nth-child(2) .team-role {
    background: linear-gradient(135deg, rgba(255, 159, 28, 0.1), rgba(255, 159, 28, 0.05));
    color: var(--gold-signal);
    border-color: rgba(255, 159, 28, 0.1);
}

.team-card:nth-child(3) .team-role {
    background: linear-gradient(135deg, rgba(23, 104, 212, 0.1), rgba(23, 104, 212, 0.05));
    color: var(--royal-wave-blue);
    border-color: rgba(23, 104, 212, 0.1);
}

.team-card:nth-child(4) .team-role {
    background: linear-gradient(135deg, rgba(14, 58, 116, 0.1), rgba(14, 58, 116, 0.05));
    color: var(--deep-atlantic-blue);
    border-color: rgba(14, 58, 116, 0.1);
}

/* Enhanced Partners Section */
.partners {
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
    padding: 5rem 0;      /* 48px - consistent section spacing */
    position: relative;
}

.partners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(45, 166, 110, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(14, 58, 116, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.partners .container {
    position: relative;
    z-index: 2;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;                    /* Slightly smaller gap for 5 columns */
    margin-top: 3rem;
    justify-content: center;
}

.partner-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid rgba(23, 104, 212, 0.08);
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: rgba(23, 104, 212, 0.2);
}

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

.partner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(23, 104, 212, 0.08);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.partner-card:hover .partner-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-medium);
    border-color: rgba(23, 104, 212, 0.15);
}

.partner-icon img {
    max-width: 60px;
    max-height: 40px;
    width: auto;
    height: auto;
    filter: grayscale(20%) opacity(0.85);
    transition: var(--transition);
}

.partner-card:hover .partner-icon img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

.partner-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--deep-atlantic-blue);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.partner-description {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.partner-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.partner-benefits li {
    position: relative;
    padding: 0.5rem 0 0.5rem 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.4;
}

.partner-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: var(--verdant-rise-green);
    font-weight: 600;
    font-size: 0.85rem;
}

/* Enhanced Journey Section with Modern Timeline */
.journey {
    background: linear-gradient(135deg, #0E3A74 0%, #1768D4 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: var(--space-6) 0;      /* 48px - research maximum */
}

.journey::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 159, 28, 0.08) 0%, transparent 50%);
    z-index: 1;
}

.journey .container {
    position: relative;
    z-index: 2;
}

.journey .section-title,
.journey .section-subtitle {
    color: var(--white);
}

/* Simplified Timeline Design */
.journey .timeline-container {
    position: relative;
    max-width: 900px;
    margin: 4rem auto;
    padding: 2rem 0;
}

.journey .timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--gold-signal), var(--electric-cyan));
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(255, 159, 28, 0.4);
    z-index: 1;
}

.journey .timeline-item {
    position: relative;
    margin: 4rem 0;
    display: block;
    min-height: 120px;
}

.journey .timeline-marker {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: var(--white);
    border-radius: 50%;
    padding: 0.8rem;
    box-shadow: 0 0 0 6px rgba(255, 159, 28, 0.2), 0 6px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.journey .timeline-year {
    background: var(--gradient-accent);
    color: var(--white);
    padding: 0.8rem 1.4rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    display: block;
}

.journey .timeline-content {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.4s ease;
    position: relative;
    width: 45%;
    max-width: 400px;
}

.journey .timeline-left .timeline-content {
    margin-left: 0;
    margin-right: auto;
    margin-left: 0;
}

.journey .timeline-right .timeline-content {
    margin-left: auto;
    margin-right: 0;
}

.journey .timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    transform: translateY(-50%);
}

.journey .timeline-left .timeline-content::before {
    right: -40px;
    border-left-color: rgba(255, 255, 255, 0.12);
}

.journey .timeline-right .timeline-content::before {
    left: -40px;
    border-right-color: rgba(255, 255, 255, 0.12);
}

.journey .timeline-item:hover .timeline-content {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.journey .timeline-item:hover .timeline-marker {
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 0 0 10px rgba(255, 159, 28, 0.3), 0 10px 30px rgba(0, 0, 0, 0.2);
}

.journey .timeline-content h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.journey .timeline-content p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

.timeline-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.timeline-cta h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.timeline-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Enhanced Innovation Section */
.innovation {
    background: linear-gradient(135deg, #F5F7FA 0%, #FFFFFF 100%);
    padding: var(--space-6) 0;      /* 48px - consistent section spacing */
}

.innovation-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    border-left: 5px solid var(--royal-wave-blue);
    position: relative;
    margin-top: 2rem;
}

.innovation-content::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--royal-wave-blue);
    font-family: Georgia, serif;
    opacity: 0.3;
}

.innovation-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.innovation-content p:last-child {
    margin-bottom: 0;
}



/* Responsive Design for About Page */
@media (max-width: 1400px) {
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);  /* 4 columns on large tablets */
        gap: 1.5rem;
    }
}

@media (max-width: 1200px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);  /* 3 columns on medium screens */
        gap: 1.5rem;
    }
}

@media (max-width: 900px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .founder-flex {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .founder-photo::before {
        top: -15px;
        left: -15px;
        right: 15px;
        bottom: 15px;
    }
    
    .founder-photo img {
        height: 300px;
    }
    
    .founder-name {
        font-size: 2rem;
    }
    
    .team-carousel .team-card {
        flex: 0 0 320px;        /* Slightly smaller but still wide enough */
        min-width: 320px;
        height: 400px;
    }

    .team-card-link {
        flex: 0 0 320px;
        min-width: 320px;
        max-width: 320px;
    }

    .team-carousel .team-photo {
        width: 110px;
        height: 110px;
    }

    .team-track {
        animation: scroll-left 28s linear infinite;
    }
    
    .journey .timeline-container {
        max-width: 100%;
        margin: 2rem 0;
        padding: 1rem 0;
    }

    .journey .timeline-line {
        left: 3rem;
    }

    .journey .timeline-item {
        margin: 3rem 0;
        min-height: 100px;
    }

    .journey .timeline-marker {
        left: 3rem;
        transform: translate(-50%, -50%);
        padding: 0.6rem;
    }

    .journey .timeline-content {
        width: calc(100% - 7rem);
        margin-left: 7rem !important;
        margin-right: 0 !important;
        padding: 2rem;
        max-width: none;
    }

    .journey .timeline-content::before {
        left: -40px !important;
        right: auto !important;
        border-left-color: transparent !important;
        border-right-color: rgba(255, 255, 255, 0.12) !important;
        border-width: 15px;
    }

    .journey .timeline-year {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }

    .journey .timeline-content h3 {
        font-size: 1.3rem;
    }

    .journey .timeline-content p {
        font-size: 0.95rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .partner-card {
        padding: 1.5rem;
    }
    
    .partner-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .partner-icon img {
        max-width: 45px;
        max-height: 30px;
    }
    
    .partner-title {
        font-size: 1.1rem;
    }
    
    .timeline-cta {
        padding: 2rem 1rem;
    }
    
    .timeline-cta h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .founder-photo img {
        height: 250px;
    }
    
    .founder-name {
        font-size: 1.8rem;
    }
    
    /* Team Carousel Responsive - Mobile */
    .team-carousel .team-card {
        flex: 0 0 300px;        /* Mobile still needs to be wide enough */
        min-width: 300px;
        height: 380px;
        padding: 1.5rem 1rem;
    }

    .team-card-link {
        flex: 0 0 300px;
        min-width: 300px;
        max-width: 300px;
    }

    .team-carousel .team-photo {
        width: 100px;
        height: 100px;
    }

    .team-carousel .team-name {
        font-size: 1.1rem;
        white-space: nowrap;    /* Ensure no wrapping even on mobile */
    }

    .team-carousel .team-bio {
        font-size: 0.85rem;
    }

    .team-track {
        animation: scroll-left 25s linear infinite;
        gap: 1.5rem;
    }
    
    .advisory-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;                /* 32px - industry standard */
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .partner-card {
        padding: 1.25rem;
    }
    
    .partner-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.75rem;
    }
    
    .partner-icon img {
        max-width: 40px;
        max-height: 25px;
    }
    
    .partner-title {
        font-size: 1rem;
    }
    
    .partner-description {
        font-size: 0.9rem;
    }
    
    .innovation-content {
        padding: 2rem;
    }
    
    .innovation-content p {
        font-size: 1.1rem;
    }
}

/* Team card links */
.team-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    flex: 0 0 340px;            /* Match wider card size */
    min-width: 340px;
    max-width: 340px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card-link:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-5px);
}

.team-card-link:hover .team-card {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.team-card-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 12px;
}

/* Remove individual name link styles since entire card is now clickable */
.team-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.team-name a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.team-name a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Partner card links */
.partner-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card-link:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-5px);
}

.partner-card-link:hover .partner-card {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.partner-card-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 12px;
} 