/* home.css */
#mainNavbar {
    z-index: 9999;
}

.navbar {
    position: absolute;
    left: 0;
    right: 0;
}

.navbar.sticky-top{
    position: sticky !important;
}

.sticky-top {
    background-color: #090d33;
}

.banner_widget {
    margin: 0;
    padding: 0;
    /* height: 80vh; */
    position: relative;
}

.banner_widget::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 80%;
    left: -70px;
    top: -100px;
    background: url(../images/home/bg/circle-gaps-allianceit.svg) 0 0 no-repeat;
    background-size: cover;
    z-index: -1;
}

.bnr_right {
    position: relative;
    overflow-x: hidden;
}

.bnr_right::after {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    top: 0;
    right: 0;
    /* left: 40%; */
    background: url(../images/home/bg/top-right-bg-allianceit.svg) 27px 0 no-repeat;
    background-size: contain;
    z-index: -1;
}

.bnr_left {
    position: relative;
}

.bnr_left::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 405px;
    background: url(../images/home/bg/ellipse-left-allianceit.svg) 0 0 no-repeat;
    background-size: contain;
}

.banner_content {
    text-align: center;
    gap: 20px;
    padding: 100px 0 50px;
}

.banner_title span,
.banner_desc span {
    display: block;
}

h1.banner_title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    background: linear-gradient(90.27deg, #FFFFFF 1.63%, rgba(255, 255, 255, 0) 103.32%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

p.banner_desc {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #FFFFFFB2;
    font-family: 'Inter-light';
}

.bnr_btn_bg {
    position: relative;
}

.bnr_btn_bg::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    top: -150px;
    right: 0;
    margin: 0 auto;
    left: 0;
    background: url(../images/home/bg/btn-bg-ellipse.svg) 0 0 no-repeat;
    background-size: contain;
}

.btn-more {
    display: inline-block;
    color: #FFFFFF99;
    border-radius: 10px;
    padding: 6px 24px;
    z-index: 1;
    cursor: pointer;
    border: 2px solid #c6ccff33;
}

.btn-more:hover {
    color: #fff;
}

.btn-cta {
    position: relative;
    display: inline-block;
    color: #fff;
    background: rgba(61, 66, 68, 0.2);
    border-radius: 10px;
    padding: 6px 24px;
    backdrop-filter: blur(10px);
    z-index: 1;
    overflow: hidden;
    cursor: pointer;
    backdrop-filter: blur(20px);
    box-shadow: 0px 0px 20px 0px #C6CCFF33 inset;
}

.btn-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    /* border thickness */
    border-radius: inherit;
    background: linear-gradient(180deg, #C6CCFF33, #C6CCFF33);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
    z-index: -1;
}

.btn-cta:hover {
    color: #fff;
}

.expert_sqr_btm .btn-grad {
    margin-top: 1.5rem;
}

.btn-grad {
    position: relative;
    display: inline-block;
    color: #fff;
    padding: 10px 32px;
    border: 1px solid transparent;
    /* Border set to transparent to enable border-image */
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) -40.91%, #402788 132.95%) padding-box,
        linear-gradient(180deg, rgba(39, 55, 207, 0.4) 17.19%, rgba(101, 98, 251, 0.77) 100%) border-box;
    background-clip: padding-box, border-box;
    background-origin: border-box;

    /* Border Image for the border */
    border-image-source: linear-gradient(180deg, rgba(39, 55, 207, 0.4) 17.19%, rgba(101, 98, 251, 0.77) 100%),
        linear-gradient(0deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)),
        linear-gradient(180deg, rgba(39, 55, 207, 0) -4.69%, rgba(189, 252, 254, 0.3) 100%);
    border-image-slice: 1;
    border-image-width: 2px;
    box-shadow: inset 0 10px 30px rgba(73, 123, 255, 0.7),
        0 10px 40px rgba(63, 74, 175, 0.5);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Inner subtle overlay */
.btn-grad::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    /* Updated to match border-radius of the button */
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(64, 39, 136, 0.2));
    pointer-events: none;
}

/* Hover effect */
.btn-grad:hover {
    color: #fff;
    /* transform: translateY(-3px);   */
    /* box-shadow: inset 0 10px 30px rgba(73, 123, 255, 0.9),
              0 15px 50px rgba(63, 74, 175, 0.8); */
}


