
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
}
body {
  background: #f1f1f1;
  height: 100vh;
  line-height: 1.6;
  color: #333;
  /* ai duiline pore trouble korte pare. ai dui line footer ke buttom a stick kore rakar jonno use kortasi no special use */
  display: flex;
  flex-direction: column;
}
/* aitaw same duiline pore trouble korte pare. ai dui line footer ke buttom a stick kore rakar jonno use kortasi no special use */
main {
  flex: 1;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.picOfService img {
  width: 100%; /* makes image fill the container's width */
  height: 200px; /* keeps the aspect ratio */
  max-width: 320px; /* optional: max width limit */
  object-fit: contain; /* keeps the whole image visible without cropping */
  display: block; /* removes inline whitespace */
  border-radius: 10px; /* optional rounded corners */
}

.logo {
  width: 150px;
  height: 50px;
  background-image: url("./RobosyntaxLogo.png");
  background-size: contain;
  background-repeat: no-repeat;
}
header {
  background: #000000;
  color: #fff;
  padding: 1rem 0;
}

header .logo h1 {
  font-size: 1.8rem;
  margin: 0;
}

header nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
}

header nav ul li {
  margin: 0 15px;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
}

header nav ul li a:hover {
  text-decoration: underline;
}

/* Footer */

footer {

  bottom: 0;
  left: 0;
  width: 100%;
  background: #000;
  color: #fff;
  padding: 20px 40px 10px; /* bottom padding adjusted */
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-section {
  flex: 1 1 250px;
}

.footer-section h3 {
  margin-bottom: 10px;
  color: #fff;
}

.footer-section p,
.footer-section a {
  color: #bbb;
  font-size: 14px;
  text-decoration: none;
  display: block;
  margin: 5px 0;
}

.footer-section a:hover {
  color: #fff;
}

.footer-logo img {
  max-width: 150px;
  margin-bottom: 10px;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
}

.social-icons img {
  width: 24px;
  height: 24px;
}

.footer-bottom {
  text-align: center;
  margin-top: 15px;
  border-top: 1px solid #333;
  padding-top: 10px;
  font-size: 13px;
  color: #bbb;
}

@media (max-width: 768px) {
  .picOfService.responsive-img {
    width: 100%;
    height: auto;
    max-width: 320px;
    object-fit: contain;
    display: block;
  }
}



/* Hamburger button */
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

/* Mobile styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    display: none;  /* hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    background: #111;
    width: 100%;
    padding: 1rem;
  }

  nav.active {
    display: block; /* shown when active */
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
  }
}