* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  padding-top: 80px; 
}

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

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #fff;
  padding: 20px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  overflow: visible;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  color: #007bff;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle .bar {
  height: 3px;
  width: 25px;
  background: #333;
  margin: 4px 0;
}

.inovabot__heroBanner {
  background: url("/img/banner.jpg") 
              no-repeat center center / cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #423c3c;
  padding: 4rem 0;
}

.inovabot__container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem;
}

.inovabot__top {
  margin-bottom: 2rem;
}

.inovabot__top h1 {
  font-size: 2.5rem;
  margin-top: 1rem;
  color: #333;
  line-height: 1.2;
}

.orange-color {
  color: #357896;
  font-weight: bold;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.inovabot__logo-big,
.inovabot__logo-small {
  max-width: 200px;
  height: auto;
}

.big__screen {
  display: inline-block;
}

.short__screen {
  display: none;
}

@media (max-width: 768px) {
  .big__screen {
    display: none;
  }
  .short__screen {
    display: inline-block;
  }
}

#dynamicText {
  display: inline-block;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.inovabot__btns .btn,
.cta-button {
  display: inline-block;
  margin: 0.5rem 0.5rem 0 0;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  border-radius: 4px;
}

.orangeBtn {
  background-color: #357896;
  color: #fff;
}
.orangeBtn:hover {
  background-color: #357896;
}

.transparentBtn {
  background-color: transparent;
  color: #357896;
  border: 2px solid #357896;
}
.transparentBtn:hover {
  background-color: #357896;
  color: #fff;
}

section {
  padding: 80px 0;
}

.about, .services, .blog, .contact {
  background: #f9f9f9;
  text-align: center;
}

.service-items {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.service {
  background: #fff;
  padding: 20px;
  margin: 10px;
  flex: 1;
  min-width: 250px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#contact-form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto;
}

#contact-form input,
#contact-form textarea {
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 3px;
}

footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}


@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background: #fff;
    width: 200px;
    border: 1px solid #ddd;
    display: none;
  }
  nav ul li {
    margin: 10px 0;
  }
  .menu-toggle {
    display: flex;
  }
}

.contact {
  background: #f9f9f9;
  padding: 80px 0;
}

.contact .container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#contact h3 {
  display: block;
  font-size: 30px;
  font-weight: 300;
  margin-bottom: 10px;
}

#contact h4 {
  margin: 5px 0 15px;
  display: block;
  font-size: 13px;
  font-weight: 400;
}

fieldset {
  border: medium none !important;
  margin: 0 0 10px;
  min-width: 100%;
  padding: 0;
  width: 100%;
}

#contact input[type="text"],
#contact input[type="email"],
#contact input[type="tel"],
#contact input[type="url"],
#contact textarea {
  width: 100%;
  border: 1px solid #ccc;
  background: #FFF;
  margin: 0 0 5px;
  padding: 10px;
}

#contact input[type="text"]:hover,
#contact input[type="email"]:hover,
#contact input[type="tel"]:hover,
#contact input[type="url"]:hover,
#contact textarea:hover {
  transition: border-color 0.3s ease-in-out;
  border: 1px solid #aaa;
}

#contact textarea {
  height: 100px;
  max-width: 100%;
  resize: none;
}

#contact button[type="submit"] {
  cursor: pointer;
  width: 100%;
  border: none;
  background: #357896;
  color: #FFF;
  margin: 0 0 5px;
  padding: 10px;
  font-size: 15px;
}

#contact button[type="submit"]:hover {
  background: #357896;
  transition: background-color 0.3s ease-in-out;
}

#contact button[type="submit"]:active {
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

#contact input:focus,
#contact textarea:focus {
  outline: 0;
  border: 1px solid #aaa;
}

#contact-form {
  background: #fff;
  padding: 20px;
  margin: 10px;
  flex: 1;
  min-width: 300px;
  max-width: 600px; 
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.mega-dropdown {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%); 
  width: 90vw;
  max-width: 1200px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 9999;
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem; 
  padding: 2rem;  
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
               Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  color: #111; 
}


.mega-dropdown:hover .mega-menu {
  display: grid;
}

.mega-menu:hover {
  display: grid;
}

.mega-column {
  display: flex;
  flex-direction: column;
  text-align: left;  
}

.mega-column h3 {
  margin-bottom: 1rem;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  color: #333;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5rem;
}

.mega-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block !important;
}

.mega-column ul li {
  margin-bottom: 0.75rem;
}

.mega-column ul li a {
  display: block;
  font-size: 0.875rem;
  color: #111;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mega-column ul li a:hover {
  color: #007bff;
}

.mega-cta {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: #111;
  text-decoration: none;
  transition: color 0.2s ease;
}
.mega-cta:hover {
  color: #007bff;
}

@media (max-width: 992px) {
  .mega-menu {
    grid-template-columns: repeat(2, 1fr); 
  }
}
@media (max-width: 600px) {
  .mega-menu {
    position: static;
    transform: none;
    width: 100%;
    max-width: 100%;
    box-shadow: none;
    grid-template-columns: 1fr;
  }
}

.mega-footer {
  background: #333; 
  color: #fff;      
  padding: 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem; 
  align-items: start;
}

.footer-grid div {
  text-align: left; 
}

.footer-contacts h3,
.footer-solutions h3,
.footer-newsletter h3 {
  margin-bottom: 1rem;
  color: #357896;
  text-transform: uppercase;
  font-size: 1rem;
}

.footer-left h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}
.footer-left p {
  color: #ccc;
}
.footer-contacts ul,
.footer-solutions ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.footer-contacts li,
.footer-solutions li {
  margin-bottom: 0.5rem;
}
.footer-contacts a,
.footer-solutions a {
  color: #fff;
  text-decoration: none;
}
.footer-contacts a:hover,
.footer-solutions a:hover {
  text-decoration: underline;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 160px;
  padding: 0.5rem;
  border-radius: 4px;
  border: none;
}
.newsletter-form button {
  padding: 0.5rem 1rem;
  background-color: #357896;
  color: #fafafa;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.newsletter-form button:hover {
  background-color: #357896;
}


@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
