@import url('https://fonts.googleapis.com/css2?family=Bangers&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Caslon+Condensed:ital,wght@0,400..700;1,400..700&display=swap');

:root {
    --bg-color-blue: rgb(27, 160, 212);
    --bg-color-dark-blue: rgb(0, 24, 102);
    --headings2-color: rgb(0, 71, 165)
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;

}


/* ============utilty Classes============ */
.container {
    padding: 10px 200px;
}

.nav-active {
    color: rgb(5, 3, 173) !important;
}

.card {
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    border-radius: 12px;
}

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.test {
    background-color: grey;
}

.testb {
    border: 1px solid red;
}

.bold {
    font-weight: bold;
}

.textc {
    text-align: center;

}

.section {
    padding-top: 10vh;
}

/* ------------------------------------ */
/* =================Contact Bar========= */
#contact-bar {
    gap: 40px;
    background-color: black;
    color: white;
    display: none;
}

/* =================Header========= */
#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    top: 0;
    background-color: rgba(156, 9, 9, 0);
    backdrop-filter: blur(1px);
    position: fixed;
    color: white;
    z-index: 5 !important;
    animation: navbarBgChange linear both;
    animation-timeline: scroll();


    animation-range: 0px 100vh;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

}

.logo img {
    width: 9vw;
    animation: logoSmall linear both;
    animation-timeline: scroll();
    animation-range: 0px 100vh;
}

.nav-actions-container {
    display: flex;
    background-color: white;
    /* width: 60%; */
    justify-content: space-between;
    align-items: center;

    gap: 10px;
    font-size: 0.8rem;


    padding-left: 10px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.nav-actions-container>a {
    text-decoration: none;
    color: var(--bg-color-dark-blue);
    transition: all 0.5s ease;
    font-weight: bold;
    cursor: pointer;
    gap: 30px;
    animation: textblack linear both;
    animation-timeline: scroll();
    animation-range: 0px 100vh;
    padding: 10px;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;

    &:hover {
        scale: 1.2;
        font-weight: bold;
    }
}

.nav-actions-container>button {
    background-color: none;
    padding: 10px;
    background-color: var(--bg-color-blue);
    color: white;
    border: none;
    font-weight: bold;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;

    &:hover {
        background-color: rgb(0, 24, 102);
        scale: 0.98;
    }
}

/* =================Scroll Header======== */



@keyframes navbarBgChange {
    to {
        background-color: white;
        color: black;
        /* Flip text color to black when bg is white */
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

    }
}

@keyframes logoSmall {
    to {
        width: 100px;

    }
}

@keyframes textblack {
    to {
        color: var(--bg-color-blue)
    }
}


/* ==========Hero Container============ */
.hero-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 3;

}

.hero-video-container>video {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.hero-section {
    z-index: 3;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;

}

.heroContainer {
    height: 100%;
    z-index: 2;
    width: 100%;

    /* background-color: rgba(231, 192, 15, 0.096); */
    /* background-color: rgb(238, 238, 6); */
    display: flex;
    justify-content: center;
    align-items: center;


    overflow: hidden;
}

/* zoom effect */
.loop-zoom {
    animation: constantZoom 10s infinite alternate ease-in-out;
}

/* Define the animation behavior */
@keyframes constantZoom {
    0% {
        transform: scale(1);
        /* Starting point */
    }

    100% {
        transform: scale(1.15);
        /* Maximum zoom point */
    }
}




.overlay {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;



    background-repeat: no-repeat;
    background-size: fill;
    background-color: rgba(0, 0, 0, 0.134);
    padding-bottom: 10px;
}

.scroll-indicator {
    display: inline-block;
    /* Crucial: permits vertical transforms on a span */
    color: #ffffff;
    /* Adjust color to fit your design */

    /* Apply the animation: 2 seconds long, infinite loop, smooth easing */
    animation: floatUpDown 2s ease-in-out infinite;
}


@keyframes floatUpDown {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
        /* Moves down by 10px at the halfway point */
    }

    100% {
        transform: translateY(0);
        /* Smoothly returns to the starting position */
    }
}

.heroContent {
    /* border: 1px solid red; */
    padding: 20px;
    text-align: center;
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;

}

.heroContent h1 {

    color: rgb(25 120 245);
    font-size: 4rem;
    text-shadow: 1px 1px 3px #474747;
}

