@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;700&family=Inter:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap');
@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&family=Style+Script&display=swap');


/* Resetting default margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  background-color: #000c14;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
}
 

h1, h2, h4 {
    font-family: 'Chakra Petch', sans-serif;
	font-size: 20px;
	color: #8af5ff;
	text-align: center;
	margin-top: 100px;
}
h5 {
  font-family: 'Chakra Petch', sans-serif;
	font-size: 40px;
	color: fff;
	text-align: left;
	margin-top: 100px;
}


:root {
  --container-1160: 1160px;
}

body, html {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}


  

.readmore-btn {
  width: fit-contentd;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-color: rgb(125, 186, 255);
  border: none;
  border-radius: 10px;
  padding: 0px 15px;
  gap: 0px;
  transition: all 0.4s;
}
.book-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  width: 45px;
  height: 100%;
}
.book-wrapper .book-page {
  width: 50%;
  height: auto;
  position: absolute;
}
.readmore-btn:hover .book-page {
  animation: paging 0.4s linear infinite;
  transform-origin: left;
}
.readmore-btn:hover {
  background-color: rgb(74, 174, 255);
}
@keyframes paging {
  0% {
    transform: rotateY(0deg) skewY(0deg);
  }
  50% {
    transform: rotateY(90deg) skewY(-20deg);
  }
  100% {
    transform: rotateY(180deg) skewY(0deg);
  }
}
.text {
  width: 105px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  color: rgb(255, 255, 255);
}




#blog-intro {
  padding: 60px 50px;
  color: #ffffff;
  margin-bottom: 50px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-in-out forwards;
}

.intro-header {
  text-align: left;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.2s ease-in-out forwards;
}

.intro-title {
  font-size: 20px;
  font-weight: normal;
  color: #8af5ff;
  font-family: 'Poppins', sans-serif;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.4s ease-in-out forwards;
}

.intro-blog-description {
  font-size: 25px;
  color: #eeeeee;
  margin-bottom: 30px;
  line-height: 1.6;
  font-family: 'Chakra Petch', sans-serif;
  opacity: 0;
  transform: translateX(-50px);
  animation: fadeSlideLeft 1.2s ease-in-out forwards;
  text-align: center;
  font-weight: bold;

}
.last-blog {
  display: flex;
  align-items: left;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.6s ease-in-out forwards;
}

.last-blog-image {
  width: 50%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: scale(0.95);
  animation: fadeInScale 1.8s ease-in-out forwards;
  box-shadow: 
  0 4px 6px rgba(0, 0, 0, 0.3), /* Basic shadow */
  0 8px 12px rgba(0, 0, 0, 0.2), /* Medium shadow */
  0 12px 16px rgba(0, 0, 0, 0.15), /* Larger shadow */
  0 16px 24px rgba(0, 0, 0, 0.1), /* Soft shadow */
  0 0 200px rgba(0, 174, 255, 0.295); /* Colorful shadow (purple) */
}

.last-blog-content {
  padding-left: 30px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 2s ease-in-out forwards;
}

.last-blog-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
  font-family: 'Chakra Petch', sans-serif;
  text-align: left;
  opacity: 0;
  transform: translateX(-50px);
  animation: fadeSlideLeft 1s ease-in-out forwards;
}

.last-blog-description {
  font-size: 20px;
  color: #d1d1e9;
  margin-bottom: 20px;
  line-height: 1.6;
  font-family: 'Poppins', sans-serif;
  opacity: 0;
  transform: translateX(-50px);
  animation: fadeSlideLeft 1.2s ease-in-out forwards;
}

/* Keyframes for smooth fade and slide left-to-right effect */
@keyframes fadeSlideLeft {
  0% {
      opacity: 0;
      transform: translateX(-50px);
  }
  100% {
      opacity: 1;
      transform: translateX(0);
  }
}


.cta {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  color: #ffffff;
  background-color: #25afe6;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 30px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 2.6s ease-in-out forwards;
}

.cta:hover {
  background-color: #8af5ff;

  color: #1e0072;
  transform: translateY(-5px);
}

.community-links {
  text-align: center;
  margin-top: 30px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 2.8s ease-in-out forwards;
}

.community-link {
  display: inline-block;
  margin: 0 10px;
  font-size: 16px;
  color: #ffffff;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
  font-family: 'Chakra Petch', sans-serif;
  position: relative;
  padding: 0 10px;
  transition: color 0.3s ease;
}

.community-link:hover {
  color: #8af5ff;

}

.community-link:not(:last-child)::after {
  content: '|';
  color: #004b52;

  position: absolute;
  right: -15px;
  opacity: 0.5;
}

