/* General styles */
body {
  font-family: "Roboto", sans-serif;
  color: #0c0c0c;
  background-color: #ffffff;
  margin: 0;
  overflow-x: hidden; /* Prevent horizontal scrolling */
  width: 100%; /* Ensure the body does not exceed the viewport width */
}

.des {
  color: #333333; /* Dark gray text for better readability */
  font-size: 1em;
  line-height: 1.5em;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5); /* Light shadow to enhance readability */
  background: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
  padding: 10px 15px;
  border-radius: 5px; /* Rounded corners for better aesthetics */
  display: inline-block;
  position: relative; /* Ensure it's positioned correctly */
  z-index: 10; /* Make sure it's above other elements */
}

.btn-donate {
  background-color: transparent; /* Transparent background */
  color: #ffffff; /* Bright color for the text and border */
  padding: 10px 20px; /* Add some padding */
  border: 2px solid #f4f4f4; /* Border with the same bright color */
  border-radius: 8px; /* Slightly rounded corners */
  /* font-size: 1.1em; Slightly larger text */
  text-transform: uppercase; /* Uppercase text */
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition for hover effect */
  text-align: center;
  margin-left: 15px; /* Add some space to the left */
}

.btn-donate:hover {
  background-color: #ff4500; /* Fill the button with the bright color on hover */
  color: #fff; /* Change text color to white on hover */
}




/* Ensure all elements include padding and border in the width and height */
*,
*::before,
*::after {
  box-sizing: border-box;
}

.layout_padding {
  padding: 75px 0;
}

.layout_padding2 {
  padding: 45px 0;
}

.layout_padding2-top {
  padding-top: 45px;
}

.layout_padding2-bottom {
  padding-bottom: 45px;
}

.layout_padding-top {
  padding-top: 75px;
}

.layout_padding-bottom {
  padding-bottom: 75px;
}

.custom_heading-container {
  display: flex;
  align-items: center;
}

.custom_heading-container h2 {
  text-transform: uppercase;
  font-weight: bold;
}

.custom_heading-container hr {
  width: 250px;
  border: none;
  height: 1.5px;
  background-color: #0000ff;
  margin: 0 5px 0.5rem 5px;
}

/* Header section */
.hero_area {
  position: relative;
  width: 100%; /* Ensure it takes the full width */
  overflow: hidden;
}

.sub_page .hero_area {
  height: auto;
}

.hero_area.sub_pages {
  height: auto;
}

.header_section {
  background-color: #1e025b;
  padding: 5px 0;
  width: 100%; /* Ensure it takes the full width */
}

.header_section .container-fluid {
  padding-right: 25px;
  padding-left: 25px;
}

.header_section .nav_container {
  margin: 0 auto;
}

.header_section .quote_btn-container a {
  color: #ffffff;
}

.header_section .quote_btn-container a img {
  margin-right: 10px;
}

.header_section .quote_btn-container a span {
  margin: 0 10px 0 20px;
}

.custom_nav-container.navbar-expand-lg .navbar-nav .nav-link {
  padding: 10px 20px;
  color: #dbdada;
  text-align: center;
  text-transform: uppercase;
}

.custom_nav-container.navbar-expand-lg .navbar-nav .nav-link:hover {
  color: #ffffff;
}

a,
a:hover,
a:focus {
  text-decoration: none;
}

a:hover,
a:focus {
  color: initial;
}

.btn,
.btn:focus {
  outline: none !important;
  box-shadow: none;
}

.navbar-brand,
.navbar-brand:hover {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 24px;
}

.custom_nav-container .nav_search-btn {
  background-image: url(../images/search-icon.png);
  background-size: 22px;
  background-repeat: no-repeat;
  background-position-y: 7px;
  width: 35px;
  height: 35px;
  padding: 0;
  border: none;
}

.navbar-brand {
  display: flex;
  align-items: center;
  height: auto;
  padding: 0;
}

.navbar-brand img {
  width: auto;
  margin-right: 5px;
  height: 110px !important;

}

.navbar-brand span {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-left: 5px;
}

.custom_nav-container {
  z-index: 99999;
  padding: 5px 0;
}

.custom_nav-container .navbar-toggler {
  outline: none;
}

