/* Import Spectral Font */
@import url("https://fonts.googleapis.com/css2?family=Spectral:wght@300;400;500;600;700&display=swap");

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body styles */
body {
  font-family: 'Spectral', serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

/* Section styling */
.work-overseas {
  max-width: 1000px;
  margin: 50px auto;
  padding: 30px 20px;
  background: white;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Section title */
.work-overseas h2 {
  font-size: 2.4rem;
  color: #2c3e50;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Spectral', serif;
}

/* Underline effect */
.work-overseas h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #3498db, #2ecc71);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Grid container */
.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

/* Each country box */
.country {
  text-align: center;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  transition: transform 0.3s ease;
  font-family: 'Spectral', serif;
}

/* Hover effect */
.country:hover {
  transform: translateY(-5px);
  background-color: #f1f1f1;
}

/* Flag image styling */
.country img {
  width: 160px;
  height: auto;
  margin-bottom: 10px;
  border-radius: 6px;
}

/* Country name text */
.country-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  text-transform: uppercase;
  font-family: 'Spectral', serif;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .work-overseas h2 {
    font-size: 2rem;
  }

  .country img {
    width: 140px;
  }
}

@media (max-width: 480px) {
  .country img {
    width: 120px;
  }
}
