html, body {
    overflow-x: clip;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0f1b2b;
    color: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Spinner wrapper */
.spinner-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

/* Rotating circle */
.spinner-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    border: 5px solid rgba(46, 239, 255, 0.2);
    border-top: 5px solid #ff0000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Lock icon */
.lock-icon img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    /* adjust size as needed */
    height: 80px;
}

/* Spinner rotation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.navbar-toggler {
    width: 1.5em;
    height: 1.5em;
    background: url('../images/menu.svg') no-repeat center center;
    background-size: contain;
}

/* Menu open (collapsed class removed) */
.navbar-toggler:not(.collapsed) {
    background: url('../images/x.svg') no-repeat center center;
    background-size: contain;
}

/* Optional: hide default Bootstrap icon */
.navbar-toggler-icon {
    display: none;
}

/* HERO BANNER */
.hero-banner {
    height: 500px;
    position: relative;
    color: #fff;

    /* Initial placeholder background to avoid grey flash */
    background-color: #d0d0d0;
    /* light grey or a color that matches the image */
    background-image: url("../images/background.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;

    background-attachment: fixed;
    /* Fade in effect */
    opacity: 0;
    animation: fadeInBg 1s ease forwards;
}

/* Keyframes for fade-in background */
@keyframes fadeInBg {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Mobile: shift background to the right */
@media (max-width: 768px) {
    .hero-banner {
        background-position: 60% center;
        background-attachment: scroll;
    }
}

/* Optional: fade overlay for better text visibility */
.hero-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* make text easier to read */
}

.hero-banner .container {
    position: relative;
    z-index: 2;
    /* so text stays above overlay */
}

/* Hero Button Custom Style */
.hero-btn {
    position: relative;
    overflow: hidden;
    padding: 12px 36px;
    /* Bigger left/right padding */
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    background: linear-gradient(90deg,
            rgba(230, 21, 45, 1) 0%,
            rgba(46, 63, 85, 1) 100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero-btn:hover {
    opacity: 0.95;
    transform: translateY(-10px);
}

/* Shine effect */
.hero-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    /* start outside left */
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: skewX(-25deg);
    /* angled shine */
    transition: all 0.7s ease;
}

/* Animate shine on hover */
.hero-btn:hover::after {
    left: 125%;
}

/* ----- SECOND SECTION ----- */
.section-two {
    background: #f7f8fa;
    width: 100%;
    padding: 60px 0;
    /* spacing top/bottom */
}

/* INNER content centered at max 1440px */
.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* Bullet list styling */
.section-list {
    padding-left: 18px;
    margin-bottom: 20px;
}

.section-list li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

/* Image alignment tweak */
.section-image {
    max-width: 90%;
}

/* Section Button Base */
.section-btn {
    position: relative;
    /* needed for pseudo-element */
    overflow: hidden;
    /* hide overflow of shine */
    padding: 12px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(16, 71, 151, 1) 0%, rgba(63, 78, 96, 1) 100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Optional: slight scale on hover */
.section-btn:hover {
    opacity: 0.95;
    transform: translateY(-10px);
}

/* Shine effect */
.section-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    /* start outside left */
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: skewX(-25deg);
    /* angled shine */
    transition: all 0.3s ease;
}

/* Animate shine on hover */
.section-btn:hover::after {
    left: 125%;
    /* move across the button */
    transition: all 0.7s ease-in-out;
}

/* THIRD SECTION */
.section-three {
    background: rgba(220, 236, 255, 1);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.section-three .section-inner {
    max-width: 1440px;
    margin: 0 auto;
}

/* Cards */
.info-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
}

.info-card h5 {
    margin-bottom: 8px;
}

.info-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #333;
}

/* Images inside cards */
.info-card .card-img img {
    max-width: 300px;
    /* adjust size */
    height: auto;
}


.section-four .section-inner {
    max-width: 1440px;
    margin: 0 auto;
}

.section-four-img {
    width: 100%;
    max-width: 400px;
    height: 400px;
    object-fit: contain;
    display: block;
    margin: 0 auto 15px;
}

/* Mobile: smaller images */
@media (max-width: 768px) {
    .section-four-img {
        max-width: 180px;
        height: 180px;
        margin-bottom: 20px;
    }

    .solutions-font {
        font-size: 18px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        line-height: normal;
    }
}


.icon-circle {
    background-color: rgba(220, 236, 255, 1);
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-four .hero-btn {
    display: block;
    margin: 0 auto;
    margin-top: 10px;
}

.section-why {
    background: rgba(242, 243, 251, 1);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.section-why .section-inner {
    max-width: 1440px;
    margin: 0 auto;
}

.partners-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    /* horizontally center the track */
    align-items: center;
    /* vertically center logos */
}

.partners-track {
    display: flex;
    gap: 40px;
    width: calc(2 * 100%);
    animation: scroll 25s linear infinite;
    align-items: center;
}

.partners-track img {
    max-height: 25px;
    object-fit: contain;
    display: block;
}

@media (max-width: 576px) {
    .partners-track img {
        max-height: 25px;
    }
}

/* Keyframes for infinite scroll */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.site-footer h5 {
    color: #ffffff;
    margin-bottom: 15px;
}

.site-footer .footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.site-footer .footer-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Fade In Up Animation */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.particles-wrapper {
    position: absolute;
    inset: 0;
}

#particles-js {
    width: 100%;
    height: 100%;
}

/* Particles canvas */
#particles-js-2 {
    width: 100%;
    height: 100%;
}

