.fg-img img {
    width: clamp(1px, 39.948vw, 1534px);
    height: auto;
}

/* Company Background */
.company .nav-link {
    height: clamp(1px, 6.875vw, 264px);
    background-color: transparent !important;
    border: none !important;
    width: 100%;
    color: #333333;
    border-bottom: clamp(1px, 0.1vw, 2px) solid #333333 !important;
}

.atom,
.solar {
    width: clamp(1px, 2.657vw, 102px);
    height: clamp(1px, 2.657vw, 102px);
}

.logistics {
    width: clamp(1px, 2.292vw, 88px);
    height: clamp(1px, 2.292vw, 88px);
}

.company .two {
    display: none;
}

.company:hover .one {
    display: none;
}

.company:hover .two {
    display: block;
}

.company .nav-link.active .one {
    display: none;
}

.company .nav-link.active .two {
    display: block;
}

.company:hover label {
    font-family: Aeonik Bold;
    color: #076abd;
    cursor: pointer;
}

.company .nav-link.active label {
    font-family: Aeonik Bold;
    color: #076abd;
}

.company:hover .logistics {
    animation: leftToRight 2s ease-in-out infinite alternate;
}

.company:hover .atom {
    animation: spin 2s linear infinite;
}

.company:hover .solar {
    animation: bounce 1s ease-in-out infinite;
}

/* keyframes */

/* atom */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* logistics */
@keyframes leftToRight {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(20px);
    }
}

/* solar */
@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Mission & Vision */
.vission-icon,
.mission-icon,
.mission-icon {
    position: relative;
}

.mission-icon,
.mission-icon img,
.vission-icon img,
.rocket-star {
    width: clamp(1px, 9.375vw, 360px);
    height: clamp(1px, 7.813vw, 300px);
}

.mission-icon1,
.mission-icon2,
.vission-icon2,
.dark {
    position: absolute;
    top: 0;
    left: 0;
}

.mission-container {
    height: clamp(1px, 29.584vw, 1136px);
    background: rgb(86, 198, 238, 0.13);
}

.mission-icon .rocket {
    width: clamp(1px, 9.375vw, 360px);
    height: clamp(1px, 2.813vw, 300px);
    top: 45%;
}

.vission-icon .dark {
    width: clamp(1px, 9.375vw, 360px);
    height: clamp(1px, 1.7vw, 300px);
    top: 45%;
}

/* Pac-Atlantic Group */
.cargo-container {
    padding: 0 7.8%;
    height: clamp(1px, 47.917vw, 1840px);
}

.marine-cargo-img {
    width: clamp(1px, 52.6042vw, 2020px);
    height: auto;
}

.marine-cargo-img img {
    width: 100%;
    height: auto;
}

.pac-img img {
    width: 540px;
    height: auto;
}

.global-icon img {
    width: clamp(1px, 1.094vw, 42px);
    height: clamp(1px, 1.094vw, 42px);
}

.btn-sm:hover .g-icon {
    display: none;
}

.btn-sm:hover .g-icon-1 {
    display: block !important;
}

.btn-sm:hover a {
    color: #295228 !important;
}

/* Our Trusted Partners */
.partners-img img {
    width: clamp(1px, 15.1042vw, 580px);
    height: auto;
    transition: transform 0.3s ease-in-out;
    filter: invert(100%) grayscale(100%) brightness(1000%);
}

.partners-img img:hover {
    transform: scale(1.1);
}

/* Affilitions */

.affil-img img {
    mix-blend-mode: multiply;
    transition: transform 0.3s ease-in-out;
    height: clamp(1px, 4.948vw, 200px);
    width: auto;
}

.affil-img img:hover {
    transform: scale(1.1);
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
}

/* Professional Members */

.profile-card {
    width: clamp(1px, 16.198vw, 622px) !important;
    height: clamp(1px, 24.4271vw, 938px) !important;
    position: relative;
    overflow: hidden;
    border-radius: clamp(1px, 1.1vw, 40px);
}

.profile-card .profile-card-img {
    width: 100% !important;
    height: 100% !important;
    transition: transform 0.5s ease-in-out;
}

/* .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 218px;
    background: linear-gradient(180deg, rgba(14, 62, 160, 0) 0%, #0e3ea0 100%);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(100%);
} */

