/* ========== BASE ANIMATION KEYFRAMES ========== */

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeScale {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateCircle {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ========== ANIMATION CLASSES ========== */

.animate-fade-slide {
    animation: fadeSlideUp 1s ease-out forwards;
    opacity: 0; /* Start hidden */
}

    .animate-fade-slide.delay-1 {
        animation-delay: 0.3s;
    }

    .animate-fade-slide.delay-2 {
        animation-delay: 0.6s;
    }

    .animate-fade-slide.delay-3 {
        animation-delay: 0.9s;
    }

.animate-scale-fade {
    animation: fadeScale 1s ease forwards;
    opacity: 0;
}

    .animate-scale-fade.delay-1 {
        animation-delay: 0.8s;
    }

.rotate-smooth {
    animation: rotateCircle 10s linear infinite;
    transform-origin: center;
}

/* Optional: smoother page load */
body {
    scroll-behavior: smooth;
}

@keyframes slideFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========= Slide Animation Class ========= */
.slide-animated {
    animation: slideFadeIn 0.8s ease forwards;
    opacity: 0; /* Start hidden until animation triggers */
}

    .slide-animated .SliderCard {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeUp 0.6s ease forwards;
    }

        .slide-animated .SliderCard:nth-child(1) {
            animation-delay: 0.1s;
        }

        .slide-animated .SliderCard:nth-child(2) {
            animation-delay: 0.3s;
        }

        .slide-animated .SliderCard:nth-child(3) {
            animation-delay: 0.5s;
        }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.gallery-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-width: 800px; /* optional: controls size */
    margin: auto;
}

/* Track that will slide left/right */
.gallery-track {
    display: flex;
    transition: transform 0.8s ease-in-out;
}

/* Image row stays same */
.gallery {
    display: flex;
    flex-wrap: nowrap;
    gap: 25px;
    padding: 10px;
}

    /* Image styles (your original) */
    .gallery img {
      /*  border: 1px solid #363C3C80;
        padding: 20px;*/
        width: 175px;
        height: 135px;
        object-fit: contain;
        filter: grayscale(100%);
        transition: filter 0.6s ease;
        cursor: pointer;
        border-radius: 16px;
        flex: 0 0 auto;
    }
.Colorful {
    filter: grayscale(0%) !important;
}
        /* Hover behavior */
        .gallery img.active {
            filter: grayscale(0%);
        }

/* Arrows */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 8px 12px;
    cursor: pointer;
    z-index: 10;
    display: none; /* will show via JS */
}

    .gallery-arrow.left {
        left: 0;
    }

    .gallery-arrow.right {
        right: 0;
    }

    .gallery-arrow:hover {
        background: #d43939;
    }

.ArrowSlide {
    font-size: 20px;
    background: #d43939;
    width: 40px;
    top: 10px;
    /* margin-top: 20px !important; */
    justify-self: center;
    position: relative;
    display: flex;
    height: 40px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
}

.ms5px {
    margin-left: 5px;
}

.FirstDiv {
    width: 100%;
    height: 500px;
    background-color: white;
}

.moveTop {
    margin: 0px;
    top: -100px;
    position: relative;
}

.objectCover {
    object-fit: cover;
}

.GrayColor {
    color: #363c3c;
}

.w-70 {
    width: 70%;
}

.w-90 {
    width: 90%;
}

.w-80 {
    width: 80%;
}

.w-90 {
    width: 90%;
}

.w-64 {
    width: 84%;
}

.FS-30 {
    font-size: 30px;
}

.FS-25 {
    /*  font-size: 25px;*/
    font-size: 20px;
}

.FS-12 {
    /*font-size: 13px;*/
    font-size: 16px;
}

.SubText {
    color: #111111bf;
    /* font-size: 14px !important;*/
    font-size: 16px !important;
}

.Line-H33 {
    line-height: 33px;
}

.RedText {
    color: #b00505;
}

.Section1Subtext {
    padding-right: 10px;
}

.ButtonDiv {
    width: 100%;
    justify-content: start !important;
    justify-items: start;
}

.FirstDiv {
    position: relative;
    overflow: hidden;
    flex-direction: row;
    display: flex;
}