.custom_nav-container .navbar-toggler .navbar-toggler-icon {
  background-image: url(../images/menu.png);
  background-size: 40px;
}

/* End header section */

/* Slider section */
.slider_section {
  position: relative;
  width: 100%; /* Ensure it takes the full width */
  overflow: hidden;
}

.slider_section .slider-container {
  display: flex;
  align-items: center;
  padding-left: 10%;
}

.slider_section .detail-box {
  width: 45%;
  z-index: 4;
  color: #ffffff;
}

.slider_section .detail-box h1 {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 3rem;
}

.slider_section .detail-box p {
  width: 75%;
  margin-top: 15px;
}

.slider_section .detail-box .slider-link {
  display: inline-block;
  padding: 10px 35px;
  border: 1px solid #ffffff;
  background-color: transparent;
  color: #0015f9;
  border-radius: 25px;
  margin-top: 35px;
}

.slider_section .detail-box .slider-link:hover {
  background-color: #ffffff;
  color: black;
}

.slider_section .img-box {
  width: 73%;
  margin-left: -17%;
  position: relative;
  z-index: 2;
}

.slider_section .img-box img {
  width: 100%;
}

.slider_section .slider_bg-container {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #a454fd, #2b05df);
  z-index: 3;
  clip-path: polygon(0 0, 60% 0, 37% 100%, 0% 100%);
}

.slider_section .carousel-control-prev,
.slider_section .carousel-control-next {
  left: 47.6%;
  width: 50px;
  height: 50px;
  z-index: 9;
  background-size: 9px;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 1;
  border-radius: 100%;
}

.slider_section .carousel-control-prev {
  background-image: url(../images/prev.png);
  background-color: #ffffff;
  top: 50%;
  transform: translate(-50%, 0);
}

.slider_section .carousel-control-next {
  background-image: url(../images/next.png);
  background-color: #2e02fe;
  top: calc(50% - 30px);
  transform: translate(0, -50%);
}

.slider_section .buttons button {
  border-radius: 25px; /* More rounded corners */
  padding: 10px 20px; /* Adjust padding for better look */
  background-color: #007bff; /* Background color */
  color: rgb(35, 19, 124); /* Text color */
  border: none; /* Remove border */
  cursor: pointer; /* Cursor changes to pointer */
  text-align: center; /* Center the text */
  display: inline-block; /* Ensure button size adjusts to content */
  font-family: 'Poppins', sans-serif; /* Consistent font style */
  font-size: 16px; /* Adjust font size */
  white-space: nowrap; /* Prevent text wrapping */
}

.slider_section .buttons {
  text-align: center; /* Center the buttons within their container */
}

.slider_section .buttons button:hover {
  background-color: #0056b3; /* Darker shade for hover effect */
  color: #c7ad44; /* Text color on hover */
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition effect */
}


/* About section */
.about_section {
  font-family: "Poppins", sans-serif;
}

.about_section .row {
  align-items: center;
}

.about_section a {
  display: inline-block;
  padding: 8px 25px;
  background-color: #000000;
  border: 1px solid #000000;
  color: #ffffff;
  border-radius: 25px;
  margin-top: 45px;
}

.about_section a:hover {
  background-color: transparent;
  color: #000000;
}

.about_section p {
  margin-top: 45px;
}

.about_section .img-box img {
  width: 100%;
}

.about_section h6 {
  text-transform: uppercase;
  color: #0014f5;
  font-weight: bold;
  margin: 0;
}

/* Service section */
.service_section {
  position: relative;
  font-family: "Poppins", sans-serif;
}

.service_section h2,
.service_section p {
  color: white;
}

.service_section hr {
  background-color: #ffffff;
}

.service_section .service_container {
  display: flex;
  justify-content: space-between;
}

.service_section .box {
  width: 175px;
  text-align: center;
  margin: 30px 0;
  font-family: "Roboto", sans-serif;
}

.service_section .box .img-2 {
  display: none;
}

.service_section .box .img-box {
  width: 175px;
  height: 175px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
}

.service_section .box .name {
  margin-top: 15px;
}

.service_section .box .name h6 {
  text-transform: uppercase;
  color: #000000;
  font-weight: bold;
}

.service_section .box:hover .img-1 {
  display: none;
}

