/* About Hero Styles */
.about-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    padding-top: 80px; /* Space for the navbar */
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#office-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(
        to bottom, 
        rgba(10, 10, 10, 0.7) 0%, 
        rgba(10, 10, 10, 0.9) 100%
    );
}

.about-hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-subtitle {
    font-family: 'Space Mono', monospace;
    color: var(--accent-purple);
    letter-spacing: 4px;
    font-weight: bold;
    margin-bottom: 20px;
}

.about-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 30px;
}

.about-description {
    font-family: 'Space Mono', monospace;
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Scroll Indicator Animation */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
}

.scroll-indicator p {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--accent-purple);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 15px); }
}

/* Mobile Fixes */
@media (max-width: 768px) {
    .about-title { font-size: 2.5rem; }
}
/* Team Section General */
.team-section {
    background-color: var(--primary-white);
    padding: 100px 0;
}

.section-intro {
    text-align: center;
    margin-bottom: 80px;
}

.team-container {
    display: flex;
    flex-direction: column;
    gap: 60px; /* Space between cards */
}

/* Base Team Card */
.team-card {
    display: flex;
    align-items: center;
    border-radius: 40px;
    overflow: hidden;
    padding: 60px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    gap: 50px;
}

/* Background Variations */
.carbon-bg {
    background: #111111; /* Carbon Black */
    color: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.white-bg {
    background: #f8f9fa; /* Off-White */
    color: var(--primary-black);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

/* Alternating Logic */
.team-card.reverse {
    flex-direction: row-reverse;
}

/* The Unique Image Frame */
.member-image-wrapper {
    flex: 0 0 40%;
    position: relative;
}

.tech-frame {
    position: relative;
    padding: 10px;
    border-radius: 20px;
    z-index: 1;
}

/* The Unique Corner Glow Frame */
.tech-frame::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    width: 60px;
    height: 60px;
    border-top: 4px solid var(--accent-purple);
    border-left: 4px solid var(--accent-purple);
    z-index: 2;
    transition: 0.4s;
    box-shadow: -5px -5px 15px rgba(160, 32, 240, 0.5);
}

.tech-frame img {
    width: 100%;
    border-radius: 15px;
    display: block;
    filter: grayscale(30%);
    transition: 0.5s;
}

/* Hover Effects */
.team-card:hover {
    transform: scale(1.02);
}

.team-card:hover .tech-frame::before {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    box-shadow: 0 0 30px var(--accent-purple);
}

.team-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Text Content Styling */
.member-name {
    font-family: 'Audiowide', cursive;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.member-role {
    font-family: 'Space Mono', monospace;
    color: var(--accent-purple);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.member-bio {
    font-family: 'Space Mono', monospace;
    line-height: 1.8;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 992px) {
    .team-card, .team-card.reverse {
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
    }
    .member-image-wrapper { width: 80%; margin: 0 auto; }
}
.legacy-pulse-section {
    background: #fffefe;
    color: rgb(0, 0, 0);
    padding: 100px 0;
    position: relative;
}
.legacy-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Equal split */
    gap: 80px;
    align-items: flex-start; /* CRITICAL for sticky to work */
    position: relative;
}

/* Sticky Left Container */
.legacy-sticky-left {
    position: sticky;
    top: 25vh; /* Locks the year 25% down from the top of the screen */
    height: auto;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.year-container {
    text-align: center;
    position: relative;
}

#active-year {
    font-family: 'Audiowide', cursive;
    font-size: 10rem; /* Massive impact */
    margin: 0;
    line-height: 1;
    background: linear-gradient(to bottom, #fff, #444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Right Side Cards */
.legacy-scroll-right {
    padding-bottom: 20vh; /* Extra space at the bottom */
}

.milestone-card {
    margin-bottom: 40vh; /* Creates the scroll gap */
    opacity: 0.2;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.milestone-card.is-active {
    opacity: 1;
    transform: translateY(0);
}

.milestone-content {
    background: rgba(255, 255, 255, 0.03);
    padding: 60px 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
}

/* The Purple Accent Bar */
.milestone-content::before {
    content: '';
    position: absolute;
    left: 0; top: 20%; bottom: 20%;
    width: 4px;
    background: var(--accent-purple);
    box-shadow: 0 0 15px var(--accent-purple);
    border-radius: 0 4px 4px 0;
}

.m-tag {
    font-family: 'Space Mono', monospace;
    color: var(--accent-purple);
    font-size: 0.8rem;
    font-weight: bold;
}

.milestone-content h3 {
    font-family: 'Audiowide', cursive;
    font-size: 2rem;
    margin: 15px 0;
}

.milestone-content p {
    font-family: 'Space Mono', monospace;
    color: #999;
    line-height: 1.8;
}

/* Mobile Adjustments */
@media (max-width: 992px) {
    /* 1. Ensure the wrapper allows the year to stay on top of the cards */
    .legacy-wrapper { 
        display: block; /* Switch from grid to block */
        position: relative;
    }

    /* 2. Make the year float at the top of the screen */
    .legacy-sticky-left { 
        position: sticky; 
        top: 70px; /* Adjust this to sit right below your mobile navbar */
        width: 100%;
        z-index: 100;
        margin-bottom: -50px; /* Pulls cards closer */
        pointer-events: none; /* Allows user to scroll even if touching the year */
    }

    /* 3. Shrink the year and add a glass background for mobile readability */
    .year-container {
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(10px);
        padding: 15px 0;
        border-bottom: 1px solid rgba(160, 32, 240, 0.3);
        width: 100vw;
        margin-left: calc(-50vw + 50%); /* Centers the bar across the whole screen */
    }

    #active-year { 
        font-size: 4rem; /* Smaller for mobile screens */
        text-shadow: 0 0 20px rgba(160, 32, 240, 0.5);
    }

    .est-label {
        font-size: 0.6rem;
        letter-spacing: 5px;
    }

    /* 4. Adjust the milestones to start lower so they don't hide under the sticky year */
    .legacy-scroll-right {
        padding-top: 50px;
    }

    .milestone-card {
        margin-bottom: 30vh; /* Reduced gap for mobile */
    }
}
.iara-reviews-section {
    padding: 120px 0;
    background-color: #ffffff; /* 70% White Rule */
    overflow: hidden;
}

.reviews-header {
    text-align: center;
    margin-bottom: 60px;
}

.g-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.stars {
    color: #fbbc04; /* Google Star Color */
    font-size: 1.2rem;
}

.stars span {
    color: #555;
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    margin-left: 10px;
}

/* The Infinite Slider Container */
.reviews-slider {
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.reviews-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollReviews 40s linear infinite;
}

@keyframes scrollReviews {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50%)); } /* We will clone cards in JS */
}

/* The Review Card */
.review-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 35px;
    border-radius: 24px;
    width: 400px;
    transition: 0.4s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.review-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-purple);
    box-shadow: 0 20px 40px rgba(160, 32, 240, 0.1);
}

.card-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
}

.user-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.user-meta h4 {
    font-family: 'Audiowide', cursive;
    font-size: 1.1rem;
    margin: 0;
}

.user-meta p {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: #888;
    margin: 0;
}

.g-icon {
    position: absolute;
    right: 0;
    top: 0;
    color: #4285F4;
    font-size: 1.2rem;
}

.stars-row {
    color: #fbbc04;
    margin-bottom: 15px;
}

.review-text {
    font-family: 'Space Mono', monospace;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    font-style: italic;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .review-card { width: 300px; padding: 25px; }
}