.heroContent p {
    color: #d9d9d9;
    font-weight: bold;
    font-size: 1.5rem;

    text-shadow: 1px 1px 3px #474747;
}

.hero-shape-1 {
    background-color: rgba(0, 0, 255, 0.856);
    width: 35%;
    height: 77%;
    position: fixed;
    margin-top: 50vh;
    left: 0;
    z-index: 4;
    border-top-right-radius: 80%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: white;
    font-size: 3.4rem;
    font-weight: bold;
    padding-bottom: 30px;


    /* clip-path: polygon(0% -223%, 106% 66%, 100% 100%, 0% 100%) */

}


/* ==============Our Story and Choose Us============= */

.our-story-section {
    z-index: 4;
    position: absolute;
    margin-top: 120vh;
    background-color: white;
}

.our-story-section .container {
    /* margin-top: 70px; */
}

.our-story-container {
    display: flex;
    flex-direction: row;
    padding: 100px;
}

.our-story-container p {
    color: rgb(87, 87, 87);
    color: black;


    /* font-family: Arial, Helvetica, sans-serif; */
    font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif;

}

.choose-us-container {
    display: flex;
    flex-direction: row-reverse;
    align-items: space-between;

}


.our-story-container h2 {
    text-align: center;

    font-size: 4rem;
    /* font-family: Arial, Helvetica, sans-serif; */
    /* font-family: "Bangers", system-ui; */
    font-family: Arial, Helvetica, sans-serif;
    color: var(--headings2-color);
}

.our-story-container div {
    width: 100%;
}

.our-story-container p {
    font-size: 1.3rem;
}



/* ==========Choose Us============== */
.choose-us-box {

    display: flex;
    justify-content: flex-end;
}

/* Curves */
.svg-hero {
    position: absolute;
    background: transparent;
    margin-top: 60vh;
    z-index: 4;

}

.choose-us-cards {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 50%;

}

.choose-us-cards h3 {
    color: var(--headings2-color);
}

.choose-us-cards p {
    font-size: 1rem;

}

/* =======Core Capabilities========= */
.section-svg {
    position: relative;
    background-color: whitesmoke;
    top: -2px;
}

.core-container {
    gap: 20px;
    padding-top: 0;
}

.core-container h2 {
    color: white;
}

.core-container h3 {
    color: whitesmoke;
}

.core-container p {
    color: whitesmoke;
    font-size: 1rem;
}

.leftbox-core {

    display: flex;
    flex-direction: column;
    gap: 32px;
}

.leftbox-core .choose-us-cards {
    transition: all 0.5s ease;

    &:hover {
        cursor: pointer;
        box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
        background-color: var(--bg-color-blue);
    }
}

.choose-us-cards {
    transition: all 0.5s ease;

    &:hover {
        cursor: pointer;
        box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;



    }
}


.core-features {
    display: flex;
    flex-direction: column;
    padding-left: 30px;
    color: rgb(212, 212, 212);

}

.rightbox-core {
    display: flex;
    align-items: center;

}

.rightbox-core img {
    /* border: 1px solid; */
    width: 100%;
    height: 70%;
}
/* ===================Testimonials=================== */
.testimonials{
 
    align-items: center;
 
}
.testimonials div:nth-child(2){
    align-items: center;
}
.testimonials .choose-us-box{
    justify-content: center;
    
}
.testimonials .choose-us-cards{
    color: rgb(61, 61, 61);
    text-align: center;
    gap: 10px;
    
    width: 60%;
}
.testimonials .choose-us-cards p:nth-child(1){
    line-height: 0.5;
    font-size: 4rem;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    color: rgb(71, 71, 71);

}
.testimonials .choose-us-cards p:nth-child(2){
    color: rgb(8, 8, 8);
}
.testimonials .choose-us-cards p:nth-child(3){
    color: rgb(71, 71, 71);
}



/* ===================Services Section=================== */
.our-services{  flex-direction: column; }
.our-services .choose-us-box{justify-content: center;}

/* ===================ABOUT HERO=================== */
#about-hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60vh;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border: 1px solid;
    /* background: url("./public/images/hero/about-hero.jpg"); */
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('https://res.cloudinary.com/lxvpf7zd/image/upload/v1791542870/about-hero-mcc.jpg');

    /*  */
    backdrop-filter: blur(20px);
    background-size: cover;
    background-position: center;
}