.service_section .box:hover .img-2 {
  display: inline-block;
}

.service_section::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 55%;
  top: 0;
  left: 0;
  background-image: url(../images/service-bg.jpg);
  z-index: -1;
}

.service_section .read-btn {
  display: flex;
  justify-content: center;
}

.service_section .read-btn a {
  display: inline-block;
  padding: 8px 25px;
  background-color: #000000;
  border: 1px solid #000000;
  color: #ffffff;
  border-radius: 25px;
}

.service_section .read-btn a:hover {
  background-color: transparent;
  color: #000000;
}

/* Portfolio section */
.portfolio_section {
  font-family: "Poppins", sans-serif;
}

.portfolio_section .col-md-4 {
  padding: 0;
}

.portfolio_section .img-box {
  position: relative;
  margin: 10px;
}

.portfolio_section .img-box img {
  width: 100%;
}

.portfolio_section .img-box a {
  display: flex;
  position: absolute;
  opacity: 0;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 100%;
  background-color: #ffffff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s;
}

.portfolio_section .img-box a img {
  width: 20px;
  opacity: 0;
  transition: opacity 0.2s;
}

.portfolio_section .img-box::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background-color: rgba(37, 28, 229, 0.8);
  border-radius: 25px;
  transition: all 0.1s;
}

.portfolio_section .img-box:hover::before {
  width: 90%;
  height: 90%;
}

.portfolio_section .img-box:hover a {
  opacity: 1;
}

.portfolio_section .img-box:hover a img {
  opacity: 1;
}

/* News section */
.news_section h2,
.news_section p,
.news_section a {
  font-family: "Poppins", sans-serif;
}

.news_section .box {
  margin-top: 45px;
}

.news_section .box img {
  width: 100%;
}

.news_section .box .action-box {
  display: flex;
  justify-content: flex-end;
  padding: 10px 0;
}

.news_section .box .action-box a {
  margin-left: 15px;
  opacity: 0.6;
}

.news_section .box .action-box a img {
  width: 20px;
}

.news_section .box .action-box a:hover {
  opacity: 1;
}

.news_section .box .detail-box h4 {
  text-transform: uppercase;
  font-weight: bold;
}

.news_section .box .detail-box p {
  margin-top: 15px;
}

.news_section .box .detail-box a {
  display: inline-block;
  font-weight: bold;
  margin-top: 45px;
}

/* Subscribe section */
.subscribe_section {
  background-color: #021056;
}

.subscribe_section .row {
  align-items: center;
}

.subscribe_section h2,
.subscribe_section button {
  font-family: "Poppins", sans-serif;
}

.subscribe_section h2 {
  color: #ffffff;
  text-transform: uppercase;
}

.subscribe_section h2 span {
  text-transform: none;
  font-weight: bold;
}

.subscribe_section form {
  display: flex;
  width: 100%;
}

.subscribe_section form input {
  border: none;
  min-width: 100%;
  height: 55px;
  background-color: #ffffff;
  padding: 0 20px;
  border-radius: 50px;
  outline: none;
}

.subscribe_section form button {
  border: none;
  padding: 0 60px;
  height: 40px;
  border-radius: 35px;
  color: #ffffff;
  background-color: #0000ff;
  transform: translate(-104%, 7.5px);
  text-align: center;
  text-transform: uppercase;
}

.subscribe_section form button:hover {
  background-color: #0000cc;
}

/* Client section */
.client_section {
  font-family: "Poppins", sans-serif;
  padding: 75px 0; /* Add padding for better spacing */
  text-align: center; /* Center align text */
  position: relative; /* Ensure positioning does not affect other elements */
}

.client_section .custom_heading-container {
  display: flex;
  justify-content: center; /* Center align the heading */
  text-align: center; /* Center align text */
  margin-bottom: 30px; /* Add some space below the heading */
}

.client_section .client_container {
  width: 100%;
  max-width: 950px; /* Set a max-width for better alignment */
  margin: 0 auto; /* Center align the section */
  padding: 0 20px; /* Add some padding to the sides */
  display: flex; /* Use flexbox for alignment */
  flex-direction: column; /* Stack items vertically */
  align-items: center; /* Center align items horizontally */
}

