/* About Us - Final Premium Design */

:root {
    --primary-color: #fe5ade;
    --secondary-color: #460080;
    --dark: #050a08;
    /* Matching footer dark green/black */
    --white: #ffffff;
    --light-gray: #f8f9fa;
}

/* Base Classes */
.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

.section-tag {
    color: var(--primary-color);
    letter-spacing: 3px;
    font-weight: 700;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Hero Section */
.about-hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    overflow: hidden;
    padding-top: 50px;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(5, 10, 8, 0.7) 0%, rgba(5, 10, 8, 0.4) 100%);
    z-index: 2;
}

.about-hero h1 {
    font-size: clamp(2.8rem, 8vw, 4.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.about-hero h1 span {
    color: var(--primary-color);
    text-shadow: 0 0 30px rgba(254, 90, 222, 0.3);
}

.about-hero p {
    font-size: 1.4rem;
    max-width: 650px;
    opacity: 0.85;
    margin-bottom: 45px;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-btns .btn-outline {
    border: 2px solid white;
    color: white;
}

.hero-btns .btn-outline:hover {
    background: white;
    color: var(--dark);
}

/* Mission Design (Requested Structure) */
.mission-grid {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    background: #000;
}

.mission-card {
    flex: 1;
    min-width: 300px;
    padding: 100px 60px;
    background-color: var(--bg);
    color: white;
    position: relative;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

.mission-main {
    background-color: var(--secondary-color);
    flex: 1.8;
}

.mission-card:not(.mission-main):hover {
    transform: translateY(-10px);
    z-index: 5;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.mission-card h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 35px;
    letter-spacing: 2px;
}

.mission-card p {
    font-size: 1.15rem;
    line-height: 1.8;
    opacity: 0.9;
}

.m-num {
    font-size: 12rem;
    font-weight: 900;
    position: absolute;
    top: -30px;
    right: -30px;
    opacity: 0.1;
    transition: 0.6s;
}

.mission-card:hover .m-num {
    opacity: 0.2;
    transform: scale(1.1) translate(-20px, 20px);
}

.mission-card h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    line-height: 1.25;
    font-weight: 700;
}

/* Values Section */
.values-wrapper {
    padding: 160px 0;
    background: var(--light-gray);
}

.section-header {
    margin-bottom: 100px;
    text-align: center;
}

.section-header h2 {
    font-size: 3.5rem;
    color: var(--secondary-color);
    font-weight: 800;
    margin-top: 10px;
}

.line {
    width: 60px;
    height: 5px;
    background: var(--primary-color);
    margin: 20px auto 0;
    border-radius: 10px;
}

.v-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.v-card {
    background: white;
    padding: 60px 40px;
    border-radius: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: 0.4s;
}

.v-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(70, 0, 128, 0.1);
    border-color: var(--primary-color);
}

.v-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    margin: 0 auto 35px;
    font-size: 2.2rem;
    box-shadow: 0 15px 30px rgba(254, 90, 222, 0.2);
}

.v-card h3 {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.v-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Management Team */
.team-wrapper {
    padding: 160px 0 300px;
    /* Increased bottom padding */
    background: var(--dark);
    color: white;
}

.t-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 in a row */
    gap: 40px;
}

.t-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 60px;
    padding: 15px;
    transition: 0.5s;
    text-align: center;
}

.t-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.t-img-box {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 50px;
    margin-bottom: 30px;
}

.t-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s;
}

.t-card:hover .t-img-box img {
    transform: scale(1.15);
}

.t-info h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.t-info span {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}

.t-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.t-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.t-social a:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Scroll Animation classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .about-hero h1 {
        font-size: 4rem;
    }

    .mission-card {
        padding: 60px 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .about-hero {
        height: auto;
        text-align: center;
        padding: 150px 0 100px;
    }

    .about-hero p {
        margin: 0 auto 30px;
    }

    .hero-btns {
        justify-content: center;
        flex-direction: column;
    }

    .mission-card {
        min-width: 100%;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .cta-section-about .cta-title {
        font-size: 3rem;
    }

    /* Management team - 1 per row on mobile */
    .t-grid {
        grid-template-columns: 1fr;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 160px 0;
    background: #ffffff;
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testi-card {
    background: white;
    padding: 50px 40px;
    border-radius: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
    transition: all 0.5s ease;
    position: relative;
    color: #333;
}

.testi-card.active {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(70, 0, 128, 0.2);
    border-color: transparent;
}

.testi-quote {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    opacity: 0.8;
}

.testi-card.active .testi-quote {
    color: white;
    opacity: 0.3;
}

.testi-text {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 40px;
    font-style: italic;
}

.testi-user {
    display: flex;
    align-items: center;
    gap: 20px;
}

.testi-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.testi-card.active .testi-avatar {
    border-color: white;
}

.testi-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testi-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.testi-info span {
    font-size: 0.9rem;
    opacity: 0.7;
    font-weight: 600;
}

.testi-card.active .testi-info span {
    color: var(--primary-color);
    opacity: 1;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testi-card.active {
        transform: none;
    }
}