/* Card Grid */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

/* Course Card */
.course-card {
  position: relative;
  width: 350px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 126, 180, 0.25);
}

.course-card:hover .course-thumb {
  transform: scale(1.05);
}

.course-thumb::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(1, 126, 180, 0.3),
    rgba(113, 153, 28, 0.3)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

/* Thumbnail */
.course-thumb {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease;
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
}

/* Header Info (Always Visible) */
.course-header {
  padding: 16px 20px;
  background-color: #fff;
}

.course-title {
  font-size: 1.05rem;
  color: #152536;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.course-meta {
  font-size: 0.85rem;
  color: rgba(21, 37, 54, 0.8);
  line-height: 1.5;
}

.meta-item {
  margin-bottom: 4px;
}

.course-card:hover .course-thumb::after {
  opacity: 1;
}

/* Animate the hover info sliding up */
.course-info-hover {
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
  opacity: 0;
}

.course-card:hover .course-info-hover {
  transform: translateY(-100%);
  opacity: 1;
}

.course-details-btn {
  transition: background-color 0.3s ease, color 0.3s ease;
}

.course-details-btn:hover {
  background-color: #017eb4;
  color: #fff;
}

/* Hover Overlay Info */
.course-info-hover {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  padding: 20px;
  transition: transform 0.4s cubic-bezier(0.17, 0.67, 0.5, 1.03);
  transform: translateY(0);
  z-index: 10;
}

.course-card:hover .course-info-hover {
  transform: translateY(-100%);
}

.course-hover-title {
  font-size: 0.95rem;
  color: #152536;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.course-hover-meta {
  font-size: 0.85rem;
  color: rgba(21, 37, 54, 0.75);
  margin-bottom: 8px;
}

.course-description {
  font-size: 0.95rem;
  color: rgba(21, 37, 54, 0.7);
  line-height: 1.6;
  margin-top: 12px;
  margin-bottom: 50px;
}

.course-details-btn {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 14px 20px;
  background: #fff;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: #4e958b;
  border-top: 1px solid #eee;
  text-align: center;
  cursor: pointer;
}

.iast-root {
  background: #f9f9f9;
  padding: 60px 20px;
}

.iast-section {
  max-width: 1200px;
  margin: 0 auto;
}

.iast-content-card {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.iast-main-content {
  flex: 1;
  min-width: 300px;
}

.iast-section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #017eb4;
}

.iast-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.iast-feature-item {
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
  font-size: 1.1rem;
}

.iast-feature-item::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #3fa34d;
  font-weight: bold;
}

.iast-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.iast-cta-button {
  display: inline-block;
  background-color: #017eb4;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.iast-cta-button:hover {
  background-color: #052138;
}

.iast-image-container {
  flex: 1;
  text-align: center;
  min-width: 300px;
}

