*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.about-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/about.jpg');
    background-position: top;
    background-size: cover;
    display: flex;
    background-repeat: no-repeat;
}
/* .captions-full{
    visibility: visible !important;
    opacity: 1 !important;
} */
.mypb{
    padding-bottom: 60px;
}




#team img {
    height: 320px;
    width: auto;
}
#team .team-card {
    margin-bottom: 30px;
    margin-top: 30px;
}
#team h4 {
    font-weight: 600;
    margin: 0;
    line-height: 22px;
}
#team .cont{
    margin-top: 10px;
}
#team .row {
    display: flex;
    flex-direction: row;
    width: 100%;
}
.divider {
    width: 2px;
    background-color: white;
    height: 100vh;
    margin-top: 25px;
    border-left: 2px solid #fff;
}
.divide{
    border-left: 2px solid #000;
        height: 250px;
        display: flex;
        align-items: center;
    }
        .logo img {
            width: 150px;
        }
        .txt{
            padding: 40px 0;
        }
        .txt p {
            padding: 0px 43px;
            font-size: 14px;
            color: #fff;
        }
        .limage {
            width: 250px;
        }
        .side {
            font-size: 17px !important;
            padding: 0 44px;
        }
        .he {
            height: 300px;
            display: flex;
            align-items: center;
            justify-content: end;
        }
        .sub {
            width: 60%;
            border-right: 2px solid #7d7171;
            margin-right: 35px;
            height: 100%;
            display: flex;
            align-items: center;
        }
                .sub h2{
            font-weight: 500;
        }
        .my{
            display: flex;
            align-items: center;
        }
        .social {
            display: flex;
            align-items: center;
            justify-content: end;
            height: 69px;
        }
        .social i {
            color: #000;
            font-size: 32px;
            padding-left: 10px;
        }
    .p-0{
        padding: 0 !important;
    }
    .component-parallax-image .inner .image1 {
        position: absolute;
        background-size: cover;
        background-repeat: no-repeat;
        top: 110px;
        left: 0;
        display: block;
        width: 100%;
        padding-top: 80%;
    }
    .in {
        padding: 0 42px !important;
    }
    .in p{
        font-size: 16px !important;
    }
    .mb {
        margin-bottom: 112px;
    }

    .component-parallax-image .inner .image2 {
        position: absolute;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        top: 110px;
        left: 0;
        display: block;
        width: 100%;
        padding-top: 80%;
    }
    .port {
        background: url('../../assets/images/d4.jpg');
        background-position: top;
        padding: 40px 0;
        display: flex;
        background-repeat: no-repeat;
        height: 100vh;
        position: relative;
    }
    .port1 {
        background: url('../../assets/images/h4.png');
        background-position: top;
        padding: 40px 0;
        display: flex;
        background-repeat: no-repeat;
        height: 100vh;
        position: relative;
    }
    /* Centered text */
    .centered {
        width: 41%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .mu {
        font-size: 33px !important;
        line-height: 44px;
        color: #fff;
    }
    .spacer {
        height: 100vh; /* Creates space before animation appears */
    }

    .animated-box {
        position: absolute;
        color: #fff;
        padding: 20px;
        font-size: 40px;
        font-weight: 600;
        line-height: 60px;
        text-align: left;
        width: 70% !important ;
        border: 2px solid transparent;
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
    }
    
  @media (max-width: 576px) {
            .animated-box {
            padding: 20px;
            font-size: 14px;
            line-height: 16px;
            width: 80% !important;
        }
    }


    /* The moving line effect */
    .animated-box::before,
    .animated-box::after,
    .bottom-border,
    .left-border {
        content: "";
        position: absolute;
        background: #fff;
    }

    .animated-box::before {
        width: 0;
        height: 2px;
        top: 0;
        left: 0;
    }

    .animated-box::after {
        width: 2px;
        height: 0;
        top: 0;
        right: 0;
    }

    .bottom-border {
        width: 0;
        height: 2px;
        bottom: 0;
        right: 0;
    }

    .left-border {
        width: 2px;
        height: 0;
        bottom: 0;
        left: 0;
    }

    /* Keyframes */
    @keyframes move-top { from { width: 0; } to { width: 100%; } }
    @keyframes move-right { from { height: 0; } to { height: 100%; } }
    @keyframes move-bottom { from { width: 0; } to { width: 100%; } }
    @keyframes move-left { from { height: 0; } to { height: 100%; } }

    /* Activate animations when the class is added */
    .animate::before { animation: move-top 1s linear forwards; }
    .animate::after { animation: move-right 1s linear forwards 1s; }
    .animate .bottom-border { animation: move-bottom 1s linear forwards 2s; }
    .animate .left-border { animation: move-left 1s linear forwards 3s; }
    .img-container {
        position: relative;
        display: inline-block;
    }
    /* Moving border effect with unique class names */
    .border-top,
.border-right,
.border-bottom,
.border-left {
    content: "";
    position: absolute;
    background: #fff;
}

/* Adjusted animation duration */
.border-top {
    width: 0;
    height: 2px;
    top: 0;
    left: 0;
    animation: img-move-top 3s linear forwards;
}

.border-right {
    width: 2px;
    height: 0;
    top: 0;
    right: 0;
    animation: img-move-right 3s linear forwards 3s;
}

.border-bottom {
    width: 0;
    height: 2px;
    bottom: 0;
    right: 0;
    animation: img-move-bottom 3s linear forwards 6s;
}

.border-left {
    width: 2px;
    height: 0;
    bottom: 0;
    left: 0;
    animation: img-move-left 3s linear forwards 9s;
}

/* Unique Keyframes */
@keyframes img-move-top { from { width: 0; } to { width: 100%; } }
@keyframes img-move-right { from { height: 0; } to { height: 100%; } }
@keyframes img-move-bottom { from { width: 0; } to { width: 100%; } }
@keyframes img-move-left { from { height: 0; } to { height: 100%; } }

    .component-parallax-image .inner .image3 {
        position: absolute;
        background-size: contain;
        background-repeat: no-repeat;
        top: 0px;
        left: 0;
        display: block;
        width: 100%;
        padding-top: 80%;
    }
    .port2 {
        background:  url('../../assets/images/i4.png');
        background-position: top;
        padding: 40px 0;
        display: flex;
        background-repeat: no-repeat;
        height: 100vh;
        position: relative;
    }
    .port4 {
        background: url('../../assets/images/ah5.jpg');
        background-position: top;
        padding: 40px 0;
        display: flex;
        background-repeat: no-repeat;
        height: 100vh;
        position: relative;
    }
    .port5 {
        background: url('../../assets/images/hashim5.jpg');
        background-position: top;
        padding: 40px 0;
        display: flex;
        background-repeat: no-repeat;
        height: 100vh;
        position: relative;
    }
    .port6 {
        background: url('../../assets/images/m5.jpg');
        background-position: top;
        padding: 40px 0;
        display: flex;
        background-repeat: no-repeat;
        height: 100vh;
        position: relative;
    }
    .port7 {
        background: url('../../assets/images/c5.png');
        background-position: top;
        padding: 40px 0;
        display: flex;
        background-repeat: no-repeat;
        height: 100vh;
        position: relative;
    }
    .port8 {
        background: url('../../assets/images/fta5.png');
        background-position: top;
        padding: 40px 0;
        display: flex;
        background-repeat: no-repeat;
        height: 100vh;
        position: relative;
    }
    .port9 {
        background: url('../../assets/images/j5.jpg');
        background-position: top;
        padding: 40px 0;
        display: flex;
        background-repeat: no-repeat;
        height: 100vh;
        position: relative;
    }
    .port10 {
        background: url('../../assets/images/z5.jpg');
        background-position: top;
        padding: 40px 0;
        display: flex;
        background-repeat: no-repeat;
        height: 100vh;
        position: relative;
    }
    .preloader {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: white;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        z-index: 1000;
        animation: fadeOut 2.5s ease-in-out forwards 2s;
    }
    .preloader img {
        width: 150px;
        animation: fadeIn 2.5s ease-in-out;
        position: relative;
        z-index: 2;
    }
    .preloader h1 {
        margin-top: 10px;  
        color: #708F5D;
        animation: fadeIn 2.5s ease-in-out;
    }
    .shadow-line {
        position: absolute;
        width: 100px;
        height: 300px;
        background: rgba(255, 255, 255, 0.5);
        top: 100%;
        left: -100px;
        transform: rotate(70deg);
        animation: shadowMove 1.5s ease-in-out forwards;
        filter: blur(15px);
    }
    @keyframes shadowMove {
        0% { left: -100px; top: 110%; opacity: 0; }
        20% { opacity: 1; }
        50% { left: 50%; top: 50%; opacity: 1; }
        100% { left: 120%; top: -20%; opacity: 0; }
    }
    @keyframes fadeIn {
        from { opacity: 0; transform: scale(0.8); }
        to { opacity: 1; transform: scale(1); }
    }
    @keyframes fadeOut {
        0% { opacity: 1; }
        100% { opacity: 0; visibility: hidden; }
    }
    /* Button Styling */
    
    a.img-container {
    padding: 10px 15px;
    font-size: 14px;
    letter-spacing: 1pt;
    font-weight: 700;
    font-family: Graphik, sans-serif;
    color: #ffffff;
    }
    .animated-button {
        font-size: 11px;
        letter-spacing: 1pt;
        font-weight: 700;
        font-family: Graphik, sans-serif;
        color: #fff;
        position: relative;
        background: transparent;
        transition: all .5s ease;
        display: inline-block;
        min-width: 150px;
        text-decoration: none;
    }
    .animated-button span {
        opacity: 1;
        transition: opacity .5s ease-out;
    }

    .animated-button:after {
        content: "";
        width: 101%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        background-color: #fff;
        transform: scaleX(0);
        transform-origin: left;
        transition: .6s ease;
        z-index: -1;
    }

    .animated-button:hover:after {
        transform: scaleX(1);
    }

    .animated-button:hover span {
        opacity: 1;
    }

     Left, Top, Right, Bottom Animation 
    .animated-button .left,
    .animated-button .right {
        position: absolute;
        height: 0%;
        width: 1px;
        background-color: rgba(255, 255, 255, 0.5);
        transition: height .2s ease-out;
    }

    .animated-button .top,
    .animated-button .bottom {
        position: absolute;
        width: 0%;
        height: 1px;
        background-color: rgba(255, 255, 255, 0.5);
        transition: width .4s ease-out;
    }

    .animated-button .left {
        left: 0;
        bottom: 0;
    }

    .animated-button .right {
        right: 0;
        top: 0;
        transition-delay: .3s;
    }

    .animated-button .top {
        top: 0;
        left: 0;
        transition-delay: .5s;
    }

    .animated-button .bottom {
        bottom: 0;
        right: 0;
        transition-delay: .7s;
    }

     Hover Effects for Borders 
    .animated-button:hover .left,
    .animated-button:hover .right {
        height: 100%;
    }

    .animated-button:hover .top,
    .animated-button:hover .bottom {
        width: 100%;
    }
    .animated-button:hover {
        color: #000;
        text-align: center;
    }
        .b-text {
        font-size: 16px;
        width: 46%;
        line-height: 24px;
    }
    @media (max-width: 576px) {
        .b-text {
            font-size: 14px;
            width: 100% !important;
            line-height: 20px;
        }
    }
    .nav-item {
        
        transition: all 0.3s ease-in-out;
    }  
    .nav-item.active {
        border: 1px solid #fff;
        border-radius: 45%;
    }
    .nav-item a {
        font-size: 16px; /* Default size */
        transition: font-size 0.3s ease; /* Smooth transition */
    }
    /* black logo animation  */
    .border-topb,
    .border-rightb,
    .border-bottomb,
    .border-leftb {
        content: "";
        position: absolute;
        background: #000;
    }
    
    /* Adjusted animation duration */
    .border-topb {
        width: 0;
        height: 2px;
        top: 0;
        left: 0;
        animation: img-move-topb 3s linear forwards;
    }
    
    .border-rightb {
        width: 2px;
        height: 0;
        top: 0;
        right: 0;
        animation: img-move-rightb 3s linear forwards 3s;
    }
    
    .border-bottomb {
        width: 0;
        height: 2px;
        bottom: 0;
        right: 0;
        animation: img-move-bottomb 3s linear forwards 6s;
    }
    
    .border-leftb {
        width: 2px;
        height: 0;
        bottom: 0;
        left: 0;
        animation: img-move-leftb 3s linear forwards 9s;
    }
    
    /* Unique Keyframes */
    @keyframes img-move-topb { from { width: 0; } to { width: 100%; } }
    @keyframes img-move-rightb { from { height: 0; } to { height: 100%; } }
    @keyframes img-move-bottomb { from { width: 0; } to { width: 100%; } }
    @keyframes img-move-leftb { from { height: 0; } to { height: 100%; } }
    .c-mar{
        margin-top: 90px;
    }
    @media screen and (max-width:768px) {
        #team .row {
            flex-direction: column;
        }
    }