/********** Template CSS **********/
:root {
    --primary: #06A3DA;
    --secondary: #34AD54;
    --light: #dceef8;
    --dark: #091E3E;
}


/*** Spinner ***/
.spinner {
    width: 40px;
    height: 40px;
    background: var(--primary);
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }

    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }

    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }

    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }

    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 800 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 700 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 600 !important;
}


/*** Button ***/
.btn {
    font-family: 'Nunito';
    font-weight: 600;
    transition: .5s;
    border-radius: 10px;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary:hover {
    box-shadow: inset 0 0 0 0 var(--primary);
}

.btn-secondary:hover {
    box-shadow: inset 0 0 0 0 var(--secondary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    font-family: 'Nunito';
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: #091E3E;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {

    padding: 20px 0;
    color: var(--dark);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

.nav-item a.active {

    font-weight: bold;
}

.nav-link.active {
    color: #06A3DA;
}

a.active {
    color: #06A3DA;
}

/* .navbar-dark .navbar-brand h1 {
    color: #FFFFFF;
   
} */
.navbar {
    background-color: aliceblue;
}

.navbar-dark .navbar-toggler {
    color: var(--primary) !important;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link,
    .navbar-dark .navbar-nav .nav-link.show,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        color: var(--dark);
    }

    .navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }

    .sticky-top.navbar-dark {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
        color: #06A3DA;
    }

    .navbar-dark .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}


/*** Carousel ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    opacity: 1;
    /* Initially fully opaque */
    background-color: rgba(9, 30, 62, .7);
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 10px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 20px;
        font-weight: 600 !important;
    }

    .blco {
        width: 100%;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 0;
    bottom: 0;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -75px;
}

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: #FFFFFF;
    -webkit-animation: section-title-run 5s infinite linear;
    animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
}

.section-title.text-center::after {
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

@-webkit-keyframes section-title-run {
    0% {
        left: 0;
    }

    50% {
        left: 145px;
    }

    100% {
        left: 0;
    }
}

@-webkit-keyframes section-title-run-center {
    0% {
        left: 50%;
        margin-left: -75px;
    }

    50% {
        left: 50%;
        margin-left: 45px;
    }

    100% {
        left: 50%;
        margin-left: -75px;
    }
}

@-webkit-keyframes section-title-run-sm {
    0% {
        left: 0;
    }

    50% {
        left: 85px;
    }

    100% {
        left: 0;
    }
}


/*** Service ***/
.service-item {
    position: relative;
    padding: 10% 10%;
    height: 100%;
    transition: .5s;
}

.service-item .service-icon {
    margin-bottom: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 2px;
    transform: rotate(-45deg);
}

.service-item .service-icon i {
    transform: rotate(45deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 50%;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
    border-radius: 10%;

}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
    width: auto;
    border-radius: 10%;
}


/*** Team ***/
.team-item {
    transition: .5s;
    height: 400px;
}

.team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-social a.btn {
    position: relative;
    margin: 0 3px;
    margin-top: 100px;
    opacity: 0;
}

.team-item:hover {
    box-shadow: 0 0 30px #DDDDDD;
}

.team-item:hover .team-social {
    background: rgba(9, 30, 62, .7);
}

.team-item:hover .team-social a.btn:first-child {
    opacity: 1;
    margin-top: 0;
    transition: .3s 0s;
}

.team-item:hover .team-social a.btn:nth-child(2) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .05s;
}

.team-item:hover .team-social a.btn:nth-child(3) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .1s;
}

.team-item:hover .team-social a.btn:nth-child(4) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .15s;
}

.team-item .team-img img,
.blog-item .blog-img img {
    transition: .5s;
}

.team-item:hover .team-img img,
.blog-item:hover .blog-img img {
    transform: scale(1.15);
}

.team-img {
    height: 75%;
}

.team-img img {
    height: 100%;
}


/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }

    .bg-header {
        padding-top: 10rem !important;
        padding-bottom: 3rem !important
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.bg-header {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7)), url(../img/mi.jpg) center center no-repeat;
    background-size: cover;
}

.link-animated a {
    transition: .5s;
}

.link-animated a:hover {
    padding-left: 10px;
}

@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }

    .alo {
        width: 100%;
    }

    .blog-item {
        width: 102%;
        height: 660px;
    }
}

