/* ------------------------------------------------------------------------------ */
/* ----------------------------------- General ---------------------------------- */
/* ------------------------------------------------------------------------------ */

@font-face {
    font-family: 'ESBuild';
    src: url('../fonts/ES-Build-Medium.eot');
    src: url('../fonts/ES-Build-Medium.eot?#iefix') format('embedded-opentype'),
    url('../fonts/ES-Build-Medium.woff2') format('woff2'),
    url('../fonts/ES-Build-Medium.woff') format('woff'),
    url('../fonts/ES-Build-Medium.ttf') format('truetype'),
    url('../fonts/ES-Build-Medium.svg#ES-Build-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

html, body {
    overflow-x: hidden;
}

body {
    background-color: #000!important;
    font-family: Arial, sans-serif;
}

h2, p, li, label, div, a {
    color: #ebeced !important;
}

.aurora-animated:hover {
    /* Gradient Background */
    background: linear-gradient(
        120deg,
        #78d8c0,
        #00cc99,
        #04704b,
        #047053,
        #2865b5,
        #2865b5,
        #04704b,
        #00cc99,
        #78d8c0
    );
    background-size: 200% auto;

    /* Clip the background to the text */
    color: #000;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* Animate the background position */
    animation: gradient-flow 8s linear infinite;
}

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

.flex-container {
    display: flex;
}

.position-rel {
    position: relative!important;
}

.position-abs {
    position: absolute!important;
}


/* ------------------------------------------------------------------------------ */
/* ----------------------------------- Footer ----------------------------------- */
/* ------------------------------------------------------------------------------ */

#footer .social {
    position: absolute;
    width: 100%;
    bottom: 30px;
    text-align: center;
    left: 0;
    padding: 10px;
    justify-content: center;
    display: flex;
}

#footer .network {
    margin: 0 5px;
}

@media (max-width: 932px) {
    #footer .social {
        margin-top: 30px;
        position: relative;
    }
}

/* ------------------------------------------------------------------------------ */
/* ----------------------------------- Navbar ----------------------------------- */
/* ------------------------------------------------------------------------------ */

#navbar {
    background-color: transparent !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    padding: 1rem 2rem;
}

#navbar > .container {
    padding-top: 40px;
}

#navbar .navbar-nav .nav-item:last-child {
    margin-right: 0;
}

#navbar .navbar-nav .nav-item .nav-link {
    font-size: 20px;
    font-weight: lighter;
    letter-spacing: 0.1em;
}

#navbar #logo {
    max-width: 180px;
    height: auto;
}

#navbar .nav-link {
    color: #ebeced;
    font-weight: bold;
}

#navbar .nav-link:hover {
    color: #ccccff;
}

#navbar .navbar-toggler {
    background-color: rgba(255, 255, 255, 0.3);
    border: 1px solid white;;
}

#navbar .lang a {
    text-decoration: none;
}

@media (min-width: 769px) {
    #navbar .lang {
        margin-left: 60px;
        font-size: 17px!important;
        vertical-align: middle;
        padding-top: 10px;
    }

    #navbar .navbar-nav .nav-item {
        margin-right: 2rem;
    }
}

@media (max-width: 768px) {
    #navbar .nav-link {
        color: #ebeced;
    }
}

/* ------------------------------------------------------------------------------ */
/* --------------------------- Animated Navbar Logo --------------------------- */
/* ------------------------------------------------------------------------------ */

#navbar .logo-container {
    display: flex;
    flex-direction: column;
    align-items: start;
}

#navbar .logo-animated {
    font-family: 'ESBuild';
    margin: 0;
    margin-bottom: -0.25em;
    margin-left: -4px;
    line-height: 0.9;

    /* Font styling adjusted for a navbar */
    font-size: 3.7em;
    font-weight: 500;
    letter-spacing: -0.04em;

    /* Gradient Background */
    background: linear-gradient(
        120deg,
        #78d8c0,
        #00cc99,
        #04704b,
        #0133ff,
        #2222f4,
        #0133ff,
        #04704b,
        #00cc99,
        #78d8c0
    );
    background-size: 200% auto;

    /* Clip the background to the text */
    color: #000;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* Animate the background position */
    animation: gradient-flow 8s linear infinite;
}

#navbar .logo-subtitle {
    font-family: 'ESBuild';
    font-size: 1.55em;
    font-weight: 500;
    color: #cccccc;
    letter-spacing: -0.03em;
}