.iast-feature-image {
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

@import url("https://fonts.googleapis.com/css?family=Fira+Sans:400,500,600,700,800");

.blog-slider {
  position: relative;
  margin: auto;
  background: #fff;
  box-shadow: 4px 13px 30px 1px rgb(1 126 180);
  padding: 25px;
  border-radius: 25px;
  height: 400px;
  transition: all 0.3s;

  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

@media screen and (max-width: 992px) {
  .blog-slider {
    max-width: 680px;
    height: 400px;
  }
}

@media screen and (max-width: 768px) {
  .blog-slider {
    min-height: 500px;
    height: auto;
    margin: 180px auto;
  }
}

@media screen and (max-height: 500px) and (min-width: 992px) {
  .blog-slider {
    height: 350px;
  }
}

.blog-slider__item {
  display: flex;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .blog-slider__item {
    flex-direction: column;
  }
}

.blog-slider__item.swiper-slide-active .blog-slider__img img {
  opacity: 1;
  transition-delay: 0.3s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content > * {
  opacity: 1;
  transform: none;
  transition-delay: 0.3s; /* Removed loop — only generic delay here */
}

.blog-slider__img {
  width: 300px;
  flex-shrink: 0;
  height: 300px;
  background-image: linear-gradient(147deg, #017eb4 0%, #017eb4 74%);
  box-shadow: 4px 13px 30px 1px rgb(1 126 180);
  border-radius: 20px;
  transform: translateX(-60px);
  overflow: hidden;
  position: relative;
}

.blog-slider__img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  opacity: 0.8;
}

.blog-slider__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  border-radius: 20px;
  transition: all 0.3s;
}

@media screen and (max-width: 768px) {
  .blog-slider__img {
    transform: translateY(-50%);
    width: 90%;
  }
}

@media screen and (max-width: 576px) {
  .blog-slider__img {
    width: 95%;
  }
}

@media screen and (max-height: 500px) and (min-width: 992px) {
  .blog-slider__img {
    height: 270px;
  }
}

.blog-slider__content {
  padding-right: 25px;
}

@media screen and (max-width: 768px) {
  .blog-slider__content {
    margin-top: -80px;
    text-align: center;
    padding: 0 30px;
  }
}

@media screen and (max-width: 576px) {
  .blog-slider__content {
    padding: 0;
  }
}

.blog-slider__content > * {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.4s;
}

.blog-slider__code {
  color: #7b7992;
  margin-bottom: 15px;
  display: block;
  font-weight: 500;
}

.blog-slider__title {
  font-size: 24px;
  font-weight: 700;
  color: #0d0925;
  margin-bottom: 20px;
}

.blog-slider__text {
  color: #4e4a67;
  margin-bottom: 30px;
  line-height: 1.5em;
}

.blog-slider__button {
  display: inline-flex;
  background-image: linear-gradient(147deg, #017eb4 0%, #71991c 74%);
  padding: 15px 35px;
  border-radius: 50px;
  color: #fff;
  box-shadow: 4px 13px 30px 1px rgb(1 126 180);
  text-decoration: none;
  font-weight: 500;
  justify-content: center;
  text-align: center;
  letter-spacing: 1px;
}

@media screen and (max-width: 576px) {
  .blog-slider__button {
    width: 100%;
  }
}

.swiper-container-horizontal > .swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: 10px;
  left: 0;
  width: 100%;
}

.blog-slider__pagination {
  position: absolute;
  z-index: 21;
  right: 20px;
  width: 11px !important;
  text-align: center;
  left: auto !important;
  top: 50%;
  transform: translateY(-150%);
}

@media screen and (max-width: 768px) {
  .blog-slider__pagination {
    transform: translateX(-50%);
    left: 50% !important;
    top: 205px;
    width: 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.blog-slider__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 8px 0;
}

@media screen and (max-width: 768px) {
  .blog-slider__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 5px;
  }
}

.blog-slider__pagination .swiper-pagination-bullet {
  width: 11px;
  height: 11px;
  display: block;
  border-radius: 10px;
  background: #062744;
  opacity: 0.2;
  transition: all 0.3s;
}

.blog-slider__pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: #017eb4;
  height: 30px;
  box-shadow: 4px 13px 30px 1px rgb(1 126 180);
}

@media screen and (max-width: 768px) {
  .blog-slider__pagination .swiper-pagination-bullet-active {
    height: 11px;
    width: 30px;
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .blog-slider__img {
    transform: translateX(0); /* remove left shift */
    width: 280px; /* optional: resize slightly */
    height: 280px; /* maintain shape */
  }

  .blog-slider__content {
    padding-left: 20px; /* spacing between image and content */
    padding-right: 20px;
  }
}

/* Card Grid */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

/* Course Card */
.course-card {
  position: relative;
  width: 360px;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.course-card:hover {
  transform: rotateY(1deg) rotateX(2deg) scale(1.03);
  box-shadow: 0 20px 40px rgba(1, 126, 180, 0.35);
}

/* Course Image */
.course-thumb {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.course-card:hover .course-thumb {
  transform: scale(1.08) rotate(1deg);
}

/* Header Info (Visible Always) */
.course-header {
  padding: 18px 22px;
  background: #fefefe;
  position: relative;
  z-index: 2;
}

.course-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #152536;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.course-meta {
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.65);
  line-height: 1.5;
}

.meta-item {
  margin-bottom: 4px;
}

/* Hover Panel - Slide Up Effect */
.course-info-hover {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #017eb4, #4caf50);
  color: white;
  padding: 22px;
  transform: translateY(0);
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
  z-index: 3;
  opacity: 0;
}

.course-card:hover .course-info-hover {
  transform: translateY(-100%);
  opacity: 1;
}

.course-hover-title {
  font-size: 1.05rem;
  font-weight: bold;
  margin-bottom: 12px;
  text-transform: uppercase;
  color: #fff;
}

.course-hover-meta {
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: #f1f1f1;
}

.course-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ffffff;
  margin-top: 14px;
  margin-bottom: 60px;
}

/* Animated CTA Button */
.course-details-btn {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 14px 20px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #4caf50, #017eb4);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  overflow: hidden;
}

.course-details-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.6s ease-in-out;
}

.course-details-btn:hover::after {
  left: 100%;
}