.profile-info {
    position: absolute;
    width: 100%;
    height: clamp(1px, 10.636vw, 410px);
    background-image: url("../../images/custom/About\ us/base.png");
    background-repeat: no-repeat;
    background-size: 100%;
    transition: opacity 0.5s ease, transform 0.5s ease;
    bottom: 0;
}

.profile-info label,
.profile-info p {
    margin: 0;
}

/* .profile-card:hover .profile-card-img {
    transform: scale(1.1);
}

.profile-card:hover .overlay {
    opacity: 1;
    transform: translateY(0);
}

.profile-card:hover .profile-info {
    opacity: 0;
    transform: translateY(0);
} */

.btn-black {
    width: clamp(1px, 9.896vw, 380px) !important;
    height: clamp(1px, 2.865vw, 110px);
    border: clamp(1px, 0.2vw, 6px) solid black !important;
    padding-bottom: 1px;
}

.copy {
    position: relative;
    display: inline-block;
}

.copied-image {
    position: absolute;
    top: -35px;
    right: -33px;
    width: 80px !important;
    display: none;
    animation: fadeOut 5s ease-out forwards;
    z-index: 10;
}

.copied-image.show {
    display: block;
}

/* Enhanced img-fluid for Safari */
.img-fluid {
    max-width: 100%;
    height: auto;
    display: block; 
    -webkit-backface-visibility: hidden; 
    image-rendering: -webkit-optimize-contrast;
}

.affil-img {
    -webkit-transform: translateZ(0); 
    display: flex;
    align-items: center;
    justify-content: center;
}

.white-border-bottom {
    color: white; 
    text-decoration: underline; 
    text-decoration-color: white; 
    -webkit-text-decoration-color: white; 
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@media (max-width: 767px) {
    .fg-img img {
        width: 100%;
        height: auto;
    }

    .company .nav-link {
        height: clamp(1px, 23.256vw, 132px);
    }

    .atom,
    .solar,
    .logistics {
        width: clamp(1px, 8.605vw, 51px);
        height: clamp(1px, 8.605vw, 51px);
    }

    .border-bottom-1 {
        border-bottom: 1px solid #333333;
    }

    .mission-container {
        height: 100%;
    }

    .cargo-container {
        padding: 0 8.8%;
        height: auto;
    }

    .pac-img img {
        width: 100%;
        height: auto;
    }

    .global-icon img {
        width: clamp(1px, 4.187vw, 21px);
        height: clamp(1px, 4.187vw, 21px);
    }

    .partners-img img {
        width: 100%;
        height: auto;
    }

    .affiliation-container {
        background-image: url("../../images/custom/About\ us/fgbg1 2.png") !important;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .marine-cargo-img {
        min-width: clamp(1px, 130.72vw, 1010px);
        object-fit: cover;
    }

    .profile-info {
        height: clamp(1px, 42vw, 200px);
    }

    .profile-info .fs-20 {
        font-size: clamp(1px, 4.18604vw, 20px) !important;
    }

    .profile-card {
        width: clamp(1px, 72.4vw, 311px) !important;
        height: clamp(1px, 96.98vw, 417px) !important;
        border-radius: clamp(1px, 4.5vw, 40px);
    }

    .mission-icon,
    .mission-icon img,
    .vission-icon img,
    .rocket-star {
        width: clamp(1px, 27.3vw, 180px);
        height: clamp(1px, 22.794vw, 150px);
    }

    .mission-icon .rocket {
        width: clamp(1px, 27.3vw, 180px);
        height: clamp(1px, 9.303vw, 150px);
        top: 40%;
    }

    .vission-icon .dark {
        width: clamp(1px, 27.3vw, 180px);
        height: clamp(1px, 4.652vw, 150px);
    }

    .affil-img img {
        height: 100%;
    }

    .btn-black {
        width: clamp(1px, 34.884vw, 190px) !important;
        height: clamp(1px, 11.63vw, 50px) !important;
    }

    .copied-image {
        position: absolute;
        top: -40px;
        right: -38px;
        width: 100px !important;
        display: none;
        animation: fadeOut 5s ease-out forwards;
        z-index: 10;
    }
	
	  .about-container{
        width: 100%;
        height: auto !important;
    }
}