body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.6;
}

.top-bar {
  background: #0078d7;
  color: white;
  font-size: 0.9em;
  padding: 5px 0;
  text-align: center;
}

.top-bar a {
  color: white;
  text-decoration: none;
  margin: 0 5px;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

header {
  background: #f4f4f4;
  border-bottom: 2px solid #eaeaea;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo { height: 200px; }

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

nav a.active, nav a:hover { color: #0078d7; }

.hero {
  background: #0078d7;
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.hero.small-hero { padding: 50px 20px; }

.about, .calculator, .contact, .services {
  padding: 40px 20px;
}

.calculator, .contact, .services {
  background: #f9f9f9;
}

.services ul {
  list-style: disc;
  padding-left: 20px;
}

.services table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  overflow-x: auto;
  display: block;
}

.services th, .services td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.services th {
  background-color: #0078d7;
  color: white;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

input, textarea, button {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

button {
  background: #0078d7;
  color: white;
  cursor: pointer;
  border: none;
}

button:hover { background: #005fa3; }

footer {
  background: #f4f4f4;
  padding: 10px 0;
  text-align: center;
  border-top: 2px solid #eaeaea;
  font-size: 0.9em;
}

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 4px 0;
  transition: 0.4s;
}

@media screen and (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #f4f4f4;
    position: absolute;
    top: 70px;
    left: 0;
    opacity: 0;
    transition: all 0.5s ease;
  }
  nav ul.show {
    display: flex;
    opacity: 1;
  }
  .hamburger {
    display: flex;
  }
}

/* Back to Top Button */
#backToTop {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
  background-color: #0078d7;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
}

#backToTop:hover { background-color: #005fa3; }

.carousel-container {
  position: relative;
  max-width: 800px;
  margin: 20px auto;
  overflow: hidden;
}

.carousel-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
}

.carousel-slide img {
  width: 100%;
  border-radius: 5px;
  cursor: pointer;
}

/* Arrows */
.carousel-prev, .carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  padding: 10px 15px;
  font-size: 24px;
  cursor: pointer;
  border-radius: 50%;
  user-select: none;
}

.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

.carousel-prev:hover, .carousel-next:hover {
  background-color: rgba(0,0,0,0.8);
}

