/* === GENERAL LAYOUT === */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #222;
}

.container {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* === HEADER === */
header {
  background-color: #0e2a36;
  color: white;
  padding: 1rem 0;
  text-align: center;
  border-bottom: 4px solid #3fa9f5;
}

header h1 {
  margin: 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* === NAVIGATION === */
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: #cbe6f7;
  text-decoration: none;
  font-weight: normal !important;
  display: block;
  padding: 0.5rem 0;
}

nav ul li a:hover {
  color: white;
  text-decoration: underline;
}

/* === SUBMENU === */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #0e2a36;
  padding: 0.5rem 0;
  list-style: none;
  min-width: 200px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.submenu li a {
  padding: 0.5rem 1rem;
  font-weight: normal;
  color: #cbe6f7;
  text-decoration: none;
}

.submenu li a:hover {
  background-color: #1e6f9f;
  color: white;
}

nav ul li:hover > .submenu {
  display: block;
}

/* === SHARED SECTION LAYOUT === */
.section-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.section-image {
  flex: 0 0 auto;
  max-width: 375px;
}

.section-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.section-text {
  flex: 1;
  min-width: 250px;
}

/* === ALIASES === */
.immigration-container,
.tax-container,
.clean-meeting-container {
  composes: section-container;
}

.immigration-image,
.tax-image,
.clean-meeting-image {
  composes: section-image;
}

.immigration-text,
.tax-text,
.clean-meeting-text {
  composes: section-text;
}

/* === FOOTER === */
footer {
  background-color: #0e2a36;
  color: white;
  text-align: center;
  padding: 1rem 0;
  margin-top: 3rem;
}

.site-footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 10px;
}

.site-footer .footer-links a {
  color: white;
  text-decoration: none;
}

.site-footer .footer-links a:hover {
  text-decoration: underline;
}

.tax-container,
.immigration-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.tax-image,
.immigration-image {
  flex: 0 0 auto;
  max-width: 300px;
}

.tax-image img,
.immigration-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.tax-text,
.immigration-text {
  flex: 1;
  min-width: 250px;
}

/* Immigration image smaller */
.immigration-image {
  flex: 0 0 auto;
  max-width: 300px; /* or try 280px */
}

.immigration-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Tax image bigger */
.tax-image {
  flex: 0 0 auto;
  max-width: 420px; /* increase as needed */
}

.tax-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (min-width: 768px) {
  .faq-content p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
  }
}