/* The Keyframes Animation (does not need to be scoped) */
@keyframes gradient-flow {
    from {
        background-position: 0% center;
    }
    to {
        background-position: 200% center;
    }
}

/* ------------------------------------------------------------------------------ */
/* -------------------------------- Home Navbar --------------------------------- */
/* ------------------------------------------------------------------------------ */

#home-navbar {
    background-color: transparent !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    padding: 1rem 2rem;
}

#home-navbar > .container {
    padding-top: 40px;
}

#home-navbar .logo-heading {
    margin: 0;
    margin-bottom: -0.25em;
    margin-left: -4px;
    line-height: 0.9;

    font-size: 3.7em;
    font-weight: 500;
    letter-spacing: -0.04em;
    color: #ebeced;
}

#home-navbar .navbar-toggler {
    background-color: rgba(255, 255, 255, 0.3);
    border: 1px solid white;;
}

#home-navbar .logo-subtitle {
    font-size: 1.55em;
    font-weight: 500;
    color: #ebeced;
    letter-spacing: -0.03em;
}

#home-navbar .navbar-nav .nav-item {
    margin-right: 2rem;
}

#home-navbar .navbar-nav .nav-item:last-child {
    margin-right: 0;
}

#home-navbar .navbar-nav .nav-item .nav-link {
    font-size: 20px;
    font-weight: lighter;
    letter-spacing: 0.1em;
}

#home-navbar #logo {
    max-width: 180px;
    height: auto;
}

#home-navbar .logo-container {
    font-family: 'ESBuild';
}

#home-navbar .nav-link {
    color: #ebeced;
    font-weight: bold;
}

#home-navbar .nav-link:hover {
    color: #ccccff;
}

#home-navbar .lang a {
    text-decoration: none;
}

@media (max-height: 375px) {
    #home-navbar .navbar-nav .nav-item .nav-link {
        font-size: 17px;
        padding: 5px 0;
    }
}
@media (min-width: 992px) {
    #home-navbar .lang {
        margin-left: 60px;
        font-size: 17px!important;
        vertical-align: middle;
        padding-top: 10px;
    }
}

@media (max-width: 768px) {
    #home-navbar .nav-link {
        color: #ebeced;
    }
}

/* ------------------------------------------------------------------------------ */
/* ------------------------------------ Home ------------------------------------ */
/* ------------------------------------------------------------------------------ */

#home .slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#home .desktop-slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    transition: opacity 1.2s ease-in-out;
}

#home .slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    transition: opacity 1.2s ease-in-out;
}

.web-background-images-container {
    position: absolute;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

#desktop-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    transition: opacity 1.2s ease-in-out;
    z-index: -1;
}

/* Class to set opacity for cross-fade */
#home .fade-out {
    opacity: 0;
    z-index: 2;
}

#home .fade-in {
    opacity: 1;
    z-index: 1;
}

/* -------------------------------------------------------------------------------- */
/* ----------------------------------- Services ----------------------------------- */
/* -------------------------------------------------------------------------------- */

#services {
    margin-top: 4rem;
}

#services h1 {
    letter-spacing: 0.7px;
    text-align: left;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

#services .services-list {
    text-align: left;
}

#services .list-group-item {
    cursor: pointer;
    border: none;
    background-color: transparent;
    margin-bottom: 10px;
    text-align: left;
    padding-left: 0;
    font-size: 0.9rem;
}

#services .list-group-item a {
    text-decoration: none;
    color: #ebeced !important;
}

#services .list-group-item a:hover {
    text-decoration: underline;
}

#services .list-group {
    border-radius: 0;
}

#services .banner-container {
    margin-top: 40px;
    text-align: left;
    width: 47%;
}

#services .banner-container img {
    width: 90%;
    object-fit: cover;
}

#services .service-info {
    padding: 20px;
    text-align: left;
    background: black;
    filter: contrast(0.82) opacity(0.9);
}

#services .service-section {
    margin-bottom: 40px;
}

#services .service-section img {
    margin-bottom: 20px;
}

#services .service-info h2 {
    font-size: 1.2rem;
}

/* hides scroll bar in Chrome, Safari & Opera */
#services .service-detail::-webkit-scrollbar {
    width: 0;
    height: 0;
}

