/* ============================================
   ABOUT PAGE - GREEN THEME (Inherited from Home)
   ============================================ */

/* PAGE HEADER - Green Gradient */
.page-header {
    padding: 60px 0 50px;
    background: linear-gradient(
        135deg,
        rgba(27, 67, 50, 0.92) 0%,
        rgba(45, 106, 79, 0.85) 50%,
        rgba(27, 67, 50, 0.92) 100%
    ),
    url('../images/about/treehouse-photo-019.jpg') center/cover no-repeat;
    border-bottom: none;
}
.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.page-header .container {
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.page-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--treehouse-orange);
    margin: 16px auto 0;
    border-radius: 4px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* SECTION BADGE - Green Theme */
.section-badge {
    display: inline-block;
    background: var(--treehouse-green-pale);
    color: var(--treehouse-green);
    padding: 6px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* SECTION TITLE */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--treehouse-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-title .highlight {
    color: var(--treehouse-green);
}

/* 
   STORY SECTION - Green Accents
*/
.story-section {
    padding: 80px 0;
    background: #ffffff;
}

.story-section p {
    color: #4a5568;
}

.story-image {
    position: relative;
    overflow: visible;
}

.story-image img {
    width: 100%;
    border-radius: 16px;
    display: block;
}

/* Story Quote Box - Green Theme */
.story-quote {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: white;
    padding: 24px 28px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 280px;
    border-left: 4px solid var(--treehouse-green);
    z-index: 2;
}

.story-quote i {
    color: var(--treehouse-green);
    font-size: 1.5rem;
    opacity: 0.3;
    margin-bottom: 8px;
    display: block;
}

.story-quote p {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--treehouse-dark);
}

.story-quote small {
    color: var(--treehouse-gray);
    font-size: 0.8rem;
}

/* 
   SLIDESHOW - Green Theme
*/
.slideshow-container {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(27, 67, 50, 0.2);
}

.slideshow-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigation Dots - Green */
.slideshow-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background: var(--treehouse-green);
    transform: scale(1.2);
    border-color: white;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* Navigation Arrows - Green */
.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: white;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
}

.slideshow-container:hover .slide-arrow {
    opacity: 1;
    visibility: visible;
}

.slide-arrow:hover {
    background: var(--treehouse-green);
    transform: translateY(-50%) scale(1.1);
}

.slide-arrow.prev {
    left: 16px;
}

.slide-arrow.next {
    right: 16px;
}

/* Slide Counter */
.slide-counter {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
}

/* 
   MISSION SECTION - Green Theme
*/
.mission-section {
    padding: 80px 0;
    background: var(--treehouse-light);
}

.mission-card {
    background: white;
    padding: 0;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e9edf2;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.mission-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(45, 106, 79, 0.12);
    border-color: var(--treehouse-green-light);
}

.mission-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.mission-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mission-card:hover .mission-card-image {
    transform: scale(1.05);
}

/* Mission Icon Overlay - Green */
.mission-icon-overlay {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--treehouse-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.3);
    border: 3px solid white;
    transition: all 0.3s ease;
    z-index: 2;
}

.mission-card:hover .mission-icon-overlay {
    transform: translateX(-50%) scale(1.1);
    background: var(--treehouse-green-dark);
}

.mission-card h4 {
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 12px;
    color: var(--treehouse-dark);
    padding: 0 20px;
    font-size: 1.2rem;
}

.mission-card p {
    color: var(--treehouse-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 0 20px 20px;
    margin-bottom: 0;
}

/* Values List - Green Checkmarks */
.values-list {
    padding: 0 20px 20px;
    margin: 0;
    text-align: left;
}

.values-list li {
    color: var(--treehouse-gray);
    font-size: 0.9rem;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    list-style: none;
    display: flex;
    align-items: center;
}

.values-list li:last-child {
    border-bottom: none;
}

.values-list li i {
    color: var(--treehouse-green) !important;
    margin-right: 10px;
    flex-shrink: 0;
}

/* 
   MINI SLIDESHOW - Green Theme
*/
.mini-slideshow {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.mini-slideshow-wrapper {
    position: relative;
    width: 100%;
    padding-top: 66.67%;
    overflow: hidden;
}

.mini-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.mini-slide.active {
    opacity: 1;
    z-index: 2;
}

.mini-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.mission-card:hover .mini-slide.active img {
    transform: scale(1.05);
}

/* Mini Slideshow Dots - Green */
.mini-slideshow-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.mini-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.mini-dot.active {
    background: var(--treehouse-green);
    transform: scale(1.2);
    border-color: white;
}

.mini-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* 
   TEAM SECTION - Green Theme
*/
.team-section {
    padding: 80px 0;
    background: #ffffff;
}

.team-card {
    background: white;
    padding: 30px 20px;
    border-radius: 16px;
    border: 1px solid #e9edf2;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(45, 106, 79, 0.1);
    border-color: var(--treehouse-green-light);
}

.team-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
    border: 4px solid var(--treehouse-green-pale);
    transition: border-color 0.3s ease;
}

.team-card:hover .team-image img {
    border-color: var(--treehouse-green);
}

.team-card h5 {
    font-weight: 700;
    margin-top: 16px;
    margin-bottom: 4px;
    color: var(--treehouse-dark);
    font-size: 1.1rem;
}

.team-card .role {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--treehouse-green);
}