@media (min-width: 1440px) {
    .blog-item {
        height: 460px;
    }

    .colsize {
        flex: 0 0 auto;
        width: 103%;
    }

    .col-lg-6 {
        flex: 0 0 auto;
        width: 49.9%;
    }
}


.w-10 {
    width: 50px;
    height: 30px;
}

.ides {
    position: absolute;
    padding: 12px;
    /* width: 300px;
    height: 300px; */
    opacity: 0;
    /* margin: 50px;
    top: 50px; */
    box-shadow: inset 0 0 0 50px transparent;
    /* text-align: justify; */
}

.ides:hover {
    opacity: 1;
    color: #FFFFFF;
    box-shadow: inset 0 0 0 0 var(--primary);
}

.blco {
    width: 33.3333%;
    flex: 0 0 auto;
}

i {
    border-radius: 10px;
}

.alo {
    width: 70%;
}

.alogo {
    width: 25%;
}

/* p {
    text-align: justify;
} */

body {
    font-family: 'Nunito';
}

.rounded-end {
    clip-path: polygon(0% 0%, 90% 0%, 100% 57%, 91% 101%, 0% 100%, 7% 50%);
}

.rounded-end:hover {
    text-decoration: underline white;
}


::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #23e1d3;
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #23e1d3;
}

/* tms */
.pt-one {
    padding-top: 60px;
}

.white-text {
    color: white;
}

.white-text:hover {
    color: #06A3DA;
}

#header-carousel {
    max-height: 600px;
    overflow: hidden;
}

#header-carousel .carousel-item img {
    height: 600px;
    object-fit: cover;
}


@media (max-width: 576px) {
    .alo {
        width: 150%;
    }

    #header-carousel {
        max-height: 300px;
        overflow: hidden;
    }

    #header-carousel .carousel-item img {
        height: 300px;
        object-fit: cover;
    }
}

.services {
    text-align: center;
    padding-bottom: 20px;
}

.service-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.service-box {
    position: relative;
    /* background: #06A3DA; */
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
    overflow: hidden;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.service-box:hover {
    transform: translateY(-10px);
    background: #23e1d3;
}

.service-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
}

.service-box p {
    height: 55%;
    color: #111;
}

.service-box h3 {
    height: 30%;
    font-weight: 400 !important;
}

#security::before {
    background-image: url('security-bg.jpg');
}

#admin-panel::before {
    background-image: url('admin-bg.jpg');
}

#multi-language::before {
    background-image: url('language-bg.jpg');
}

.icon {
    font-size: 40px;
    margin-bottom: 10px;
    color: #f4b400;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin: 5px 0;
}

@media (max-width: 768px) {
    .service-container {
        flex-direction: column;
        align-items: center;
    }
}

/* one */
.what {

    margin: 0;
    padding-top: 50px;
    box-sizing: border-box;
}

.why {
    background-color: #f9f9f9;
    text-align: center;
}

.process-container-g {
    width: 80%;
    margin: auto;
    max-width: 900px;
}

.process-step-g {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-in-out;
}

.process-step-g.show {
    opacity: 1;
    transform: translateY(0);
}

.icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.text {
    width: 70%;
    text-align: left;
}

.discovery .icon {
    background-color: #3DB4C1;
}

.research .icon {
    background-color: #C13D3D;
}

.cont .icon {
    background-color: #3dc13f;
}

.content .icon {
    background-color: #C1A53D;
}

@media (max-width: 768px) {
    .process-step-g {
        flex-direction: column;
        text-align: center;
    }

    .text {
        width: 100%;
        margin-top: 10px;
    }
}

.con1 {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    gap: 40px;
    animation: fadeIn 1.5s ease-in-out;
    background-color: #f8f6f2;
    color: #333;
    padding: 20px;
    overflow-x: hidden;
}

.text1 {
    animation: slideInLeft 1.5s ease-in-out;
}

.text1 h1 {
    font-size: 2.5rem;
    font-style: italic;
    color: #111;
    margin-bottom: 10px;
}

.text1 p {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
}

.image-content {
    position: relative;
    animation: slideInRight 1.5s ease-in-out;
}