/* hides scroll bar in firefox */
#services .service-detail {
    scrollbar-width: none;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    #services .list-group-item {
        text-align: center;
        border: 1px solid white;
    }

    #services .services-list {
        text-align: center;
        margin-bottom: 20px;
    }

    #services .service-detail {
        text-align: center;
    }

    #services .service-detail img {
        max-height: 250px;
        object-fit: cover;
    }

    #services img#services-banner {
        margin-top: 20px;
        width: 100%;
    }

    #services h1 {
        font-size: 25px;
        margin-bottom: 15px;
    }

    #services #service-title {
        text-align: left;
        font-size: 1.3rem!important;
    }

    #services {
        margin-top: 0!important;
    }
}

@media (min-width: 992px) {
    #services .service-detail {
        overflow: scroll;
        max-height: 72vh;
    }
}
/* --------------------------------------------------------------------------------- */
/* ------------------------------------- About ------------------------------------- */
/* --------------------------------------------------------------------------------- */

#about .video-container {
    position: relative;
    width: 100%;
    padding-bottom: 29.09%; /* Maintains 880x256 aspect ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 80px;
}

#about .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    #about .video-reel-container {
        height: 29vw;
        margin-top: 20px;
        margin-bottom: 45px;
    }

    #about .video-reel {
        height: 56vw;
        top: 16vw;
    }
}

#about .description {
    text-align: start;
    font-style: italic;
    font-weight: normal;
}

#about .about-container {
    padding: 20px;
}

#about .about-left {
    text-align: center;
    font-weight: bold;
}

#about .about-right img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
}

#about h1 {
    text-align: left;
    font-size: 1.5rem;
}

#about .card {
    border-radius: 0;
    border: none;
    background: none;
}

#about .card {
    border-radius: 0;
    background: none;
}

#about .card .title {
    font-weight: bold;
}

#about .web .card {
    padding: 20px;
    background: rgb(48 48 48 / 50%);
}

#about .web .card-body {
    font-size: 14px;
}

#about .mobile .card-body {
    padding-top: 0 !important;
    text-align: left;
    font-size: 12.5px;
}

#about .web .image-container {
    width: 10%;
}

#about .web .cards-container {
    width: 90%;
}

#about .web .card-body {
    padding-top: 0;
    padding-bottom: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    #about .about-left {
        width: 100%;
        text-align: center;
    }

    #about .about-right {
        width: 100%;
        text-align: center;
    }

    #about .about-right img {
        max-height: 250px; /* Limit image height on small screens */
        object-fit: cover;
    }

    #about .about-left {
        padding-bottom: 0!important;
        padding-top: 0!important;
    }
}

@media (min-width: 769px) {
    #about .description {
        padding-right: 60px;
    }
}

/* --------------------------------------------------------------------------------- */
/* ----------------------------------- Portfolio ----------------------------------- */
/* --------------------------------------------------------------------------------- */

#portfolio .gallery-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#portfolio .gallery-img:hover {
    transform: scale(1.05);
}

/* Ensures popup is centered */
.mfp-fade.mfp-bg {
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.95;
}

.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
}

.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
}

/* make popup bigger */
.mfp-iframe-scaler {
    padding-top: 56.25%; /* 16:9 aspect ratio */
}

.mfp-content {
    max-width: 1200px;
    width: 95%;
}

.mfp-iframe-holder .mfp-content {
    height: auto;
    max-width: 80%;
}

.mfp-iframe-holder .mfp-close {
    top: 0;
    right: 0;
}

@media (min-width: 769px) {
    #portfolio .large-custom-container {
        margin-left: 15px;
        margin-right: 15px;
    }
}

#portfolio .project {
    padding: 2px;
}

@media (max-width: 768px) {
    .mfp-content {
        width: 100%!important;
        max-width: 100%!important;
    }
}

/* --------------------------------------------------------------------------------- */
/* ------------------------------------ Contact ------------------------------------ */
/* --------------------------------------------------------------------------------- */


#contact .contact-form {
    width: 100%;
    max-width: 600px;
    background: #00cc9900;
    padding: 3%;
    margin-top: 20px;
}

#contact .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Optional spacing between checkboxes */
}

#contact .checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
}

#contact .form-control {
    background: #00000000;
    color: #FFF;
}

#contact .form-control::placeholder {
    color: #484848;
}

#contact .btn-submit {
    border-color: #ebeced;
    color: #ebeced;
}

#contact .alert-success {
    color: #0a3622 !important;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    #contact .contact-form {
        width: 90%;
        border: none;
    }
}
