/********** Template CSS **********/
:root {
    --primary: #23529C;
    /* --secondary: #70a4f8; */
    --secondary: #70a4f8;
    --light: white;
    --dark: #04000B;
}

body {
    font-size: 18px !important;
}


.custom-bullet {
    list-style: none;
    padding-left: 0;
}

/* Ensure dropdown container positions its children */
.nav-item.dropdown {
    position: relative;
}

/* Dropdown content hidden by default with animation styles */
.dropdown-content {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    position: absolute;
    top: 100%;
    right: -100px;
    background-color: white;
    min-width: 250px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 999;
    border-radius: 8px;
    overflow: hidden;
    font-size: 14px;
    list-style-type: none;
    padding-left: 0;
}

/* Show dropdown smoothly on hover */
.nav-item.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Style dropdown links */
.dropdown-content a {
    color: black;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.dropdown-content a:hover {
    background-color: #70a4f8;
    color: #fff;
}

.custom-bullet li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.5;
}

.custom-bullet li::before {
    content: "\f058";
    /* FontAwesome check-circle icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #00C853;
    /* Green color */
    position: absolute;
    left: 0;
    top: -3px;
    font-size: 18px;
}

.hexaText {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 800;
    margin: 0;
}

.description-text {
    color: #fff;
}

@media (max-width: 991.98px) {
    .hexaText {
        font-size: 2rem;
        text-align: center;
        width: 100%;
        line-height: 1.2;
        padding: 0rem 2.5rem !important;
        margin-bottom: 10px;
    }

    .heading {
        font-size: 18px !important;
    }

    .description-text {
        font-size: 18px !important;
        padding: 0rem 1.5rem;
        color: #fff;
        text-align: center;
        margin-bottom: 2.5rem;
    }

    /* .section-header { */
    .section-content-wrapper {
        padding: 1.8rem !important;
    }

    .section-header {
        line-height: 30px !important;
        font-size: 18px !important;
        margin-bottom: 1.5rem !important;
    }

    .short-desc-text {
        font-size: 18px;
    }

    .section-title {
        font-size: 20px;
    }

    .nav-item.dropdown {
        display: block;
    }

    /* Always show dropdown in mobile by default styling */
    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        box-shadow: none;
        background-color: transparent;
        padding-left: 10px;
    }

    /* Adjust links to look like sub-menu */
    .dropdown-content a {
        background-color: transparent;
        padding: 8px 0;
        color: #333;
        font-size: 15px;
    }

    .dropdown-content a:hover {
        background-color: transparent;
        color: #007BFF;
    }

    /* Optional: visually indent sub-menu */
    .dropdown-content {
        margin: 0px 0px 0px 10px;
        font-weight: 500;
        line-height: 14px;
        padding-left: 15px;
        list-style-type: disc;
    }

    .navbar-toggler:hover {
        box-shadow: none;
    }


}

.heading {
    color: white;
    font-size: 20px;
    /* Equivalent to text-xl */
    margin-bottom: 1rem;
    font-family: "Heebo", sans-serif;
    /* Equivalent to mb-4 */
    animation: slideInDown 1s ease-in-out;
    /* Equivalent to animated slideInDown */
}

.hexaText {
    animation: fadeIn 1s ease-in-out;
    /* Assuming some animation */
}

/* Animation for slideInDown */
@keyframes slideInDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Animation for hexaText */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/*** Spinner ***/
#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;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f067";
    font-family: "Font Awesome 5 Free";
    font-size: 10px;
    font-weight: bold;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    font-family: "Heebo", sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #23529c !important;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--secondary) !important;
}

.navbar-light .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

.nav-link.active,
.dropdown-content a.active {
    color: var(--secondary) !important;
    background-color: transparent;
}

@media (max-width: 991.98px) {

    .nav-link.active,
    .dropdown-content a.active {
        color: var(--secondary) !important;
    }

    .sticky-top.navbar-light {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important;
    }

    .navbar-light .navbar-brand h1 {
        color: var(--primary);
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999;
    }

    .sticky-top.navbar-light {
        position: fixed;
        background: #FFFFFF;
    }

    .sticky-top.navbar-light .navbar-brand h1 {
        color: var(--primary);
    }

    .navbar-light .navbar-nav .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }

    .navbar-light .btn {
        color: var(--dark);
        background: #FFFFFF;
    }

    .sticky-top.navbar-light .btn {
        color: var(--dark);
        background: var(--secondary);
    }
}

@media (min-width: 992px) {
    .navbar-custom {
        padding-left: 80px !important;
        padding-right: 80px !important;
    }
}

.hero-header-content {
    margin-bottom: 6rem;
    padding: 6rem 0;
    /* background: url(../img/new-hero-body-1.svg) no-repeat center center;
    background-size: cover; */
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    /* Ensures content is centered */
    justify-content: center;
}

