.about-hero-section-bg {
    position: relative;
    background-color: #000000e8;
    overflow: hidden;
}
.about-hero-section {
    position: relative;
    overflow: hidden;
    padding: 80px 50px;
    margin-top: 100px;
    margin-bottom: 25px;
    z-index: 2;
}
.background-image-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/build/assets/abu-dhabi-seascape-with-skyscrapers-BQwxlYg0.jpg);
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
}
.end-cta-box {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 0.75rem;
}
.about-page-guide {
    color: #4ba668;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0;
}
.about-hero-slogan {
    font-size: 48px;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}
.about-hero-desc {
    color: #fff;
    font-size: 20px;
}
.grey-bg {
    background-color: #f1f1f133;
}
.story-container h2 {
    font-weight: 600;
    font-size: 36px;
}
.story-container p {
    font-size: 16px;
    font-weight: 400;
}
.story-container img {
    width: 100%;
    height: 80%;
    border-radius: 5px;
}
.spec-title {
    font-size: 36px;
    font-weight: 600;
}
.spec-subtitle {
    font-size: 20px;
    font-weight: 400;
}
.agri-bg {
    background-image: url(/build/assets/slide-1-XXgy-avE.jpg);
}
.chem-bg {
    background-image: url(/build/assets/slide-2-Be2d_7ld.jpg);
}
.petro-bg {
    background-image: url(/build/assets/heap-snow-hands-DnRuA6Mx.jpg);
}
.lead-bg {
    background-image: url(/build/assets/slide-4-8j3cpEcB.jpg);
}
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.flip-card {
    background-color: transparent;
    width: calc(25% - 20px);
    height: 325px;
    perspective: 1000px;
    cursor: pointer;
}
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}
.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    backface-visibility: hidden;
    overflow: hidden;
    box-shadow: 0 4px 12px #00000026;
}
.flip-card-front {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}
.card-title {
    width: 100%;
    background: #0009;
    color: #fff;
    padding: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}
.flip-card-back {
    background-color: #fff;
    color: #181818;
    border: 1px solid #4ba668;
    transform: rotateY(180deg);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tab-section {
    display: flex;
    justify-content: center;
}
.tabs-container {
    display: flex;
    max-width: 1320px;
    width: 100%;
    background: #fff;
    overflow: hidden;
}
.tabs {
    width: 25%;
    background: #fff;
    display: flex;
    flex-direction: column;
}
.tab-button {
    padding: 20px;
    text-align: left;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 700;
    border-left: 2px solid transparent;
    transition: border 0.3s;
}
.tab-button:hover,
.tab-button.active {
    background: #fff;
    border-left: 2px solid #4ba668;
}
.tab-content {
    width: 75%;
    padding: 30px;
}
.tab-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}
.tab-panel.active {
    display: block;
}
.panel-content {
    display: flex;
    align-items: center;
    gap: 25px;
}
.panel-content .text {
    flex: 1;
}
.panel-content .text ul {
    list-style: none;
    padding-left: 0;
}
.panel-content .image {
    flex: 1;
    display: flex;
    justify-content: center;
}
.panel-content .image img {
    max-width: 350px;
    height: 350px;
    border-radius: 8px;
    object-fit: cover;
}
.panel-content .text .tab-name {
    font-size: 16px;
    color: #4ba668;
}
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 768px) {
    .tabs-container {
        flex-direction: column;
    }
    .tabs {
        width: 100%;
        flex-direction: row;
        border-right: none;
        border-bottom: 1px solid #ccc;
    }
    .tab-button {
        flex: 1;
        text-align: center;
    }
    .tab-content {
        width: 100%;
    }
    .panel-content {
        flex-direction: column;
    }
}
@media only screen and (max-width: 562px) {
    .about-hero-section {
        padding: 80px 50px;
        margin-top: 70px;
    }
    .about-page-guide {
        font-size: 20px;
    }
    .about-hero-slogan {
        font-size: 30px;
    }
    .about-hero-desc {
        color: #fff;
        font-size: 16px;
    }
    .story-container .row {
        flex-direction: column-reverse;
    }
    .story-container img {
        margin-bottom: 20px;
    }
    .tab-button {
        padding: 15px;
        border-left: none;
        border-bottom: 2px solid transparent;
    }
    .tab-button:hover,
    .tab-button.active {
        border-left: none;
        background: #fff;
        border-bottom: 2px solid #4ba668;
    }
    .spec-subtitle {
        font-size: 18px;
        font-weight: 400;
    }
    .flip-card {
        width: 100%;
    }
    .flip-card-back {
        padding: 10px;
    }
    .card-title {
        font-size: 1rem;
    }
    .end-cta-box {
        flex-direction: column;
    }
}
