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

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}


body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    touch-action: manipulation; /* Prevents double-tap zoom */
}

:root{
    --fs-big: 3.5rem;
    --fs-medium: 1.4rem;
    --fs-small: 0.9rem;
    --fs-card-title: 1.2rem;
}

/* -- NAV STYLING -- */
nav {
    position: absolute;
    top: 0;
    color: white;
    display: flex;
    align-items: center;
    z-index: 999;
    height: 70px;
    width: 100%;
    padding: 0 20px;
}

nav ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav li {
    height: 40px;
}

nav a {
    height: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    color: #d3d3d3;
    text-decoration: none;
    /* text-transform: uppercase; */
}

nav a:hover {
    color: white;
    transition: all 0.2s;
}

nav li:first-child {
    margin-right: auto;
    font-size: 1.5em;
    font-weight: 400;
}
.bordered-li {
   border: solid 1px white;
   border-radius: 20px;
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    /* width: 350px; */
    z-index: 999;
    background: rgba(0, 0, 0, 0.396);
    backdrop-filter: blur(10px);
    box-shadow: -5px 0 5px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    /* transition:all 2s linear; */
}

.menu-button {
    display: none;
}

.sidebar li {
    width: 100%;
}

.sidebar a {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    width: 100%;
}

nav .icon {
    font-size: 1.4rem;
}

nav .icon3 {
    /* left: 20px; */
    font-size: 1.3em;
    margin: 0 20px;
}
.logo{
    display: flex;
    align-items: center;
}
.logo img{
    width: 120px;
}

.icon2 {
    font-size: 2em;
}
/* end NAV styling */



.hero{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: white;
    min-height: 100vh;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
    background-color: rgba(0, 0, 0, 0.4);
    /* background-image: url('../img/image01.png'); 
    background-size: cover; 
    background-position: center center;
    background-repeat: no-repeat; 
    background-color: rgba(35, 0, 33, 0.553);
    background-blend-mode: overlay; */
    padding: 50px 20px 20px 20px;
}

.hero video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-main{
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
}

