/* About Us Page Styling */
body {
    background-image: url('../img/background-1.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
}

.navbar-list-item.active {
    color: #e63946;
    position: relative;
}

.navbar-list-item.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e63946;
}

.about-container {
    max-width: 95%;
    margin: 40px auto 100px;
    padding: 0 20px;
}

.about-header, .about-section-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.about-header h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 56px;
    color: #535353;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.about-section-header h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 42px;
    color: #535353;
    font-weight: 700;
    margin-bottom: 15px;
}

.about-header-line {
    width: 100px;
    height: 4px;
    background-color: #e63946;
    margin: 0 auto;
    position: relative;
}

.about-header-line:before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: #e63946;
    border-radius: 50%;
    top: -5px;
    left: -15px;
}

.about-header-line:after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: #e63946;
    border-radius: 50%;
    top: -5px;
    right: -15px;
}

/* Story Section */
.about-story {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 100px;
}

.about-story-image {
    flex: 1;
    min-width: 450px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.about-story-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease;
    border-radius: 20px;
}

.about-story-image:hover img {
    transform: scale(1.05);
}

.about-story-content {
    flex: 1;
    min-width: 400px;
    padding: 0 20px;
}

.about-story-content h2 {
    font-size: 42px;
    color: #535353;
    margin-bottom: 30px;
    line-height: 1.3;
}

.about-story-content h2 span {
    color: #f8a100;
    font-weight: 700;
}

.about-story-content p {
    color: #666;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.about-story-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 56px;
    font-weight: 700;
    color: #f8a100;
}

.stat-text {
    color: #535353;
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
}

/* Gallery Section */
.about-gallery {
    margin-bottom: 100px;
}

.gallery-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    height: 500px;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 100%;
}

.gallery-item.large {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Values Section */
.about-values {
    margin-bottom: 100px;
}

.values-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.value-card {
    width: calc(25% - 30px);
    min-width: 280px;
    background-color: rgba(255, 255, 255, 0.92);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.4s ease;
}

.value-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
}

.value-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.value-card h3 {
    color: #f8a100;
    font-size: 26px;
    margin-bottom: 20px;
}

.value-card p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

/* Team Section */
.about-team {
    margin-bottom: 100px;
}

.team-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
}

.team-member {
    width: calc(50% - 25px);
    min-width: 450px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    background-color: rgba(255, 255, 255, 0.92);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.team-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #f8a100;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    flex: 1;
    min-width: 250px;
    padding: 10px 0;
}

.team-info h3 {
    color: #535353;
    font-size: 28px;
    margin-bottom: 10px;
}

.team-title {
    display: inline-block;
    background-color: #f8a100;
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 16px;
    margin-bottom: 20px;
}

.team-info p {
    color: #666;
    font-size: 17px;
    line-height: 1.8;
}

/* Certificates Section */
.about-certificates {
    margin-bottom: 70px;
}

.certificates-container {
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
    justify-content: center;
}

.certificate-item {
    width: 260px;
    text-align: center;
    transition: all 0.4s ease;
}

.certificate-item:hover {
    transform: scale(1.08);
}

.certificate-item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
}

.certificate-item h3 {
    color: #535353;
    font-size: 20px;
}

/* Media Queries */
@media screen and (max-width: 1400px) {
    .about-header h1 {
        font-size: 50px;
    }
    
    .about-section-header h2 {
        font-size: 38px;
    }
    
    .about-story-content h2 {
        font-size: 38px;
    }
    
    .stat-number {
        font-size: 50px;
    }
    
    .gallery-container {
        height: 450px;
    }
}

@media screen and (max-width: 1366px) and (min-width: 993px) {
    .about-header h1 {
        font-size: 46px;
    }
    
    .about-section-header h2 {
        font-size: 34px;
    }
    
    .about-story {
        gap: 40px;
        margin-bottom: 80px;
    }
    
    .about-story-image {
        min-width: 400px;
    }
    
    .about-story-content h2 {
        font-size: 34px;
        margin-bottom: 25px;
    }
    
    .about-story-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .about-story-stats {
        gap: 40px;
        margin-top: 30px;
    }
    
    .stat-number {
        font-size: 44px;
    }
    
    .stat-text {
        font-size: 16px;
    }
    
    .value-card {
        padding: 30px 25px;
    }
    
    .value-icon {
        width: 85px;
        height: 85px;
        margin-bottom: 20px;
    }
    
    .value-card h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .value-card p {
        font-size: 15px;
    }
    
    .team-container {
        gap: 40px;
    }
    
    .team-member {
        padding: 25px;
    }
    
    .team-image {
        height: 280px;
    }
    
    .team-info h3 {
        font-size: 24px;
    }
    
    .team-title {
        font-size: 16px;
    }
    
    .team-info p {
        font-size: 15px;
    }
    
    .certificate-item {
        padding: 25px 20px;
    }
    
    .certificate-item img {
        width: 80px;
        height: 80px;
    }
    
    .certificate-item h3 {
        font-size: 18px;
    }
}

@media screen and (max-width: 1200px) {
    .about-header h1 {
        font-size: 42px;
    }
    
    .about-section-header h2 {
        font-size: 32px;
    }
    
    .about-story-content h2 {
        font-size: 32px;
    }
    
    .team-member {
        width: 100%;
        min-width: 0;
    }
}

@media screen and (max-width: 992px) {
    .about-header h1 {
        font-size: 38px;
    }
    
    .about-section-header h2 {
        font-size: 28px;
    }
    
    .about-story-content h2 {
        font-size: 28px;
    }
    
    .value-card {
        width: calc(50% - 20px);
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .gallery-item {
        height: 300px;
    }
    
    .gallery-item.large {
        grid-column: span 1;
    }
}

@media screen and (max-width: 768px) {
    .about-container {
        margin: 30px auto 80px;
    }
    
    .about-header, .about-section-header {
        margin-bottom: 40px;
    }
    
    .about-header h1 {
        font-size: 32px;
    }
    
    .about-section-header h2 {
        font-size: 24px;
    }
    
    .about-story {
        margin-bottom: 60px;
    }
    
    .about-story-content h2 {
        font-size: 24px;
    }
    
    .about-values, .about-team, .about-gallery {
        margin-bottom: 60px;
    }
    
    .team-image {
        width: 140px;
        height: 140px;
    }
    
    .team-info h3 {
        font-size: 22px;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    .about-story-image {
        min-width: 100%;
    }
    
    .about-story-content {
        min-width: 100%;
        padding: 0;
    }
}

@media screen and (max-width: 576px) {
    .about-header h1 {
        font-size: 28px;
    }
    
    .about-header-line {
        width: 60px;
    }
    
    .about-story-stats {
        justify-content: center;
        gap: 30px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .value-card {
        width: 100%;
    }
    
    .team-member {
        justify-content: center;
        text-align: center;
        padding: 30px 20px;
    }
    
    .team-image {
        margin-bottom: 15px;
    }
    
    .gallery-item {
        height: 200px;
    }
}
