:root {
    --color-green: #1d5049;
    --color-blue: #01213a;
    --color-light-blue: #044b81;
    --color-dark-green: #093b30;
    --color-green1: #275731;
    --color-green2: #729a44;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #fff !important;
    margin-top: 100px !important;
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.nav-bar {
    position: fixed; /* Fix the navbar to the top */
    top: 0; /* Align it at the top of the viewport */
    left: 0;
    width: 100%; /* Ensure it spans the full width */
    z-index: 1030; /* Ensure it stays above other elements */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional shadow for better visibility */
    background-color: white;
    font-weight: bold;
}

.nav-item:hover {
    color: var(--color-light-blue) !important;
}

.nav-bar span {
    color: var(--color-green);
}

.hero-start {
    position: relative;
    width: 100%;
    height: auto; /* Ensure the height adjusts automatically */
    overflow: hidden; /* Prevent image from overflowing */
}

.hero-start img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Ensure it fills the container */
    object-position: top; /* Align the image to the top */
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Maintain 16:9 aspect ratio */
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure video fills the container */
}

.vision h2 {
    color: var(--color-light-blue);
    text-transform: uppercase;
}

.values {
    display: flex;
    justify-content: center;
    align-items: center;
}

#vision, #mission, #core {
    width: 300px;
    height: 200px;
    color: white;
    margin: 10px;
    padding: 20px;
}

#vision {
    background-color: var(--color-green1);
}

#mission {
    background-color: var(--color-blue);
}

#core {
    background-color: var(--color-light-blue);
}

.boxes {
    position: relative;
    height: 300px;
}

.box1, .box2, .box3, .box4 {
    height: 300px;
    position: absolute;
    width: 90%;
}

.box1 {
    width: 90%;
    background-color: var(--color-green2);
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    top: 0;
    left: 0;
}

.box2 {
    width: 70%;
    background-color: var(--color-blue);
    left: 0;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    padding: 20px;
}

.box3 {
    height: 150px;
    width: 50%;
    background-color: var(--color-green1);
    left: 0;
    top: 25%;
}

.box4 img {
    width: 90%;
    height: 150px;
}

.box4 {
    left: 8%;
    top: 25%;
}

.world {
    display: flex;
    gap: 20px;
}

.info {
    text-align: justify;
}

.box {
    width: 100%;
    height: 100px;
    background-color: var(--color-green2);
}

.images img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    margin-top: -50px;
}

.images {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
    justify-content: space-evenly; /* Center items vertically */
    gap: 20px;
}

.team-item img {
    width: 250px; /* Fixed width */
    height: 300px; /* Maintain aspect ratio */
    object-fit: cover; 
    display: block;/* Add spacing below the image */
  }
  
  /* Align content vertically */
  .team-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    text-align: center;
  }
  
  /* Style for team content */
  .team-content {
    width: 250px; /* Match the image width for better alignment */
    background-color: var(--color-light-blue);
    border-radius: 0 0 8px 8px;
    padding: 0px 5px;
  }

.choose {
    background-color: var(--color-light-blue);
    border-top-left-radius: 40px;
    color: white;
    border-bottom-right-radius: 40px;
}

.b {
    width: 150px;
    height: 150px;
    background-color: var(--color-green2);
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    margin: 0px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.b p {
    font-size: 20px;
    font-weight: bold;
    padding: 20px;
    text-align: center;
}

.contact-form {
    display: flex;
    justify-content: center;
}

.copyright {
    background-color: var(--color-blue);
}

.copyright a {
    text-decoration: none;
    color: var(--color-green2);
}

.sectors .read {
    background-color: var(--color-green2);
    color: white;
    font-weight: bold;
}

.container .read {
    display: block;
    margin: 0 auto;
}

.nav-pills {
    flex-wrap: nowrap;
  }
  
  .nav-link {
    white-space: nowrap; /* Prevents text from wrapping */
  }

#real1 {
    background-color: var(--color-green1);
    color: white;
    margin: 10px 0px;
    padding: 20px;
    height: 250px;
}

#real2 {
    background-color: var(--color-blue);
    color: white;
    margin: 10px 0px;
    padding: 20px;
    height: 250px;
}

#real3 {
    background-color: var(--color-light-blue);
    color: white;
    margin: 10px 0px;
    padding: 20px;
    height: 250px;
}

#real1 p, #real2 p, #real3 p, #finance1 p, #finance2 p, #finance3 p, #hospitality1 p, #hospitality2 p {
    text-align: justify;
}

.ongoing {
    display: flex;
    justify-content: center;
}

#finance1 {
    background-color: var(--color-green1);
    color: white;
    margin: 10px 0px;
    padding: 20px;
    height: 180px;
}

#finance2 {
    background-color: var(--color-blue);
    color: white;
    margin: 10px 0px;
    padding: 20px;
    height: 180px;
}

#finance3 {
    background-color: var(--color-light-blue);
    color: white;
    margin: 10px 0px;
    padding: 20px;
    height: 180px;
}

#hospitality1 {
    background-color: var(--color-green1);
    color: white;
    margin: 10px 0px;
    padding: 20px;
    height: 250px;
}