.section-title {
    color: #2e3f55;
}

#typing-text::after {
    content: "|";
    animation: blink 0.7s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}


.nav-link {
    display: inline-block;
    position: relative;
    /* needed for ::before/::after positioning */
    font-weight: 700;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Bottom line */
.nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #ff0000, #2e3f55);
    bottom: -5px;
    /* bottom line */
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease-out;
}

.nav-link:hover {
    transform: scale(1.1);
}

.nav-link:hover::before,
.nav-link:hover::after {
    transform: scaleX(1);
}

.navbar-nav {
    display: flex;
    gap: 20px;
    /* Adjust the spacing here */
}

.navbar-brand {
    position: relative;
    /* needed for pseudo-elements */
    display: inline-block;
}

.navbar-brand img {
    display: block;
    transition: transform 0.3s ease;
}

/* Hover: rotate + scale + glow */
.navbar-brand:hover img {
    transform: scale(1.1);
}

.navbar-brand::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #ff0000, #2e3f55);
    left: 0;
    transform: scaleX(0);
    transition: transform 0.4s ease-out;
}

.navbar-brand::before {
    top: 0;
    transform-origin: left;
}


.dropdown-toggle::after {
    display: none;
}

/* top */
.navbar-brand::after {
    bottom: 0;
    transform-origin: right;
}

/* bottom */

.navbar-brand span::before {
    left: 0;
    transform-origin: top;
}

/* left */
.navbar-brand span::after {
    right: 0;
    transform-origin: bottom;
}

/* right */

/* Hover: show box */
.navbar-brand:hover::before,
.navbar-brand:hover::after,
.navbar-brand:hover span::before,
.navbar-brand:hover span::after {
    transform: scale(1);
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    /* ensures proper alignment */
}

/* Make sure the link doesn't jump */
.nav-item.dropdown .dropdown-toggle::after {
    margin-left: .4rem;
}

.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transition: 0.2s ease;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.hero-banner-products {
    height: auto;
    position: relative;
    color: #fff;

    /* Initial placeholder background to avoid grey flash */
    background-color: #d0d0d0;
    /* light grey or a color that matches the image */
    background-image: url("../images/products-background.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;

    background-attachment: fixed;
    /* Fade in effect */
    opacity: 0;
    animation: fadeInBg 1s ease forwards;
}

/* Keyframes for fade-in background */
@keyframes fadeInBg {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Mobile: shift background to the right */
@media (max-width: 768px) {
    .hero-banner-products {
        background-position: 60% center;
        background-attachment: scroll;

    }
}

/* Optional: fade overlay for better text visibility */
.hero-banner-products::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* make text easier to read */
}

.hero-banner-products .container {
    position: relative;
    z-index: 2;
    /* so text stays above overlay */
}

.feature-box {
    max-width: 320px;
    text-align: left;
    position: relative;
    padding-bottom: 10px;
}

/* top-left */
.feature-top-left-title {
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    padding-bottom: 5px;
}

.feature-top-left-title::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50px;
    height: 1px;
    background: rgba(0, 0, 0, 0.15);
    transform: rotate(220deg);
    transform-origin: right bottom;
}