.rotating-circle-container {
    display: flex;
    justify-content: center;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
    /* prevent blocking buttons */
}

.rotating-circle {
    width: 105px;
    animation: rotateCircle 20s linear infinite reverse;
}

.image-container {
    position: relative;
    width: 80%;
    align-self: center;
}

.floating-image {
    position: absolute;
    width: 50%; /* adjust as needed */
    bottom: 10%; /* start near bottom of main image */
    left: 25%;
    transform: translateX(-50%);
    animation: floatUpDown 4s ease-in-out infinite;
}

@keyframes floatUpDown {
    0% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, -150px);
    }

    100% {
        transform: translate(-50%, -50);
    }
}

@keyframes rotateCircle {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

.nopadding {
    --bs-gutter-x: 0px;
}

.mb-15 {
    margin-bottom: 15px;
}

.w50-100Tab {
    width: 50%;
}

.Section5SubText {
    /*width: 85%;*/
    width:100%;
}

.RowToCol-Tab {
    flex-direction: row;
    display: flex;
}

.p30 {
    padding: 32px 50px;
}

.pb-32 {
    padding-bottom: 32px;
}

.Pt40px-S2 {
    padding-top: 40px;
}

.Width50to100Tab {
    width: 50%;
}

.colToRow-Tab {
    flex-direction: column;
    display: flex;
}

.FS-30To17 {
    font-size: 26px;
}

.w-60 {
    width: 60%;
}

.mb60To0 {
    margin-bottom: 110px;
}

@media (max-width: 850px) {
    .floating-image {
        width: 30%;
    }

    .h220px-Tab {
        height: 220px;
    }

    .Section5SubText {
        width: 90%;
    }

    .mb60To0 {
        margin-bottom: 0px;
    }

    .me-1Tab {
        margin-right: 5px;
    }

    .FS-30To17 {
        font-size: 17px;
    }

    .colToRow-Tab {
        flex-direction: row;
    }

    .Width50to100Tab {
        width: 100%;
    }

    .RowToCol-Tab {
        flex-direction: column !important;
    }

    .mm {
        justify-content: normal !important;
        gap: 10px;
    }

    .ps10Tab {
        padding-left: 16px;
    }

    .FirstDiv {
        height: 100%;
        flex-direction: column-reverse;
    }

    /* .moveTop {
                top: 0px;
            } */

    .w50-100Tab {
        width: 100%;
    }

    .w-64 {
        width: 95%;
    }

    .mt-50Tab {
        margin-bottom: 60px;
        /* margin-top: 50px */
    }

    .rotating-circle-container {
        top: 56%;
        position: relative;
    }

    .ButtonDiv {
        justify-content: end !important;
        justify-items: end;
    }

    .width54Tab {
        width: 54%;
    }

    .AlignStartTab {
        align-items: start !important;
    }

    .custom-rectangle_Top_gray {
        width: 100%;
    }

    .floatSubContentDiv {
        font-size: 16px;
    }

    /*  .p30 {
    padding: 20px 30px;
  }
    .ms50px{
        margin-left:30px !important;
    }
    .ms5Res {
        margin-left: 30px;
    }
    .PH-40 {
        padding: 0px 30px !important;
    }
    .ms5Res {
        margin-left: 30px;
    }
    .Section8Top{
        padding-left:30px !important;
    }
    .ML50 {
        padding-left: 30px;
    }*/
    .DivRes {
        width: 100%;
        align-self: start;
    }

    .ALignSelfCenter-Tab {
        align-self: center;
    }

    .alignSelfStart-Tab {
        align-items: start !important;
    }

    .top-40 {
        /* top: -40px;*/
        top: -50px;
        position: relative;
    }
}

.noWrap {
    text-wrap: nowrap;
}

.FS-17 {
    /*font-size: 17px;*/
    font-size: 20px;
}

.BlackText {
    color: #363c3c;
}

@media (max-width: 700px) {
    .FS-30 {
        font-size: 21px;
    }

    .Button {
        padding: 0px 5px;
        font-size: 9px;
    }

    .floatContentDiv {
        font-size: 20px;
    }

    .floatSubContentDiv {
        font-size: 12px;
    }
}

@media (max-width: 500px) {
    .floatContentDiv {
        font-size: 18px;
    }

    .floatSubContentDiv {
        width: 100%;
    }

    .FS-30To17 {
        font-size: 12px;
    }
}

/* @media (max-width: 850px) {
    .fullscreen-collapse {
        padding-bottom: 20px;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        overflow: auto;
        height: calc(100vh - 49px);
        background-color: #ffffff;
        z-index: 3;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        display: none;
    }

    .fullscreen-collapse.show {
        display: flex !important;
    }

    .fullscreen-collapse .nav-link {
        font-size: 1.5rem;
        padding: 1rem;
    }

    .fullscreen-collapse {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .fullscreen-collapse .nav-item {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .fullscreen-collapse .nav-link {
        width: 100%;
    }

    .fullscreen-collapse img.LineImg {
        margin: 0.5rem 0;
    }

    .fullscreen-collapse .d-md-none {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 1rem;
    }
} */

/* Navbar Base Styles */
.navbar {
    width: 100%;
    background-color: #ffffff;
    min-height: 60px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    height: 60px;
}

/* Logo Styles */
.navbar-brand {
    display: flex;
    align-items: center;
}

/* Desktop Menu Styles */
.navbar-menu {
    display: flex;
    align-items: center;
}

.navbar-nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin: 0 10px;
}

