/* glass background wrapper */
.glass-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 40px 60px;
    color: #0b1d35;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 2;
}

    /* text styles inside the glass box */



    .glass-box p {
        font-size: 15px;
        line-height: 1.7;
        color: white;
        margin-bottom: 15px;
    }

/* subtle animated gradient overlay behind glass */
.rbt-conatct-area::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(11,102,209,0.1), rgba(0,180,216,0.1));
    background-size: 200% 200%;
    animation: bgFloat 8s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes bgFloat {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

/* ensure content is above gradient */
.rbt-conatct-area .container {
    position: relative;
    z-index: 1;
}

/* responsive */
@media (max-width: 768px) {
    .glass-box {
        padding: 15px;
        padding-top: 20px;
    }

   

    .mob-none {
        display: none;
    }
    .five-item {
        margin-top: 20px !important;
    }
}

.rbt-conatct-area {
    background-image: url("../../Img/image-30.webp") !important;
    background-size: cover; /* fills full width, slight crop if needed */
    background-position: center 45%; /* keeps main subject centered nicely */
    background-repeat: no-repeat;
    height: 610px; /* ? fixed visible height */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-card-6 .inner {
    border-radius: 5px;
    padding: 32px 14px;
    position: relative;
    z-index: 1;
    border: 1px solid var(--color-border);
    height: 100%;
}

.service-card-6 .inner {
    border-radius: 5px;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
    border: 1px solid var(--color-border);
    height: 100%;
}

.col-lg-2.col-xl-2.col-xxl-2.col-md-6.col-sm-6.col-12.mt--30 {
    padding-left: 5px;
    padding-right: 5px;
}



/* --------------------------
   Five-up layout + card styles
   -------------------------- */
.five-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    align-items: stretch;
    width: 100%;
    margin: 0 auto;
    --col-gap: 22px;
}


    .five-grid > * {
        width: 100%;
        margin: 0;
    }


    .five-grid .service-card {
        height: 100%;
        display: flex;
        flex-direction: column;
     
        border-radius: 12px;
        background: #fff;
        border: 1px solid rgba(11,33,64,0.04);
        box-shadow: 0 6px 24px rgba(8,30,60,0.04);
        transition: transform .26s cubic-bezier(.2,.9,.2,1), box-shadow .26s ease;
    }

        /* icon block */
        .five-grid .service-card .icon {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(180deg, rgba(11,102,209,0.06), rgba(11,102,209,0.01));
            margin-bottom: 14px;
        }

            .five-grid .service-card .icon img {
                max-width: 36px;
                max-height: 36px;
                display: block;
            }

        /* title and description */
        .five-grid .service-card .content .title {
            margin: 0 0 8px;
            font-size: 16px;
            font-weight: 700;
            color: #0b2340;
            line-height: 1.25;
        }

        .five-grid .service-card .content .description {
            margin: 0;
            color: #576a76;
            font-size: 13.75px;
            line-height: 1.6;
        }

        /* small numbered badge (if you keep .number-text) */
        .five-grid .service-card .number-text {
            margin-top: auto;
            font-weight: 700;
            color: rgba(11,102,209,0.9);
            opacity: .95;
            display:none;
            font-size: 14px;
        }

        /* Hover/focus lift */
        .five-grid .service-card:hover,
        .five-grid .service-card:focus-within {
            transform: translateY(-6px);
            box-shadow: 0 18px 48px rgba(8,30,60,0.12);
            border-color: rgba(11,102,209,0.10);
            cursor: pointer;
        }

/* Responsive breakpoints */
/* 1200px and below: 3 columns */
@media (max-width: 1200px) {
    .five-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

/* 880px and below: 2 columns */
@media (max-width: 880px) {
    .five-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

        .five-grid .service-card {
            padding: 20px;
        }
}

/* 520px and below: 1 column */
@media (max-width: 520px) {
    .five-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

        .five-grid .service-card {
            padding: 18px;
            border-radius: 10px;
        }

            .five-grid .service-card .icon {
                width: 52px;
                height: 52px;
            }
}


/* --- Accent color variables --- */
:root {
    --accent-primary: #6C63FF; /* main purple */
    --accent-secondary: #A259FF; /* lighter purple */
    --accent-shadow: rgba(108, 99, 255, 0.15);
}

/* Card color + glow */
.five-grid .service-card {
    background-color: #ffffff;
    box-shadow: 0 4px 12px var(--accent-shadow);
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.25);
    border: 1px solid transparent;
    background-origin: border-box;
    background-clip: content-box, border-box;
}

    /* Gradient border glow on hover */
    .five-grid .service-card:hover {
        box-shadow: 0 6px 20px rgba(108, 99, 255, 0.25);
        border: 1px solid transparent;
        background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
        background-origin: border-box;
        background-clip: content-box, border-box;
    }

    /* Icon style (circle background + color) */
    .five-grid .service-card .icon {
        color: var(--accent-primary);
        background: linear-gradient(145deg, rgba(108, 99, 255, 0.08), rgba(162, 89, 255, 0.05));
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    .five-grid .service-card:hover .icon {
        background: linear-gradient(145deg, var(--accent-primary), var(--accent-secondary));
        color: #fff;
        transform: scale(1.15);
    }

    /* Title hover color */
    .five-grid .service-card .title {
        transition: color 0.3s ease;
    }

    .five-grid .service-card:hover .title {
        color: var(--accent-primary);
    }



/* Ensure your text/content stays above the overlay */
.rbt-conatct-area > * {
    position: relative;
    z-index: 2;
}






/* === VM two-column layout (left image + right stacked items) === */
.vm-layout {
    display: grid;
    grid-template-columns: 360px 1fr; /* left fixed visual, right flexible */
    gap: 36px;
    align-items: start;
    width: 100%;
}

/* left image container */
.vm-left {
    display: flex;
    align-items: start;
    justify-content: center;
    padding-top: 8px;
}

.vm-left-image {
    width: 355px; /* image box width */
    height: 355px; /* image box height */
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(108,99,255,0.06), rgba(162,89,255,0.02));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 46px rgba(108,99,255,0.06);
    border: 1px solid rgba(108,99,255,0.06);
    overflow: hidden;
}

    /* keep image centered and scaled */
    .vm-left-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* right column stacked items */
.vm-right {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* each mission/vision item */
.vm-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 26px;
    box-shadow: 0 8px 30px rgba(8,30,60,0.04);
    border: 1px solid rgba(11,33,64,0.04);
    transition: transform .25s ease, box-shadow .25s ease;
}

    /* hover focus */
    .vm-item:hover,
    .vm-item:focus-within {
        transform: translateY(-6px);
        box-shadow: 0 18px 50px rgba(8,30,60,0.10);
        border-color: rgba(108,99,255,0.12);
    }

/* title with small inline icon */
.vm-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
    color: #0b2340;
}

