/* Global Reset */
body,
html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Global Styles */
body {
  font-family: "Arial", sans-serif;
  font-size: 16px;
  padding: 0;
}

/* Main Content Container */
.container {
  max-width: 90%; /* Maximum 90% of the screen width */
  margin: 0 auto; /* Center the content */
  padding: 10px; /* Add padding for inner spacing */
}

/* Cards and Elements */
.card {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

.card:hover {
  transform: scale(1.05);
}

iframe {
  width: 100%;
  height: 300px;
  border: none;
}

.category-section {
  margin: 30px 0; /* Adjust spacing for a lighter feel */
  padding: 15px;
  border: 2px dashed #117a8b;
  border-radius: 10px;
  background-color: #f8f9fa;
}

/* Hero Section */
.hero-section {
  height: 300px; /* Reduced for mobile */
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-section h1 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.hero-section p {
  font-size: 1rem;
}

.hero-section .btn {
  font-size: 1rem;
  padding: 10px 15px;
}

/* Buttons */
.btn {
  font-size: 0.9rem;
  padding: 8px 15px;
  border-radius: 25px;
}

footer {
  background-color: #343a40;
  color: white;
  text-align: center;
  padding: 10px 0;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
  .hero-section {
    height: 250px;
  }

  .hero-section h1 {
    font-size: 1.6rem;
  }

  .hero-section p {
    font-size: 0.9rem;
  }

  iframe {
    height: 200px;
  }

  .category-section {
    margin: 20px 0;
    padding: 10px;
  }

  .btn {
    font-size: 0.8rem;
    padding: 7px 10px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    height: 200px;
  }

  .hero-section h1 {
    font-size: 1.4rem;
  }

  .hero-section p {
    font-size: 0.8rem;
  }

  iframe {
    height: 150px;
  }

  .category-section {
    margin: 15px 0;
    padding: 8px;
  }

  .btn {
    font-size: 0.7rem;
    padding: 5px 8px;
  }
}