.nav-link {
    color: #363c3c;
    text-decoration: none;
    font-weight: 500;
}

    .nav-link:hover {
        color: #b00505;
    }

/* Contact Button Styles */
.desktop-contact-btn {
    min-width: 100px;
    height: 30px;
    border-radius: 16px;
    background-color: #d43939;
    border: none;
    color: white;
    cursor: pointer;
}

.mobile-contact-btn {
    display: none;
}

/* Hamburger Menu Styles */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 100;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #363c3c;
    position: relative;
    transition: all 0.3s ease;
}

    .hamburger:before,
    .hamburger:after {
        content: "";
        position: absolute;
        width: 25px;
        height: 2px;
        background-color: #363c3c;
        transition: all 0.3s ease;
    }

    .hamburger:before {
        top: -8px;
    }

    .hamburger:after {
        top: 8px;
    }

/* Active State for Hamburger */
.menu-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

    .menu-toggle[aria-expanded="true"] .hamburger:before {
        transform: rotate(45deg);
        top: 0;
    }

    .menu-toggle[aria-expanded="true"] .hamburger:after {
        transform: rotate(-45deg);
        top: 0;
    }

.gap3percent {
    gap: 3%;
}

.gallery.row.w-100::-webkit-scrollbar {
    display: none;
}
/* Responsive Styles - Menu becomes mobile at 850px */
@media (max-width: 850px) {
    .gap3percent {
        display: none !important;
    }

    .gallery.row.w-100 {
        overflow: auto;
    }

    .ms30Tab {
        margin-left: 30px;
    }

    .justifySelfcenter {
        justify-self: center;
    }

    .menu-toggle {
        display: block;
    }

    .desktop-contact-btn {
        display: none;
    }

    .navbar-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 20px 0;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 99;
        overflow-y: auto;
    }

        .navbar-menu[aria-expanded="true"] {
            transform: translateX(0);
        }

    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }

    .nav-item {
        margin: 0px 0;
        width: 100%;
        text-align: center;
    }

    .nav-link {
        /* font-size: 1.5rem;
    padding: 1rem; */
        display: block;
    }

    .mobile-contact-btn {
        display: block;
        min-width: 200px;
        height: 40px;
        border-radius: 20px;
        background-color: #d43939;
        border: none;
        color: white;
        font-size: 1.2rem;
        margin-top: 20px;
    }

    .LineImg {
        display: inline;
        height: 3px;
        justify-self: center;
        width: 50%;
        margin: 0.5rem 0;
    }
    /* INVALID – This does NOT work */
    body:has(.navbar-menu[aria-expanded="true"]) {
        overflow: hidden;
    }

    body.menu-open {
        overflow: hidden;
    }
}

