/* ===========================================
   ABOUT PAGE STYLING
   =========================================== */

/* #region : About Hero */
.about-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('/images/hero-bg-1614x500.jpg') center/cover no-repeat;
    color: #fff;
    padding: 138px 20px;
    text-align: center;
}

.about-hero-content h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.about-hero-content p {
    font-size: 20px;
}
/* #endregion */

/* #region : About Sections */
.about-section {
    padding: 60px 20px;
}

.about-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    overflow: hidden;
    position: relative;
}

.about-row.reverse {
    flex-direction: row-reverse;
}

.about-text {
    flex: 1 1 400px;
    transition: transform 1s ease, opacity 1s ease;
    opacity: 0;
    transform: scale(0.8);
}

.about-image {
    flex: 1 1 400px;
    text-align: center;
    transition: transform 1s ease, opacity 1s ease;
    opacity: 0;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 1s ease, opacity 1s ease;
}

/* Animation states on reveal */
.about-row.animate .about-text {
    opacity: 1;
    transform: scale(1);
}

.about-row.animate .about-image {
    opacity: 1;
}

.about-row:nth-child(odd) .about-image {
    transform: translateX(-100px);
}

.about-row:nth-child(odd).animate .about-image {
    transform: translateX(0);
}

.about-row:nth-child(even) .about-image {
    transform: translateX(100px);
}

.about-row:nth-child(even).animate .about-image {
    transform: translateX(0);
}

.about-row:nth-child(odd) .about-text {
    transform: scale(0.8);
}

.about-row:nth-child(odd).animate .about-text {
    transform: scale(1);
}

.about-row:nth-child(even) .about-text {
    transform: scale(0.8);
}

.about-row:nth-child(even).animate .about-text {
    transform: scale(1);
}

/* #endregion */

/* ===========================================
   VIDEO
   =========================================== */
/* #region : Video */
.video-section {
    padding: 60px 20px;
    text-align: center;
}

.video-placeholder iframe {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
/* #endregion : Video */

/* #region : Team Carousel */
.team-carousel {
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.team-carousel-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 40px auto 0;
    height: 400px;
}

.team-card {
    position: absolute;
    top: 0;
    left: 50%;
    width: 300px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.6s ease, opacity 0.6s ease;
    opacity: 0;
    transform: translateX(-50%) scale(0.8);
    text-align: center;
    padding: 20px;
    overflow: hidden;
}

.team-card.active {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    z-index: 2;
}

.team-card.left,
.team-card.right {
    opacity: 0.5;
    transform: translateX(calc(-50% - 220px)) scale(0.9);
    z-index: 1;
}

.team-card.right {
    transform: translateX(calc(-50% + 220px)) scale(0.9);
}

.team-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #4b0082;
    margin-bottom: 15px;
}

.team-card-content h3 {
    color: #4b0082;
    margin-bottom: 5px;
}

.team-card-content .role {
    color: #f04e30;
    font-weight: 600;
    margin-bottom: 10px;
}

.team-card-content .bio {
    font-size: 14px;
    color: #555;
    padding: 0 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.carousel-dots span {
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-dots span.active {
    background: #4b0082;
}
/* #endregion */


/* #region : Responsive */
@media (max-width: 768px) {
    .about-row {
        flex-direction: column !important;
    }
    .about-image,
    .about-text {
        text-align: center;
    }
}
/* #endregion */