.course-details-btn:hover {
  letter-spacing: 2px;
  background: linear-gradient(135deg, #017eb4, #4caf50);
}

/* Responsive */
@media screen and (max-width: 768px) {
  .course-card {
    width: 90%;
  }
}

.course-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

@keyframes fadeUpCard {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Animation Class to Trigger on Scroll */
.course-card.animate {
  animation: fadeUpCard 0.8s ease-out forwards;
}

.courses-section {
  margin: 0 auto;
}

/* Grid Layout */
.course-cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.course-col {
  flex: 1 1 calc(30% - 2rem);
  min-width: 280px;
  max-width: 560px;
  cursor: pointer;
}

/* Card Container */
.course-card-container {
  transform-style: preserve-3d;
  perspective: 1000px;
  position: relative;
  height: 400px;
  width: 100%;
}

/* Front & Back */
.course-card-front,
.course-card-back {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.7s ease;
  backface-visibility: hidden;
  height: 100%;
  width: 100%;
  color: #fff;
  overflow: hidden;
}

.course-card-front::before,
.course-card-back::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 60%);
  z-index: 1;
  border-radius: 10px;
}

.course-card-diploma {
  background-image: url("../img/ast_images/Course_Image-1.jpg");
}

.course-card-pg {
  background-image: url("../img/ast_images/Course_Image-2.jpg");
}

.course-card-bsc {
  background-image: url("../img/ast_images/Course_Image-3.jpg");
}

.course-card-front {
  transform: rotateY(0deg);
  z-index: 2;
}

.course-card-back {
  background-color: #017eb4;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotateY(180deg);
  border-radius: 10px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

/* Flip Effect */
.course-card-container:hover .course-card-front {
  transform: rotateY(-180deg);
}

.course-card-container:hover .course-card-back {
  transform: rotateY(0deg);
}

/* Overlay for text visibility */
.course-card-front::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 60%;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  z-index: 1;
  border-radius: 10px;
}

/* Inner Content */

.course-inner {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 2; /* text above the overlay */
  width: calc(100% - 3rem);
  text-align: left;
  color: #fff;
}

.course-card-front .course-inner p {
  font-size: 1.4rem;
  margin: 0;
  font-weight: bold;
}

.course-card-front .course-inner span {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  display: block;
  margin-top: 0.5rem;
}

/* Back side */
.course-card-back .course-inner {
  top: 50%;
  transform: translateY(-50%);
  left: 2rem;
  right: 2rem;
  text-align: center;
}

.course-card-back .course-inner h4 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: #fff;
}

.course-card-back .course-inner p {
  font-size: 1rem;
  color: #eee;
  line-height: 1.6;
}

/* Button */
.course-details-btn {
  margin-top: 1rem;
  padding: 0.5rem 1.25rem;
  background-color: #fff;
  color: #333;
  font-weight: 600;
  border-radius: 6px;
  display: inline-block;
  transition: background 0.3s ease;
  text-decoration: none;
}

.course-details-btn:hover {
  background-color: #ddd;
}

/* Responsive */
@media screen and (max-width: 1200px) {
  .course-col {
    flex: 1 1 calc(45% - 2rem);
  }
}

@media screen and (max-width: 768px) {
  .course-col {
    flex: 1 1 100%;
  }

  .course-card-container {
    height: 380px;
  }
}

@media screen and (max-width: 480px) {
  .course-card-container {
    height: 340px;
  }

  .course-inner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .course-card-front .course-inner p {
    font-size: 1.2rem;
  }

  .course-card-front .course-inner span {
    font-size: 0.9rem;
  }
}

/* Animations */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
}

.delay-1 {
  animation-delay: 0.5s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.iast-hero-headline {
  color: white !important;
}
.iast-hero-subtext {
  font-size: 1.2rem;
  line-height: 1.8;
}

.iast-about-body {
  line-height: 1.8;
  margin: 0;
  padding: 0;
  color: #333;
}

/* ================= Cards Container ================= */
.blog-cards {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  perspective: 1500px;
}

/* ================= Card Base ================= */
.blog-card {
  display: flex;
  gap: 2rem;
  border-radius: 20px;
  padding: 2rem;
  align-items: center;
  color: #fff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  transition: transform 0.6s ease, box-shadow 0.6s ease, filter 0.6s ease;
}

.blog-card.reverse-card {
  flex-direction: row-reverse;
}

.blog-card:hover {
  transform: translateY(-12px) rotateY(3deg) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  filter: brightness(1.05);
}

/* ================= Gradients ================= */
.gradient-one {
  background: linear-gradient(135deg, #43cea2, #185a9d); /* Green-blue */
}

.gradient-two {
  background: linear-gradient(135deg, #667eea, #764ba2); /* Purple-blue */
}

.gradient-three {
  background: linear-gradient(135deg, #43cea2, #185a9d); /* Original theme */
}

/* ================= Image Styling ================= */
.blog-card__img {
  flex-shrink: 0;
  width: 320px;
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  position: relative;
}

.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: floatImg 6s ease-in-out infinite;
  transition: transform 0.6s ease, filter 0.5s ease;
}

.img-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.15),
    rgba(255, 255, 255, 0.1)
  );
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.blog-card__img:hover img {
  transform: scale(1.14);
  filter: brightness(1.08);
}

/* ================= Content ================= */
.blog-card__content {
  flex: 1;
  animation: slideText 0.8s ease forwards;
}

.blog-card__title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.2);
  position: relative;
}

