/* ---------- GLOBAL ---------- */

* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
}

body {
  margin: 0;
  padding: 0;
  background-color: #000;
  color: silver;
  text-align: center;
  line-height: 1.6;
}

h1, h2, h3 {
  color: silver;
  font-weight: 600;
}

hr {
  border: 0;
  border-top: 1px solid #2b2b2b;
  margin: 50px auto;
  width: 85%;
}

a {
  color: #9ecbff;
  text-decoration: none;
}

a:hover {
  color: #cde3ff;
}

/* ---------- IMAGE ---------- */
img {
  width: 250px;
  height: auto;
  border-radius: 15px;
  margin-top: 20px;
  box-shadow: 0 0 20px rgba(192,192,192,0.2);
}

/* ---------- PARAGRAPH ---------- */
p {
  width: 85%;
  margin: 20px auto;
  color: #ccc;
  font-size: 1.05em;
}

/* ---------- TABLE ---------- */
table {
  width: 85%;
  margin: 20px auto;
  border-collapse: collapse;
  color: #ccc;
}

table, th, td {
  border: 1px solid #333;
}

th {
  background-color: #111;
  color: silver;
  padding: 10px;
}

td {
  padding: 10px;
}

tr:nth-child(even) {
  background-color: #0d0d0d;
}

/* ---------- LIST ---------- */
ul {
  list-style: none;
  width: 85%;
  margin: 0 auto;
  padding: 0;
  text-align: left;
}

ul li {
  padding: 8px 0;
  font-size: 1.05em;
  color: #ccc;
}

/* ---------- COURSE OVERVIEW ---------- */
.course-tab {
  width: 85%;
  margin: 50px auto;
  background-color: #111;
  border: 1px solid #2b2b2b;
  border-radius: 15px;
  padding: 25px 30px 40px;
  box-shadow: 0 0 20px rgba(192,192,192,0.15);
  position: relative;
}

.tab-header {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0d0d0d;
  color: silver;
  border: 1px solid #2b2b2b;
  border-radius: 25px;
  padding: 6px 20px;
  font-weight: 600;
  font-size: 0.95em;
  box-shadow: 0 0 10px rgba(192,192,192,0.15);
}

/* ---------- COURSE GRID ---------- */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.course-card {
  background-color: #0b0b0b;
  border: 1px solid #2c2c2c;
  border-radius: 18px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 0 15px rgba(192,192,192,0.1);
  transition: 0.3s ease;
  position: relative;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(192,192,192,0.25);
}

.course-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #2a2a2a;
  color: silver;
  font-size: 0.8em;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid #3a3a3a;
  font-weight: 500;
}

.course-card h3 {
  color: silver;
  font-size: 1.15em;
  margin: 45px 0 10px;
}

.course-card p {
  color: #ccc;
  margin: 5px 0;
  line-height: 1.4;
}

.course-card .desc {
  color: #aaa;
  font-style: italic;
  font-size: 0.95em;
}

/* ---------- VIDEO SECTION ---------- */
.videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  width: 85%;
  margin: 20px auto;
}

.videos iframe {
  width: 100%;
  height: 250px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(192,192,192,0.1);
  transition: 0.3s ease;
}

.videos iframe:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(192,192,192,0.25);
}

/* ---------- MAP TAB ---------- */
.tab-container {
  width: 85%;
  margin: 50px auto;
  background-color: #111;
  border: 1px solid #2b2b2b;
  border-radius: 15px;
  padding: 25px 30px 40px;
  box-shadow: 0 0 20px rgba(192,192,192,0.15);
  position: relative;
}

.tab-container .tab-header {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0d0d0d;
  color: silver;
  border: 1px solid #2b2b2b;
  border-radius: 25px;
  padding: 6px 20px;
  font-weight: 600;
  font-size: 0.95em;
  box-shadow: 0 0 10px rgba(192,192,192,0.15);
}

.tab-container iframe {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 15px;
}

/* ---------- FOOTER ---------- */
footer {
  margin-top: 50px;
  padding: 20px;
  background-color: #0a0a0a;
  border-top: 1px solid #2b2b2b;
  color: #888;
  font-size: 0.9em;
}