.WhatWeDoMargin {
    margin: 0px 50px 0px auto;
}

.w41 {
    width: 41%;
}
/* Scroll divs */
.scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 10px;
    padding: 0px 20px 35px 0px;
    width: 100%;
    box-sizing: border-box;
}

    .scroll-container::-webkit-scrollbar {
        display: none;
    }

.card {
    border: 0px;
    height: auto;
    padding: 15px;
    min-width: 200px;
    min-height: 150px;
    background-color: #ffffff;
    border-radius: 10px;
    flex-shrink: 0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    user-select: none;
}

.ms50px {
    margin-left: 50px;
}

.ScrollText {
    font-size: 15px;
    margin-top: 10px;
}

.section4Img {
    background-image: url("/Assets/section4.png");
    background-size: 90%;
    background-position: center;
    background-repeat: no-repeat;
    height: 500px;
}

/* nav cards */
.card-stack-container {
    top: 43%;
    left: 53%;
    transform: translate(-50%, -50%);
    /* top: 70px; */
    position: relative;
    width: 40%;
    /* margin: auto auto; */
    height: 50%;
}

.card-stack {
    position: relative;
    height: 100%;
    perspective: 1000px;
}

.custom-card {
    position: absolute;
    /* width: 400px;
  height: 220px; */
    width: 90%;
    height: 90%;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* padding: 20px; */
    transition: all 0.6s ease;
    border: 1px solid #eee;
    transform-origin: bottom center;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

/* Rotated states */
.rot-0 {
    transform: rotate(0deg);
}

.rot-1 {
    transform: rotate(-5deg);
}

.rot-2 {
    transform: rotate(-10deg);
}

/* Active card style */
.custom-card.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 4;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.nav-controls {
    left: -50px;
    /* position: absolute;
  bottom: -60px; */
    position: relative;
    bottom: 0px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); */
    transition: all 0.3s ease;
}

    .nav-btn:disabled {
        background: #cccccc;
        cursor: not-allowed;
    }

/* Animations */
.custom-card.exiting-forward {
    animation: dropMoveForward 0.6s forwards;
    z-index: 10;
}

.custom-card.entering-forward {
    animation: enterCardForward 0.6s forwards;
    z-index: 5;
}

.custom-card.entering-backward {
    animation: enterCardBackward 0.6s forwards;
    z-index: 5;
}

@keyframes dropMoveForward {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translate(100px, 150px) rotate(10deg);
        opacity: 0;
    }
}

@keyframes dropMoveBackward {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translate(-100px, 150px) rotate(-10deg);
        opacity: 0;
    }
}

@keyframes enterCardForward {
    0% {
        opacity: 0;
        transform: translateY(-40px) rotate(-3deg) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) rotate(0deg) scale(1);
    }
}