/* small icon next to title */
.vm-title-icon {
    font-size: 18px; /* small */
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6C63FF; /* brand purple */
    background: rgba(108,99,255,0.08);
    border-radius: 6px;
}

/* paragraph text */
.vm-text {
    margin: 0;
    color: #586573;
    font-size: 15px;
    line-height: 1.7;
}

/* make the small icon change on item hover */
.vm-item:hover .vm-title-icon {
    background: linear-gradient(135deg,#6C63FF,#A259FF);
    color: #fff;
    transform: translateY(-1px);
}

/* Responsive: stack vertically on small screens */
@media (max-width: 980px) {
    .vm-layout {
        grid-template-columns: 1fr;
    }

    .vm-left {
        order: 1;
        justify-content: center;
    }

    .vm-left-image {
        width: 220px;
        height: 220px;
        margin: 0 auto 12px;
    }

    .vm-right {
        order: 2;
        gap: 18px;
    }

    .vm-item {
        padding: 20px;
    }
}

/* Accessibility: prefer-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .vm-item, .vm-left-image {
        transition: none;
        transform: none;
    }
}

@media (max-width: 991px) {
    .mob-col-rev {
        flex-direction: column-reverse;
    }

    .glass-box p {
        font-size: 14px;
    }

    .vm-left-image {
        width: 100%;
        height: auto;
        max-height: 460px;
    }

    .vm-left {
        margin: auto;
    }

    .mob-col-rev {
        flex-direction: column-reverse !important;
        display: flex;
    }
}

@media (max-width: 767px) {
    .rbt-conatct-area {
        background-image: url("../../Img/image-30.webp") !important;
        background-size: cover !important;
        background-position: center 45%;
        background-repeat: no-repeat;
        height: max-content;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .mob-sec-pad {
        padding-top: 25px !important;
        padding-bottom: 50px;
    }

    .why-sec-main-div {
        margin-bottom: 20px !important;
        margin-top: 0px;
    }

    .mob-pr0 {
        padding-right: 0px !important;
    }

    .mob-m20 {
        margin-bottom: 20px !important;
        margin-top: 20px !important;
    }

    .rbt-service-area.rbt-section-gap.bg-light.vm-section {
        background: var(--gradient-8) !important;
        margin-top: 30px;
    }

    .vm-left-image {
        width: 100%;
        height: auto;
        max-height: 300px;
    }

    .mob-col-rev {
        flex-direction: column-reverse;
        display: flex;
    }
/*    .rbt-service-area.bg-color-white.rbt-section-gap {
        padding-bottom: 0px;
    }*/
    .mob-pb0 {
        padding-bottom: 0px;
    }
}

.rbt-service-area.rbt-section-gap.bg-light.vm-section {
    background: var(--gradient-8) !important;
    margin-top: 30px;
    background: var(--gradient-8) !important;
    margin-top: 30px;
}



.service-card-6 .inner {
  
    cursor: default;
}
.five-item {
    cursor: default !important;
}
.five-grid .service-card:hover {   
    cursor: default;
}
.five-grid .service-card:hover {

    background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, #6c63ffa6, #a259ffad);

}