/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #f0f4f8;
  color: #333;
  line-height: 1.6;
  padding-bottom: 80px;
}

/* Navbar */
nav {
  background-color: #004d40;
  color: #fff;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 12px;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #ffd600;
}

/* Page Title */
h1 {
  text-align: center;
  margin: 30px 0 20px;
  font-size: 2.2em;
  color: #2e7d32;
}

/* Country Card Style */
.country-section {
  max-width: 800px;
  margin: auto;
  background: #ffffffd9;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.country-section img {
  display: block;
  margin: 10px auto;
  max-width: 200px;
  border-radius: 8px;
}

.country-section h2 {
  color: #00796b;
  margin-top: 20px;
}

.country-section p {
  margin-bottom: 15px;
}

/* Back Button */
.back-btn {
  display: inline-block;
  margin-top: 20px;
  background-color: #00796b;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.back-btn:hover {
  background-color: #004d40;
}

/* Country List */
ul {
  list-style: none;
  max-width: 700px;
  margin: 30px auto;
  padding: 0;
}

li {
  margin: 12px 0;
  padding: 10px;
  background: #ffffffdd;
  border-left: 5px solid #00796b;
  border-radius: 6px;
  transition: transform 0.8s ease;
}

li:hover {
  transform: translateX(5px);
}

li img {
  vertical-align: middle;
  margin-right: 10px;
  width: 24px;
  height: auto;
}

/* Footer */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #004d40;
  color: #fff;
  text-align: center;
  padding: 12px;
  font-size: 14px;
}
