* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #222;
}

header {
  position: relative;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0b3c5d;
  color: #fff;
  padding: 0.75rem 1.5rem;
}

.logo {
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  padding: 0.5rem;
}

.nav-links a:hover {
  background: #FF9900;
  border-radius: 4px;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: #0b3c5d;
  min-width: 160px;
  top: 100%;
  left: 0;
  z-index: 10;
}

.dropdown-content a {
  display: block;
  padding: 0.5rem 1rem;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 56px;
    right: 0;
    background: #0b3c5d;
    flex-direction: column;
    width: 200px;
    display: none;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .dropdown:hover .dropdown-content {
    position: static;
  }
}

/* Hero slider */
.hero-slider {
  position: relative;
  overflow: hidden;
}

.hero-slider .slide {
  display: none;
  position: relative;
}

.hero-slider .slide.active {
  display: block;
}

/* Resize hero slider */
.hero-slider {
  position: relative;
  height: 450px; /* Adjust height here */
  overflow: hidden;
}

.hero-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures perfect cropping */
}
.slide-caption {
  position: absolute;
  bottom: 20%;
  left: 10%;
  color: #fff;
  max-width: 400px;
}

.slide-caption h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.slide-caption p {
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .hero-slider {
    height: 280px;
  }
}

/* Slider dots */
.slider-controls {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.dot.active {
  background-color: #fff;
}

/* Page banner */
.page-banner {
  position: relative;
  height: 350px; /* Adjust height as desired */
  overflow: hidden;
}

.page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image fills the banner nicely */
}

.banner-caption {
  position: absolute;
  bottom: 15%;
  left: 10%;
  color: #fff;
}

/* Sections */
.section {
  padding: 3rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section h2 {
  margin-bottom: 1rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.card {
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.card img {
  width: 100%;
  height: auto;
}

.card h3 {
  padding: 0.75rem 1rem 0;
}

.card p {
  padding: 0.5rem 1rem 1rem;
}

/* CTA */
.cta-section {
  text-align: center;
}

.cta-buttons {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: #0b3c5d;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}

.btn-secondary {
  background: #FF9900;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
  text-align: center;
}

.team-member img {
  border-radius: 50%;
}

/* Projects */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.project-card {
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  padding-bottom: 1rem;
}

.project-card img {
  width: 100%;
  height: auto;
}

.project-card h3,
.project-card p {
  padding: 0.5rem 1rem 0;
}

.project-list {
  margin-top: 1rem;
  padding-left: 1.2rem;
}

/* Contact */
.contact-form {
  max-width: 600px;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.5rem;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.form-status {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}

.map-placeholder img {
  max-width: 100%;
  height: auto;
}

/* Footer */
footer {
  background: #0b3c5d;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}
/* Bold engineering hero slider */
.hero-slider {
  position: relative;
  height: 520px; /* Strong, bold height */
  overflow: hidden;
  background: #111; /* Gives a strong industrial base tone */
}

.hero-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(85%); /* Adds a rugged, engineered feel */
}
/* Hide slider arrows */
.hero-slider .arrow,
.hero-slider .prev,
.hero-slider .next {
  display: none !important;
}
.slide-caption h1 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.slide-caption p {
  font-size: 1.1rem;
  max-width: 420px;
}

.slide-caption .btn {
  padding: 0.7rem 1.4rem;
  font-weight: bold;
  border-radius: 2px;
}
/* High-rise construction section */
.highrise-section {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.highrise-content {
  flex: 1;
}

.highrise-content h2 {
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #0b3c5d; /* Engineering blue */
}

.highrise-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.highrise-image {
  flex: 1;
  text-align: right;
}

.highrise-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Responsive layout */
@media (max-width: 900px) {
  .highrise-section {
    flex-direction: column;
  }

  .highrise-image {
    text-align: center;
  }
}
/* Road construction section */
.road-section {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.road-content {
  flex: 1;
}

.road-content h2 {
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #0b3c5d; /* Engineering blue */
}

.road-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.road-image {
  flex: 1;
  text-align: right;
}

.road-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Responsive layout */
@media (max-width: 900px) {
  .road-section {
    flex-direction: column;
  }

  .road-image {
    text-align: center;
  }
}