.client_section .carousel {
  width: 100%;
  max-width: 900px; /* Set a max-width for the carousel */
  max-height: 400px; /* Set a max-height for the carousel */
  margin: 0 auto; /* Center the carousel */
  margin-top: 20px; /* Lower the carousel a bit more */
  padding: 20px; /* Add some padding around the carousel */
  background: white; /* Background color for the carousel */
  box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.29); /* Add a shadow for card effect */
  border-radius: 10px; /* Rounded corners for the card effect */
}

.client_section .carousel .list {
  width: 100%;
}

.client_section .carousel .list .item {
  width: 100%;
  height: auto;
  position: relative;
}

.client_section .carousel .list .item img {
  width: 100%;
  height: auto;
  max-height: 350px; /* Adjust the max height of images */
  object-fit: cover;
  border-radius: 10px; /* Match the rounded corners of the carousel */
}

.client_section .carousel .list .item .content {
  position: absolute;
  top: 20%;
  width: 100%;
  max-width: 90%;
  left: 50%;
  transform: translateX(-50%);
  padding-right: 30%;
  box-sizing: border-box;
  color: #fff;
  text-shadow: 0 5px 10px #0004;
}

.client_section .carousel .list .item .author {
  font-weight: bold;
  letter-spacing: 10px;
}

.client_section .carousel .list .item .title,
.client_section .carousel .list .item .topic {
  font-size: 2em;
  font-weight: bold;
  line-height: 1.3em;
}

.client_section .carousel .list .item .topic {
  color: #f1683a;
}

.client_section .carousel .list .item .buttons {
  display: grid;
  grid-template-columns: repeat(2, 130px);
  grid-template-rows: 40px;
  gap: 5px;
  margin-top: 20px;
}

.client_section .carousel .list .item .buttons button {
  border: none;
  background-color: #eee;
  letter-spacing: 3px;
  font-family: Poppins;
  font-weight: 500;
}

.client_section .carousel .list .item .buttons button:nth-child(2) {
  background-color: transparent;
  border: 1px solid #fff;
  color: #eee;
}

/* Thumbnail */
.client_section .thumbnail {
  position: absolute;
  bottom: -40px; /* Adjusted positioning */
  left: 50%;
  width: max-content;
  z-index: 100;
  display: flex;
  gap: 20px;
  transform: translateX(-50%); /* Center the thumbnails */
}

.client_section .thumbnail .item {
  width: 100px;
  height: 150px;
  flex-shrink: 0;
  position: relative;
}

.client_section .thumbnail .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.client_section .thumbnail .item .content {
  color: #fff;
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
}

.client_section .thumbnail .item .content .title {
  font-weight: 500;
}

.client_section .thumbnail .item .content .description {
  font-weight: 300;
}

/* Arrows */
.client_section .carousel-control-prev,
.client_section .carousel-control-next {
  position: absolute;
  top: 50%; /* Center vertically */
  width: 50px;
  height: 50px;
  background-color: rgb(0, 21, 254); /* Semi-transparent background */
  border-radius: 50%; /* Make it round */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 100;
  transform: translateY(-50%); /* Center vertically */
  cursor: pointer;
}

.client_section .carousel-control-prev {
  left: -25px; /* Position to the left */
}

.client_section .carousel-control-next {
  right: -25px; /* Position to the right */
}

.client_section .carousel-control-prev:hover,
.client_section .carousel-control-next:hover {
  background-color: rgba(0, 0, 0, 0.7); /* Darker background on hover */
}

.client_section .carousel-control-prev:before,
.client_section .carousel-control-next:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.client_section .carousel-control-prev:before {
  content: "\f053"; /* FontAwesome left arrow */
}

.client_section .carousel-control-next:before {
  content: "\f054"; /* FontAwesome right arrow */
}

/* Animation */
.client_section .carousel .list .item:nth-child(1) {
  z-index: 1;
}

/* Animation text in first item */
.client_section .carousel .list .item:nth-child(1) .content .author,
.client_section .carousel .list .item:nth-child(1) .content .title,
.client_section .carousel .list .item:nth-child(1) .content .topic,
.client_section .carousel .list .item:nth-child(1) .content .des,
.client_section .carousel .list .item:nth-child(1) .content .buttons {
  transform: translateY(50px);
  filter: blur(20px);
  opacity: 0;
  animation: showContent .5s 1s linear 1 forwards;
}