/* ----Gallery Core Services---- */

.categories {

    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    background-color: white;
    border-radius: 12px;
    width: 100% !important;
    flex-wrap: wrap;
    gap: 12px;
}

.categories span {
    background-color: var(--bg-color-blue);
    padding: 7px;
    color: white;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.1s ease;

    &:hover {
        background-color: rgb(6, 84, 116);
        /* scale: 0.98; */
    }

    &:active {
        scale: 0.97;
    }
}

.gallery-container {

    height: auto;
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.gallery-container div {
    height: 100%;
    width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-container img {
    width: 200px;
}


.team-img-container {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.team-img-container div {

    width: 30%;
    padding: 10px;
    display: flex;
    border-radius: 12px;

    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
}

.team-img-container img {
    width: 100%;
}


/* ========Services Container============== */
.services-1 {
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 30px;
    gap: 20px;
}


.services-1 .gallery-card {
    height: 44vh;
    
    justify-content: space-between;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-between !important;
    /* padding: 30px 10px; */
}

.service-1-img-container{
    width: 100% !important;
    background-size: fill;   
    height: 50%;
}

.service-1-img-container img{
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: fill ;
    object-position: center;


    
}

.service-1-container {

    display: flex;
    flex-direction: column;
    /* border: 1px solid; */
    width: 100% !important;
    align-items: flex-start;
    padding: 10px;
    gap: 10px;
    height: 50% !important;

}
.service-1-container h3{
    width: 100%;
}
.service-1-container p{
    font-size: 1rem;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif
}


.svg-services{
    background-color: #fff;
}




/* ==========Mobile Responsivenes========== */
@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
        background-color: #f4f4f4;
    }

    .container {
        padding: none;
    }

    #header {
        width: 100%;
        justify-content: none;
    }

    #header a {
        font-size: 0.54rem;
        scale: 1;
    }

    .nav-actions-container>a {
        
        padding: 3px;
        display: flex;
        gap: 1px;
    }

    .nav-actions-container {
        background-color: white;
        gap: 0;
      
    }

    .nav-actions-container button {
        padding: 6px;
        font-size: 0.5rem;

    }

    .logo img {
        width: 6rem;
    }

    .heroContent {
        width: 100%;
    }

    .heroContent h1 {
        font-size: 2rem;

    }

    .heroContent p {
        font-size: 1rem;
    }

    .hero-shape-1 {
        display: none;
    }

    .svg-hero {
        margin-top: 72vh;
    }

    .container {
        width: 100%;
        padding: 0;
    }

    /* our story mobile */
    .our-story-container {
        padding: 0;
        box-shadow: none;

        flex-direction: column;
        padding: 20px;
        justify-content: center;
        gap: 10px;
        text-align: center;
    }

    .our-story-container h2 {
        font-size: 2rem;
    }

    .para-our-story {
        /* border: 1px solid; */
        padding: 20px;
    }

    .our-story-container p {
        font-size: 0.7rem;
    }



    /* choose us mobile */
    .choose-us-container {

        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;

        padding: 20px;
        padding-top: 40px;
        gap: 30px;
    }

    .choose-us-box {
        display: flex;
        justify-content: center;
    }

    .choose-us-cards h3 {
        font-size: 0.8rem;
    }

    .choose-us-cards p {
        font-size: 0.7rem;
        color: black;
        font-size: 0.7;
    }

    /* Core capabilities mobile */
    .core-features {

        display: flex;
        padding: 0;
        width: 70% !important;
        align-items: flex-start;
        margin: auto;
        padding-left: 40px;

    }

    .services-1{
      
        gap: 10px;
        align-items: center;
        flex-direction: row;
    }
    .services-1 .gallery-card{
        height: 30vh;
    }

    .services-1 h3{
        text-align: left;
    }
    .services-1 p{
        text-align: left;
    }

    /* Our Services Section */
    
    .our-services .services-1{
        justify-content: space-between;
    }
    .our-services .gallery-card {    
        width: 48%; gap: 0;
    }

    /* Testimonials */
    .testimonials .choose-us-cards{
        width: 100%;
    }



}