* {
    box-sizing: border-box;
}


#jumbo {
    background-color: #23344F;
}

#jumbo h3 {
    font-size: 60px;
    letter-spacing: .02em;
    color: #fff;
    line-height: 1.5;
    font-weight: 900;
    text-transform: capitalize;
}

#jumbo h5 {
    font-size: 48px;
    letter-spacing: 1px;
    color: #fff;
    line-height: 32px;
    font-weight: 500;
    text-transform: capitalize;
}   

li.nav-item {
    margin-left: 20px;
    margin-top: 20px;
}

li.nav-item:last-child {
    margin-right: 20px;
}

a.navbar-brand,
a.nav-link,
a.nav-link.active {
    color: #fff;
    font-size: 14px;
    font-family: 'Montserrat' sans-seriff;
    letter-spacing: .02em;
    font-weight: 700;
    line-height: 1.5;
    position: relative;
}

a.nav-link:hover {
    color: #fff;
}

a.nav-link::after {
    content: ""; /* Create a pseudo-element */
    position: absolute;
    left: 0; /* Start from the center */
    bottom: -2px; /* Position at the bottom of the text */
    width: 100%; /* Full width for the underline */
    height: 2px; /* Thickness of the underline */
    background: linear-gradient(90deg, rgb(204, 239, 58), rgb(36, 171, 226)); /* Blue to cyan gradient */
    transform: scaleX(0); /* Initial scale is 0 */
    transform-origin: center; /* Origin for scaling is center */
    transition: transform 0.4s ease-in-out; /* Animation for scaling */
} 

a.nav-link:hover::after {
    transform: scaleX(1); /* Expand to full width on hover */
}

.carousel-item {
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out; /* Eases the opacity and movement */
}

.carousel-item-next, .carousel-item-prev, .carousel-item.active {
    transform: scale(1); /* Ensures all active items remain their normal size */
}

.carousel-item-next {
    transform: translateX(100%) scale(1.05); /* Slight zoom effect for incoming images */
}

.carousel-item-prev {
    transform: translateX(-100%) scale(1.05); /* Slight zoom effect for outgoing images */
}

.carousel-item-next.carousel-item-start,
.carousel-item-prev.carousel-item-end {
    transform: translateX(0) scale(1); /* Smooth reset to original scale */
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item {
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out; /* Match the transition time for smoothness */
}


#visionary h4 {
    font-size: 32px;
    font-weight: 800;
}

#visionary span {
    font-size: 16px;
    font-weight: 400;
}

#visionary i {
    font-size: 44px;
    color: #1D517D;
    display: flex;
    justify-content: center;
}


/*--------------------------------------------------------------
# Cta
--------------------------------------------------------------*/
.cta {
    background: linear-gradient(rgba(2, 2, 2, 0.7), rgba(0, 0, 0, 0.7)), url("/static/pictures/cta.webp") fixed center center;
    background-size: cover;
    padding: 60px 0;
}

.cta-about-page {
    background: linear-gradient(rgba(2, 2, 2, 0.7), rgba(0, 0, 0, 0.7)), url("/static/pictures/aboutus2.jpg") fixed center center;
    background-size: cover;
    padding: 60px 0;
}
  
.cta h5,
.cta-about-page h5 {
    color: #fff;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 10%;
}
  
.cta p,
.cta-about-page p {
    color: #fff;
}
  
.cta .cta-btn {
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 8px 28px;
    border-radius: 4px;
    transition: 0.5s;
    margin-top: 10px;
    border: 2px solid #fff;
    color: #fff;
}
  
.cta .cta-btn:hover {
    background: #ffc451;
    border-color: #ffc451;
    color: #151515;
}

.cta i {
    font-size: 78px;
    color: #1D517D;
    margin-bottom: 10%;
}

#cta-inner {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

#cta-inner p {
    font-size: large;
    font-weight: 600;
}

#about {
    background-color: #EFEFEF;
}

#quicklinks h4 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 3%;
}

#quicklinks {
    text-align: center;
}

#quicklinks i {
    font-size: 32px;
}

#services-header {
    padding: 30px 20px;
    background-color: #EFEFEF;
}

#services-header h5 {
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}



#aboutus {
    position: relative; /* Important so overlay can be positioned absolutely */
    background-image: url('../pictures/aboutus.jpg');
    background-size: cover;
    background-position: center;
    min-height: 320px;
}

#services {
    position: relative; /* Important so overlay can be positioned absolutely */
    background-image: url('../pictures/services.jpg');
    background-size: cover;
    background-position: center;
    min-height: 320px;
}

#terminals {
    position: relative; /* Important so overlay can be positioned absolutely */
    background-image: url('../pictures/terminals.webp');
    background-size: cover;
    background-position: center;
    min-height: 320px;
}

.dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* darker overlay */
    z-index: 1;
}


#about-page h4 {
    font-size: 26px;
    font-weight: 700;
    text-align: center;
}


#corporate {
    background-color: #EFEFEF;
}

#counts {
    background-color: #23344F;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;

}

#counts h5 {
    color: #fff;
    padding-bottom: 10px;
    font-size: 32px;
    font-weight: 700;
    margin: 30px 10px;
}


#advanced {
    margin: 30px 0px;
    padding: 1px 20px;
}

#advanced h4 {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

#advanced-header {
    margin-bottom: 20px;
}

