* /*=========================================
   Team Page Specific Styles
   ========================================= */

/* Hero Override */
.team-hero {
    height: 70vh;
    border-bottom: 5px solid var(--primary-blue);
    position: relative;
    background-position: center 20%;
}

/* Base Container */
.container {
    max-width: 87.5rem;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.section-title {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 3rem;
    display: inline-block;
}

.title-underline {
    border-bottom: 4px solid var(--primary-blue);
    padding-bottom: 0.5rem;
}

.dark-text {
    color: #333;
}

/* =========================================
   Quote Section
   ========================================= */
.team-quote-section {
    background-color: #E6E7E9;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    border-bottom-left-radius: 50% 50px;
    border-bottom-right-radius: 50% 50px;
    margin-bottom: 3rem;
    z-index: 10;
}

.quote-content {
    max-width: 60rem;
    margin: 0 auto;
}

.quote-content blockquote {
    font-size: 2.2rem;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin-bottom: 2rem;
}

.quote-author {
    font-size: 1.8rem;
    color: #444;
    font-weight: 500;
}

/* =========================================
   Our Story Section (Dark Background)
   ========================================= */
.our-story-section {
    background-color: #2D2D2D;
    color: #fff;
    padding: 4rem 0 6rem;
    margin-top: -6rem; /* Pull up under the curved quote */
    padding-top: 8rem;
}

.story-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 5rem;
}

.story-row.reverse {
    flex-direction: row-reverse;
}

.story-text {
    flex: 1;
}

.story-text p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #E0E0E0;
}

.story-image {
    flex: 1;
}

.story-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.caption {
    font-size: 0.95rem;
    color: #A0A0A0;
    margin-top: 1rem;
    line-height: 1.4;
}

/* =========================================
   The Robots Section (Light Background)
   ========================================= */
.the-robots-section {
    background-color: #E6E7E9;
    padding: 5rem 0;
    position: relative;
}

.robots-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.robots-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
    /* Hide scrollbar for cleaner look */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.robots-carousel::-webkit-scrollbar {
    display: none;
}

.robot-card {
    flex: 0 0 300px;
    text-align: center;
}

.robot-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    margin-bottom: 1rem;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.robot-card h3 {
    font-size: 1.5rem;
    color: #333;
    line-height: 1.3;
}

.carousel-btn {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* =========================================
   Awards Section (Dark Background)
   ========================================= */
.awards-section {
    background-color: #2D2D2D;
    color: #fff;
    padding: 6rem 0;
}

.awards-layout {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.awards-image-col {
    flex: 1.2;
}

.awards-image-col img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.awards-accordion-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Details/Summary Accordion Styling */
.award-dropdown {
    border-bottom: 1px solid #555;
    padding: 1.5rem 0;
}

.award-dropdown summary {
    font-size: 2rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none; /* Hide default arrow */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
}

/* Custom Chevron */
.award-dropdown summary::-webkit-details-marker {
    display: none;
}

.award-dropdown .chevron::after {
    content: '\2304'; /* Downward chevron unicode */
    font-size: 2rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.award-dropdown[open] .chevron::after {
    transform: rotate(180deg);
}

.dropdown-content {
    margin-top: 1.5rem;
    padding-right: 2rem;
    animation: fadeIn 0.4s ease;
}

.dropdown-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #CCC;
    margin-bottom: 1rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   Responsive Adjustments
   ========================================= */
@media (max-width: 992px) {
    .story-row, .story-row.reverse {
        flex-direction: column;
        gap: 2rem;
    }
    
    .awards-layout {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .quote-content blockquote { font-size: 1.5rem; }
    .quote-author { font-size: 1.2rem; }
    .section-title { font-size: 2.5rem; }
    .award-dropdown summary { font-size: 1.5rem; }
}