/*l-slider*/
.l-slider {
	background-color: #00376b;
  margin-top: -100px !important;
}

.l-slider__box {
	max-width: 1500px;
	margin: 0 auto;
	position: relative;
	min-height: 800px;
}

.l-slider__images {
	bottom: 0;
	left: 0;
	top: 0;
	right: 0;
	position: absolute;
}

.l-slider__images-1 {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 3;
}

.l-slider__images-2 {
	position: absolute;
	left: 1px;
	bottom: 0;
	z-index: 2;
}

/* Keyframes for the rotation */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.l-slider__images-3 {
	position: absolute;
	left: 0;
	bottom: 40px;
	z-index: 1;
    animation: rotate 8s linear infinite;
}

.l-slider__content {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	text-align: center;
	z-index: 4;
	transform: translateY(-40%);
}

.l-slider__content-subtitle {
	display: inline-block;
	padding: 0 20px 0 45px;
	color: #187FBB;
	font-size: 18px;
	font-family: Jost, Arial, sans-serif;
	line-height: 38px;
	margin: 0 0 25px;
	background-color: #002e5a;
	border-radius: 24px;
	border: 1px solid #00619b !important;
	position: relative;
}

.l-slider__content-subtitle:before {
	display: inline-block;
	content: '';
	width: 24px;
	height: 24px;
	position: absolute;
	left: 10px;
	top: 7px;
	background: url('../images/dollar-sign.png') center center no-repeat;
	z-index: 2;
}

.l-slider__content-title {
	display: inline-block;
	color: #ffffff;
	font-size: 72px;
	font-family: Inter, Arial, sans-serif;
	font-weight: 700;
	line-height: 70px;
  letter-spacing: -1.2px;
	margin: 0;
	background: linear-gradient(90deg, #ffffff, #c0c0c0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

a.l-slider__content-link {
	display: inline-block;
	padding: 18px 40px 18px 40px;
	color: #ffffff;
	font-size: 17px;
	font-family: Jost, Arial, sans-serif;
	font-weight: 400;
	line-height: 24px;
  background: linear-gradient(#09233C, #09233C) padding-box,
              linear-gradient(to right, #00619B, #DD1D54) border-box;
	border-radius: 30px;
  border: 1px solid transparent;
	text-decoration: none !important;
}

a.l-slider__content-link .icon {
	display: inline-block;
	width:  24px;
	height: 24px;
	border-radius: 2px;
	float: right;
	margin-left: 40px;
}

a.l-slider__content-link:hover {
	opacity: 0.8;
}

.l-slider__content-title2 {
	display: inline-block;
	color: #ffffff;
	font-size: 72px;
	font-family: Inter, Arial, sans-serif;
	font-weight: 700;
	line-height: 83px;
  letter-spacing: -1.2px;
	margin: 0 0 30px;
	background: linear-gradient(90deg, #ffffff, #c0c0c0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Keyframes for fade-in and slide-up animation */
@keyframes fadeInSlideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Keyframes for rotating paragraphs */
@keyframes fadeInOut {
    0%, 20% {
        opacity: 1;
    }
    25%, 100% {
        opacity: 0;
    }
}

/* Base styles */
.l-slider__content > span,
.l-slider__content a {
    opacity: 0; /* Start hidden */
    transform: translateY(20px); /* Start slightly below */
    animation-fill-mode: forwards; /* Ensures the animation stays at 100% */
}

/* Animations with delay */
.l-slider__content-subtitle {
    animation: fadeInSlideUp 0.8s ease-out 0.5s;
}

.l-slider__content-title {
    animation: fadeInSlideUp 0.8s ease-out 1s;
}

.l-slider__content-title2 {
    animation: fadeInSlideUp 0.8s ease-out 1.5s;
}

.l-slider__content-link {
    animation: fadeInSlideUp 0.8s ease-out 2s;
}

.l-slider__last-line {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	text-align: center;
	z-index: 2;
	height: 70px;
}

.l-slider__last-line p {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	text-align: center;
	color: #5cacdf;
	font-size: 24px;
	font-family: Jost, Arial, sans-serif;
	font-weight: 500;
	line-height: 70px;
	margin: 0;
  opacity: 0;
  animation: fadeInOut 21s linear infinite;
}

.l-slider__last-line p em {
	font-weight: 600;
	color: #dd1d54;
	font-style: normal;
}

.l-slider__last-line p:nth-child(1) {
    animation-delay: 0s;
}

.l-slider__last-line p:nth-child(2) {
    animation-delay: 7s;
}

.l-slider__last-line p:nth-child(3) {
    animation-delay: 14s;
}


@media (max-width: 1580px) {
  .l-slider__last-line p {
    font-size: 20px !important;
}

@media (max-width: 1200px) {
  .l-slider__last-line p {
    font-size: 19px !important;
}

@media (max-width: 991px) {
  .l-slider__last-line p {
    font-size: 18px !important;
}

@media (max-width: 767px) {
  .l-slider__last-line p {
    font-size: 16px !important;
    line-height: 34px !important;
}