/* Import Google Fonts once */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

/* Reset & base styles */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f2f7fb;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.5;
  font-size: 16px;
}

a {
  color: #027354;
  font-weight: 600;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Buttons */
button, input[type="submit"], .btn {
  background-color: #027354;
  color: white;
  padding: 0.6em 1.2em;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  display: inline-block;
  transition: background-color 0.3s ease;
  user-select: none;
}

button:hover, input[type="submit"]:hover, .btn:hover {
  background-color: #045f3a;
}

/* Container */
.container {
  max-width: 960px;
  margin: 3em auto;
  background: #fff;
  padding: 2em 3em;
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.07);
  box-sizing: border-box;
}

/* Headings */
h1, h2, h3, h4, h5 {
  color: #027354;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1rem;
}

/* Forms */
form label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.3em;
  color: #027354;
}

input[type="text"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: 0.6em 0.8em;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 1.2em;
  font-family: 'Poppins', sans-serif;
  font-size: 1em;
  box-sizing: border-box;
  resize: vertical;
}

/* Grid for business cards or similar */
.category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
}

/* Cards */
.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 1.5em;
  flex: 1 1 calc(33% - 1em);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card img.logo-img {
  max-width: 180px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 1em;
  object-fit: contain;
  background: #f0f0f0;
}

.card h4 {
  color: #027354;
  margin: 0.5em 0;
  text-align: center;
}

.card span, .card p {
  color: #555;
  font-size: 0.95em;
  text-align: center;
  min-height: 60px;
}

.card a.btn {
  margin-top: auto;
  align-self: center;
}

/* Header and Footer */
header, footer {
  background: #06329a;
  color: white;
  padding: 1.2em 2em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

nav {
  display: flex;
  gap: 1.5em;
  flex-wrap: wrap;
  margin-top: 0.7em;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s ease;
  white-space: nowrap;
}

nav a:hover {
  color: #00d4a4;
}

/* Footer links */
footer {
  font-size: 0.95em;
  gap: 0.5em;
}

footer .footer-links a {
  color: white;
  margin-right: 1em;
  text-decoration: none;
  white-space: nowrap;
}

footer .footer-links a:hover {
  text-decoration: underline;
}

/* Reviews */
.review {
  background: #e4f0e2;
  border-radius: 7px;
  padding: 0.7em;
  margin-bottom: 0.9em;
  word-wrap: break-word;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .container {
    margin: 1em;
    padding: 1.5em;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1em;
  }
  header > div:first-child {
    flex-direction: column;
    align-items: flex-start;
  }
  header h1 {
    margin-top: 0.3em;
    font-size: 1.6em;
  }
  nav {
    flex-direction: column;
    gap: 0.8em;
    margin-top: 0.5em;
  }
  .container {
    margin: 1em;
    padding: 1.5em;
  }
  .category-grid {
    flex-direction: column;
    gap: 1em;
  }
  .card {
    flex: 1 1 100% !important;
  }
  .logo-img {
    max-width: 100%;
    height: auto;
  }
  button, input[type="submit"], .btn {
    width: 100%;
    padding: 0.8em;
    font-size: 1.05em;
  }
}

@media (max-width: 480px) {
  header, footer {
    padding: 1em;
    font-size: 14px;
  }
  nav a {
    font-size: 16px;
  }
  .container {
    padding: 1em;
  }
  .card {
    padding: 1em;
  }
  .logo-img {
    width: 60px;
    height: 60px;
  }
  form label {
    font-size: 14px;
  }
  input, textarea, select {
    font-size: 1em;
  }
}
.business-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 720px;  /* or any width you prefer */
  margin: 2em auto;
  padding: 1.5em;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.business-logo {
  max-width: 200px; /* adjust to desired size */
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  margin-bottom: 1.5em;
}

.business-info {
  font-family: 'Poppins', sans-serif;
  color: #027354;
}

.business-info h1 {
  font-weight: 700;
  margin-bottom: 0.5em;
}

.business-info p {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 1em;
}
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #e4f0e2;
  margin: 0;
  padding: 0;
  color: #232323;
}

header, footer {
  background: #06329a;
  color: #fff;
  padding: 1.2em 2em;
}

nav {
  display: flex;
  gap: 1.5em;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color .2s;
}

nav a:hover {
  color: #00d4a4;
}

.container {
  max-width: 1100px;
  margin: 2em auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  padding: 2em;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 1.5em;
}

.card {
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.08);
  padding: 1.2em;
  transition: transform .12s;
}

.card:hover {
  transform: translateY(-4px) scale(1.02);
}

.logo-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  border: 1.5px solid #069a4e;
}

button, input[type="submit"] {
  background: #069a4e;
  color: #fff;
  padding: .7em 1.8em;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background .2s;
}

button:hover, input[type="submit"]:hover {
  background: #01b36b;
}

form label {
  display: block;
  margin-top: 1em;
  margin-bottom: .3em;
  font-weight: 500;
}

input, textarea, select {
  width: 100%;
  padding: .5em;
  margin-bottom: .7em;
  border-radius: 5px;
  border: 1px solid #ccc;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .95em;
}

footer .footer-links a {
  color: #fff;
  margin-right: 1em;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.review {
  background: #e4f0e2;
  border-radius: 7px;
  padding: .7em;
  margin-bottom: .9em;
}
