* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f8f9fa;
  color: #222;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

/* Main content grows to fill space */
main {
  flex: 1;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 15px;
}

/* Top bar */
.top-bar {
  background-color: #004080;
  color: white;
  font-size: 14px;
  padding: 10px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Navigation */
.header {
  background-color: white;
  border-bottom: 1px solid #ccc;
  padding: 20px 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #004080;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #004080;
  font-weight: 500;
  border-bottom: 2px solid #004080;
  padding-bottom: 4px;
}

nav a:hover {
  text-decoration: underline;
}

/* Hero */
.hero {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;      /* Center horizontally */
  text-align: center;           /* Center text inside */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: white;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  /* Optional: add a background or overlay for readability */
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 20px;
}

.btn {
  background-color: #004080;
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 4px;
}

/* Info Boxes */
.info-boxes {
  background-color: #fff;
  padding: 60px 0;
}

.grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  text-align: center;
}

.box {
  flex: 1;
  min-width: 250px;
  padding: 20px;
  background: #f0f0f0;
  border-radius: 8px;
}

.box h2, h3 {
  margin-bottom: 10px;
  color: #004080;
}

/* Footer */
footer {
  background-color: #004080;
  color: white;
  text-align: center;
  padding: 30px 0;
  margin-top: auto; /* Push footer to the bottom */
}

footer a {
  color: white;
  text-decoration: underline;
}

.about-grid {
  display: flex;
  gap: 20px;
  margin: 40px 0;
  align-items: center;
}

.about-grid.reverse {
  flex-direction: row-reverse;
}

.about-grid img {
  max-width: 50%;
  border-radius: 8px;
}

.offers li {
  margin-bottom: 10px;
}

.blog-post {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 40px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.blog-post h3 {
  margin-top: 0;
  color: #004080;
}
.blog-meta {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}
.blog-meta span {
  margin-right: 15px;
}
.blog-image {
  max-width: 100%;
  margin: 15px 0;
  border-radius: 6px;
}
.blog-content {
  font-size: 17px;
  line-height: 1.7;
}

.blog-likes {
  margin-top: 10px;
  font-size: 18px;
  color: #004080;
  font-weight: bold;
}

.blog-comments-section {
  margin-top: 18px;
}

.blog-comments {
  list-style: none;
  padding-left: 0;
  margin: 8px 0 0 0;
}

.blog-comments ul {
  padding-left: 20px;
  border-left: 2px solid #eee;
  margin-left: 10px;
}

.blog-comments li {
  margin-bottom: 8px;
}

.comment-text {
  font-size: 15px;
  color: #222;
}

.comment-btn {
  margin-top: 4px;
  font-size: 15px;
  padding: 2px 10px;
  border-radius: 4px;
  border: 1px solid #bbb;
  background: #f7f7f7;
  cursor: pointer;
}

.reply-btn {
  margin-top: 4px;
  font-size: 13px;
  padding: 2px 10px;
  border-radius: 4px;
  border: 1px solid #bbb;
  background: #f7f7f7;
  cursor: pointer;
}

.contact-section {
  padding: 40px 0;
}

.contact-grid {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
}

.contact-form {
  flex: 1 1 0;
  max-width: 500px;
}

.contact-info {
  flex: 1 1 0;
  max-width: 400px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-top: 10px;
  font-weight: bold;
}

.contact-form input, .contact-form textarea {
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form .btn {
  margin-top: 15px;
  padding: 10px;
  background: #007bff;
  color: white;
  border: none;
  cursor: pointer;
}

.contact-info h3 {
  margin-top: 20px;
}

.contact-info .social-icons i {
  font-size: 24px;
  margin-right: 10px;
  cursor: pointer;
  color: #555;
}

@media (max-width: 900px) {
  .contact-grid {
    flex-direction: column;
    gap: 20px;
  }
  .contact-form, .contact-info {
    max-width: 100%;
  }
}

.kontakt-wrapper {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}

.section-heading {
  font-size: 36px;
  margin-bottom: 30px;
  text-align: center;
}

.kontakt-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.kontakt-info, .kontakt-form {
  flex: 1 1 450px;
}

.kontakt-info h3 {
  margin-top: 20px;
  font-size: 20px;
  color: #333;
}

.kontakt-info p {
  margin: 5px 0 15px;
}

.social-icons i {
  font-size: 26px;
  margin-right: 12px;
  color: #555;
  cursor: pointer;
}

.kontakt-form p {
  margin-bottom: 20px;
  color: #444;
}

.kontakt-form form {
  display: flex;
  flex-direction: column;
}

.kontakt-form input,
.kontakt-form textarea {
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 16px;
}

.robot-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}

.kontakt-form .btn {
  padding: 12px;
  background: #005baa;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.kontakt-form .btn:hover {
  background: #004488;
}

.reference-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 40px; /* 20px vertical, 40px horizontal */
  list-style: none;
  padding: 0;
}

.reference-columns li {
  padding: 20px;
  background: #f0f0f0;
  border-radius: 8px;
}

i {
  color: #004080;
  height: 30px;
  width: 40px;
}