.gallery-tabs {
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center
}

.gallery-tab {
    padding: 8px 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: .3s;
    color: #999;
    font-weight: 700
}

.gallery-tab.active,
.gallery-tab:hover {
    background: #fff;
    border-color: #bbb;
    color: #333
}

.gallery-grids-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all .4s ease
}

.gallery-grid.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto
}

.gallery-item {
    background: #fff;
    overflow: hidden;
    position: relative
}

.gallery-media-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden
}

.lb-close {
    top: 10px !important;
    right: 10px !important;
    bottom: auto !important;
    position: absolute !important
}

.gallery-media-wrapper img,
.gallery-media-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block
}

.gallery-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, .9);
    opacity: 0;
    transition: .3s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #ff3a2d;
    text-align: center;
    padding: 10px;
    cursor: pointer
}

.gallery-item:hover .gallery-hover {
    opacity: 1
}

.gallery-hover i {
    font-size: 28px;
    margin-bottom: 8px
}

.gallery-hover div {
    font-weight: 700
}

@media(max-width:768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:600px) {
    .gallery-tab {
        padding: 6px 12px;
        font-size: 14px
    }
}

.my-scroll-top {
    position: fixed;
    bottom: 100px;
    right: 20px;
    padding: 10px;
    border-radius: 0px;
    background: linear-gradient(155deg, #0a5083 0.00%, #0fbdf0 44.83%, #802f88 78.82%, #b33b69 92.12%, #e6564b 100.00%);
    color: #ffffff !important;
    fill: #ffffff;
    z-index: 9999999;
    cursor: pointer;
    display: none;
    transition: 0.3s ease-in-out;
    border: 1px solid #FFFFFF;
}

.my-scroll-top.show {
    display: block;
}

.my-scroll-top svg path {
    fill: #ffffff;
}


.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
/*     min-height: 900px; */
    overflow: hidden;
}

/* SLIDE WRAPPER */
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.12);
    transition: opacity 1s ease, transform 2s ease;
}
.hero-slide img{
    width: 100%;
    height: 100%;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

/* BACKGROUND IMAGE */
.hero-bg {
    position: absolute;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    z-index: 0;
    top: 0;
    left: 0;
    transform: scale(1.12);
    transition: transform 2s ease;
}

.hero-slide.active .hero-bg {
    transform: scale(1);
}

/* =======================================================
   CINEMATIC TOP-RIGHT GRADIENT OVERLAY (#0A5083)
======================================================= */
.hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;

    background: radial-gradient(circle at top right,
            rgba(10, 80, 131, 0.75) 0%,
            rgba(10, 80, 131, 0.45) 25%,
            rgba(10, 80, 131, 0.25) 45%,
            rgba(10, 80, 131, 0.10) 65%,
            rgba(10, 80, 131, 0.0) 100%);

    mix-blend-mode: multiply;
}

.hero-content {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -40%);
    text-align: center;
    width: 70%;
    max-width: 1100px;
    color: #fff;
    font-size: 54px;
    font-weight: 800;
    line-height: 80px;
    text-shadow: 0 4px 22px rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
    z-index: 5;
}

.hero-slide.active .hero-content {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.hero-arrow {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.55);
    cursor: pointer;
    z-index: 20;
    transition: 0.3s ease;
}

.hero-arrow svg {
    stroke: #fff;
    stroke-width: 3px;
    width: 28px;
    height: 28px;
    transition: 0.3s ease;
}

.hero-arrow:hover {
    background-image: url("../images/AI-Agents-Hero-1-50x100.jpg");
    background-size: cover;
    background-position: center;
    border-color: #0A5083;
}

.hero-arrow:hover svg {
    stroke: #0A5083;
}

.hero-prev {
    left: 32px;
}

.hero-next {
    right: 32px;
}

/* =======================================================
   RESPONSIVE FIXES — CLEAN ON ALL DEVICES
======================================================= */

@media(max-width: 1200px) {
    .hero-content {
        font-size: 46px;
    }
}

@media(max-width: 768px) {
    .hero-slider {
/*         min-height: 500px; */
        height: auto;
    }
    .hero-bg {
        height: 500px;
        display: block;
    }
    .hero-bg img{
        height: 100%;
    }

    .hero-content {
        top: 70%;
        font-size: 25px;

    }

    .hero-arrow {
        display: none;
    }

    .hero-overlay {
        width: 75%;
        height: 50%;
    }
}


