body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f8f8;
  color: #333;
}

header {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('Poster/header-bg.png') center/cover no-repeat;
  padding: 60px 20px;
  color: white;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2.8em;
  background-color: rgba(0,0,0,0.5);
  display: inline-block;
  padding: 12px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

header p {
  font-size: 1.2em;
  margin-top: 15px;
  color: #f0f0f0;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
  background-color: #660000;
}

nav a {
  margin: 8px;
  padding: 12px 20px;
  background-color: #aa2200;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s, transform 0.2s;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

nav a:hover {
  background-color: #cc2e00;
  transform: translateY(-2px);
}

section {
  padding: 50px 20px;
  max-width: 1100px;
  margin: auto;
}

h2 {
  color: #660000;
  text-align: center;
  font-size: 2em;
  margin-bottom: 20px;
  border-bottom: 2px solid #aa2200;
  display: inline-block;
  padding-bottom: 5px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.gallery a {
  background-color: #660000;
  color: white;
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: background 0.3s, transform 0.2s;
}

.gallery a:hover {
  background-color: #aa2200;
  transform: translateY(-3px);
}

.courses ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.courses li a {
  background-color: #660000;
  color: white;
  padding: 15px 25px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: background 0.3s, transform 0.2s;
}

.courses li a:hover {
  background-color: #aa2200;
  transform: scale(1.05);
}

.contact {
  background-color: #660000;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.contact h2 {
  font-size: 2.2em;
  margin-bottom: 20px;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.contact p {
  font-size: 1.1em;
  margin: 10px 0;
}

footer {
  background-color: #4d0000;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
}

html {
  scroll-behavior: smooth;
}