@keyframes showContent {
  to {
    transform: translateY(0px);
    filter: blur(0px);
    opacity: 1;
  }
}

.client_section .carousel .list .item:nth-child(1) .content .title {
  animation-delay: 1.2s !important;
}

.client_section .carousel .list .item:nth-child(1) .content .topic {
  animation-delay: 1.4s !important;
}

.client_section .carousel .list .item:nth-child(1) .content .des {
  animation-delay: 1.6s !important;
}

.client_section .carousel .list .item:nth-child(1) .content .buttons {
  animation-delay: 1.8s !important;
}

/* Create animation when next click */
.client_section .carousel.next .list .item:nth-child(1) img {
  width: 150px;
  height: 220px;
  position: absolute;
  bottom: 50px;
  left: 50%;
  border-radius: 30px;
  animation: showImage .5s linear 1 forwards;
}

@keyframes showImage {
  to {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
}

.client_section .carousel.next .thumbnail .item:nth-last-child(1) {
  overflow: hidden;
  animation: showThumbnail .5s linear 1 forwards;
}

.client_section .carousel.prev .list .item img {
  z-index: 100;
}

@keyframes showThumbnail {
  from {
    width: 0;
    opacity: 0;
  }
}

.client_section .carousel.next .thumbnail {
  animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext {
  from {
    transform: translateX(150px);
  }
}

/* Running time */
.client_section .carousel .time {
  position: absolute;
  z-index: 1000;
  width: 0%;
  height: 3px;
  background-color: #f1683a;
  left: 0;
  top: 0;
}

.client_section .carousel.next .time,
.client_section .carousel.prev .time {
  animation: runningTime 3s linear 1 forwards;
}

@keyframes runningTime {
  from {
    width: 100%
  }
  to {
    width: 0
  }
}

/* Prev click */
.client_section .carousel.prev .list .item:nth-child(2) {
  z-index: 2;
}

.client_section .carousel.prev .list .item:nth-child(2) img {
  animation: outFrame 0.5s linear 1 forwards;
  position: absolute;
  bottom: 0;
  left: 0;
}

@keyframes outFrame {
  to {
    width: 150px;
    height: 220px;
    bottom: 50px;
    left: 50%;
    border-radius: 20px;
  }
}

.client_section .carousel.prev .thumbnail .item:nth-child(1) {
  overflow: hidden;
  opacity: 0;
  animation: showThumbnail .5s linear 1 forwards;
}

.client_section .carousel.next .arrows button,
.client_section .carousel.prev .arrows button {
  pointer-events: none;
}

.client_section .carousel.prev .list .item:nth-child(2) .content .author,
.client_section .carousel.prev .list .item:nth-child(2) .content .title,
.client_section .carousel.prev .list .item:nth-child(2) .content .topic,
.client_section .carousel.prev .list .item:nth-child(2) .content .des,
.client_section .carousel.prev .list .item:nth-child(2) .content .buttons {
  animation: contentOut 1.5s linear 1 forwards !important;
}

@keyframes contentOut {
  to {
    transform: translateY(-150px);
    filter: blur(20px);
    opacity: 0;
  }
}

@media screen and (max-width: 678px) {
  .client_section .carousel .list .item .content {
    padding-right: 0;
  }
  .client_section .carousel .list .item .content .title {
    font-size: 30px;
  }
}


/* Contact section */
.contact_section {
  padding: 75px 0; /* Add padding for better spacing */
  text-align: center; /* Center align text */
}

.contact_section .d-flex {
  justify-content: center; /* Center align the heading */
}

.contact_section .custom_heading-container {
  text-align: center; /* Center align text */
  margin-bottom: 30px; /* Add some space below the heading */
}

.contact_section .contact_form-container {
  max-width: 600px; /* Set a max-width for better alignment */
  margin: 0 auto; /* Center align the form */
}

.contact_section .contact_form-container input,
.contact_section .contact_form-container button {
  width: 100%; /* Ensure inputs and button take full width */
}

.contact_section .contact_form-container button {
  margin-top: 20px; /* Add some space above the button */
}

.contact_section .map-box {
  margin-top: 30px; /* Add some space above the map */
}

.contact_items {
  margin-top: 45px; /* Add some space above the contact items */
}


/* Contact section */
.contact_section .contact_form-container input {
  border: none;
  outline: none;
  border-bottom: 1px solid #000;
  width: 90%;
  margin: 15px 0;
  background-color: transparent;
}

.contact_section .contact_form-container input::-webkit-input-placeholder {
  color: #595959;
  font-size: 14px;
}

.contact_section .contact_form-container input:-ms-input-placeholder {
  color: #595959;
  font-size: 14px;
}

.contact_section .contact_form-container input::-ms-input-placeholder {
  color: #595959;
  font-size: 14px;
}

.contact_section .contact_form-container input::placeholder {
  color: #595959;
  font-size: 14px;
}

.contact_section .contact_form-container input.message_input {
  margin-top: 80px;
}

.contact_section .contact_form-container button {
  border: none;
  background-color: #0e35f6;
  color: #fff;
  font-size: 15px;
  padding: 15px 55px;
  border-radius: 30px;
  text-transform: uppercase;
}

.contact_section .contact_form-container button:hover {
  background-color: #082de2;
}

.contact_section .map-box #map {
  width: 100%;
  height: 100%;
}

.contact_items {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.contact_items .item {
  width: 250px;
  display: flex;
  align-items: center;
  text-align: center;
}

.contact_items .item .img-box {
  width: 60px;
  height: 60px;
  border-radius: 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.contact_items .item .detail-box {
  color: #5e5e5e;
}

.contact_items .item .detail-box p {
  margin: 0;
}

.contact_items {
  position: relative;
}

.contact_items a {
  position: relative;
}

.contact_items .item .img-box.box-1 {
  background-image: url(../images/location.png);
}

.contact_items .item .img-box.box-2 {
  background-image: url(../images/telephone.png);
}

.contact_items .item .img-box.box-3 {
  background-image: url(../images/envelope.png);
}

/* Info section */
.info_section {
  text-align: center;
  font-family: "Poppins", sans-serif;
  background-color: #021056;
  color: #ffffff;
}

.info_section .info_social {
  display: flex;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.info_section .info_social img {
  width: 40px;
  margin-left: 8px;
}

.info_section p {
  margin: 35px 0 0 0;
}

/* Footer section */
.footer_section {
  background-color: #ffffff;
  padding: 20px;
  font-weight: 500;
}

.footer_section p {
  color: #292929;
  margin: 0;
  text-align: center;
}

.footer_section a {
  color: #292929;
}

/* Carousel */
.carousel {
  height: 100vh;
  margin-top: -50px;
  width: 100vw;
  overflow: hidden;
  position: relative;
}

.carousel .list .item {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0 0 0 0;
}

.carousel .list .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel .list .item .content {
  position: absolute;
  top: 20%;
  width: 1140px;
  max-width: 80%;
  left: 50%;
  transform: translateX(-50%);
  padding-right: 30%;
  box-sizing: border-box;
  color: #fff;
  text-shadow: 0 5px 10px #0004;
}

.carousel .list .item .author {
  font-weight: bold;
  letter-spacing: 10px;
}

.carousel .list .item .title,
.carousel .list .item .topic {
  font-size: 5em;
  font-weight: bold;
  line-height: 1.3em;
}

.carousel .list .item .topic {
  color: #f1683a;
}

.carousel .list .item .buttons {
  display: grid;
  grid-template-columns: repeat(2, 130px);
  grid-template-rows: 40px;
  gap: 5px;
  margin-top: 20px;
}

.carousel .list .item .buttons button {
  border: none;
  background-color: #eee;
  letter-spacing: 3px;
  font-family: Poppins;
  font-weight: 500;
}

.carousel .list .item .buttons button:nth-child(2) {
  background-color: transparent;
  border: 1px solid #fff;
  color: #eee;
}

/* Thumbnail */
.thumbnail {
  position: absolute;
  bottom: 50px;
  left: 50%;
  width: max-content;
  z-index: 100;
  display: flex;
  gap: 20px;
}

.thumbnail .item {
  width: 150px;
  height: 220px;
  flex-shrink: 0;
  position: relative;
}

.thumbnail .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.thumbnail .item .content {
  color: #fff;
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
}

.thumbnail .item .content .title {
  font-weight: 500;
}

.thumbnail .item .content .description {
  font-weight: 300;
}

/* Arrows */
.arrows {
  position: absolute;
  top: 80%;
  right: 52%;
  z-index: 100;
  width: 300px;
  max-width: 30%;
  display: flex;
  gap: 10px;
  align-items: center;
}

.arrows button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #eee4;
  border: none;
  color: #fff;
  font-family: monospace;
  font-weight: bold;
  transition: .5s;
}

.arrows button:hover {
  background-color: #fff;
  color: #000;
}

/* Animation */
.carousel .list .item:nth-child(1) {
  z-index: 1;
}

/* Animation text in first item */
.carousel .list .item:nth-child(1) .content .author,
.carousel .list .item:nth-child(1) .content .title,
.carousel .list .item:nth-child(1) .content .topic,
.carousel .list .item:nth-child(1) .content .des,
.carousel .list .item:nth-child(1) .content .buttons {
  transform: translateY(50px);
  filter: blur(20px);
  opacity: 0;
  animation: showContent .5s 1s linear 1 forwards;
}

@keyframes showContent {
  to {
    transform: translateY(0px);
    filter: blur(0px);
    opacity: 1;
  }
}

.carousel .list .item:nth-child(1) .content .title {
  animation-delay: 1.2s !important;
}

.carousel .list .item:nth-child(1) .content .topic {
  animation-delay: 1.4s !important;
}

.carousel .list .item:nth-child(1) .content .des {
  animation-delay: 1.6s !important;
}

.carousel .list .item:nth-child(1) .content .buttons {
  animation-delay: 1.8s !important;
}

/* Create animation when next click */
.carousel.next .list .item:nth-child(1) img {
  width: 150px;
  height: 220px;
  position: absolute;
  bottom: 50px;
  left: 50%;
  border-radius: 30px;
  animation: showImage .5s linear 1 forwards;
}

@keyframes showImage {
  to {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
}

.carousel.next .thumbnail .item:nth-last-child(1) {
  overflow: hidden;
  animation: showThumbnail .5s linear 1 forwards;
}

.carousel.prev .list .item img {
  z-index: 100;
}

@keyframes showThumbnail {
  from {
    width: 0;
    opacity: 0;
  }
}

.carousel.next .thumbnail {
  animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext {
  from {
    transform: translateX(150px);
  }
}

/* Running time */
.carousel .time {
  position: absolute;
  z-index: 1000;
  width: 0%;
  height: 3px;
  background-color: #f1683a;
  left: 0;
  top: 0;
}

.carousel.next .time,
.carousel.prev .time {
  animation: runningTime 3s linear 1 forwards;
}

@keyframes runningTime {
  from {
    width: 100%
  }

  to {
    width: 0
  }
}

/* Prev click */
.carousel.prev .list .item:nth-child(2) {
  z-index: 2;
}

.carousel.prev .list .item:nth-child(2) img {
  animation: outFrame 0.5s linear 1 forwards;
  position: absolute;
  bottom: 0;
  left: 0;
}

@keyframes outFrame {
  to {
    width: 150px;
    height: 220px;
    bottom: 50px;
    left: 50%;
    border-radius: 20px;
  }
}

.carousel.prev .thumbnail .item:nth-child(1) {
  overflow: hidden;
  opacity: 0;
  animation: showThumbnail .5s linear 1 forwards;
}

.carousel.next .arrows button,
.carousel.prev .arrows button {
  pointer-events: none;
}

.carousel.prev .list .item:nth-child(2) .content .author,
.carousel.prev .list .item:nth-child(2) .content .title,
.carousel.prev .list .item:nth-child(2) .content .topic,
.carousel.prev .list .item:nth-child(2) .content .des,
.carousel.prev .list .item:nth-child(2) .content .buttons {
  animation: contentOut 1.5s linear 1 forwards !important;
}

@keyframes contentOut {
  to {
    transform: translateY(-150px);
    filter: blur(20px);
    opacity: 0;
  }
}

@media screen and (max-width: 678px) {
  .carousel .list .item .content {
    padding-right: 0;
  }

  .carousel .list .item .content .title {
    font-size: 30px;
  }
}