/*** Hero Header ***/
.hero-header {
    background: url(../img/new-hero-body-1.svg)no-repeat center center;
    background-size: cover;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(3px 5px 7px #a6ddff);
    position: relative;
}

.hero-image {
    position: relative;
    width: 80%;
    height: 80%;
    bottom: 70px;
    filter: drop-shadow(3px 5px 45px #a6ddff);
    left: 126px;
}

.hero-content-wrapper {
    padding-left: 52px;
    margin-top: 0px
}

@media (max-width: 768px) {
    .hero-header {
        /* background-size: contain; */
        /* Ensures full coverage on small screens */
        min-height: 70vh;
        /* Adjust height to maintain proportion */
    }
}

@media (max-width: 480px) {
    .hero-header {
        /* background-size: contain; */
        min-height: 50vh;
        /* Further reduction for very small screens */
    }

    .hero-image {
        left: 0;
    }
}

@media (max-width: 991.98px) {
    .hero-header {
        padding: 6rem 0 2rem 0;
    }

    .hero-content-wrapper {
        padding-left: calc(3rem / 2);
    }

    .hero-image {
        filter: drop-shadow(3px 5px 10px #a6ddff);

    }

    .hero-header-content {
        margin-bottom: 0px;
        padding: 0px;
    }
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: flex;
    align-items: center;
    font-weight: 500;
    text-transform: uppercase;
}

.section-title span:first-child,
.section-title span:last-child {
    position: relative;
    display: inline-block;
    margin-right: 30px;
    width: 30px;
    height: 2px;
}

.section-title span:last-child {
    margin-right: 0;
    margin-left: 30px;
}

.section-title span:first-child::after,
.section-title span:last-child::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 2px;
    top: 0;
    right: -20px;
}

.section-title span:last-child::after {
    right: auto;
    left: -20px;
}

.section-title.text-primary span:first-child,
.section-title.text-primary span:last-child,
.section-title.text-primary span:first-child::after,
.section-title.text-primary span:last-child::after {
    background: var(--primary);
}

.section-title.text-secondary-e span:first-child,
.section-title.text-secondary-e span:last-child,
.section-title.text-secondary-e span:first-child::after,
.section-title.text-secondary-e span:last-child::after {
    background: var(--secondary);
}

.section-title.text-white span:first-child,
.section-title.text-white span:last-child,
.section-title.text-white span:first-child::after,
.section-title.text-white span:last-child::after {
    background: #FFFFFF;
}


/*** Feature ***/
.feature-item {
    transition: .5s;
}

.feature-item:hover {
    margin-top: -15px;
}


/*** About ***/
.progress {
    height: 5px;
}

.progress .progress-bar {
    width: 0px;
    transition: 3s;
}


/*** Fact ***/
.fact {
    margin: 6rem 0;
    background:
        url(../img/blob-top-left.png),
        url(../img/blob-top-right.png),
        url(../img/blob-bottom-left.png),
        url(../img/blob-bottom-right.png),
        url(../img/blob-center.png);
    background-position:
        left 0px top 0px,
        right 0px top 0px,
        left 0px bottom 0px,
        right 0px bottom 0px,
        center center;
    background-repeat: no-repeat;
}


/*** Service ***/
.service-item {
    position: relative;
    padding: 45px 30px;
    background: var(--light);
    overflow: hidden;
    transition: .5s;
}

.service-item:hover {
    margin-top: -15px;
    padding-bottom: 60px;
    background: var(--primary);
}

.service-item .service-icon {
    margin: 0 auto 20px auto;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    background: url(../img/bg-blogs.svg) center center no-repeat;
    background-size: contain;
    transition: .5s;
}

.service-item:hover .service-icon {
    color: var(--dark);
    background: url(../img/blob-secondary.png) center center no-repeat;
    background-size: contain;
}

.service-item h5,
.service-item p {
    transition: .5s;
}

.service-item:hover h5,
.service-item:hover p {
    color: #FFFFFF;
}

.service-item a.btn {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px 40px 0 0;
    transition: .5s;
    z-index: 1;
}

.service-item a.btn:hover {
    color: var(--dark);
    background: var(--secondary);
}

.service-item:hover a.btn {
    bottom: 0;
}


/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-item img {
    transition: .5s;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item .portfolio-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(98, 34, 204, .9);
    transition: .5s;
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}


/*** Newsletter ***/
.newsletter {
    margin: 6rem 0;
    background:
        url(../img/blob-top-left.png),
        url(../img/blob-top-right.png),
        url(../img/blob-bottom-left.png),
        url(../img/blob-bottom-right.png),
        url(../img/blob-center.png);
    background-position:
        left 0px top 0px,
        right 0px top 0px,
        left 0px bottom 0px,
        right 0px bottom 0px,
        center center;
    background-repeat: no-repeat;
}


/*** Testimonial ***/
.testimonial-carousel .testimonial-item {
    padding: 0 30px 30px 30px;
}

.testimonial-carousel .owl-nav {
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 60px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}


/*** Team ***/
.team-item .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Footer ***/
.footer {
    margin-top: 6rem;
    padding-top: 7rem;
    padding-left: 40px;
    padding-right: 40px;
    background: #080f2c !important;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(256, 256, 256, .1);
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
    color: var(--secondary);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color: var(--secondary);
}

.white-logo,
.sticky-top .normal-logo {
    display: block;
}

.normal-logo,
.sticky-top .white-logo {
    display: none;
}

.nav-color {
    color: #23529c !important;
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    font-family: 'Heeba', sans-serif;
    font-size: 18px;
    font-weight: 500;
    outline: none;
    transition: .5s;
}

.sticky-top .nav-color {
    padding: 20px 0;
    color: var(--dark) !important;
}

@media (max-width: 992px) {
    .white-logo {
        display: none !important;
    }

    .normal-logo {
        display: block !important;
        position: relative;
        right: 60px;
    }

    .custom-bullet {
        text-align: left;
    }

    .logo {
        position: relative;
        left: 50px;
    }
}