.bg-div {
  background-image: url("/image/home_page_img.png");
  background-size: cover; /* makes it fit */
  background-position: center; /* centers the image */
  width: 100%;
  /* height: 10%; */
}

.bg-dot-div {
  background-image: url("/image/dots_img.png");
  background-size: cover; /* makes it fit */
  background-position: center; /* centers the image */
  width: 100%;
}

.your-div {
  padding-top: 32px; /* Default for <= 320px */
}

@media (min-width: 321px) {
  .your-div {
    padding-top: 40px; /* For > 320px */
  }
}

@media (min-width: 401px) {
  .your-div {
    padding-top: 48px; /* For > 400px */
  }
}

@media (min-width: 768px) {
  .your-div {
    padding-top: 84px; /* Tablet size and above */
  }
}

@media (min-width: 1024px) {
  .your-div {
    padding-top: 100px; /* Laptop size and above */
  }
}

@media (min-width: 1440px) {
  .your-div {
    padding-top: 160px; /* Laptop size and above */
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.9;
  }
}

.animate-fade-in-up {
  animation: fadeInUp 1s ease-out forwards;
}

.animate-fade-in {
  animation: fadeIn 1.5s ease-out forwards;
}

.animation-delay-100 {
  animation-delay: 0.1s;
}

.animation-delay-300 {
  animation-delay: 0.3s;
}

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

/*  */
.case-study-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.case-study-card:hover {
  transform: translateY(-5px);
}

/*  */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardHover {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-5px) scale(1.02);
  }
  100% {
    transform: translateY(-5px) scale(1.02);
  }
}

@keyframes imageZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}

@keyframes shine {
  0% {
    left: -100%;
  }
  20% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.case-study-card {
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
  overflow: hidden;
}

.case-study-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.case-study-card:hover {
  animation: cardHover 0.5s ease forwards;
}

.card-image {
  transition: transform 0.7s ease;
}

.case-study-card:hover .card-image {
  animation: imageZoom 0.7s ease forwards;
}

.card-content {
  transition: transform 0.4s ease;
}

.case-study-card:hover .card-content {
  transform: translateY(-5px);
}

.card-button {
  position: relative;
  overflow: hidden;
}

.card-button:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.6s ease;
}

.case-study-card:hover .card-button:before {
  animation: shine 0.6s ease;
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

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

.floating {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/*  */

.service-card {
  transition: all 0.3s ease;
  border-radius: 16px;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.gradient-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.icon-container {
  transition: all 0.3s ease;
}

.service-card:hover .icon-container {
  transform: scale(1.1) rotate(5deg);
}

/*  */
.footer-gradient {
  background: rgb(190, 199, 207);
}

.footer-link {
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: #ff6b6b;
  transform: translateX(5px);
}

.social-icon {
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.2);
}

.newsletter-input {
  transition: all 0.3s ease;
}

.newsletter-input:focus {
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.5);
}

.footer-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
}
