/* About Us Section */
/* .about-us {
    background-color: var(--secondary-color);
    color: var(--tertiary-color);
    padding: 80px 20px;
    max-width: 100%;
    margin-top: 25px;
} */

.about-us  {
    /* background-color: var(--secondary-color); */
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), 
                      url("../src/imgs/bg/14.webp");  
    background-size: cover;   /* Logo an Container anpassen */
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.about-us-container {
    max-width: 1500px;
    margin: 0 auto;
}

.about-us-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    padding-top: 60px;
    margin-bottom: 30px;
}

.about-us-left {
    flex: 1;
    text-align: left;
    opacity: 0;
    transform: translateX(-50px); 
    transition: transform 1s ease-out, opacity 1s ease-out;
}

.about-us-left.animate-left {
    opacity: 1;
    transform: translateX(0);
}


/* Using global h2 styles */
.about-us-left h2 {
    margin-bottom: 30px;
}

.about-us-description p {
    font-size: 1.1em;
    margin-bottom: 20px;
    margin-top: 20px;
    line-height: 1.8;
    color: var(--secondary-color);
}

.about-us-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-us-right video {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 25%;
    margin-bottom: 40px;
    border-top: 1px #ff6600 solid;
    border-bottom: 1px #ff6600 solid;
    padding: 20px;
    opacity: 0;
    transform: translateY(50px); 
    transition: transform 1s ease-out, opacity 1s ease-out;
}

.about-stats.animate-bottom {
    opacity: 1;
    transform: translateX(0);
}

.about-stat-card {
    text-align: center;
    padding: 10px;
    border-radius: 10px;
}

.about-stat-number {
    font-size: 2.2em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.about-stat-label {
    font-size: 0.9em;
    color: var(--secondary-color);
    font-weight: bold;
    text-transform: uppercase;
}

.about-us-button-container {
    text-align: center;
}

/* Team Section */
.team-section {
    /* background-color: var(--tertiary-color); */
    padding: 20px 0px 80px 0px;
    color: var(--secondary-color);
    background: linear-gradient(135deg, var(--tertiary-color) 0%, #4a4a4a 100%)
}

.team-container {
    max-width: 1500px;
    margin: 0 auto;
}

.team-header {
    text-align: center;
    margin-bottom: 60px;
}

.team-header h1 {
        color: var(--primary-color);
        }

/* Using global h2 styles */

.team-quote {
    font-size: 1.2em;
    font-weight: 700;
    opacity: 0.8;
    font-style: italic;
    color: var(--secondary-color);
}

.team-quote-author {
    font-size: 1.1em;
    font-weight: 700;
    opacity: 0.8;
    text-align: right;
    margin-right: 20%;
    color: var(--secondary-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    justify-items: center;
}

.team-member {
    background-color: #222;
    border-radius: 12px;
    overflow: hidden;
    max-width: 350px;
    width: 100%;
    /* Use .hover-lift class in HTML for hover effects */
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center top;
}

.team-member-info {
    padding: 20px;
    color: var(--secondary-color);
}

/* Using global h3 styles with color override */
.team-member-info h3 {
    color: var(--secondary-color);
}

.team-member-info .position {
    font-size: 1em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    opacity: 0.9;
}

.contact-info p {
    font-size: 0.9em;
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info i {
    width: 16px;
    color: var(--primary-color);
}

/* Responsive Design for About Us */
@media (max-width: 1024px) {
    .about-us-content {
        gap: 40px;
    }
    
    .about-us-right video {
        max-width: 500px;
    }

    
}

@media (max-width: 768px) {
    .about-us-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .about-us-left {
        text-align: center;
    }

    
    .team-quote {
        font-size: 1.1em;
    }
    
    .team-quote-author {
        text-align: center;
        margin-right: 0;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .team-member {
        max-width: 80%;
    }

    
    .about-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .about-stat-card {
        min-width: 140px;
    }
    
    .about-us-right video {
        max-width: 100%;
    }
}

@media (max-width: 540px) {
    /* Using global responsive h2 styles */
        .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .team-member{
        max-width: 65%;
    }
    
    
    .about-us-description p {
        font-size: 1em;
    }
    
    .about-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .about-stat-card {
        width: 200px;
    }
}

@media (max-width: 480px) {
    /* Using global responsive h2 styles */
        .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
            .team-member{
        max-width: 85%;
    }
    
    .about-us-description p {
        font-size: 1em;
    }
    
    .about-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .about-stat-card {
        width: 200px;
    }

        .team-section {
        padding: 60px 15px;
    }
    
    /* Using global responsive h2 styles */
    
    .team-quote {
        font-size: 1em;
    }
    
    .team-member-info {
        padding: 15px;
    }
}


@media (max-width: 415px) {

        .team-member{
        max-width: 90%;
    }
    
    
}

@media (max-width: 345px) {

        .team-member{
        max-width: 95%;
    }
    
    
}
