/* Locations Section */
.locations {
  padding: 4rem 2rem;
  text-align: center;
}

.locations h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.locations .subheading {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.location-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.location-card .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.location-card:hover .card-overlay {
  opacity: 1;
}

.location-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.location-card .card-overlay p {
  font-size: 1rem;
  color: #fff;
  text-align: center;
  padding: 0 1rem;
  margin: 0;
}

/* Script Cards Section */
.script-cards {
  padding: 4rem 2rem;
  text-align: center;
}

.script-cards h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.script-cards .subheading {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
}

.script-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.script-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.script-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.script-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease; /* Add transition for smooth scaling */
}

/* .script-card:hover img {
  transform: scale(1.1); 
} */

.script-info {
  padding: 1.5rem;
}

.script-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
  text-align: center;
}

.script-info p {
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
  text-align: left;
}

/* Responsive Design */
@media (max-width: 768px) {
  .script-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .location-grid {
    grid-template-columns: 1fr;
  }

  .script-grid {
    grid-template-columns: 1fr;
  }
}