.hero-carousel {
    position: relative;
    overflow: visible;
    margin: 18px auto 42px !important;
    padding-bottom: 52px;
    border-radius: 18px;
    background: linear-gradient(90deg, #eef5f8, #fff, #eef5f8);
}

.hero-carousel .carousel-inner {
    overflow: hidden;
    border-radius: 18px;
    background: #eaf1f5;
    box-shadow: 0 16px 38px rgba(18, 46, 67, 0.14);
}

.hero-carousel .carousel-item img {
    width: 100%;
    height: auto;
    max-height: min(42vw, 540px);
    object-fit: cover;
    object-position: center;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    top: auto;
    bottom: 4px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    background: #176b92;
    opacity: 0.95;
    transform: none;
    transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
    z-index: 3;
}

.hero-carousel .carousel-control-prev {
    right: 8px;
    left: auto;
}

.hero-carousel .carousel-control-next {
    right: auto;
    left: 8px;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
    background: #e78234;
    box-shadow: 0 6px 18px rgba(15, 44, 64, 0.24);
    transform: scale(1.06);
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    width: auto;
    height: auto;
    background-image: none;
}

.hero-carousel .carousel-control-prev-icon::before,
.hero-carousel .carousel-control-next-icon::before {
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 38px;
    font-weight: 400;
    line-height: 1;
}

.hero-carousel .carousel-control-prev-icon::before {
    content: "\203A";
}

.hero-carousel .carousel-control-next-icon::before {
    content: "\2039";
}

.hero-carousel .carousel-indicators {
    gap: 7px;
    bottom: 0;
    align-items: center;
    margin-bottom: 17px;
    z-index: 2;
}

.hero-carousel .carousel-indicators [data-bs-target] {
    width: 9px;
    height: 9px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 999px;
    background: rgba(16, 43, 64, 0.58);
    opacity: 1;
    transition: width 180ms ease, background-color 180ms ease;
}

.hero-carousel .carousel-indicators [data-bs-target].active {
    width: 28px;
    background: #f28a36;
}

.home-showcase-section {
    position: relative;
    overflow: hidden;
    padding: 58px 0 66px;
}

.home-showcase-work,
.home-showcase-clients {
    background:
        radial-gradient(ellipse at 4% 12%, rgba(64, 181, 209, 0.18), transparent 34%),
        linear-gradient(135deg, #12344a 0%, #0c273b 100%);
}

.home-showcase-videos {
    background:
        radial-gradient(ellipse at 95% 10%, rgba(35, 132, 177, 0.08), transparent 32%),
        #f6f9fb;
}

.home-showcase-partners {
    background:
        radial-gradient(ellipse at 5% 90%, rgba(242, 138, 54, 0.08), transparent 32%),
        #fff;
}

.home-showcase-work .home-section-heading h2,
.home-showcase-clients .home-section-heading h2 {
    color: #fff;
}

.home-showcase-work .home-section-heading p,
.home-showcase-clients .home-section-heading p {
    color: #c3d3de;
}

.home-showcase-work .home-section-kicker,
.home-showcase-clients .home-section-kicker {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.1);
    color: #e7f4f8;
}

.home-section-heading {
    margin: 0 auto 30px;
    text-align: center;
}

.home-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding: 6px 13px;
    border: 1px solid rgba(23, 107, 146, 0.14);
    border-radius: 999px;
    background: #eaf4f8;
    color: #176b92;
    font-size: 13px;
    font-weight: 700;
}

.home-section-heading h2 {
    margin: 0;
    color: #17364b;
    font-size: clamp(27px, 3.2vw, 36px);
    font-weight: 800;
    line-height: 1.4;
}

.home-section-heading h2 > i {
    margin-left: 8px;
    color: #e78234;
    font-size: 0.82em;
}

.home-section-heading p {
    margin: 9px 0 0;
    color: #71818d;
    font-size: 15px;
    line-height: 1.8;
}