.custom-card {
    border-top: 5px solid #4A0000; /* oxblood color */
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-card:hover {
    transform: translateY(-8px); /* pop up */
    box-shadow: 0 8px 20px rgba(0,0,0,0.2); /* stronger shadow */
}

.custom-card h5 {
    font-weight: 600;
    font-size: 20px;
    margin: 10px 0px;
}

































#footer {
    background-color: #23344F;
    color: #fff;
}

.footer-sub {
    font-size: large;
    font-weight: 700;
}

#footer ul {
    padding-left: 0;
}

#footer ul li{
    text-decoration: none;
    list-style-type: none;
    padding-left: 0;
}

#footer ul li a {
    text-decoration: none;
    text-transform: none;
    color: #fff;
}


#copyright span {
    font-size: 12px;
    letter-spacing: 0;
}














/* Large screen styles  START */
@media (min-width: 992px) {

    .carousel-item img {
        object-fit: cover; /* Ensures images cover the area */
        height: 100vh; /* Full-screen height */
    }

    .overlay-jumbo {
        position: absolute;
        top: 50%; /* Center vertically */
        left: 70px; /* Align to the left */
        transform: translateY(-50%); /* Adjust for vertical centering */
        color: white !important; /* Text color */
        z-index: 20; /* Ensure it appears above the carousel */
        max-width: 400px;
    }

    .overlay-jumbo h2 {
        font-weight: 900;
    }

    .overlay-jumbo p {
        font-weight: 300;
    }

    .dark-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent black */
        z-index: 15; /* Below overlay text but above carousel images */
    }

    .dark-overlay-pages {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent black */
        z-index: 1; /* Below overlay text but above carousel images */
    }

    .aboutHeader {
        padding-top: 5%;
        padding-left: 5%;
        padding-right: 60px;
        padding-bottom: 5%;
    }

    .hero-2 {
        position: absolute;
        margin-top: 100px;
        color: #fff;
        font-weight: bolder;
        z-index: 1;
        margin-left: 440px;
    }

    #subheader-text h5 {
        font-size: 35px;
        font-weight: bold;
    }

    #counts i {
        font-size: 60px;
        color: #fff;
        margin-bottom: 20px;
    }

    #counts span {
        color: #fff;
        margin-bottom: 1.25rem;
        font-size: 42px;
        font-weight: 300;
        line-height: 1.0714;
        margin-bottom: 20px;
    }

    #counts p {
        color: #fff;
        font-size: 1.5rem;
        line-height: 1.33333;
        letter-spacing: .015em;
        font-weight: 300;
    }

    #terminal-pic {
        height: 600px;
    }

    .overlay {
        position: relative; /* makes text sit above overlay */
        color: white !important;
        z-index: 2;
        max-width: 100%;
        margin-left: 20px;
        top: 90px;
        transform: translateY(-50%);
    }














    .psy-4 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    } 

    .psx-4 {
        padding-right: 3rem !important;
        padding-left: 3rem !important;
    }

    .psy-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .psx-5 {
        padding-right: 3rem !important;
        padding-left: 3rem !important;
    }

    .pcs-5 {
        padding-left: 3rem !important;
    }

    .pct-5 {
        padding-top: 3rem !important;
    }

}

/* Large screen styles END */

























/** Custom styling for SMALL screens START **/

@media (max-width: 720px) { 
    .aboutHeader {
        padding-top: 4%;
        padding-left: 20px;
        padding-right: 20px;
        margin-bottom: 20px;
    }


    .pcy-2 {
        padding-top: .5rem !important;
        padding-bottom: .5rem !important;
    }

    .pcx-2 {
        padding-left: .5rem !important;
        padding-right: .5rem !important;
    }

    .pst-3 {
        padding-top: 1rem !important;
    }

    .msb-3 {
        margin-bottom: 1rem !important;
    }

    .carousel-item img {
        height: 60vh; /* shrink height so it's not too tall */
    }

    .dark-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent black */
        z-index: 15; /* Below overlay text but above carousel images */
    }

    .dark-overlay-pages {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent black */
        z-index: 1; /* Below overlay text but above carousel images */
    }

    .overlay-jumbo {
        position: relative;
        left: 10%;          /* closer to edge */
        right: 20px;         /* keep inside screen */
        max-width: 80%;     /* take full width if needed */
        text-align: center;  /* center text */
        top: -250px;
        color: white !important;
        z-index: 20;
    }

    .overlay-jumbo h2 {
        font-size: 1.5rem;   /* smaller headings */
    }

    .overlay-jumbo p {
        font-size: 0.9rem;
    }

    .overlay-jumbo .btn {
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    #cta {
        text-align: center;
    }

    #counts i {
        font-size: 40px;
        color: #fff;
        margin-bottom: 20px;
    }

    #counts span {
        color: #fff;
        margin-bottom: 1.25rem;
        font-size: 38px;
        font-weight: 300;
        line-height: 1.0714;
        margin-bottom: 20px;
    }

    #counts p {
        color: #fff;
        font-size: 1rem;
        line-height: 1.33333;
        letter-spacing: .015em;
        font-weight: 300;
    }

    #terminal-pic {
        height: 300px;
    }

    .overlay {
        position: relative; /* makes text sit above overlay */
        color: white !important;
        z-index: 2;
        max-width: 100%;
        margin-left: 10px;
        top: 160px;
        transform: translateY(-50%);
    }

    .carousel-item {
        height: 400px;
    }
}


















/* 📱 Extra small devices */
@media (max-width: 480px) {
  .carousel-item img {
    height: 50vh;
  }

  .overlay h2 {
    font-size: 1.2rem;
  }

  .overlay p {
    font-size: 0.8rem;
  }
}

/** Custom styling for SMALL screens END **/