body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background: #f5f5f5;
  color: #1e2a38;
}

header {
  background: #1e2a38;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

header h1 {
  color: white;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

header p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: white;
}

.logo {
  display: flex;
  justify-content: center;
}

.logo img {
  max-width: 100%;
  height: auto;
}

nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-cta {
  display: flex;
  justify-content: center;
}

nav a {
  color: white;
  text-decoration: none;
}

.header-phone {
  margin-top: 0.5rem;
}

.header-phone a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 2px solid white;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.header-phone a:hover {
  background-color: white;
  color: #1e2a38;
}

.cta {
  background: #ff6b35;
  padding: 0.5rem 1rem;
  border-radius: 5px;
}


.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.hero-buttons .btn {
  background: #ff6b35;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
}

.btn.secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.section {
  padding: 4rem 2rem;
  text-align: center;
}

.services-industries-wrapper .section {
  padding: 2rem 2rem;
}

.services-industries-wrapper {
  background: url('tower.jpg') center/cover no-repeat;
  position: relative;
}

.services-industries-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
  z-index: 0;
}

.services-industries-wrapper > * {
  position: relative;
  z-index: 1;
}

.services-industries-wrapper .back-to-top a {
  color: #1e2a38;
  border-color: #1e2a38;
}

.services-industries-wrapper .back-to-top a:hover {
  background-color: #1e2a38;
  color: white;
}

#services,
#industries {
  position: relative;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-info {
  max-width: 500px;
  margin: 0 auto 2rem;
  text-align: left;
}

.contact-info p {
  margin: 1rem 0;
}

.contact-info a {
  color: #ff6b35;
  text-decoration: none;
}

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

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: auto;
}

form label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

form label input,
form label textarea {
  width: 100%;
  box-sizing: border-box;
}

.form-message {
  max-width: 500px;
  margin: 0 auto 1rem;
  padding: 1rem;
  border-radius: 5px;
  text-align: center;
  font-weight: 500;
  animation: slideDown 0.3s ease-out;
}

.form-message-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

input, textarea {
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  background: #ff6b35;
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 5px;
}

.back-to-top {
  margin-top: 2rem;
  text-align: center;
}

.back-to-top a {
  color: #ff6b35;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid #ff6b35;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.back-to-top a:hover {
  background-color: #ff6b35;
  color: white;
}

footer {
  background: #1e2a38;
  color: white;
  text-align: center;
  padding: 2rem;
}

.map-controls {
  text-align: center;
  margin: 1rem 0;
}

.map-zoom-btn {
  background: #ff6b35;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.map-zoom-btn:hover {
  background: #e55a2b;
}

.map-container {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Tablet styles (768px and below) */
@media (max-width: 768px) {
  header {
    padding: 1rem;
  }

  header h1 {
    font-size: 1.5rem;
  }

  header p {
    font-size: 0.9rem;
  }

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .header-phone {
    margin-top: 0.75rem;
  }

  .header-phone a {
    font-size: 1rem;
    padding: 0.4rem 0.8rem;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    margin: 0.25rem 0;
    text-align: center;
  }

  .section {
    padding: 2rem 1rem;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .card {
    padding: 1.5rem;
  }

  .contact-info {
    padding: 0 1rem;
  }

  .map-container {
    margin-top: 1rem;
  }

  #map {
    height: 400px !important;
  }

  .map-zoom-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  #about p {
    line-height: 1.6;
  }
}

/* Mobile styles (480px and below) */
@media (max-width: 480px) {
  header {
    padding: 0.75rem;
  }

  header h1 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
  }

  header p {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
  }

  .logo img {
    max-width: 80%;
  }

  nav ul {
    font-size: 0.9rem;
    gap: 0.25rem;
  }

  nav ul li {
    padding: 0.25rem 0;
  }

  .hero-buttons {
    max-width: 220px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

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

  .section {
    padding: 1.5rem 1rem;
  }

  .section h2 {
    font-size: 1.5rem;
  }

  .card {
    padding: 1rem;
  }

  .contact-info {
    font-size: 0.9rem;
  }

  .contact-info p {
    margin: 0.75rem 0;
  }

  form {
    padding: 0 0.5rem;
  }

  input, textarea {
    padding: 0.75rem;
    font-size: 1rem;
  }

  button {
    padding: 0.75rem;
    font-size: 1rem;
  }

  #map {
    height: 300px !important;
    margin-top: 1rem !important;
  }

  .map-zoom-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    width: 100%;
    max-width: 280px;
  }

  #about p {
    line-height: 1.6;
    text-align: left;
  }

  footer {
    padding: 1rem;
    font-size: 0.9rem;
  }
}