@keyframes enterCardBackward {
    0% {
        opacity: 0;
        transform: translate(100px, 150px) rotate(10deg) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
}

.prev-btn {
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: auto;
    transform: translateX(0);
}

    .prev-btn.hidden-btn {
        opacity: 0;
        pointer-events: none;
        transform: translateX(-20px);
    }

.FS-Title {
    font-size: 29px;
}

.d-none-Web3 {
    display: none;
}

.FirstCustomCard {
    background-image: url(/Assets/Card1.png);
    background-size: 48%;
    background-position: center;
    background-repeat: no-repeat;
}

.CardImgClass {
    width: 78%;
    height: 60%;
    object-fit: fill;
    display: flex;
    align-items: center;
}

.FS-Card {
    font-size: 17px;
}

.btnCard {
    justify-self: center;
    width: 170px;
    align-self: center;
    margin-top: 8px;
}

.BgStar {
    background-image: url(/Assets/BG_Section.svg);
    background-size: 12%;
    background-position: right;
    background-repeat: no-repeat;
}

.BgStarLeft {
    background-image: url(/Assets/BG_Section6.png);
    background-size: 16%;
    background-position: left;
    background-repeat: no-repeat;
}

.section5img {
    width: 93%;
}

.Section5 {
    padding: 25px 50px 25px 50px;
    align-items: center;
}

.w50Res {
    width: 50%;
}

.ms5Res {
    margin-left: 50px;
}

.DivSection6 {
    padding: 35px 0px;
    background-color: white;
    width: 100%;
}

.PH-40 {
    padding: 0px 50px;
}

.RowToColReverse-Mob {
    flex-direction: row;
    display: flex;
}

.Section8Top {
    justify-content: start;
    display: flex;
    align-items: center;
    padding-left: 50px;
}

.ML50 {
    padding-left: 50px;
}

.RowToColReverse-Tab {
    flex-direction: row;
    display: flex;
}

.Section8Img1 {
    justify-self: end;
    width: 54%;
    display: flex;
}

.justify-self-end-S8 {
    justify-self: end;
}

.justify-self-S8 {
    justify-self: start;
}

.Section8-img1 {
    margin-right: 40px;
    width: 56%;
}

.pb0 {
    padding-bottom: 0px !important;
}

.Section8-img2 {
    width: 90%;
}

.Section8Padding {
    padding: 25px 50px;
}

.Section9 {
    width: 100%;
    margin-top: 70px;
}

.Section9Img {
    width: 85%;
    height: 80%;
}

.Section9Btn {
    margin-top: 35px;
}

.Section9BottomText {

    margin-top: 25px;
    /* margin-left: 50px; */
    /* font-size: 25px; */
    font-size: 17px;
    font-weight: 600;
    width: 70%;
}


.ScrollText {
    text-transform: uppercase;
}

.gallery {
    display: flex;
    gap: 25px;
}

    .gallery img {
       /* border: 1px solid #363C3C80;
        padding: 20px;*/
        width: 175px;
        height: 135px;
        object-fit: contain;
        filter: grayscale(100%);
        transition: filter 0.6s ease;
        cursor: pointer;
        border-radius: 16px;
    }

        .gallery img.active {
            filter: grayscale(0%);
        }

.Section10-mt {
    margin-bottom: 30px;
    margin-top: 40px;
}

.mySlides {
    display: none;
}

.w3-badge {
    cursor: pointer;
    height: 13px;
    width: 13px;
    padding: 0;
}

.img-container {
    display: flex;
    gap: 10px;
    justify-content: center;
}
/* .img-container img {
  width: 100%;
  height: auto;
} */
.img-wrapper {
    flex: 1;
}

.w3-badge.demo.w3-border.w3-transparent.w3-hover-dark-grey {
    border-radius: 50%;
    /* flex-direction: row; */
    background-color: #d9d9d9;
    display: flex;
    cursor: pointer;
    height: 13px;
    width: 13px;
    padding: 0;
}

.SliderDiv {
    max-width: 1000px;
    margin: auto;
}

.DotsDiv {
    margin-top: 16px;
    flex-direction: row;
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.w3-badge.active-dot {
    background-color: #b00505 !important;
}

.SliderCard {
    background-color: #ffffff;
    /* width: 30%; */
    border-radius: 16px;
    padding: 10px;
}

.coma {
    margin: 15px 10px;
}

.SliderText {
    color: #363c3c;
    font-size: 14px;
    color: #363c3c;
    font-weight: 600;
    margin: 0px 10px;
}

.SliderSubText {
    color: #111111;
    font-weight: 700;
    font-size: 12px;
}

.SliderSubText2 {
    color: #999999;
    font-weight: 600;
    font-size: 12px;
}

.SliderSubDiv {
    margin-top: 10px;
    align-items: center;
    gap: 5px;
    justify-content: center;
}

.Section2title {
    line-height: 35px;
    font-size: 30px;
}



@media (max-width: 850px) {

    .d-none-Web3 {
        display: flex;
    }

    .card {
        width: 43%;
        /*        border: 0px;
        height: auto;
        padding: 15px;
        min-width: 200px;
        min-height: 150px;
        background-color: #ffffff;
        border-radius: 10px;
        flex-shrink: 0;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
        user-select: none;*/
    }

    .CardStyle {
        width: 100%;
    }

    .alignItemsCenterTab {
        align-items: center;
    }

    .Section9BottomText {
        width: 80%;
    }

    .Section9Img {
        width: 65%;
    }

    .CenterSelfTab {
        justify-self: center;
        align-self: center;
        display: flex;
    }

    .justifyCenterTab {
        justify-content: center;
        display: flex;
    }

    .mt20Tab {
        margin-top: 20px;
    }

    .w100Tab {
        width: 100%;
    }

    .Section8-img2 {
        margin-top: 30px;
    }

    .justify-self-end-S8 {
        justify-self: center;
    }

    .justify-self-S8 {
        justify-self: center;
    }

    .FS-Title {
        font-size: 25px;
    }

    .Section8Top {
        padding-left: 10px;
    }

    .ML50 {
        padding-left: 10px;
    }

    .RowToColReverse-Tab {
        flex-direction: column-reverse;
    }

    .BgStar {
        background-size: 16%;
        background-position: right bottom;
    }

    .w50Res {
        width: 75%;
    }

    .ms5Res {
        margin-left: 22px;
    }
    /* .CardImgClass{
    width: 50%;
} */
    .section4Img {
        height: 395px;
    }

    .card-stack-container {
        top: 42%;
        left: 51%;
        width: 42%;
        height: 55%;
    }

    .section4Img {
        background-size: 93%;
    }

    .nav-controls {
        left: 5px;
        bottom: -15px;
    }

    .custom-card {
        width: 100%;
        height: 100%;
    }
    /*.nav-controls {
    left: 7px;
    bottom: -20px;
  }*/
    /* .section4Img{
        height: 300px;
    } */
    .ml0Tab {
        margin-left: 10px;
    }

    .MB10Tab {
        margin-bottom: 10px;
        margin-top: 20px;
    }
}

.RowToCol-Mob {
    flex-direction: row;
    display: flex;
}

@media (max-width: 769px) {
    /* .gallery img {
        padding: 15px;
        width: 171px;
        height: 135px;
    }*/

    .gallery {
        gap: 22px;
    }
}

@media (max-width: 767px) {
    /*  .gallery img {
        padding: 15px;
        width: 171px;
        height: 135px;
    }*/

    .gallery {
        gap: 22px;
    }

    .rowSlider.mySlides.img-container.row {
        margin: 0px 50px;
    }
}

@media (max-width: 675px) {
    .FS-Title {
        font-size: 20px;
    }

    .btnCard {
        height: 25px;
        justify-self: center;
        width: 150px;
        align-self: center;
        margin-top: 0px;
    }

    .CardImgClass {
        width: 70%;
        height: 46%;
        object-fit: cover;
        display: flex;
        align-items: center;
    }

    .FS-Card {
        font-size: 10px;
    }

    .section4Img {
        background-size: 99%;
    }
    /* .nav-controls{
        bottom: 20px;
       
    } */
}
/* @media (max-width: 768px) {
  .MB10Tab {
    margin-bottom: 10px;
  }
} */


/*    Title-Space-Tab*/
.mtTab7 {
    margin-top: 10px;
}

@media (max-width: 850px) {
    .WhatWeDoMargin {
        margin: 0px 30px 0px auto;
    }
    .gallery img {
        padding: 15px;
        width: 185px;
        height: 140px;
    }

    .fs-12Tab {
        font-size: 13px;
        font-weight: 600;
    }

    .p30 {
        padding: 20px 30px;
    }

    .ms50px {
        margin-left: 30px;
    }

    .ms5Res {
        margin-left: 30px;
    }

    .PH-40 {
        padding: 0px 30px;
    }

    .ms5Res {
        margin-left: 30px;
    }

    .Section8Top {
        padding-left: 30px;
    }

    .ML50 {
        padding-left: 30px;
    }
    /*    .Section8Padding {
        padding: 25px 30px;
    }*/
    .Section5 {
        padding: 25px 30px 25px 30px;
        align-items: center;
    }

    .containerCustom {
        padding: 79px 30px 70px 30px;
    }

    .floatSubContentDiv {
        font-weight: 500;
        font-size: 15px;
    }

    .overlay-div {
        top: -50px;
        height: 250px;
    }

    .Section9BottomText {
        /*margin-left: 30px;*/
    }
}

.floatContentDiv {
    font-size: 25px;
}


.S10ImgsWidth-Tab {
    width: 50px;
}

.mtTab7 {
    /*line-height: 14px !important;*/
    line-height: 20px !important;
    /* gap: 10px; */
    font-weight: 500;
    /*   margin-top: 3px;*/
    margin-top: 14px;
}

.Section9BottomText {
    font-size: 17px;
}



.s10-W-text {
    width: 70%;
    /*line-height: 13px;*/
    line-height: 20px;
}
.s10-margin_H-10 {
    margin: 10px 0px;
}
.S10-text {
    font-weight: 500;
    /* font-size: 12px;*/
    font-size: 20px;
}

@media (max-width: 600px) {
    .custom-rectangle_Top_gray {
        height: 65px;
    }

    .d-none-Web3 {
        display: none;
    }

    .FS-30To17 {
        font-size: 11px;
    }

    .Button {
        padding: 0px 10px;
        font-size: 9px;
    }

    .floating-image {
        width: 60%;
        left: 38%;
    }

    .StarMob {
        width: 12px;
    }

    @keyframes floatUpDown {
        0% {
            transform: translate(-50%, 0);
        }

        50% {
            transform: translate(-50%, -100px);
        }

        100% {
            transform: translate(-50%, -50);
        }
    }

    .h220px-Tab {
        /* height: 260px;*/
        height: 330px;
    }

    .ml15Mob {
        margin-left: 15px;
    }

    .ms50px {
        margin-left: 20px;
    }

    .Section5SubText {
        width: 100%;
    }

    .rowSlider {
        padding: 0px 10px;
    }

    .w80Mob {
        width: 80%;
    }

    .Section9BottomText {
        margin-top: 20px;
      /*  margin-left: 24px;*/
        font-size: 16px;
        font-weight: 600;
        width: 90%;
    }

    .Section9 {
        margin-top: 50px;
    }

    .WhatWeDoMargin {
        margin: 0px 20px 0px auto;
    }

    .ml0Tab {
        margin-left: 5px;
    }

    .ml10Tab {
        margin-left: 5px;
    }

    .Section9Img {
        width: 80%;
    }

    .Section8Padding {
        padding: 25px 20px;
    }

    .RowToColReverse-Mob {
        flex-direction: column-reverse;
    }

    .selfStartMob {
        align-self: self-start;
    }

    .Section5 {
        padding: 20px 20px !important;
        /* padding: 0px 30px 0px 30px;*/
        align-items: center;
        gap: 10px;
    }

    .selfEndMob {
        align-self: self-end;
    }

    .PH-40 {
        padding: 0px 5px;
    }

    .BgStar {
        background-size: 22%;
        background-position: right bottom;
    }

    .alignSelfEnd-Mob {
        align-self: flex-end;
    }

    .alignSelfStartMob {
        align-self: flex-start;
    }

    .RowToCol-Mob {
        flex-direction: column;
    }

    .ms5Res {
        margin-left: 10px;
    }

    .w50Res {
        width: 100%;
    }

    .section4Img {
        height: 300px;
    }

    .Section2title {
        line-height: 26px;
        font-size: 17px;
    }

    .pb-32 {
        padding-bottom: 20px;
    }

    .lineHeight25-Mob {
        line-height: 25px;
    }

    .card {
        width: 73%;
    }

    .ScrollText {
        font-size: 14px;
        margin-top: 10px;
    }

    .section4Img {
        height: 255px;
    }

    .w80px-Mob {
        width: 80%;
    }





    .p30 {
        padding: 20px 20px;
    }

    .ms50px {
        margin-left: 20px;
    }

    .ms5Res {
        margin-left: 20px;
    }

    .PH-40 {
        padding: 0px 20px;
    }

    .ms5Res {
        margin-left: 20px;
    }

    .Section8Top {
        padding-left: 20px;
    }

    .ML50 {
        padding-left: 20px;
    }
    /*    .Section8Padding {
        padding: 25px 30px;
    }*/
    .Section5 {
        padding: 25px 20px 25px 20px;
        align-items: center;
    }

    .containerCustom {
        padding: 79px 20px 70px 20px;
    }

    .FS-17 {
        font-size: 14px;
    }
    /*.FS10MOB{
        font-size:11px;
    }*/
    .btnCard {
        width: 130px;
    }

    .W50MOB {
        width: 70%;
    }

    .FS-20 {
        font-size: 14px;
    }

    .d-none-mob {
        display: none;
    }

    .floatContentDiv {
        font-size: 20px;
    }

    .floatSubContentDiv {
        font-weight: 500;
        font-size: 14px;
    }

    .ml0Tab {
        margin-left: 10px;
        width: 95%;
    }


    .Section9BottomText {
      /*  margin-left: 20px !important;*/
    }

    .Section9BottomText {
        margin-top: 20px;
      /*  margin-left: 24px;*/
        font-size: 11px;
        font-weight: 600;
        width: 90%;
    }

    .w-100.justify-content-end.d-flex.pe-3.V-P-Title {
        justify-content: start !important;
        padding-left: 20px;
    }

    .w80Mob.mb-3.Section8Top {
        width: 96%;
    }

    .Section10-mt {
        margin-top: 0px;
    }
    /* .rowSlider.mySlides.img-container.row {
        margin: 0px 20px;
    }*/
    .navbar-container {
        padding: 0 30px;
    }

    .HeaderLogo {
        width: 110px;
    }
}

.floatContentDiv {
    font-size: 25px;
}

/*.Section9BottomText {
    margin-left: 30px;
}*/





@media (max-width: 500px) {
    .FS-Title {
        font-size: 16px;
    }

    /* .btnCard {
            font-size: 8px !important;
            height: 22px;
            justify-self: center;
            width: 105px;
            align-self: center;
            margin-top: 0px;
        }*/
}

@media (max-width: 550px) {
    .card-stack-container {
        top: 37%;
    }

    .card-stack-container {
        top: 37%;
        width: 48%;
    }
    /*.btnCard {
          
            width: 113px;
          
        }*/
}

@media (max-width: 443px) {
    .nav-controls {
        bottom: 2px;
    }

    .DivSection6 {
        padding: 0px 0px;
    }
}

@media (max-width: 401px) {
    .FS-17 {
        font-size: 13px;
    }

    .SliderText {
        color: #363c3c;
        font-size: 11px;
        color: #363c3c;
        font-weight: 600;
        margin: 0px 10px;
    }

    .ScrollText {
        font-size: 12px;
        margin-top: 10px;
    }

    .p5 {
        padding: 5px;
    }

    .FS-10px {
        font-size: 9px;
    }

    .FS-Title {
        font-size: 14px;
    }

    .floatContentDiv {
        font-size: 20px;
    }

    .Button {
        padding: 0px 5px;
    }

    .FS-30To17 {
        font-size: 7px;
    }
}


@media (max-width: 373px) {
    .card-stack-container {
        top: 33%;
        width: 48%;
    }

    .nav-controls {
        bottom: 5px;
    }
}





.activeLi {
    color: #B00505;
}





















.scroll-section {
    position: relative;
    overflow: hidden;
}

.scroll-container {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    position: relative;
}

/* Card base styling */
.card {
    justify-content: start;
    min-height: 270px;
    min-width: 300px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.4s ease;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Horizontal slide animation */
.animate-card-slide {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

    .animate-card-slide.visible {
        opacity: 1;
        transform: translateX(0);
    }

/* Sequential delays for staggered entrance */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

.delay-6 {
    transition-delay: 0.6s;
}

/* Enhanced hover effects */
/*.card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    z-index: 10;
}*/

/* Image styling */
.CardStyle {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/*.card:hover .CardStyle {
    transform: scale(1.05);
}*/

/* Overlay effect */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(217, 35, 45, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/*.card:hover .image-overlay {
    opacity: 1;
}*/

/* Text styling */
.ScrollText {
    position: absolute;
    /* bottom: 20px;*/
    bottom: 5px;
    left: 0;
    right: 0;
    padding: 0 15px;
    transition: all 0.3s ease;
}

/*.card:hover .ScrollText {
    transform: translateY(-5px);
}*/