@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
header {
  z-index: 888;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 200px;
  transition: 0.5s ease;
}
header .brand {
  color: #fff;
  font-size: 1.5em;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}
header .navigation {
  position: relative;
}
header .navigation .navigation-items a {
  position: relative;
  color: #fff;
  font-size: 1em;
  font-weight: 500;
  text-decoration: none;
  margin-left: 30px;
  transition: 0.3s ease;
}
header .navigation .navigation-items a:before {
  content: "";
  position: absolute;
  background: #fff;
  width: 0%;
  height: 3px;
  bottom: 0;
  left: 0;
  transition: 0.3s ease;
}
header .navigation .navigation-items a:hover:before {
  width: 100%;
}
.home {
  padding: 100px 200px;
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.home .video {
  position: fixed; /* Keep the video fixed in place */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures video covers entire viewport */
  z-index: -1; /* Keep video in the background */
}

.home:before {
  z-index: 555; /* Ensure this overlay is above the video */
  content: '';
  position: absolute;
  background: rgba(3, 96, 251, 0.2); /* Blue overlay */
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.home .content1 {
  z-index: 556; /* Ensure content is above the overlay */
  color: #fff;
  width: 70%;
  margin-top: 50px;
}

.home .content1 h1 {
  font-size: 4em;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 5px;
  line-height: 75px;
  margin-bottom: 15px;
}

.home .content1 h1 span {
  font-size: 1.2em;
  font-weight: 600;
}

.home .content1 p {
  margin-left: 65px;
  padding-bottom: 50px;
}

.home .content1 a {
  background: #fff;
  padding: 15px 35px;
  color: #1680AC;
  font-size: 1.1em;
  font-weight: 500;
  text-decoration: none;
  border-radius: 2px;
}

.home .media-icons {
  z-index: 888; /* Position icons above everything else */
  position: absolute;
  right: 30px;
  display: flex;
  flex-direction: column;
  transition: 0.5s ease;
}

.home .media-icons a {
  color: #fff;
  font-size: 1.6em;
  transition: 0.3s ease;
}

.home .media-icons a:not(:last-child) {
  margin-bottom: 20px;
}

.home .media-icons a:hover {
  transform: scale(1.3);
}

@media (max-width: 1040px){

  header{
  padding: 12px 20px;
  }
  section{
    padding: 100px 20px;
  }
  .home .media-icons{
    right: 15px;
  }
  header .navigation{
    display: none;
  }
  .menu-btn {
    background: url('menu2.png') no-repeat center;
    background-size: 30px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: 0.3s ease;
}
}

/* .slider{
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}
.slider .list .item{
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0 0 0 0;
}
.slider .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;
}
.slider .list .item .content .title,
.slider .list .item .content .type{
    font-size: 5em;
    font-weight: bold;
    line-height: 1.3em;
}
.slider .list .item .type{
    color: #2696e9;
}
.slider .list .item .button{
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
    margin-top: 20px;
}
.slider .list .item .button button{
    border: none;
    background-color: #eee;
    font-family: Poppins;
    font-weight: 500;
    cursor: pointer;
    transition: 0.4s;
    letter-spacing: 2px;
}

.slider .list .item .button button:hover{
    letter-spacing: 3px;
    background-color: #2696e9;
}
.slider .list .item .button button:nth-child(2){
    background-color: transparent;
    border: 1px solid #fff;
    color: #eee;
} */
.slider {
  height: 100vh; /* Full viewport height */
  overflow: hidden; /* Prevent overflow of items */
  position: relative;
  background: linear-gradient(45deg, #ffffff, #b2ddf4); /* Changed to a linear gradient */
  padding: 20px;
  border-radius: 15px;
}

.slider .list {
  position: relative; /* Positioning context for items */
}

.slider .list .item {
  width: 100%; /* Full width for items */
  height: 100%; /* Full height for items */
  position: absolute; /* Overlap items */
  inset: 0; /* Shorthand for top, right, bottom, left */
  opacity: 0; /* Start hidden */
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out; /* Smooth transitions for opacity and movement */
  transform: scale(0.95); /* Slight zoom-out for inactive items */
}

.slider .item.active {
  opacity: 1; /* Show the active item */
  transform: scale(1); /* Active item zooms in slightly for emphasis */
}

.slider .list .item .content {
  position: absolute; /* Position content absolutely */
  width: 1000px; /* Slightly reduced width for modern spacing */
  max-width: 80%; /* Responsive max width */
  left: 50%; /* Center the content */
  transform: translateX(-50%); /* Adjust for centering */
  padding-right: 20%; /* Reduced padding for a cleaner layout */
  padding-top: 8%;
  box-sizing: border-box; /* Include padding in width */
  color: #000000; /* Text color */
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Softened text shadow */
}

.slider .list .item .content .title,
.slider .list .item .content .type {
  font-size: 4.5em; /* Slightly reduced font size */
  font-weight: 800; /* Extra bold for emphasis */
  line-height: 1.2em; /* Tightened line height */
  text-transform: uppercase; /* Uppercase titles for modern styling */
}
.slider .list .item .content .description {
  max-width: 60%; /* Adjust this percentage to your preferred width */
  font-size: 1.2em; /* Font size remains the same */
  line-height: 1.5em; /* Adjust line spacing for readability */
}

.slider .list .item .type {
  color: #2696e9; /* Different color for type */
}

.slider .list .item .button {
  display: grid; /* Use grid for button layout */
  grid-template-columns: repeat(2, 130px); /* Two-column layout */
  grid-template-rows: 40px; /* Fixed height */
  gap: 10px; /* More space between buttons */
  margin-top: 30px; /* Increased space above buttons */
}

.slider .list .item .button button {
  border: none; /* No border */
  background-color: #eee; /* Default button color */
  font-family: 'Poppins', sans-serif; /* Font family */
  font-weight: 600; /* Bolder button text */
  cursor: pointer; /* Pointer cursor */
  transition: 0.4s; /* Smooth transition for hover */
  letter-spacing: 2px; /* Space between letters */
  padding: 10px 20px; /* Added padding for button comfort */
  border-radius: 8px; /* Slightly rounded buttons for a modern look */
}

.slider .list .item .button button:hover {
  letter-spacing: 3px; /* Larger spacing on hover for a bold effect */
  background-color: #2696e9; /* Change background color on hover */
  color: #fff; /* White text on hover */
}

.slider .list .item .button button:nth-child(2) {
  background-color: transparent; /* Transparent background */
  border: 2px solid #2696e9; /* Blue border */
  color: #2696e9; /* Blue text */
  transition: 0.3s ease-in-out; /* Smooth hover transition */
}

.slider .list .item .button button:nth-child(2):hover {
  background-color: #2696e9; /* Background turns blue on hover */
  color: #fff; /* Text turns white */
}

/* Thumbnail container */
.thumbnail{
  position: absolute;
  bottom: 50px;
  left: 45%;
  width: max-content;
  z-index: 100;
  display: flex;
  gap: 20px;
}
.thumbnail .item{
  width: 150px;
  height: 220px;
  flex-shrink: 0;
  position: relative;
  background-color: white;
  border: 2px solid #2696e9;
  border-radius: 20px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease-in-out; /* Added transform transition */
}
.thumbnail .item:hover {
  transform: scale(1.1); /* Slight zoom effect on hover */
}

/* Icon on top of each thumbnail using Font Awesome */
.thumbnail .item i {
  font-size: 50px; /* Size of the blue icon */
  color: #2696e9; /* Blue color for the icon */
  margin-bottom: 10px; /* Space between icon and title */
}

/* Title below the icon */
.thumbnail .item .title {
  color: #2696e9; /* Blue title */
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  text-align: center;
  margin-top: 10px;
}

/* nextPrevArrows Section  */
.nextPrevArrows{
  position: absolute;
  top: 85%;
  right: 52%;
  z-index: 100;
  width: 300px;
  max-width: 30%;
  display: flex;
  gap: 15px;
  align-items: center;
}
.nextPrevArrows button{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #2696e9;
  border: none;
  color: #fff;
  font-family: monospace;
  font-weight: bold;
  font-size: 1.2em;
  transition: 0.5s;
  cursor: pointer;
}
.nextPrevArrows button:hover{
  background-color: #fff;
  color: #2696e9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Slight shadow effect on hover */
}

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

/* animation text in first item */
.slider .list .item:nth-child(1) .content .title,
.slider .list .item:nth-child(1) .content .type,
.slider .list .item:nth-child(1) .content .description,
.slider .list .item:nth-child(1) .content .buttons {
  transform: translateY(50px);
  filter: blur(20px);
  opacity: 0;
  animation: showContent 0.6s 0.9s ease-out forwards;
}

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

.slider .list .item:nth-child(1) .content .title {
  animation-delay: 0.4s !important;
}
.slider .list .item:nth-child(1) .content .type {
  animation-delay: 0.6s !important;
}
.slider .list .item:nth-child(1) .content .description {
  animation-delay: 0.8s !important;
}
.slider .list .item:nth-child(1) .content .buttons {
  animation-delay: 1s !important;
}

/* Animation for next button click */
.slider.next .list .item:nth-child(1) img{
  width: 150px;
  height: 220px;
  position: absolute;
  bottom: 50px;
  left: 50%;
  border-radius: 30px;
  animation: showImage 0.5s ease forwards;
}

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

.slider.next .thumbnail .item:nth-last-child(1) {
  overflow: hidden;
  animation: showThumbnail 0.5s ease forwards;
}
.slider.prev .list .item img {
  z-index: 100;
}

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

.slider.next .thumbnail {
  animation: effectNext 0.5s ease forwards;
}

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

.slider.prev .list .item:nth-child(2){
  z-index: 2;
}
.slider.prev .list .item:nth-child(2) img{
  animation: outFrame 0.5s ease forwards;
  position: absolute;
  bottom: 0;
  left: 0;
}
@keyframes outFrame{
  to{
    width: 150px;
    height: 220px;
    bottom: 50px;
    left: 50%;
    border-radius: 20px;
  }
}

.slider.prev .thumbnail .item:nth-child(1){
  overflow: hidden;
  opacity: 0;
  animation: showThumbnail 0.5s ease forwards;
}
.slider.next .nextPrevArrows button,
.slider.prev .nextPrevArrows button{
  pointer-events: none;
}
.slider.prev .list .item:nth-child(2) .content .title,
.slider.prev .list .item:nth-child(2) .content .type,
.slider.prev .list .item:nth-child(2) .content .description,
.slider.prev .list .item:nth-child(2) .content .buttons {
  animation: contentOut 1.5s ease forwards!important;
}

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

/* Responsive adjustments */
@media screen and (max-width: 678px) {
  .slider .list .item .content {
    padding-right: 0;
  }
  .slider .list .item .content .title {
    font-size: 3.2em;
  }
}


.catagories {
  height: 100vh;
  background: rgba(3, 96, 251, 0.2); /* Blue overlay */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  z-index: 3;
}

.catagories .title {
  font-size: 2rem;
  margin-bottom: 5px;
  font-weight: bold;
  color: #fff;
}

.page-contain {
  display: flex;
  flex-wrap: wrap; /* Allow cards to wrap to the next line */
  justify-content: center; /* Center the cards horizontally */
  align-items: center; /* Center the cards vertically */
  padding: 0.05em;
  min-height: 50vh;
}

.data-card {
  flex: 1 1 calc(25% - 2em); /* Each card takes 25% of the container width minus the margins */
  max-width: 15em;
  height: 17em; /* Fixed height for all cards */
  overflow: hidden;
  border-radius: .5em;
  text-decoration: none;
  background: white;
  margin: 1em;
  padding: 2.5em 1.5em;
  box-shadow: 0 1.5em 2.5em -.5em rgba(0, 0, 0, 0.1);
  transition: transform .45s ease, background .45s ease;
  display: flex;
  flex-direction: column; /* Stack content vertically */
  justify-content: space-between; /* Ensure content is evenly spaced */
}

.data-card h4 {
  color: #2E3C40;
  font-size: 2em;
  font-weight: 600;
  line-height: 1;
  padding-bottom: .5em;
  margin: 0 0 0.142857143em;
  border-bottom: 2px solid #753BBD;
  transition: color .45s ease, border .45s ease;
}

.data-card h5 {
  color: #627084;
  text-transform: uppercase;
  font-size: 0.875em;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
  margin: 0;
  transition: color .45s ease;
}

.data-card p {
  opacity: 0;
  color: #FFFFFF;
  font-weight: 600;
  line-height: 1.8;
  margin: 0;
  transform: translateY(-1em);
  transition: opacity .45s ease, transform .5s ease;
  font-size: 0.875em;
}

.data-card .link-text {
  display: inline-flex; /* Use inline-flex for proper alignment */
  align-items: center;  /* Align items vertically in the center */
  color: #753BBD;
  font-size: 1.125em;
  font-weight: 600;
  line-height: 1.2;
  transition: color .45s ease;
}


.data-card:hover {
  background: #2696e9;
  transform: scale(1.02);
}

.data-card:hover h4 {
  color: #FFFFFF;
  border-bottom-color: #A754C4;
}

.data-card:hover h5 {
  color: #FFFFFF;
}

.data-card:hover p {
  opacity: 1;
  transform: none;
}

.data-card:hover .link-text {
  color: #FFFFFF;
}


@keyframes point {
  0% {
   transform: translateX(0);
  }
  100% {
    transform: translateX(.125em);
  }
}

@keyframes appear {
  from{
    opacity:0;
    scale:0.5;
  }
  to{
    opacity:1;
    scale:1;
  }
}