.services_list {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.services_item {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    padding: 20px;
    /* background for the card */
    /* background: rgba(255,255,255,0.03); */
    /* ensures backdrop-filter shows */
    /* -webkit-backdrop-filter: blur(10px); */
    /* backdrop-filter: blur(10px); */
    z-index: 0;
    /* base stacking for pseudo */
    cursor: pointer;
    color: #fff;
    /* box-shadow: 0px 1.2px 29.92px 0px #452A7C1A; */
    /* border: 3px solid; */
    /* border-image-source: linear-gradient(155.31deg, rgba(255, 255, 255, 0.5) 12.33%, rgba(255, 255, 255, 0) 34.31%, rgba(255, 255, 255, 0) 52.66%, rgba(255, 255, 255, 0.54) 74.67%); */
    backdrop-filter: blur(70px);
    box-shadow: 0px 1.2px 29.92px 0px #452A7C1A;
    background: linear-gradient(86.16deg, rgba(255, 255, 255, 0.2) 11.14%, rgba(255, 255, 255, 0.035) 113.29%);

}

/* gradient border */
.services_item::before {
    content: "";
    position: absolute;
    inset: 0;
    /* top:0; right:0; bottom:0; left:0; */
    padding: 3px;
    /* border thickness */
    border-radius: inherit;
    /* follow parent's radius */
    pointer-events: none;
    z-index: 1;


    background: linear-gradient(86.16deg, rgba(255, 255, 255, 0.2) 11.14%, rgba(255, 255, 255, 0.035) 113.29%);

    /* mask out the center so only the ring remains */
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    /* Firefox (may require latest) */
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.services_item_title {
    font-size: 16px;
    line-height: 27px;
    font-family: 'Inter-reg', sans-serif;
    text-shadow: 0px 0px 20px #FFFFFF80;
}

.services_item_desc {
    font-size: 13px;
    line-height: 24px;
    font-family: 'Inter-light';
    color: #FFFFFF99;
}

.expert_sqr {
    border: 0px solid #fff;
    border-radius: 30px;
    padding: 20px 20px 80px 20px;
    text-align: center;
    width: 50%;
    margin: 0 auto;
    color: #fff;
    background: linear-gradient(181.35deg, rgba(255, 255, 255, 0.5) 1.15%, rgba(255, 255, 255, 0) 98.91%);
    backdrop-filter: blur(70px);
}

.owl-item .expert_sqr {
    text-align: left;
    margin: 0 auto 20px;
}

.expert_sqr_btm {
    border-radius: 10px;
    padding: 50px 20px;
    text-align: center;
    width: 100%;
    margin: 4rem auto;
    color: #fff;
    backdrop-filter: blur(70px);
    box-shadow: 0px 1.2px 29.92px 0px #452A7C1A;
    position: relative;
    background: linear-gradient(86.16deg, rgba(255, 255, 255, 0.2) 11.14%, rgba(255, 255, 255, 0.035) 113.29%);
    z-index: 1;
}

.expert_sqr_btm::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    padding: 2px;
    /* thickness of the gradient border */
    background: linear-gradient(155.31deg,
            rgba(255, 255, 255, 0.5) 12.33%,
            rgba(255, 255, 255, 0) 34.31%,
            rgba(255, 255, 255, 0) 52.66%,
            rgba(255, 255, 255, 0.54) 74.67%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    /* hide inner part so background shows */
    mask-composite: exclude;
    z-index: -1;
}

.expert_txt {
    color: #9a9bab;
}

.expert_txt h3 {
    background: linear-gradient(91.35deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 103.32%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.owl-nav {
    position: absolute;
    bottom: 60px;
    margin: 0 auto;
    left: 0;
    right: 0;
    width: 42%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.owl-carousel .owl-nav button {
    position: relative;
    display: inline-block;
    font-size: 13px !important;
    line-height: 24px !important;
    ;
    color: #fff !important;
    background: rgba(61, 66, 68, 0.2) !important;
    border-radius: 10px;
    padding: 3px 24px !important;
    z-index: 1 !important;
    overflow: hidden !important;
    cursor: pointer !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: inset 0px 10px 30px 0px rgba(73, 123, 255, 0.7), 0px 10px 40px 0px #3f4aaf !important;
}

.owl-carousel .owl-nav button::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    /* border thickness */
    border-radius: inherit;
    background: linear-gradient(180deg, #C6CCFF33, #C6CCFF33);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    /* for Firefox */
    -webkit-mask-composite: xor;
    /* for Chrome/Safari */
    pointer-events: none;
    z-index: -1;
}

.owl-carousel .owl-nav button:hover {
    color: #fff;
}

.owl-dots {
    position: absolute;
    bottom: 25px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.owl-carousel .owl-nav button.disabled {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.owl-carousel .owl-nav .owl-prev.disabled,
.owl-carousel .owl-nav .owl-next.disabled {
    padding: 0 !important;
    border: 0 !important;
}

.owl-carousel .owl-nav.disabled button::before {
    background: none !important;
}

.owl-carousel .owl-nav button.disabled::before {
    background: transparent;
}

.homePage .right_bg::after {
    content: '';
    position: absolute;
    bottom: -55%;
    right: 0px;
    width: 500px;
    height: 1500px;
    background: url('../images/home/bg/bg-middle-right-allianceit.svg') 0 0 no-repeat;
    background-size: cover;
    z-index: -1;
}

.about_widget {
    position: relative;
}

.about_widget::before {
    content: '';
    position: absolute;
    left: 0;
    top: -40%;
    width: 1200px;
    height: 1300px;
    background: url('../images/home/bg/bg-half-circle-allianceit.svg') 330px 0 no-repeat;
    background-size: contain;
    z-index: -1;
}

.about_widget h3 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
    background: linear-gradient(93.85deg, #FFFFFF 39.79%, rgba(255, 255, 255, 0) 65.29%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.about_sqr {
    position: relative;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    width: 70%;
    margin: 2.5rem auto 5rem;
    color: #fff;
    backdrop-filter: blur(20px);
    /* box-shadow: 0px 30px 60px 0px #0000001A;
box-shadow: 0px 15px 30px 0px #0000000D;
box-shadow: 0px 5px 10px 0px #0000000D; */
    box-shadow: 0px 0px 100px 0px #CCD7FF26 inset;
    border: 1px solid #FFFFFF26
}

.about_sqr::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    padding: 2px;
    /* thickness of the gradient border */
    background: linear-gradient(180deg, rgba(46, 51, 90, 0) 0%, rgba(28, 27, 51, 0.1) 100%),
        radial-gradient(146.13% 118.42% at 50% -15.5%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 99.59%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    /* hide inner part so background shows */
    mask-composite: exclude;

}

.about_sqr::after {
    content: '';
    position: absolute;
    top: -65px;
    left: 0;
    width: 900px;
    height: 900px;
    background: url('../images/home/bg/arc-line-about-allianceit.svg') 0 0 no-repeat;
    background-size: contain;
    z-index: -1;
}

.about_ellipse_top::before {
    content: '';
    position: absolute;
    top: -25%;
    left: 10%;
    width: 600px;
    height: 600px;
    background: url('../images/home/bg/about-ellipse-1.svg') 0 0 no-repeat;
    background-size: contain;
    z-index: -1;
}

.about_ellipse_top::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 600px;
    height: 600px;
    background: url('../images/home/bg/about-ellipse-1.svg') 0 0 no-repeat;
    background-size: contain;
    z-index: -1;
}

.section_title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    text-align: center;
}

.about_sqr p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    line-height: 26px;
    font-family: 'Inter-light';
}

.client_widget {
    text-align: center;
}

.pentagon_logo {
    width: 80%;
    height: 600px;
    margin: -6rem auto 0;
    padding-left: 6rem;
}

footer {
    padding: 2rem 0;
}

.footer_content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
}

.footer_title {
    font-size: 14px;
    line-height: 20px;
    font-family: var(--bs-font-sans-serif);
    position: relative;
    margin-bottom: 1rem;
    color: #fff;
}

.footer_title::before {
    content: '';
    position: absolute;
    top: 2px;
    left: -15px;
    width: 2px;
    height: 80%;
    background: #FFFFFF1A;
}

.footer_item p {
    font-size: 13px;
    line-height: 26px;
    font-family: var(--bs-font-sans-serif);
    position: relative;
    margin-bottom: 0;
    color: #FFFFFFB2;

}

.footer_btm {
    border-top: 1px solid var(--Container-divider, #FFFFFF1A)
}

.footer_btm_content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.footer_btm_item {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 0.5rem;
    padding: 1rem 0;
}

.footer_btm_item h6 {
    margin: 0;
    color: #fff;
}

.footer_btm_item ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer_btm_item li {
    height: 36px;
}

.footer_btm_item p {
    color: #FFFFFFB2;
    margin: 0;
    font-size: 13px;
    line-height: 20px;
}

.footer_btm_item p a {
    color: #FFFFFFB2;
}

.client_img {
    position: relative;
    /* width: 600px;
    height: 470px;
    margin: 0 auto;  */
    text-align: center;
}

.client_img h1 {
    position: absolute;
    left: 0;
    right: 0;
}

/* .client_img::before{
    content: '';
    position: absolute;
    top: -120px;
    left: -60px;
    width: 800px;
    height: 800px;
    background: url('../images/home/clients-allianceit.svg') no-repeat center center;
    background-size: contain;
    z-index: 9;
} */
@media (max-width: 767px) {
    .banner_content {
        padding: 50px 0 50px;
    }

    .banner_widget h1.banner_title {
        font-size: 38px;
    }

    .services_list {
        flex-direction: column;
    }

    .expert_sqr {
        width: 100%;
    }

    .owl-nav {
        width: 90%;
    }

    .about_sqr {
        width: 100%;
    }

    .banner_title span,
    .banner_desc span {
        display: inline;
    }

    .footer_content,
    .footer_btm_content,
    .footer_btm_item {
        flex-direction: column;
        text-align: center;
    }

    .bnr_left::before,
    .bnr_btn_bg::after {
        width: 100%;
    }

    .bnr_right::after {
        left: 0;
        width: 100%;
    }

    .client_img {
        width: 100%;
    }

    .serve_sqr {
        flex-direction: column;
    }

    .serve_sqr .expert_sqr_btm {
        margin-left: 0 !important;
    }

    .client_img::before {
        top: -45px;
        left: -22px;
        width: 380px;
    }

    .about_ellipse_top::before {
        top: -145%;
        left: -50%;
        width: 100%;
    }

    .about_ellipse_top::after {
        left: -100px;
        width: 100%;
        top: -26px;
    }

    .about_widget {
        overflow: hidden;
    }

    .pentagon_logo {
        width: 100%;
        height: 100%;
        margin: 0;
        padding-left: 0;
    }

    .client_img h1 {
        position: relative;
    }

    .gradient-dropdown .dropdown-item {
        border-bottom: 1px solid #3b5bdb87;
        text-align: center;
    }

    .gradient-dropdown li:last-of-type .dropdown-item {
        border-bottom: 0px solid #3b5bdb87;
    }

    .services_item {
        text-align: center;
    }
}

/* Caret icon color */
.navbar .dropdown-toggle::after {
    border-top: 0.4em solid transparent;
    border-right: 0.4em solid transparent;
    border-left: 0.4em solid transparent;
    margin-left: 0px;
    vertical-align: 0.15em;
    transition: transform 0.3s ease;
    background: url(../images/common/arrow-right.svg) 6px 0 no-repeat !important;
    background-size: contain !important;
    width: 20px;
    height: 12px;
    transform: rotate(90deg);
}

/* Rotate caret on open */
.navbar .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(268deg);
    width: 20px;
    height: 12px;
    background: url(../images/common/arrow-right.svg) -4px -4px no-repeat !important;
    background-size: contain !important;
}

/* Dropdown gradient style */
.gradient-dropdown {
    background: linear-gradient(180deg, #3B5BDB 0%, #1E3A8A 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 0;
}

/* Dropdown items */
.gradient-dropdown .dropdown-item {
    color: #fff;
    font-size: 14px;
    line-height: 24px;
    font-weight: 500;
    padding: 10px 20px;
    transition: background 0.3s ease, color 0.3s ease;
}

.gradient-dropdown .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Optional: for glowing effect similar to your button */
.gradient-dropdown {
    box-shadow: 0 0 1px rgba(93, 136, 255, 0.5);
}

.gradient-dropdown {
    background: rgba(10, 15, 45, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.gradient-dropdown .dropdown-item {
    color: #fff;
    transition: all 0.3s ease;
}

.gradient-dropdown .dropdown-item:hover {
    background: linear-gradient(90deg, #3B5BDB, #9F6CFF);
    color: #fff;
}

.gradient-dropdown li:first-of-type .dropdown-item:hover {
    border-radius: 8px 8px 0 0;
}

.gradient-dropdown li:last-of-type .dropdown-item:hover {
    border-radius: 0 0 8px 8px;
}