/* bottom-left */
.feature-bottom-left-title {
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    padding-bottom: 5px;
}

.feature-bottom-left-title::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50px;
    height: 1px;
    background: rgba(0, 0, 0, 0.15);
    transform: rotate(135deg);
    transform-origin: right bottom;
}

/* top-right */
.feature-top-right-title {
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    padding-bottom: 5px;
}

.feature-top-right-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 1px;
    background: rgba(0, 0, 0, 0.15);
    transform: rotate(-235deg);
    transform-origin: left bottom;
}

/* bottom-right */
.feature-bottom-right-title {
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    padding-bottom: 5px;
}

.feature-bottom-right-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 1px;
    background: rgba(0, 0, 0, 0.15);
    transform: rotate(-135deg);
    transform-origin: left bottom;
}

.products-image {
    height: auto;
    width: 35%;
}

/* Mobile: shift background to the right */
@media (max-width: 768px) {
    .products-image {
        height: auto;
        width: 50% !important;
    }
}

.card-item {
    background: #fff;
    padding: 20px;
    border-radius: 25px;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(181, 200, 245, 1) 100%);
}

.dropdown-menu {
    border: 0px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.12);
}

.dropdown-item {
    position: relative;
    display: inline-block;
    /* ensures underline matches text width */
}

.dropdown-item:focus,
.dropdown-item.active {
    color: black;
    font-weight: bold;
    background-color: transparent;
}

.dropdown-item::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #ff0000, #2e3f55);
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease-out;
}

.dropdown-item:hover::after,
.dropdown-item.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.partner-img {
    max-height: 100px;
    /* same for all images */
    object-fit: contain;
    margin-bottom: 15px;
}

.cdn-img {
    height: 175px;
    width: auto;
}

.use-case-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-card {
    position: relative;
    background: #fff;
    border-radius: 12px;

    /* Stronger side + bottom shadow */
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.12),
        /* bottom */
        6px 0 18px rgba(0, 0, 0, 0.08),
        /* right */
        -6px 0 18px rgba(0, 0, 0, 0.08);
    /* left */
}

/* Animated top border with radius */
.custom-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: #007bff;

    /* Match the card’s top radius */
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;

    /* Animation */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.custom-card:hover::before,
.custom-card.aos-animate::before {
    transform: scaleX(1);
}

.circle-num {
    width: 40px;
    height: 40px;
    background: rgba(46, 63, 85, 1);
    border-radius: 50%;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.partner-row {
    display: flex;
    flex-wrap: wrap;

}

.partner-img {
    height: 250px;
    object-fit: contain;
    width: 100%;
}

@media (max-width: 768px) {
    .partner-row>.info-card {
        width: 90%;
        margin: 0 auto 1rem;
    }

    .partner-img {
        height: 150px;
        width: 100%;
    }

    .partner-text {
        margin-top: 0px;
        margin-bottom: 5rem;
    }
}

.hero-banner-products .contact-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: auto;
    /* adjust size as needed */
    height: 250px;
}

.circle-icon {
    width: 50px;
    /* adjust size */
    height: 50px;
    background-color: rgba(220, 236, 255, 1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* prevents shrinking */
}

.circle-icon img {
    width: 35px;
    /* icon size */
    height: 35px;
    object-fit: contain;
}

.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    /* optional rounded corners */
    box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.2);
    /* optional shadow */
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .feature-row {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 0.75rem;
        /* space between icon and text */
    }

    .feature-row .icon-col {
        flex: 0 0 auto;
        /* keep icon size fixed */
    }

    .feature-row .col-11 {
        flex: 1;
        /* take remaining space */
    }
}

.btn-auto {
    display: inline-block !important;
    width: auto !important;
    margin: 0 auto;
}