@media(min-width:992px) {

    .km-mega-menu-container {
        width: 100%;
        position: relative;
        z-index: 999;
    }

    .km-mega-menu {
        display: flex;
        gap: 40px;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .km-menu-item {
        position: relative;
    }

    /* Parent link smoother hover */
    .km-parent-link {
        color: #fff !important;
        font-weight: 600;
        font-size: 17px;
        padding: 15px 0;
        display: flex;
        align-items: center;
        gap: 6px;
        transition: color .25s ease, transform .3s cubic-bezier(.25, .46, .45, .94);
    }

    .km-menu-item:hover>.km-parent-link {
        transform: translateY(-3px);
    }

    .km-arrow {
        font-size: 16px;
        opacity: .6;
        transition: transform .35s cubic-bezier(.22, 1, .36, 1), opacity .25s ease;
    }

    .km-menu-item:hover>.km-parent-link .km-arrow {
        transform: rotate(90deg);
        opacity: 1;
    }

    /* MAIN DROPDOWN (LEVEL 1) — smoother + elastic slide */
    .km-dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 260px;
        background: #111 url("../images/menu-bg-2-1.jpg") center/cover;
        padding: 10px 0;
        border-radius: 14px;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px) scale(.98);
        transition:
            opacity .35s ease-out,
            transform .45s cubic-bezier(.22, 1, .36, 1),
            visibility .35s ease;
    }

    .km-menu-item:hover>.km-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    /* LEVEL 2 ITEMS — smooth slide on hover */
    .km-sub-item,
    .km-sub-item a {
        color: #ffffff !important;
        padding: 7px 15px;
        font-size: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition:
            background .3s ease,
            padding-left .35s cubic-bezier(.25, .46, .45, .94),
            color .25s ease;
        position: relative;
    }

    .km-sub-item:hover {
        background: rgba(255, 255, 255, 0.08);
        color: #00d4ff !important;
        padding-left: 22px;
    }

    /* arrows animations */
    .css-arrow {
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 6px solid currentColor;
        display: inline-block;
        transition: transform .3s ease, opacity .25s ease;
        margin-left: 6px;
        opacity: .6;
    }

    .km-menu-item:hover>.km-parent-link .css-arrow {
        transform: rotate(180deg);
        opacity: 1;
    }

    .css-arrow-small {
        width: 0;
        height: 0;
        border-top: 4px solid transparent;
        border-bottom: 4px solid transparent;
        border-left: 6px solid currentColor;
        opacity: .4;
        transition: transform .3s cubic-bezier(.25, .46, .45, .94), opacity .2s ease;
    }

    .km-sub-item:hover .css-arrow-small {
        transform: translateX(5px);
        opacity: 1;
    }

    .km-sub-children {
        position: absolute;
        left: 100%;
        top: 0;
        min-width: 220px;
        background: #111 url("../images/menu-bg-2-1.jpg") center/cover;
        padding: 12px 0;
        border-radius: 8px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);

        opacity: 0;
        visibility: hidden;

        transform: translateX(18px);
        transition:
            opacity .32s ease-out,
            transform .4s cubic-bezier(.22, 1, .36, 1),
            visibility .35s ease;
    }

    .km-sub-item.has-level3:hover .km-sub-children {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .km-sub-sub-item {
        padding: 7px 15px;
        color: #fff !important;
        display: block;
        font-size: 14px;
        transition: background .3s ease, padding-left .35s ease;
    }

    .km-sub-sub-item:hover {
        background: rgba(255, 255, 255, 0.12);
        color: #00d4ff !important;
        padding-left: 22px;
    }
}


/* Container */
.km-mobile-menu-container {
    width: 100%;
}

/* Base lists */
.km-mobile-menu,
.km-m-sub,
.km-m-sub-sub {
    list-style: none;
    margin: 0;
    padding: 0;
}

.km-m-item,
.km-m-sub-item {
    padding: 8px 0;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.km-m-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.km-m-header a,
.km-m-header span {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
}

.km-m-toggle {
    width: 20px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
}

.km-m-toggle::before {
    content: "";
    border: solid #fff;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 4px;
    transform: rotate(45deg);     
    transition: transform .25s ease;
}

.km-m-toggle.open::before {
    transform: rotate(135deg);     
}

/* Submenu hidden */
.km-m-sub,
.km-m-sub-sub {
    display: none;
    padding-left: 18px;
}

.km-m-sub.open,
.km-m-sub-sub.open {
    display: block;
}

/* Submenu link styles */
.km-m-sub a {
    color: #fff;
    font-size: 15px;
    display: block;
    padding: 6px 0;
}

.km-m-sub-sub {
    padding-left: 24px;
}

.km-m-sub-sub a {
    color: #fff;
    font-size: 14px;
    padding: 4px 0;
    display: block;
}


.elementor-popup-modal .dialog-close-button svg{
    fill: #fff;
}


/* @media (min-width: 1200px) {.hero-slider{min-height: 1100px;}}
 */

/* Big screens */
@media (min-width: 1600px) {
  .has_ae_slider.elementor-section,
  .hero-slider,
  .hero-slide {
/*     min-height: 1200px !important; */
  }
}

/* Very large / 2K–4K screens */
@media (min-width: 1920px) {
  .hero-slider{
    min-height: 850px !important;
  }
}
	@media (max-width: 1024px) {
	.hero-slider {
		height: 55vh;
	}
	}

	@media (max-width: 767px) {
		.my-scroll-top {
			bottom: 80px;
			right: 15px;
			padding: 20px;
		}
		  .hero-slider {
        height: 400px;
    }
		    .hero-content {
        top: 50%;
				line-height: 34px;

    }
	}
#footermain2{
	    background: linear-gradient(155deg, #0a5083 0.00%, #0fbdf0 44.83%, #802f88 78.82%, #b33b69 92.12%, #e6564b 100.00%);
}
.elementor-post__read-more{
	background-color: rgba(195, 195, 194, 0.43);
    font-weight: 700;
    text-transform: uppercase;
    color: #333333;
    border-radius: 4px 4px 4px 4px;
    padding: 7px 18px 7px 18px;
    margin: 20px 0px 10px 0px;
}