#hospitality2 {
    background-color: var(--color-light-blue);
    color: white;
    margin: 10px 0px;
    padding: 20px;
    height: 250px;
}

#tiana img {
    width: 350px; 
    height: 350px;
}

.profile-container {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
}

.curve-top,
.curve-bottom {
    position: absolute;
    right: 0;
    width: 70%;
    height: 50%;
    z-index: 1;
}

.curve-top {
    top: 0;
    background: #044b81;
    clip-path: ellipse(90% 100% at 100% 0%);
}

.curve-bottom {
    bottom: 0;
    background: #729a44;
    clip-path: ellipse(90% 100% at 100% 100%);
}

.content {
    position: relative;
    z-index: 2;
    text-align: justify;
}

.circle-image {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 6px solid #1a8632;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    background-color: white;
    padding: 5px;
}

h1 {
    font-weight: 800;
    color: #044b81;
}

h3 {
    font-weight: 600;
    color: #044b81;
}

p {
    font-size: 1rem;
    color: #333;
}

@media (max-width: 768px) {
    .text-column {
        text-align: center;
    }

    .image-column {
        justify-content: center !important;
        margin-top: 2rem;
    }
}

.profile-container-v2 {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
}

.curve-top-v2,
.curve-bottom-v2 {
    position: absolute;
    left: 0; /* changed from right: 0 */
    width: 68%;
    height: 50%;
    z-index: 1;
}

.curve-top-v2 {
    top: 0;
    background: #044b81;
    clip-path: ellipse(90% 100% at 0% 0%); /* mirrored horizontally */
}

.curve-bottom-v2 {
    bottom: 0;
    background: #729a44;
    clip-path: ellipse(90% 100% at 0% 100%); /* mirrored horizontally */
}


.content-v2 {
    position: relative;
    z-index: 2;
    text-align: justify;
}

.circle-image-v2 {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 6px solid #1a8632;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    background-color: white;
    padding: 5px;
}

h1 {
    font-weight: 800;
    color: #044b81;
}

h3 {
    font-weight: 600;
    color: #044b81;
}

p {
    font-size: 1rem;
    color: #333;
}

@media (max-width: 768px) {
    .text-column-v2 {
        text-align: center;
    }

    .image-column-v2 {
        justify-content: center !important;
        margin-top: 2rem;
    }

    /* Flex direction change for mobile view */
    .row {
        flex-direction: column-reverse;
    }
}

.profile-container-v3 {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
}

.curve-top-v3,
.curve-bottom-v3 {
    position: absolute;
    right: 0;
    width: 70%;
    height: 50%;
    z-index: 1;
}

.curve-top-v3 {
    top: 0;
    background: #044b81;
    clip-path: ellipse(90% 100% at 100% 0%);
}

.curve-bottom-v3 {
    bottom: 0;
    background: #729a44;
    clip-path: ellipse(90% 100% at 100% 100%);
}

.content-v3 {
    position: relative;
    z-index: 2;
    text-align: justify;
}

.circle-image-v3 {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 6px solid #1a8632;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    background-color: white;
    padding: 5px;
}
  

h1 {
    font-weight: 800;
    color: #044b81;
}

h3 {
    font-weight: 600;
    color: #044b81;
}

p {
    font-size: 1rem;
    color: #333;
}

@media (max-width: 768px) {
    .text-column-v3 {
        text-align: center;
    }

    .image-column-v3 {
        justify-content: center !important;
        margin-top: 2rem;
    }

    .row {
        flex-direction: column;
      }

      .image-column-v2 {
        order: -1; /* Make sure image appears first */
        margin-bottom: 20px;
    }

    .content-v2 {
        order: 1; /* Content appears after image */
    }

      .image-column-v3 {
        order: -1; /* Make sure image appears first */
        margin-bottom: 20px;
    }

    .content-v3 {
        order: 1; /* Content appears after image */
    }

      .image-column {
        order: -1; /* Make sure image appears first */
        margin-bottom: 20px;
    }

    .content {
        order: 1; /* Content appears after image */
    }

    .content p {
        text-align: justify; /* Justify the text */
    }

    .content-v2 p {
        text-align: justify; /* Justify the text */
    }

    .content-v3 p {
        text-align: justify; /* Justify the text */
    }

    .curve-top-v2,
    .curve-bottom-v2 {
        display: none;
    }

    .curve-top-v3,
    .curve-bottom-v3 {
        display: none;
    }

    .curve-top,
    .curve-bottom {
        display: none;
    }

    .profile-container,
    .profile-container-v2, .profile-container-v3 {
        padding: 1rem; /* Reduce padding */
    }

    /* Adjust margin between rows of profiles */
    .row {
        margin-bottom: 0.5rem; /* Reduce margin between profile and other sections */
    }
}

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


@media (max-width: 768px) {
    .box {
        background-color: white;
    }
    .images {
        flex-direction: column; /* Stack items vertically */
        align-items: center; 
        justify-content: center;/* Center items horizontally */
        gap: 30px; /* Increase spacing between vertical items */
    }
}

@media screen and (max-width: 360px) {
    #hospitality2 {
        height: 300px;
    }
    .hero-image {
        max-height: 60vh; /* Adjust the height for mobile devices */
    }
    #tiana img {
        width: 280px;
    }
}