/* Hero Section */
.hero {
  height: 90vh;
  position: relative;
  overflow: hidden;
}

.hero video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  object-fit: cover;
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}

.content {
  padding: 16px;
  margin-top: 80px;
}


.hero button {
  background-color: #041F60FF;
  color: #FEFEFEFF;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.hero button:hover {
  transform: scale(1.1);
}

/* Services Section */
.services {
  padding: 50px 20px;
  text-align: center;
  background-color: #fff;
}

.services h2 {
  font-size: 2rem;
  color: #4caf93;
  margin-bottom: 30px;
}

.services .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.services .card {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.services .card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.services .card h3 {
  font-size: 1.5rem;
  margin: 20px 0;
  color: #333;
}

.services .card p {
  padding: 0 15px 20px;
  color: #666;
}

.services .card:hover {
  transform: translateY(-10px);
}
.videos {
    max-width: 1200px;
    margin: auto;
    position: relative;
}
.main-title {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    opacity: 0; /* Hide grid initially */
    transition: opacity 0.5s ease;
}
.video-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.video-card iframe {
    width: 100%;
    height: 200px;
}
/* Loader Styles */
.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}