.image-content img {
    width: 100%;
    border-radius: 10px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .con1 {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .image-content img {
        width: 80%;
        margin: auto;
    }
}

/* content 0 */
.c0 {
    color: #333;
    padding: 20px;
    box-sizing: border-box;
}

.con0 {
    max-width: 1000px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.text0 h2 {
    font-size: 22px;
    color: #06A3DA;
    margin-bottom: 10px;
}

.text0 p {
    font-size: 14px;
    line-height: 1.6;
}

.imgb img {
    border-radius: 50%;
    height: 70%;
    width: 70%;
}

.cta {
    text-align: center;
    margin-top: 20px;
}

.cta a {
    text-decoration: none;
    color: #06A3DA;
    font-weight: bold;
    border-bottom: 2px solid #091E3E;
    padding-bottom: 3px;
}

@media (max-width: 768px) {
    .con0 {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .imgb img {
        max-width: 70%;
        margin: auto;
    }

    .blco {
        flex-direction: column;
        align-items: center;
        width: auto;
    }
}

@media (min-width: 1440px) {
    .bg-heade {
        height: 500px;
    }
}

/* p{
    text-align: justify;
} */
.ic {
    align-items: center;
    font-size: 50px;
    color: #111;
}

.ic:hover {
    color: white;
}

.blog-img {
    width: 100%;
    height: 60%;
}

.im {
    height: 100%;
    width: 100%;
}

.bg-head {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7)), url(../img/rocket.jpg) center center no-repeat;
    background-size: cover;
}

.bg-heade {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7)), url(../img/fund.jpg) center center no-repeat;
    background-size: cover;

}

.stfun {
    width: 100%;
    height: 100%;
    background-color: #06A3DA;
    color: white;
}

.bst {
    height: 30%;
    top: 70%;
    text-align: center;
    background-size: cover;
    font-weight: bolder;
    align-items: center;
    top: 30%;
}

.bst h3 {
    color: #06A3DA;
}

.bst button {
    background-color: #06A3DA;
    color: #DDDDDD;
    font-weight: bolder;
    border-radius: 10px;
    width: 45%;
    height: 40%;
    border: none;
}

.bsts {
    height: 30%;
    top: 70%;
    text-align: center;
    background-size: cover;
    font-weight: bolder;
    align-items: center;
    top: 30%;
    margin: 10%;
}

.bsts button {
    background-color: #06A3DA;
    color: #DDDDDD;
    font-weight: bolder;
    border-radius: 10px;
    width: 50%;
    height: 30%;
    border: none;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1400px !important;
    }

    .col-quad {
        width: 30%;
    }
}

@media (max-width: 1024px) {
    .col-quad {
        width: 100%;
    }
}

.ta {
    align-items: center;
}

.itemtap {
    display: flex;
    width: 100%;
}

.testimonial-item {
    margin: 5px;
}

.container-fluid .container .owl-carousel .testimonial-item a img {
    width: 90px;
    height: 90px;
}

@media (max-width: 576px) {
    .container-fluid .container .owl-carousel .testimonial-item a img {
        width: 40px;
        height: 40px;
    }

    .container-fluid .container .owl-carousel .testimonial-item a .ps-4 h4 {
        font-size: 17px;
    }
}

/* Ensure container has height and image is visible */
.position-relative.h-100 {
    min-height: 300px;
    /* Adjust as needed for desktop */
}

@media (max-width: 992px) {
    .position-relative.h-100 {
        min-height: 200px;
        /* Smaller height for mobile */
    }

    .position-absolute.w-100.h-100 {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        position: static;
        /* Optional: Remove absolute positioning if needed */
    }
}

/* Ensure image container has a defined height */
.position-relative.h-100 {
    min-height: 300px; /* Default height for desktop */
}

/* Responsive adjustments for screens <= 991px */
@media (max-width: 991px) {
    .position-relative.h-100 {
        min-height: 200px; /* Smaller height for mobile */
    }
    .w-100.h-100 {
        display: block !important;
        width: 100% !important;
        height: auto !important; /* Allow natural image height */
        position: static; /* Remove absolute positioning to prevent collapse */
    }
    .row.g-5 {
        margin-bottom: 1.5rem; /* Add spacing between stacked sections */
    }
}

/* Optional: Ensure WOW.js animations don't hide images */
.wow {
    visibility: visible !important; /* Fallback in case WOW.js fails */
}