@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap");

* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", Courier, monospace;
}
.about-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -95px;
    overflow: hidden;
}

.bg-hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 90%;
    z-index: 0;
}

.overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero h1 {
    color: #fff;
    text-align: center;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    font-style: normal;
    font-weight: 600;
    line-height: 1.2;
}

.about-hero .watch-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 400;
    line-height: 1;
    font-size: normal;
}

.about-company #carouselAboutCompany,
#carouselAboutCompany .carousel-inner {
    width: 100%;
    height: auto;
}

.about-company #carouselAboutCompany .carousel-item img {
    width: 100dvh;
    height: auto;
    object-fit: contain;
    border-radius: 5px;
}

.watch-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border: 2px solid #007bff;
    border-radius: 8px;
    color: #007bff;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    background-color: transparent;
    transition: color 0.4s ease, border-color 0.4s ease;
}

.watch-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 120%;
    height: 100%;
    background-color: #007bff;
    transform: skewX(-20deg);
    transition: left 0.4s ease;
    z-index: 0;
}

.watch-link:hover::before {
    left: 0;
}

.watch-link .icon,
.watch-link .text {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.watch-link:hover {
    color: white;
    border-color: #007bff;
}

.watch-link:hover .text {
    color: white;
}

.watch-link:hover .icon svg path,
.watch-link:hover .icon svg circle {
    fill: white;
    stroke: white;
}

/* CSS for ABOUT Company */
.col-12.col-md-6.me-0.me-md-5 {
    padding: 1rem 1.5rem;
    /* background: #f0f8ff;  */
    border-radius: 12px;
    /* box-shadow: 0 6px 15px rgba(0, 99, 165, 0.15);  */
    transition: box-shadow 0.3s ease;
}

.col-12.col-md-6.me-0.me-md-5:hover {
    box-shadow: 0 12px 30px rgba(0, 99, 165, 0.3);
    /* background: #f0f8ff; */
}

.col-12.col-md-6.me-0.me-md-5 h1 {
    color: #0a63a5;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.col-12.col-md-6.me-0.me-md-5 p {
    color: #333;
    line-height: 1.6;
    font-weight: 400;
}

/* Responsive text size */
@media (max-width: 576px) {
    .col-12.col-md-6.me-0.me-md-5 {
        padding: 1rem;
    }

    .col-12.col-md-6.me-0.me-md-5 h1 {
        font-size: 1.75rem;
    }

    .col-12.col-md-6.me-0.me-md-5 p {
        font-size: 0.95rem;
    }
}

/* CSS FOR VISI MISI */
.visi-misi-card {
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
    background: white;
    border-radius: 10px;
    padding: 2rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.visi-misi-card::before {
    content: "";
    position: absolute;
    bottom: -40%;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #007bff55, transparent 70%);
    transform: translateX(-100%) rotate(15deg);
    transition: transform 1.8s ease;
    pointer-events: none;
    z-index: 0;
}

.visi-misi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.visi-misi-card:hover::before {
    transform: translateX(100%) rotate(15deg);
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* CSS for Core Values */
.company-profile-section {
    margin-top: 5rem;
}

/* CSS for Core Values */
.core-values-section {
    margin-top: 5rem;
    background-color: #fff;
    color: #333;
}

.core-values-section h2 {
    font-size: 1.8rem;
    text-transform: uppercase;
}

.core-values-section h3 {
    font-size: 1.8rem;
    color: #2b2b2b;
    letter-spacing: 1px;
}
.core-value-card {
    position: relative;
    padding: 25px;
    border-radius: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
    text-align: left;
}

.core-value-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 5px;
    width: 0%;
    background-color: #007bff;
    transition: width 8s ease;
    border-radius: 3px;
}

.core-value-card:hover {
    transform: translateY(-5px);
    background-color: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.core-value-card:hover::after {
    width: 100%;
}

.core-value-card .icon img {
    width: 64px;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

.core-value-card h5 {
    font-size: 1.1rem;
    color: #000;
    text-align: left;
}

.core-value-card h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #007bff;
    text-align: left;
}

.core-value-card p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    text-align: left;
}

@media (max-width: 992px) {
    .core-values-section {
        margin-top: 3rem;
    }

    .core-values-section h2 {
        font-size: 1.6rem;
    }

    .core-values-section h3 {
        font-size: 1.5rem;
    }

    .core-value-card {
        padding: 20px;
    }

    .core-value-card h5 {
        font-size: 1rem;
    }

    .core-value-card p {
        font-size: 0.88rem;
    }
}

/* Small screens (mobile) */
@media (max-width: 576px) {
    .core-values-section {
        text-align: center;
        margin-top: 2rem;
    }

    .core-values-section h2,
    .core-values-section h3 {
        text-align: center;
        font-size: 1.4rem;
    }

    .core-value-card {
        padding: 18px;
        border-radius: 12px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    }

    .core-value-card .icon img {
        width: 52px;
        margin-bottom: 8px;
    }

    .core-value-card h5 {
        font-size: 1rem;
    }

    .core-value-card h6 {
        font-size: 0.9rem;
    }

    .core-value-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

/* ESG  */

.esg-first-section h2 {
    max-width: 700px;
    margin: 0 auto;
    white-space: normal;
    text-align: center;
}

.esg-first-section .hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    background-color: #fff;
}

.esg-first-section .hover-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.esg-first-section.gds-icon img,
.esg-first-section.gds-icon svg {
    max-width: 40px;
    height: auto;
}


@media (max-width: 640px) {
    .subtitle-about{
        font-size: 15px !important;
    }
}