.arrow-down{
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.arrow-down a{
    color: white;
}
.arrow-down .bx-down-arrow-alt{
    font-size: 1.5rem;
    padding: 20px 10px;
}

.arrow-down .bx-down-arrow-alt:hover{
    /* border: solid 2px white; */
    border-radius: 40px;
    background-color: white;
    color: black;
    cursor: pointer;
    transition: all 0.3s;
    
}

.h1{
    font-size: var(--fs-big);
    font-weight: 300;
    text-transform: uppercase;
    text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
}

.h4{
    font-size: var(--fs-medium);
    font-weight: 200;
}

.cards{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0;
}

.card{
    display: flex;
    flex: 1;
    min-width: 300px;
    flex-direction: column;
    border: solid 1px white;
    background-color: rgba(0, 0, 0, 0.363);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    justify-content: start;
    padding: 1rem;
}

.card:hover{
    background-color: white;
    color: black;
    transition: all 0.2s;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
}

.card ul {
    width: 100%;
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 10px 0 0 20px;
}

.card-title{
    font-size: var(--fs-card-title);
}

.card-subtitle{
    font-size: var(--fs-small);
    font-weight: 200;
}

.section-white{
    display: grid;
    padding: 100px 50px;
    justify-content: center;
}

.section-grey{
    display: grid;
    padding: 100px 50px;
    justify-content: center;
    background-color: #f0f0f0;
}

.text-bold{
    font-weight: 500;
}
/* .services{
    display: grid;
    grid-template-columns: 1fr 1fr;
} */
.title{
    display: flex;
    font-size: 2rem;
    font-weight: 300;
    padding: 20px 0;
}

.section-title{
    display: grid;
    font-size: 2rem;
    font-weight: 500;
    margin: 20px 0;
}

.section-subtitle{
    display: grid;
    justify-content: center;
    font-weight: 300;
    gap: 1rem;
    text-align: center;
}

.section2-subtitle{
    display: grid;
    justify-content: center;
    font-weight: 300;
    gap: 1rem;
}

.text-align-center{
    text-align: center;
}

.service-cards{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-card{
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 1rem;
    background-color: white;
    border-radius: 10px;
    border: solid 1px #ccc;
}

hr {
    border: solid 1px #ccc;
    margin: 30px 0;
    width: 100%;
}
  
.card-text ul{
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 1rem;
    font-weight: 300;
    padding: 0 20px;
}

.cta{
    display: grid;
    justify-content: center;
    padding: 30px 0;
}

.cta a{
    background-color: #1e1a9f;
    border: solid 1px #1e1a9f;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    color: white;
    text-decoration: none;
}

.cta a:hover{
    border: solid 1px black;
    background-color: transparent;
    color: black;
    transition: all 0.2s;
}

.grid-3{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 20px 0;
}
.left-section{
    margin-bottom: 20px;
}
.portfolio-card{
    position: relative;
    display: flex;
    flex-direction: column;
    border: solid 1px #ccc;
    border-radius: 10px;
    padding: 1rem;;
    gap: 1rem;

}

.showOnHover{
    position: absolute;
    display: none;
    /* background-color: rgba(0, 0, 0, 0.2); */
    /* backdrop-filter: blur(10px); */
    width: 100%;
    height: 100%;
    border-radius: 10px;
    margin-top: -1rem;
    margin-left: -1rem;
    justify-content: center;
    align-items: center;
    transition: ease 0.2s;     
}

.showOnHover a{
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: white;
    background-color: black;
    border: solid 1px #ccc;
        border-radius: 10px;
        padding: 0.5rem;
}

.showOnHover a:hover{
    background-color: #1e1a9f;
    border: solid 1px #1e1a9f;
    color: white;
    transition: ease 0.2s;
    padding: 0.5rem 1rem;

}

.portfolio-card:hover{
    .showOnHover{
        display: flex;
        transition: ease 0.2s;     

    }
    
}

.portfolio-card .header{
    position: relative;
    left: -28px;
    display: flex;
    margin: 5px;
    border-radius: 0 10px 10px 0;
    padding: 5px 0 5px 20px;
    justify-content: start;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
}

.tamat{
    background-color: #f0f0f0;
    color: black;
}

.ongoing{
    background-color: #1e1a9f;
    color: white;
}
.portfolio-card .details{
    font-weight: 300;
}

.split-2{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.section1{
    background-image: url('../img/office.jpg'); /* URL of your image */
    background-size: cover; /* Ensures the image covers the entire div */
    background-position: center center; /* Centers the image */
    background-repeat: no-repeat; /* Ensures the image doesn't repeat */
    border-radius: 10px;
}

.section2{
    display: grid;
    grid-template-columns: 1fr;
}

.action{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    padding: 20px;
}

.cta2 a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    border: solid 1px #1e1a9f;
    border-radius: 25px;
    padding: 0.5rem;
    color: white;
    text-decoration: none;
    background-color: #1e1a9f;
    gap: 10px;
}
.cta2 a:hover{
    background-color: transparent;
    border: solid 1px black;
    color: black;
    transition: all 0.2s;
}

footer{
    position:relative;
    bottom: 5px;
    display: block;
    width: 100%;
    text-align: center;    
    font-size: 0.8rem;
    color: black;
    padding: 20px;
}

.contact-us{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.contact-us img{
    width: 100px;
}

.contact-us .address{
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

.contact-us .details{
    display: grid;
    grid-template-columns: 1fr;
    font-weight: 300;
}

.align-gap{
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ==TAB STYLING== */

.sub-section-grey{
    display: grid;
    grid-template-columns: 1fr;
    padding: 0 50px;
    justify-content: center;
    background-color: #f0f0f0;
}

.tabs {
    width: 100%;
    margin: 20px 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tab-header {
    display: flex;
    justify-content: space-around;
    border-bottom: 2px solid #ddd;
    background-color: #f1f1f1;
    border-radius: 8px 8px 0 0;
}

.tab-link {
    padding: 15px 20px;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
    flex-grow: 1;
    text-align: center;
}

.tab-link.active {
    background-color: #fff;
    font-weight: bold;
    border-bottom: 2px solid #007BFF;
    text-transform: uppercase;
    border-radius: 8px 8px 0 0;
}

/* .tab-link:hover {
    background-color: #eaeaea;
} */

.tab-content {
    width: 100%;
    padding: 20px 0;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.tab-content .header{
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 20px;
}

table {
    width: 80%;
    margin: 20px auto;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}
th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
th {
    background-color: #007BFF;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
}
tr:hover {
    background-color: #f1f1f1;
}
td {
    color: #333;
}
caption {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.vision{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.vision .card{
    display: flex;
    flex-direction: column;
    background-color: white;
}

.vision .card .header{
    font-size: 1.2rem;
    font-weight: 500;
    padding: 10px 0;
    text-transform: uppercase;
}
.vision .card .img {
    border-radius: 10px;
    width: 100%;
    height: 200px; /* Set the desired height for the image container */
    overflow: hidden;
}

.vision .card .img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the container without distortion */
    /* display: block; */
}

.leaders {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.leader-card {
    width: 300px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
}
.leader-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
}
.leader-card .info {
    padding: 15px;
}
.leader-card .name {
    font-size: 1.5em;
    font-weight: 300;
    margin: 10px 0;
}
.leader-card .position {
    font-size: 1em;
    color: #777;
    margin-bottom: 15px;
}
.leader-card .description {
    font-size: 0.9em;
    color: #555;
}

.regional-presence{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.regional-presence img{
    width: 100%;
    object-fit: cover;
    object-position: center;
    margin: 40px auto;
}

.locations{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    width: 100%;
    gap: 2rem;
}

.locations .card{
    display: flex;
    flex-direction: column;
    padding: 10px 20px;
    background-color: white;
    border-left: 2px solid #007BFF;
    border-radius: 0 10px 10px 0;
}

.locations .card .title{
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
}

@media(max-width: 800px) {
    .hideOnMobile {
        display: none;
    }
    .menu-button{
        display: block;
    }

    .section-white, .section-grey{
        padding: 100px 20px;
    }
}

@media(max-width: 400px) {
    .hideOnMobile {
        display: none;
    }

    .sidebar {
        width: 100%;
    }
}

.trusted-title{
    text-align: center;
}

.logo-carousel {
    overflow: hidden; /* Hide the logos outside the visible area */
    max-width: 600px;
    background: #fff;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    margin: 20px auto;
}

.carousel-track {
    display: flex;
    gap: 20px;
    animation: scroll 20s linear infinite; /* Smooth scrolling animation */
}

.carousel-track img {
    height: 100px; /* Adjust height as needed */
    width: auto;
    object-fit: contain;
    flex-shrink: 0; /* Prevent images from shrinking */
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    filter: grayscale(100%); /* Apply greyscale filter */
    transition: filter 0.3s ease; /* Smooth transition for grayscale effect */
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.back-to-top{
    position: fixed;
    bottom: 20px;
    right: 20px;
}

.back-to-top a{
    background-color: #cccccc86;
    padding: 5px 10px;
    border-radius: 8px;
    color: white;
    font-size: 1.5rem;
}

.back-to-top a:hover{
    background-color: #ccc;
    cursor: pointer;
    color: black;
}