/* Basic Reset and Font */
/* Hamburger Menu Styles */
.hamburger-menu {
  right: 25px; /* Adjust position as needed */
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Main Section Styling */
.countries-section {
  background-color: #f5f8fc; /* Light grey background for the section */
  padding: 2rem 1rem; /* Padding top/bottom and left/right, responsive unit */
}

.container {
  max-width: 1500px; /* Maximum width of the content */
  margin: 0 auto; /* Center the container */
  padding: 0 1rem; /* Inner padding for the container */
}

/* Title and Breadcrumbs Styling */
.header-content {
  text-align: center; /* Center align title and breadcrumbs */
  margin-bottom: 2rem; /* Space below the header content */
}

.section-title {
  color: #fff; /* White title text */
  font-size: 2.5rem; /* Large font size for the title */
  margin-bottom: 0.5rem; /* Space below the title */
  text-transform: uppercase; /* Uppercase title */
  font-weight: bold;
}

/* Red Background Banner Style - mimicking the design */
.red-banner {
  background-color: #f94a4b; /* Deep red background color */
  padding: 4rem 0; /* Padding for top and bottom */
  margin-bottom: 2rem; /* Space below the red banner */
  margin-top: 4rem;
}

.breadcrumbs {
  color: #fff; /* White breadcrumbs text */
  font-size: 1rem; /* Standard font size for breadcrumbs */
}

.breadcrumbs a {
  color: #fff; /* White link color */
  text-decoration: none; /* Remove underline from link */
  font-weight: 600;
}

.breadcrumbs span {
  margin: 0 0.5rem; /* Spacing between breadcrumb items */
}

/* Country Cards Grid Styling */
.country-cards-grid {
  display: grid; /* Use CSS Grid for layout */
  grid-template-columns: repeat(
    auto-fit,
    minmax(150px, 1fr)
  ); /* Responsive grid columns */
  gap: 1.5rem; /* Gap between grid items */
}

/* Country Card Styling */
.country-card {
  background-color: #fff; /* White background for cards */
  border-radius: 5px; /* Rounded corners for cards */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05); /* Subtle shadow for cards */
  padding: 1rem; /* Padding inside cards */
  text-align: center; /* Center align content in cards */
  transition: transform 0.2s ease-in-out; /* Smooth transform transition */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  text-decoration: none; /* Remove underline from link */
  color: inherit; /* Inherit text color from parent */
}

.country-card:hover {
  transform: scale(1.05); /* Scale up on hover for interaction feedback */
}

.country-flag {
  width: 100%; /* Flag image takes full width of the card */
  max-width: 80px; /* Maximum width of the flag */
  height: auto; /* Maintain aspect ratio */
  margin-bottom: 0.5rem; /* Space below the flag */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for cards */
  border-radius: 3px;
}

.country-name {
  font-size: 1.2rem; /* Standard font size for country names */
  color: #002768; /* Dark grey color for country names */
  margin: 0; /* No margin for country names */
  font-weight: 700;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .section-title {
    font-size: 2rem; /* Smaller title on smaller screens */
  }
  .country-cards-grid {
    grid-template-columns: repeat(
      auto-fit,
      minmax(120px, 1fr)
    ); /* Adjust grid for smaller screens */
  }
}

@media screen and (max-width: 576px) {
  .section-title {
    font-size: 1.75rem; /* Even smaller title on very small screens */
  }
}
