@font-face {
    font-family: 'Gill Sans Light';
    src: url('../lib/fonts/Gill Sans Light.otf') format('opentype');
}

@font-face {
    font-family: 'Gill Sans';
    src: url('../lib/fonts/GillSans.ttc') format('truetype');
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}
 
html {
  position: relative;
  min-height: 100%;
}

body {
    font-family: 'Gill Sans Light', 'Gill Sans', sans-serif;
    margin-bottom: 60px;
}

/* Custom scrollbar for modern browsers */
::-webkit-scrollbar {
    width: 4px; /* Scrollbar width */
    height: 4px; /* Scrollbar height */
}

::-webkit-scrollbar-track {
    background: #f1f1f1; /* Track background */
    border-radius: 20px; /* Rounded corners */
}

::-webkit-scrollbar-thumb {
    background: #007BC1; /* Thumb color */
    border-radius: 20px; /* Rounded corners */
}

    ::-webkit-scrollbar-thumb:hover {
        background: #0056b3; /* Thumb hover color */
    }

/* For Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #007BC1 #f1f1f1;
}


 
.language-toggle-group .btn {
    border-radius: 20px;
    padding: 5px 15px;
}

.language-toggle-group .btn-primary {
    background-color: #007BC1;
    border-color: #007BC1;
}

.language-toggle-group .btn-light {
    background-color: white;
    border-color: #007BC1;
    color: #007BC1;
}

.video-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#videoPlayer {
    border: none;
    outline: none;
    display: block; /* Removes inline block spaces */
    border: none; /* Ensures no border is added */
    outline: none; /* Ensures no outline is added */
    transform: scale(1.003); /* Adjust scale as needed to remove black bars */
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures video covers the area */
}

.dynamic-link {
    position: absolute;
    border-radius: 10px;
    text-decoration: none;
    color: transparent;
}

    .dynamic-link:hover {
        /*background-color: rgba(0, 123, 193, 0.5);*/ /* Highlight on hover */
    }

.clipped-image-container {
    position: relative;
    overflow: hidden; /* Hide anything outside the bounds */
    height: 80vh; /* Set height to 50% of the viewport height */
    max-height: 80%; /* Alternatively, you can limit height to half of the parent */
}

.clipped-image {
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensure the image maintains proportions */
    clip-path: polygon(0% 0%, 100% 0%, 100% 40%, 0% 40%); /* Clip the lower part */
}

.navbar-nav .nav-item {
    position: relative; /* Set position to relative for underline placement */
}

    .navbar-nav .nav-item::after {
        content: ''; /* Creates a pseudo-element */
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px; /* Thickness of the underline */
        background-color: #007BC1; /* Color of the underline */
        transition: width 0.3s ease; /* Smooth transition effect */
    }

    .navbar-nav .nav-item:hover::after,
    .navbar-nav .nav-item.active::after {
        width: 100%; /* Expand the underline for hovered or active items */
    }

/* Circular Image */
.hatchn-circle {
    position: absolute;
    right: 5vw;
    top: 50%;
    transform: translateY(-50%);
    width: 35vw;
    max-width: 500px;
}

/******************************************************************************************/
/************************************* Back to Home Button ********************************/
/******************************************************************************************/

.btn-back-home {
    background: none;
    border: none;
    font-size: 1.3rem;
    font-weight: bold;
    color: black;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: color 0.3s ease;
}

    .btn-back-home i {
        font-size: 1.5rem; /* Make the arrow taller */
        font-weight: bold;
    }

    /* Hover Effect */
    .btn-back-home:hover {
        color: #007BC1; /* Highlight color */
    }
/******************************************************************************************/
/************************************* End Back to Home Button ****************************/
/******************************************************************************************/
.bg-footer {
    background-color: #3b4752;
}

#whoweareAhref,
#whatwedoAhref,
#ourworkAhref {
    opacity: 0;
    cursor:pointer;
}
#circleImage {
    position:relative;
}
    /*#circleImage {
    width: 100%;
    max-width: 800px;*/ /* Adjust to fit the normal desktop size */
    /*display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {*/ /* Target mobile screens */
    /*#circleImage {
        transform: scale(1.5);*/ /* Adjust scale factor as needed */
    /*width: 150%;*/ /* Increase width */
    /*max-width: none;*/ /* Remove max-width limit */
    /*}
}*/
    /* Hide Plyr.js controls on hover */
    .plyr--video .plyr__controls {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.plyr--video:hover .plyr__controls {
    opacity: 0;
}

/* Ensure the video container takes full width and height */
.video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Style the play/pause button */
.plyr__control--overlaid {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    padding: 20px;
    transition: background 0.3s ease;
}

    .plyr__control--overlaid:hover {
        background: rgba(0, 0, 0, 0.9);
    }