.partners-section {
  padding: 2rem 0;
}

.partner-card-container {
  display: flex;
}

.partner-card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.partner-card h3 {
  color: #333;
}

.partner-card p {
  flex-grow: 1;
  color: #666;
}

.partner-card a {
  text-decoration: none;
  font-weight: bold;
  text-align: center;
}

.partner-card .bg-blue {
  background-color: #ED1A3B !important;
}

.partner-card .bg-dark-blue {
  background-color: #3b5998 !important;
}

.sub-heading {
  color: #ED1A3B;
  text-align: center;
}

/* Video Grid Styles */
.about-us-page .video-grid-container {
  margin: 3rem 0 !important;
  padding: 0 1rem !important;
  width: 100% !important;
  clear: both !important;
}

.about-us-page .video-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: auto auto !important;
  gap: 1.5rem !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  width: 100% !important;
}

.about-us-page .video-item {
  position: relative !important;
  width: 100% !important;
  height: 0 !important;
  padding-bottom: 56.25% !important; /* 16:9 aspect ratio */
  overflow: hidden !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  background: #000 !important;
  display: block !important;
}

.about-us-page .video-item:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15) !important;
}

.about-us-page .video-item iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  border-radius: 8px !important;
}

/* Force 2x2 grid layout */
.about-us-page .video-item:nth-child(1) {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

.about-us-page .video-item:nth-child(2) {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

.about-us-page .video-item:nth-child(3) {
  grid-column: 1 !important;
  grid-row: 2 !important;
}

.about-us-page .video-item:nth-child(4) {
  grid-column: 2 !important;
  grid-row: 2 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-us-page .video-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto auto !important;
    gap: 1rem !important;
  }
  
  .about-us-page .video-grid-container {
    padding: 0 0.5rem !important;
    margin: 2rem 0 !important;
  }
  
  .about-us-page .video-item:nth-child(1),
  .about-us-page .video-item:nth-child(2),
  .about-us-page .video-item:nth-child(3),
  .about-us-page .video-item:nth-child(4) {
    grid-column: 1 !important;
  }
  
  .about-us-page .video-item:nth-child(1) {
    grid-row: 1 !important;
  }
  
  .about-us-page .video-item:nth-child(2) {
    grid-row: 2 !important;
  }
  
  .about-us-page .video-item:nth-child(3) {
    grid-row: 3 !important;
  }
  
  .about-us-page .video-item:nth-child(4) {
    grid-row: 4 !important;
  }
}

@media (max-width: 480px) {
  .video-grid {
    gap: 0.8rem;
  }
}

/* Tablet landscape view */
@media (min-width: 769px) and (max-width: 1024px) {
  .video-grid {
    gap: 1.2rem;
    max-width: 900px;
  }
}