/* Keyframes for animations */
@keyframes fadeInUp {
  0% {
      opacity: 0;
      transform: translateY(20px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes fadeInScale {
  0% {
      opacity: 0;
      transform: scale(0.95);
  }
  100% {
      opacity: 1;
      transform: scale(1);
  }
}

/* Media queries for responsiveness */
@media screen and (max-width: 768px) {
  .community-link {
      font-size: 14px;
      margin: 0 5px;
  }

  .community-link:not(:last-child)::after {
      right: -10px;
  }
}




/* Slider Styles */
.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(2, 0, 9, 0.8), rgba(42, 77, 106, 0.8), rgba(2, 0, 9, 0.8));
  padding: 30px 0; /* More padding for better spacing */
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  display: flex;
  width: 100%;
  flex-shrink: 0;
}

.post {
  flex: 1;
  padding: 20px;
  box-sizing: border-box;
  backdrop-filter: blur(20px); /* Stronger glassy effect */
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  margin: 0 15px; /* Space between slides */
  border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border for glass effect */
  transition: transform 0.3s, box-shadow 0.3s;
  background: rgba(2, 0, 9, 0.459);
}

.post:hover {
  transform: scale(1.03); /* Slight scale effect on hover */
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4); /* Enhanced shadow on hover */
}

.post img {
  width: 100%;
  height: 300px; /* Set a fixed height */
  object-fit: cover; /* Ensure images cover the space without distortion */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  
}

.post-content {

  color: #fff;
  padding: 20px;
}

.post-title {
  font-size: 26px;
  margin: 10px 0;
  font-weight: bold;
}

.post-summary {
  font-size: 18px;
  line-height: 1.5;
}

.cta {
  display: inline-block;
  padding: 12px 24px;
  color: #fff;
  background-color: #2579e6;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.3s;
  margin-top: 30px;
}

.cta:hover {
  background-color: #84b5ff;
  transform: translateY(-2px); /* Slight lift effect */
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  font-size: 28px;
  cursor: pointer;
  padding: 12px;
  border-radius: 50%;
  z-index: 100;
  transition: background 0.3s, transform 0.3s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Added shadow for depth */
}

.prev:hover, .next:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1); /* Scale effect on hover */
}

.prev {
  left: 15px;
}

.next {
  right: 15px;
}

.dots {
  text-align: center;
  margin-top: 20px;
}

.dots span {
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  margin: 0 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dots .active {
  background-color: #2579e6;
}




.btn {
  --border-color: linear-gradient(-45deg, #d9f6ff, #73ade2, #00fffb);
  --border-width: 0.125em;
  --curve-size: 0.5em;
  --blur: 30px;
  --bg: #080312;
  --color: #afffff;
  color: var(--color);
  cursor: pointer;
  /* use position: relative; so that BG is only for .btn */
  position: relative;
  isolation: isolate;
  display: inline-grid;
  place-content: center;
  padding: 0.5em 1.5em;
  font-size: 17px;
  border: 0;
  text-transform: uppercase;
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.6);
  clip-path: polygon(
    /* Top-left */ 0% var(--curve-size),
    var(--curve-size) 0,
    /* top-right */ 100% 0,
    100% calc(100% - var(--curve-size)),
    /* bottom-right 1 */ calc(100% - var(--curve-size)) 100%,
    /* bottom-right 2 */ 0 100%
  );
  transition: color 250ms;
  margin-top: 25px;
}

.btn::after,
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
}

.btn::before {
  background: var(--border-color);
  background-size: 300% 300%;
  animation: move-bg7234 5s ease infinite;
  z-index: -2;
}

@keyframes move-bg7234 {
  0% {
    background-position: 31% 0%;
  }

  50% {
    background-position: 70% 100%;
  }

  100% {
    background-position: 31% 0%;
  }
}

.btn::after {
  background: var(--bg);
  z-index: -1;
  clip-path: polygon(
    /* Top-left */ var(--border-width)
      calc(var(--curve-size) + var(--border-width) * 0.5),
    calc(var(--curve-size) + var(--border-width) * 0.5) var(--border-width),
    /* top-right */ calc(100% - var(--border-width)) var(--border-width),
    calc(100% - var(--border-width))
      calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5)),
    /* bottom-right 1 */
      calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5))
      calc(100% - var(--border-width)),
    /* bottom-right 2 */ var(--border-width) calc(100% - var(--border-width))
  );
  transition: clip-path 500ms;
}

.btn:where(:hover, :focus)::after {
  clip-path: polygon(
    /* Top-left */ calc(100% - var(--border-width))
      calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5)),
    calc(100% - var(--border-width)) var(--border-width),
    /* top-right */ calc(100% - var(--border-width)) var(--border-width),
    calc(100% - var(--border-width))
      calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5)),
    /* bottom-right 1 */
      calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5))
      calc(100% - var(--border-width)),
    /* bottom-right 2 */
      calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5))
      calc(100% - var(--border-width))
  );
  transition: 200ms;
}

.btn:where(:hover, :focus) {
  color: #fff;
}