.home-showcase-section .owl-carousel {
    padding: 6px 0 0;
    overflow: hidden;
}

.project-carousel .item,
.partner-carousel .item,
.client-carousel .item {
    overflow: hidden;
    width: 100%;
    border: 1px solid #e6edf2;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(22, 53, 75, 0.08);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.project-carousel .item {
    height: 276px;
    padding: 12px;
}

.partner-carousel .item,
.client-carousel .item {
    height: 156px;
    padding: 14px;
}

.project-carousel .item:hover,
.partner-carousel .item:hover,
.client-carousel .item:hover {
    transform: translateY(-4px);
    border-color: #c9dce7;
    box-shadow: 0 14px 28px rgba(22, 53, 75, 0.13);
}

.project-carousel .item img,
.partner-carousel .item img,
.client-carousel .item img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.home-showcase-section .owl-nav {
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    margin: 14px 0 0;
    padding: 0 2px;
}

.home-showcase-section .owl-nav button {
    position: static !important;
    display: inline-flex !important;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.75) !important;
    border-radius: 50% !important;
    background: #176b92 !important;
    color: #fff !important;
    box-shadow: 0 5px 16px rgba(20, 54, 75, 0.2);
    font-size: 16px !important;
    transform: none;
    transition: background-color 180ms ease, transform 180ms ease, opacity 180ms ease, box-shadow 180ms ease;
}

.home-showcase-section .owl-nav button:hover:not(.disabled) {
    background: #e78234 !important;
    box-shadow: 0 7px 18px rgba(20, 54, 75, 0.3);
    transform: scale(1.07);
}

.home-showcase-section .owl-nav button.disabled {
    opacity: 0.52;
}

.home-showcase-section .owl-nav button.owl-prev i,
.home-showcase-section .owl-nav button.owl-next i {
    transform: scaleX(-1);
}

.home-showcase-section .owl-nav button.owl-prev {
    order: 2;
}

.home-showcase-section .owl-nav button.owl-next {
    order: 1;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.video-card {
    overflow: hidden;
    border: 1px solid #e6edf2;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(22, 53, 75, 0.09);
}

.video-card video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #102b40;
    object-fit: cover;
}

.video-card-content {
    padding: 18px 22px 21px;
    text-align: right;
}

.video-card-content h3 {
    margin: 0 0 8px;
    color: #17364b;
    font-size: 18px;
    font-weight: 800;
}

.video-card-content > div {
    color: #71818d;
    font-size: 14px;
    line-height: 1.8;
}

@media (max-width: 767.98px) {
    .hero-carousel {
        margin: 10px auto 30px !important;
        padding-bottom: 48px;
        border-radius: 14px;
    }

    .hero-carousel .carousel-inner {
        border-radius: 14px;
    }

    .hero-carousel .carousel-item img {
        max-height: none;
    }

    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        width: 38px;
        height: 38px;
    }

    .hero-carousel .carousel-control-prev {
        right: 2px;
        left: auto;
    }

    .hero-carousel .carousel-control-next {
        right: auto;
        left: 2px;
    }

    .hero-carousel .carousel-control-prev-icon::before,
    .hero-carousel .carousel-control-next-icon::before {
        font-size: 30px;
    }

    .home-showcase-section {
        padding: 42px 0 48px;
    }

    .home-section-heading {
        margin-bottom: 22px;
    }

    .home-section-heading p {
        font-size: 14px;
    }

    .project-carousel .item {
        height: 236px;
    }

    .partner-carousel .item,
    .client-carousel .item {
        height: 140px;
    }

    .home-showcase-section .owl-nav button {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 575.98px) {
    .videos-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 17px;
    }

    .home-section-heading h2 {
        font-size: 27px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next,
    .hero-carousel .carousel-indicators [data-bs-target],
    .project-carousel .item,
    .partner-carousel .item,
    .client-carousel .item,
    .home-showcase-section .owl-nav button {
        transition: none;
    }
}
