.media-container {
    position: relative;
    width: 100%;
    height: 60vh; /* You can adjust this height as needed */
    background-image: url('../img/media_page_img/pexels-pixabay-262367.jpg');
    background-size: cover;
    background-position: center; 
}

/* Styling for the centered text */
.media-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centers the text */
    font-size: 3rem; /* Adjust font size as necessary */
    font-weight: bold;
    color: white; /* Text color */
    text-shadow: 2px 2px 5px rgba(170, 132, 83, 0.7);
}
/* Container for the Video */
.video-container {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 100px 0;
}

/* Container for Video Text */
.video-text-container {
    text-align: center;
    margin-bottom: 20px; /* Space between text and the video */
}

.video-header {
    font-size: 30px;
    margin: 0;
}

.video-description {
    font-size: 18px;
    margin-top: 10px;
}

/* YouTube Embed */
#main_video {
    width: 50%;
    max-width: 100%; /* Ensures it resizes on smaller screens */
}

/* Wrapper Container for Card Content */
.media-cards-container {
    width: 100%;
    max-width: 1200px; /* Limit the width of the content */
    margin: 100px auto; /* Center the content */
    padding: 0 20px; /* Add padding to the left and right */
}

.media-list-container {
    text-align: center;
    margin-bottom: 40px;
}

.media-list-header {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.media-list-description {
    font-size: 18px;
    color: #555;
}


/* Cards Layout */
.card-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.card {
    width: 48%; /* Two cards per row */
    border:1px solid #AA8453;
    border-radius:0px;
    overflow: hidden;
    margin-bottom:50px;
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
}

.card-banner img {
    width: 100%;
    height: 400px;
    object-fit:cover;
}
.card-banner iframe {
    width: 100%;
    height: 400px;
    object-fit:cover;
}

.card-content {
    padding: 20px;
    text-align:center;
}

.card-title {
    font-size: 24px;
    margin: 0;
}

.card-text {
    font-size: 16px;
    color: #555;
    margin-top: 10px;
}

@media (max-width: 500px) {
.card{
    width:100%;
}
#main_video {
    width:90%;
}
}
@import url("https://fonts.googleapis.com/css?family=Poppins&display=swap");

body {
  font-family: "Poppins", sans-serif;
}

section {
  margin: 50px 0px;
}

.section-header {
  text-align: center;
  margin: 40px;
}

.section-title {
  font-weight: bold;
  font-size: 30px;
  margin: 0;
}

.section-subtitle {
  margin: 0 auto;
  width: 50%;
  color: #888;
  font-size: 20px;
}

.trusted {
  width: 100%;
  margin: 0 auto;
}

.trusted-row {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: hidden;
  align-items: center;
  gap: 30px; /* Set a consistent gap between images */
  scroll-behavior: smooth;
}

.trusted-row img {
  width: 150px; /* Fixed width for each image */
  height: 150px; /* Fixed height for each image */
  object-fit: contain;
}

@media (max-width: 1000px) {
  .trusted {
    width: 100%;
  }
  .trusted-row img {
    width: 100px;
    height: 100px;
    margin: 20px;
  }
  .section-subtitle {
    width: 100%;
  }
}