.blog-card__title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: rgba(255, 255, 255, 0.8);
  display: block;
  margin-top: 0.5rem;
  border-radius: 2px;
}

.blog-card__text ul {
  padding-left: 1.4rem;
  line-height: 1.7;
  color: #f0f0f0;
  font-size: 1rem;
}

/* ================= Card Animations ================= */
.animate-card {
  opacity: 0;
  transform: translateY(50px);
  animation: fadeSlideUp 0.8s forwards;
}

.animate-card:nth-child(1) {
  animation-delay: 0.2s;
}
.animate-card:nth-child(2) {
  animation-delay: 0.5s;
}
.animate-card:nth-child(3) {
  animation-delay: 0.8s;
}

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatImg {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes slideText {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ================= Responsive ================= */
@media (max-width: 900px) {
  .blog-card,
  .blog-card.reverse-card {
    flex-direction: column;
    text-align: center;
  }
  .blog-card__img {
    width: 100%;
    height: 220px;
  }
}

.iast-hero-text-section {
  position: relative;
  text-align: center;
  background-color: #017eb4;
  color: white;
  overflow: hidden;
  padding: 0px;
}

.inner-hero {
  height: 25vh; /* default desktop */
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  flex-direction: column;
}

.iast-hero-headline {
  font-weight: bold;
  letter-spacing: 2px;
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff !important;
}

.iast-hero-subtext {
  letter-spacing: 1px;
  font-size: 18px;
  color: #fff;
  max-width: 900px;
  margin: 0 auto;
}

.waves {
  position: relative;
  width: 100%;
  height: 15vh;
  margin-bottom: -7px;
  min-height: 100px;
  max-height: 150px;
}

.wave1 {
  fill: rgba(255, 255, 255, 0.7);
  animation: move-forever 7s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
  animation-delay: -2s;
}
.wave2 {
  fill: rgba(255, 255, 255, 0.5);
  animation: move-forever 10s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
  animation-delay: -3s;
}
.wave3 {
  fill: rgba(255, 255, 255, 0.3);
  animation: move-forever 13s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
  animation-delay: -4s;
}
.wave4 {
  fill: #fff;
  animation: move-forever 20s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
  animation-delay: -5s;
}

@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}

/* Responsive Breakpoints */

/* Large desktops */
@media (max-width: 1200px) {
  .inner-hero {
    height: 30vh;
  }
  .iast-hero-headline {
    font-size: 42px;
  }
  .iast-hero-subtext {
    font-size: 16px;
  }
}

/* Tablets */
@media (max-width: 992px) {
  .inner-hero {
    height: 30vh;
    padding: 0 15px;
  }
  .iast-hero-headline {
    font-size: 36px;
  }
  .iast-hero-subtext {
    font-size: 15px;
  }
}

/* Small tablets & large phones */
@media (max-width: 768px) {
  .inner-hero {
    height: 40vh;
    padding: 0 10px;
  }
  .iast-hero-headline {
    font-size: 28px;
  }
  .iast-hero-subtext {
    font-size: 14px;
  }
  .waves {
    height: 50px;
    min-height: 50px;
  }
}

/* Mobile phones */
@media (max-width: 576px) {
  .inner-hero {
    height: 35vh;
    padding: 0 10px;
  }
  .iast-hero-headline {
    font-size: 22px;
  }
  .iast-hero-subtext {
    font-size: 13px;
  }
  .waves {
    height: 40px;
    min-height: 40px;
  }
}

/* Very small phones */
@media (max-width: 375px) {
  .inner-hero {
    height: 38vh;
  }
  .iast-hero-headline {
    font-size: 20px;
  }
  .iast-hero-subtext {
    font-size: 12px;
  }
}
