@font-face {
  font-family: 'alfaslabone-regular';
  src: url('media/fonts/Alfa_Slab_One/AlfaSlabOne-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'lato-regular';
  src: url('media/fonts/Lato/Lato-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font: 16px/1.24 lato-regular, Arial Black, Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #636363;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
}

/* Header */
header {
  background: #00AEEF;
  color: #fff;
  padding: 8px 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 14px;
}
header a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}
.logo-bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15px 15px 0;
  border-bottom: 1px solid #eee;
  background: #f5f5f5;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.logo-bar img {
  max-height: 100px;
  margin-bottom: 40px;
  transition: all 0.3s ease;
}
.logo-bar h1 {
  margin: 0;
  font: 30px / 1.2 alfaslabone-regular, Arial, Helvetica, sans-serif;
  text-align: center;
}
.logo-bar p {
  margin: 10px 0 20px 0;
  color: #555;
  font-size: 16px;
  text-align: center;
}
/* Search */
.search-bar {
  padding: 15px 5px 0 5px;
  text-align: center;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 600px;
}
.search-input-container {
  position: relative;
  width: 100%;
}

.search-bar input {
  width: calc(100% - 20px);
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 16px;
  outline: none;
}

.clear-search-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 18px;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.clear-search-btn:hover {
  background-color: #f0f0f0;
  color: #333;
}
/* Tabs */
.tabs {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.tabs-container {
  display: inline-flex;
  border-bottom: 2px solid #eee;
  position: relative;
}
.tab {
  padding: 12px 20px;
  cursor: pointer;
  font-weight: bold;
  color: #555;
  text-align: center;
  transition: color 0.3s ease;
}
.tab:hover {
  color: #00AEEF;
}
.tab.active {
  color: #00AEEF;
}

.tab-indicator {
  position: absolute;
  bottom: -2px;
  height: 3px;
  background: #00AEEF;
  transition: all 0.3s ease;
  border-radius: 2px;
}
/* Cards grid */
.grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px 20px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.grid.hidden {
  display: none;
}

.grid.visible {
  display: flex;
}
.card {
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  max-width: 300px;
  min-width: 300px;
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.card-content {
  padding: 15px;
  flex-grow: 1;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.card p {
  margin: 0;
  font-size: 14px;
  color: #555;
}

.address-link {
  color: #555;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  display: inline-block;
  padding: 4px 0;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.address-link:hover {
  color: #00AEEF;
  text-decoration: underline;
}
.card-content button {
  margin: 15px 0 0 0;
  padding: 10px;
  background: #00AEEF;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s;
  width: 100%;
}
.card-content button:hover {
  background: #008bbf;
}
/* Footer */
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 20px;
}
footer .links {
  margin-bottom: 10px;
}
footer .links a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
}
footer .socials {
  margin: 10px 0;
}
footer .socials a {
  color: #fff;
  font-size: 20px;
  margin: 0 10px;
  text-decoration: none;
  display: inline-block;
}

.social-icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

footer .socials a:hover .social-icon {
  filter: brightness(0) invert(1) opacity(0.7);
}
footer p {
  margin: 5px 0;
  font-size: 14px;
  color: #aaa;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-links .separator {
  margin: 0 20px;
}

/* Mobile responsive footer */
@media (max-width: 768px) {
  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 2;
  }
  
  .footer-links .separator {
    display: none;
  }
  
  .footer-links span {
    margin: 5px 0;
  }
  
  /* Mobile search field styling */
  .search-bar {
    margin: 0 20px;
  }
  
  /* Mobile logo styling */
  .logo-bar img {
    max-height: 50px;
    margin-bottom: 20px;
  }
  
  /* Mobile title styling */
  .logo-bar h1 {
    font-size: 20px;
  }
  
  /* Mobile subtitle spacing */
  .logo-bar p {
    margin: 10px 0 10px 0;
  }
}

/* Other Districts Section */
.other-districts-container {
  text-align: center;
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.other-districts-title {
  margin-bottom: 20px;
}

.other-districts-steps {
  text-align: left;
  font-size: 18px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 30px;
}

.other-districts-step {
  margin-bottom: 15px;
}

.pdf-forms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.pdf-card {
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 15px 15px 15px;
  cursor: pointer;
}

.pdf-icon {
  font-size: 36px;
  margin-bottom: 8px;
  color: #FF6B35;
}

.pdf-language {
  font-weight: bold;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, Helvetica, sans-serif !important;
  font-size: 16px;
  color: #333;
  margin: 0 0 8px 0;
}

.pdf-description {
  margin: 0 0 15px 0;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, Helvetica, sans-serif !important;
  font-size: 14px;
  color: #555;
  flex-grow: 1;
}

.pdf-download-btn {
  background: #00AEEF;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s;
  padding: 8px 16px;
  font-size: 12px;
  width: 100%;
}

.pdf-download-btn:hover {
  background: #008bbf;
}
