.section-4 {
    position: relative;
    max-width: 1200px;
    margin: 40px auto;
    width: 100%;
    padding: 0px;
    font-family: "Roboto", sans-serif;
    overflow: hidden;
    transition: all 0.5s ease;
}

.section-4 .section-title {
    text-align: center;
    color: #003E65;
    font-size: 3rem;
    margin-bottom: 0px;
    font-family: "Monserrat", sans-serif;
    transition: all 0.5s ease;
}

.section-4 .section-subtitle {
    text-align: center;
    color: #000;
    font-size: 1rem;
    margin-bottom: 30px;
    transition: all 0.5s ease;
}

.section-4 .video-grid {
    position: relative;
    margin-top: 30px;
    display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
    grid-template-columns: 1fr;
    transition: all 0.5s ease;
}
.section-4 .video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.section-4 .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.section-4 .video-card {
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.section-4 .video-card img{
    position: relative;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
    transition: all 0.5s ease;
}

/* Tablet (600px and up) */
@media screen and (min-width: 600px) {
    .section-4 .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop (900px and up) */
@media screen and (min-width: 900px) {
    .section-4 .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 320px */
@media screen and (min-width: 320px){
    .section-4 .section-title {
        font-size: 2rem;
        width: 300px;
        text-align: center;
        margin: 0 auto;
    }
    .section-4 .section-subtitle {
        width: 300px;
        text-align: center;
        margin: 0px auto;
        margin-top: 10px;
    }

    .section-4 .video-card img{
        width: 280px;
        left: 0px;
        margin-top: 30px;
    }
}
/* 375px */
@media screen and (min-width: 375px){
    .section-4 .section-title {
        font-size: 2rem;
        width: 300px;
        text-align: center;
        margin: 0 auto;
    }
    .section-4 .section-subtitle {
        width: 300px;
        text-align: center;
        margin: 0 auto;
        margin-top: 10px;
    }

    .section-4 .video-card img{
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 350px;
    }
}
/* 425px */
@media screen and (min-width: 425px){
    .section-4 .section-title {
        font-size: 2.4rem;
        width: 400px;
        text-align: center;
        margin: 0 auto;
    }
    .section-4 .section-subtitle {
        width: 400px;
        text-align: center;
        margin: 0 auto;
        margin-top: 10px;
    }

    .section-4 .video-card img{
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 380px;
    }
}
/* 768px */
@media screen and (min-width: 768px){
    .section-4 .section-title {
        font-size: 2.7rem;
        width: 500px;
        text-align: center;
        margin: 0 auto;
    }
    .section-4 .section-subtitle {
        width: 500px;
        text-align: center;
        margin: 0 auto;
        margin-top: 10px;
    }

    .section-4 .video-card img{
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 310px;
    }
}
/* 1024px */
@media screen and (min-width: 1024px){
    .section-4 .section-title {
        font-size: 3rem;
        width: 500px;
        text-align: center;
        margin: 0 auto;
    }
    .section-4 .section-subtitle {
        width: 500px;
        text-align: center;
        margin: 0 auto;
        margin-top: 10px;
    }

    .section-4 .video-card img{
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 400px;
    }
}