.team-card .bio {
    color: var(--treehouse-gray);
    font-size: 0.85rem;
    margin-top: 8px;
    line-height: 1.5;
}

/* 
   PARTNERS SECTION - Green Theme
*/
.partners-section {
    padding: 80px 0;
    background: var(--treehouse-light);
}

.partner-logo {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    border: 1px solid #e9edf2;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--treehouse-dark);
}

.partner-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(45, 106, 79, 0.1);
    border-color: var(--treehouse-green);
    color: var(--treehouse-green);
}

.partner-logo span {
    font-weight: 600;
    color: inherit;
}

/* 
   RESPONSIVE - SLIDESHOW
*/
@media (max-width: 768px) {
    .slideshow-wrapper {
        padding-top: 70%;
    }

    .slide-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        opacity: 1;
        visibility: visible;
        background: rgba(0, 0, 0, 0.3);
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .slide-counter {
        font-size: 0.7rem;
        padding: 3px 10px;
    }
}

@media (max-width: 480px) {
    .slideshow-wrapper {
        padding-top: 80%;
    }

    .slide-arrow {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }

    .slide-arrow.prev {
        left: 8px;
    }

    .slide-arrow.next {
        right: 8px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .slideshow-dots {
        bottom: 12px;
        gap: 6px;
    }
}

/* 
   RESPONSIVE - MINI SLIDESHOW
*/
@media (max-width: 768px) {
    .mini-slideshow-wrapper {
        padding-top: 75%;
    }

    .mini-dot {
        width: 7px;
        height: 7px;
    }

    .mini-slideshow-dots {
        bottom: 8px;
        padding: 3px 8px;
        gap: 5px;
    }

    .mission-icon-overlay {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
        bottom: -18px;
    }
}

@media (max-width: 480px) {
    .mini-slideshow-wrapper {
        padding-top: 80%;
    }

    .mini-dot {
        width: 6px;
        height: 6px;
    }

    .mini-slideshow-dots {
        bottom: 6px;
        padding: 2px 6px;
        gap: 4px;
    }

    .mission-icon-overlay {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        bottom: -16px;
    }
}

/* 
   RESPONSIVE - PAGE HEADER
*/
@media (max-width: 768px) {
    .page-header {
        padding: 50px 0 40px;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 40px 0 30px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-subtitle {
        font-size: 0.9rem;
    }
}

/* 
   RESPONSIVE - SECTIONS
*/
@media (max-width: 768px) {
    .story-section {
        padding: 50px 0;
    }
    
    .mission-section {
        padding: 50px 0;
    }
    
    .team-section {
        padding: 50px 0;
    }
    
    .partners-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .story-quote {
        position: relative;
        bottom: 0;
        left: 0;
        margin-top: 20px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .story-section {
        padding: 40px 0;
    }
    
    .mission-section {
        padding: 40px 0;
    }
    
    .team-section {
        padding: 40px 0;
    }
    
    .partners-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .story-quote {
        padding: 16px 20px;
        margin-top: 16px;
    }
    
    .story-quote p {
        font-size: 0.88rem;
    }
    
    .story-quote small {
        font-size: 0.75rem;
    }
    
    .mission-card h4 {
        font-size: 1rem;
    }
    
    .mission-card p {
        font-size: 0.88rem;
    }
    
    .team-card h5 {
        font-size: 1rem;
    }
    
    .team-image img {
        width: 100px;
        height: 100px;
    }
}

/* 
   RESPONSIVE - EXTRA SMALL
*/
@media (max-width: 380px) {
    .page-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .team-image img {
        width: 80px;
        height: 80px;
    }
}