* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-image: url("../../images/download.jpg");
  background-repeat: repeat-x;
  background-color: #f4f4f4;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #00136b;
  margin: 0 50px 20px;
  padding: 12px 30px;
}

.navbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.navbar img.logo {
  height: 90px;
  width: auto;
}

.navbar-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.navbar-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.navbar-menu a {
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  padding: 8px 12px;
  border-radius: 3px;
  transition: background-color 0.2s, color 0.2s;
}

.navbar-menu a:hover {
  background-color: #123b8a;
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 40px;
  border: 1px solid #bfc5cc;
  background: #f3f3f3;
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #8b8b8b;
  transition: 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.language-switcher {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.language-switcher img {
  width: 22px;
  height: 14px;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 3px;
  transition: transform 0.2s;
}

.language-switcher img:hover {
  transform: scale(1.1);
  border-color: #fff;
}

section {
  width: calc(100% - 100px);
  margin: 0 50px;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 0;
}

section h2 {
  color: #0a2a66;
  margin-bottom: 20px;
}

.hero-section {
  min-height: calc(100vh - 120px);
  width: calc(100% - 100px);
  margin: 0 50px;
  background-image: url("../../images/section_1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: #fff;
  margin-top: -20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
}

.hero-text {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 30px 40px;
  border-radius: 10px;
  margin-left: 50px;
  margin-right: 50px;
  margin-top: 40px;
  max-width: 760px;
}

.hero-text h1 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #fff;
}

.hero-text p {
  font-size: 18px;
  color: #fff;
  line-height: 1.6;
  margin: 0;
}

.hero-button {
  margin-left: 50px;
  margin-top: 25px;
  padding: 12px 28px;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.5);
  transition: background-color 0.3s, color 0.3s;
  display: inline-block;
}

.hero-button:hover {
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
}

#services {
  background-color: #f7f7f7;
  text-align: center;
  padding: 80px 0;
  justify-content: flex-start;
  min-height: auto;
}

#services h2 {
  font-size: 36px;
  margin-bottom: 50px;
  margin-left: 0;
  width: 100%;
  text-align: center;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  width: 100%;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  width: calc((100% - 90px) / 4);
  min-width: 240px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 60px;
  margin: 0 auto 20px;
}

.service-card h3 {
  font-size: 22px;
  color: #0a2a66;
  margin-bottom: 15px;
}

.service-card p {
  color: #555;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

#commercial,
#residential {
  width: calc(100% - 100px);
  margin: 0 50px;
}

#commercial p,
#residential p {
  color: #333;
  font-size: 18px;
  line-height: 1.7;
  max-width: 900px;
}

.contact-section {
  width: 100%;
  margin: 0;
  min-height: auto;
  display: block;
  background: #07174a;
  padding: 80px 20px;
  color: #fff;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  padding: 10px 10px 10px 0;
}

.contact-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #9db2ff;
  margin-bottom: 14px;
}

.contact-info h2 {
  font-size: 42px;
  line-height: 1.15;
  margin: 0 0 20px;
  color: #fff;
}

.contact-text {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  margin-bottom: 30px;
}

.info-list {
  display: grid;
  gap: 18px;
}

.info-item {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 16px;
}

.info-title {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #9db2ff;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.info-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
  word-break: break-word;
}

.info-item a {
  color: #fff;
  word-break: break-word;
}

.info-item a:hover {
  text-decoration: underline;
}

.contact-form-wrap {
  background: #fff;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.contact-form {
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid #d7ddea;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  color: #0f172a;
  background: #f8fafc;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #1d4ed8;
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.1);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.submit-btn {
  display: inline-block;
  border: none;
  background: #07174a;
  color: #fff;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.submit-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.form-note {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.6;
  color: #475569;
}

.form-note a {
  color: #07174a;
  font-weight: 600;
}

.form-note a:hover {
  text-decoration: underline;
}

.hidden-field {
  display: none;
}

@media (max-width: 1100px) {
  .service-card {
    width: calc((100% - 30px) / 2);
  }

  .contact-container {
    gap: 30px;
  }
}

@media (max-width: 900px) {
  .navbar {
    margin: 0 20px 20px;
    padding: 14px 18px;
  }

  .navbar img.logo {
    height: 72px;
  }

  .menu-toggle {
    display: flex;
  }

  .navbar-bottom {
    display: block;
    margin-top: 12px;
  }

  .language-switcher {
    justify-content: flex-start;
    margin-bottom: 10px;
  }

  .navbar-menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .navbar-menu.active {
    display: flex;
  }

  .navbar-menu a {
    width: 100%;
    padding: 12px 8px;
    text-align: left;
    margin: 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  section,
  .hero-section,
  #commercial,
  #residential {
    width: calc(100% - 40px);
    margin: 0 20px;
  }

  .hero-section {
    min-height: auto;
    padding: 60px 0;
    justify-content: center;
  }

  .hero-text {
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 0;
    padding: 25px 20px;
  }

  .hero-text h1 {
    font-size: 34px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero-text br {
    display: none;
  }

  .hero-button {
    margin-left: 20px;
    margin-right: 20px;
    text-align: center;
  }

  #services h2 {
    font-size: 30px;
    margin-bottom: 35px;
  }

  .service-card {
    width: 100%;
    min-width: 0;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-info h2 {
    font-size: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 24px;
  }
}

@media (max-width: 600px) {
  .navbar {
    margin: 0 12px 16px;
    padding: 12px 14px;
  }

  .navbar img.logo {
    height: 60px;
  }

  section,
  .hero-section,
  #commercial,
  #residential {
    width: calc(100% - 24px);
    margin: 0 12px;
    padding: 55px 0;
  }

  .hero-section {
    margin-top: 0;
    min-height: auto;
  }

  .hero-text {
    margin-left: 12px;
    margin-right: 12px;
    padding: 20px 16px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-text p {
    font-size: 15px;
    line-height: 1.5;
  }

  .hero-button {
    margin-left: 12px;
    margin-right: 12px;
    width: calc(100% - 24px);
  }

  #services h2,
  #commercial h2,
  #residential h2 {
    font-size: 28px;
  }

  #commercial p,
  #residential p {
    font-size: 16px;
  }

  .contact-section {
    padding: 60px 12px;
  }

  .contact-info h2 {
    font-size: 28px;
  }

  .contact-text,
  .info-item p {
    font-size: 15px;
  }

  .contact-form-wrap {
    padding: 18px;
    border-radius: 14px;
  }

  .form-group input,
  .form-group textarea {
    padding: 13px 14px;
    font-size: 16px;
  }

  .submit-btn {
    width: 100%;
    text-align: center;
  }
}
