
/* media section css */
.media-banner {
  position: relative;
  width: 100%;
  background: url("../assets/img/Digital\ Native.jpg") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.25);
}

.media-overlay {
  position: relative;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.75);
  background-color: white;
  backdrop-filter: blur(10px);
  padding: 40px 60px;
  display: flex;
  align-items: center;
}

.media-text {
  max-width: 600px;
}


.media-text h2 {
  font-size: 27px;
  font-weight: 600;
  color: rgb(22, 45, 66);
  margin-bottom: 30px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.media-text p {
  font-size: 16px;
  color: black;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.media-text p::before {
  content: "●";
  color: black;
  font-size: 13px;
  margin-right: 8px;
}

/* .media-banner::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.836), transparent);
  z-index: 0;
} */





/* media-companies section css */

.media-section {
  width: 100%;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  padding: 2rem 1rem;
  margin: 3rem auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.25);
}

.media-section h2 {
  box-sizing: border-box;
  padding-bottom: 1rem;
  color: white;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  font-weight: normal;
}

.media-scroll {
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.scroll-horizontal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  /* animation: scrollLeft 20s linear infinite;
  width: max-content; */
}

.scroll-horizontal:hover {
  animation-play-state: paused; /* pause on hover */
}


.media-card {
  /* flex: 0 0 400px; */
  width: 400px;
  height: 550px;
  background: rgba(255, 255, 255, 0.12);
  background-color: white;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 15px;
  margin: 0 10px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.media-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 10px;
  display: block;
  background-color: white;
  border-radius: 5px;
  border: 1px solid black;
}

.media-card p {
  font-size: 13px;
  line-height: 1.3;
  color: black;
}

.media-card p strong {
  color: black;
  display: block;
  margin: 5px 0;
  font-size: 14px;
}


@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.media-section::before,
.media-section::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

/* .media-section::before {
  left: 0;
  background: linear-gradient(to right, rgba(15,23,42,1), rgba(15,23,42,0));
}

.media-section::after {
  right: 0;
  background: linear-gradient(to left, rgba(15,23,42,1), rgba(15,23,42,0));
} */



