section {
    padding: 3rem 1rem;
}

.hero {
    position: relative;
    background: #0a1929;
    padding: 5rem 1rem;
}

@media (min-width: 992px) {
    .hero {
        /* min-height: 100vh;
        min-height: 100svh; */
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0a1929 0%, #1e3a8a 50%, #1e40af 100%);
    background-image: url('../images/secondary-page/header-background.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
    z-index: 1;
}

.content-oval {
    z-index: 10;
    position: relative;
}

.oval-shadow {
    position: absolute;
    top: 10px;
    left: 10px;
    right: -10px;
    bottom: -10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    filter: blur(20px);
    z-index: -2;
}

.oval-content {
    background: rgba(255, 255, 255, 0.80);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    border: 1px solid rgb(6, 0, 0);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 5;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    color: #1858c3;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero .lead {
    color: #333;
    line-height: 1.6;
    font-weight: 500;
    text-align: justify;
}

.light-bg {
    position: relative;
    padding: 3rem;
    background-color: white;
    background-size: cover;
    background-position: center;
    background-blend-mode: normal;
    color: #1858c4;
}

.light-bg.light-bg-top {
    background-position: bottom;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
        url('../images/secondary-page/world-top-background.webp');
}


.light-bg.light-bg-bottom {
    background-position: top;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
        url('../images/secondary-page/world-bottom-background.webp');
}

.light-bg .container {
    position: relative;
    z-index: 2;
}

.light-bg h2 {
    margin-bottom: 3rem;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.6);
}

.light-bg p {
    font-size: 1.5rem;
}

.services .service-card {
    position: relative;
    height: 100%;
    padding: 1.5rem;
    text-align: center;
    background-color: white;
    background-image: linear-gradient(rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.17)), var(--bg-image);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-blend-mode: normal;
    border-radius: 0.5rem;
    border: 1px solid #0f0c46;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 4px 8px 25px rgba(0, 0, 0, 0.40);
}

.services .service-card>* {
    position: relative;
    z-index: 2;
}

.services .service-card h5 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0a1929;
}

.services .service-card p {
    font-size: 1.125rem;
    font-weight: 500;
    text-align: justify;
    color: #0a1929;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.6);
}

.services .service-card img.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

@media (min-width: 992px) {
    .services .service-card .service-icon img {
        width: 96px;
        height: 96px;
    }
}

/* Mobile carousel transformation */
@media (max-width: 767px) {
    .services.row {
        display: block !important;
        position: relative;
        margin-bottom: 38px;
        /* overflow: hidden; */
    }

    .services .col-lg-3,
    .services .col-md-6 {
        display: none;
        width: 100%;
        flex: none;
        max-width: 100%;
        padding: 0 15px;
    }

    .services .col-lg-3.active,
    .services .col-md-6.active {
        display: block;
    }
}

/* Carousel Controls */
.card-carousel-btn {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(30, 37, 123, 0.8);
    border-radius: 50%;
    top: calc(50% - 1.5rem);
    transform: translateY(-50%);
}

@media (min-width: 768px) {
    .card-carousel-btn {
        display: none !important;
    }
}

.card-carousel-btn-prev {
    left: -25px;
}

.card-carousel-btn-next {
    right: -25px;
}

.card-carousel-btn i {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: -60px;
    margin: 1rem 0;
}

.carousel-indicators .carousel-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: rgba(141, 180, 214, 0.99);
    border: 2px solid #000;
    margin: 0.5rem 0.875rem;
    cursor: pointer;
    transition: all 0.4s ease;
}

.carousel-indicators .active {
    background-color: #0f2130;
    transform: scale(1.2);
}

.services-lists .service-list {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.services-lists .service-list {
    font-size: 1.5rem;
}

.services-lists .fa-check {
    margin-right: 1rem;
}

.dark-bg {
    position: relative;
    background-color: white;
    background-size: cover;
    background-position: center;
    background-blend-mode: normal;
    color: #c5e8fb;
    text-shadow: 1px 1px 2px rgba(37, 54, 63, 0.6);
}

.dark-bg-left {
    background-position: left;
    background-image: url('../images/secondary-page/dark-blue-to-arrows-background.webp');
}

@media (min-width: 992px) {
    .dark-bg-left {
        background-image: url('../images/secondary-page/arrows-to-dark-blue-background.webp');
    }
}

.dark-bg-right {
    background-image: url('../images/secondary-page/arrows-to-dark-blue-background.webp');
}

@media (min-width: 992px) {
    .dark-bg-right {
        background-image: url('../images/secondary-page/dark-blue-to-arrows-background.webp');
    }
}

.dark-bg h4 {
    margin-bottom: 1rem;
    font-weight: 700;
    color: #91cff1;
    text-shadow: 1px 1px 2px rgba(37, 54, 63, 0.6);
}

.dark-bg p {
    font-size: 1.25rem;
    text-align: justify;
}

.dark-bg .dark-section-head-image {
    position: relative;
}

.dark-section-head-image img {
    max-width: 100%;
    height: auto;
    border-bottom-left-radius: 3.5rem;
    border-top-right-radius: 3.5rem;
    box-shadow: 0.75rem 0.75rem 0.5rem rgba(145, 207, 241, 0.175);
}

@media (max-width: 991px) {
    .dark-bg-overlay {
        position: absolute;
        inset: 0;
        background-color: rgba(0, 0, 0, .6);
        z-index: 1;
    }
}

.dark-bg .container {
    position: relative;
    z-index: 2;
}