/* About Us Page Styles */

.about-hero {
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.about-hero .container {
    position: relative;
    z-index: 1;
}

.about-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Who We Are Section */
.who-we-are {
    padding: 80px 0;
    background: #fff;
}

.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #e60012;
}

.who-we-are-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.who-we-are-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.who-we-are-media {
    margin-top: 40px;
}

.media-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.media-tabs .tab-btn {
    padding: 10px 25px;
    background: #f4f4f4;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #666;
}

.media-tabs .tab-btn.active {
    background: #e60012;
    color: #fff;
}

.media-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #000;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.who-we-are-media img {
    width: 100%;
    display: block;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Values Section */
.values-section {
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    /*background-attachment: fixed;*/
    color: #fff;
    position: relative;
    text-align: center;
}

.values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.values-section .container {
    position: relative;
    z-index: 1;
}

.values-header {
    margin-bottom: 50px;
}

.values-header h2 {
    font-size: 2.5rem;
    color: #fff;
    font-weight: 700;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.value-item {
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.value-icon {
    margin-bottom: 20px;
    color: #fff;
}

.value-icon svg {
    width: 60px;
    height: 60px;
}

.value-item p {
    font-size: 1rem;
    line-height: 1.4;
    color: #fff;
    margin: 0;
    font-weight: 700;
}

/* Vision Section */
.vision-section {
    padding: 80px 0;
    text-align: center;
    background: #f9f9f9;
}

.vision-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
    letter-spacing: 5px;
}

.vision-text {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* History Section */
.history-section {
    padding: 80px 0;
}

.history-timeline {
    position: relative;
    max-width: 100%;
    margin: 50px auto 0;
}

.history-item {
    display: flex;
    flex-direction: row-reverse;
    margin-bottom: 40px;
}

.history-year {
    flex: 0 0 150px;
    font-size: 2.5rem;
    font-weight: 700;
    color: #e60012;
    text-align: left;
    padding-left: 40px;
    position: relative;
}

.history-year::after {
    content: '';
    position: absolute;
    left: -10px;
    top: 15px;
    width: 20px;
    height: 20px;
    background: #e60012;
    border-radius: 50%;
    z-index: 2;
}

.history-content {
    flex: 1;
    padding-right: 40px;
    border-right: 2px solid #eee;
    text-align: left;
    padding-bottom: 20px;
}

.history-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.history-content p {
    color: #666;
    line-height: 1.6;
}

/* Quality Policy Section */
.quality-section {
    padding: 80px 0;
    background: #f4f4f4;
}

.quality-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

.quality-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quality-text .section-header {
    margin-bottom: 30px;
}

.quality-text .section-header h2::after {
    width: 30px;
    /* Shorter underline like in the image */
    height: 3px;
    background: #e60012;
}

.quality-text ul {
    list-style: none;
    padding: 0;
}

.quality-text li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    color: #666;
    /* Greyer text like in the image */
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 400;
}

.quality-text li::before {
    content: '•';
    /* Dot instead of checkmark */
    position: absolute;
    left: 0;
    color: #666;
    font-weight: bold;
}

.quality-image {
    height: 100%;
}

.quality-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-intro {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 40px;
    max-width: 1000px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    text-align: center;
    padding: 30px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.contact-card .icon {
    font-size: 2.5rem;
    color: #e60012;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-card .icon svg {
    width: 50px;
    height: 50px;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.contact-card p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

/* Business Card Styles */
.business-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #e60012;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 15px;
}

.manager-info h3 {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 5px;
}

.manager-info .position {
    color: #e60012;
    font-weight: 500;
    font-size: 1rem;
}

.card-logo img {
    height: 30px;
    opacity: 0.8;
}

.card-body {
    margin-bottom: 25px;
    flex-grow: 1;
}

.contact-item {
    margin-bottom: 12px;
    display: flex;
    font-size: 1.1rem;
    align-items: center;
}

.contact-item .label {
    color: #888;
    width: 70px;
    flex-shrink: 0;
}

.contact-item .value {
    color: #444;
    font-weight: 500;
}

.card-footer .qr-codes {
    display: flex;
    gap: 20px;
}

.qr-item {
    text-align: center;
}

.qr-image,
.qr-placeholder {
    width: 120px;
    height: 120px;
    background: #f9f9f9;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #ccc;
    margin-bottom: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.qr-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.qr-item span {
    font-size: 0.85rem;
    color: #888;
}

/* Form Section */
.form-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.form-group textarea {
    height: 120px;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.form-submit .btn {
    padding: 12px 40px;
    font-size: 1.1rem;
}

@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }

    .quality-container {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .history-timeline {
        padding-left: 20px;
    }

    .history-item {
        flex-direction: column;
        border-left: 2px solid #eee;
        padding-left: 30px;
        margin-bottom: 30px;
        position: relative;
    }

    .history-year {
        flex: none;
        font-size: 1.8rem;
        padding-left: 0;
        margin-bottom: 10px;
        text-align: left;
    }

    .history-year::after {
        left: -39px;
        top: 8px;
        width: 16px;
        height: 16px;
    }

    .history-content {
        padding-right: 0;
        border-right: none;
        text-align: left;
        padding-bottom: 0;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}