* {
  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;
}

.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;
  }
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  height: 20px;
  justify-content: space-between;
}

.hamburger .bar {
  height: 3px;
  width: 25px;
  background-color: #333;
}

.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 20px 20px;
  background-color: #fff;
  background-image: url("/img/Solutions.png");
  background-repeat: no-repeat;
  background-position: right top;
  background-size: contain;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 30%;
  height: 60%;
  background-image: radial-gradient(#ccc 1.4px, transparent 1.4px);
  background-repeat: repeat;
  background-size: 20px 20px;
  pointer-events: none;
}

.hero-text {
  max-width: 60%;
  padding-left: 300px;
}

.hero-text h1 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  color: #000;
}

.hero-text p {
  font-size: 1.1rem;
  color: #555;
}

.hero-cta {
  display: inline-block;
  background-color: #ff4f00;
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: bold;
}

.hero-images {
  position: relative;
  max-width: 100%;
}

.main-hero-image {
  height: auto;
}

.circle-hero-image {
  position: absolute;
  bottom: -20vh;
  right: 10vw;
  width: 20vw;
  height: 20vw;
  object-fit: cover;
  border-radius: 50%;
}

.linha-final {
  width: 20vw;
  border: 0;
  height: 0.25vw;
  background-color: #357896;
  margin: 20px auto;
  border-radius: 1.5vw;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    background-position: center top;
  }
  .hero-text,
  .hero-images {
    max-width: 100%;
  }
  .hero-images {
    margin-top: 20px;
  }
  .circle-hero-image {
    position: static;
    display: block;
    margin: 10px auto 0;
  }
}

.content-block {
  text-align: center;
  padding: 60px 20px;
  max-width: 800px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.content-block h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
}

.content-block p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 600px;
}

.key-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background-color: #fff;
  background-image: radial-gradient(#ccc 1.5px, transparent 1.5px);
  background-repeat: repeat;
  background-size: 20px 20px;
  text-align: center;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.stat {
  padding: 0 20px;
}

.number {
  font-size: 3rem;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
  position: relative;
  z-index: 1;
  display: inline-block;
}

.number::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.2em;
  width: 100%;
  height: 0.4em;
  background-color: #a6e1f9;
  z-index: -1;
}

.stat h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #000;
}

.stat .number {
  font-size: 3rem;
  font-weight: 700;
  color: #000;
  position: relative;
  display: inline-block;
  line-height: 1.2;
}

.stat .number::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.1em;
  width: 100%;
  height: 0.2em;
  background-color: #2d92ba;
  z-index: -1;
}

.stat p {
  font-size: 1rem;
  line-height: 1.4;
  color: #333;
  max-width: 250px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .key-stats {
    grid-template-columns: 1fr;
  }
  .stat {
    margin-bottom: 40px;
  }
}

.icons .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.icons {
  background-color: #f9f9f9;
  padding: 2rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

.icons-section {
  width: 100%;
  background-color: #f9f9f9;
  padding: 2rem 0;
}

.icons-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 2rem;
}

.icons .container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 250px;
}

.icon-item img {
  width: 64px;
  margin-bottom: 1rem;
}

.icon-item h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.icon-item p {
  font-size: 1rem;
  color: #555;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .icons {
    flex-direction: column;
    align-items: center;
  }
}

.vertical-tabs {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.vertical-tabs h2 {
  text-align: center;
  margin-bottom: 30px;
}

.tabs-container {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.tabs-menu {
  width: 250px;
  border-right: 1px solid #ddd;
}

.tabs-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tabs-menu ul li {
  padding: 15px 20px;
  cursor: pointer;
  border-bottom: 1px solid #ddd;
  background: #fff;
  transition: background 0.3s;
}

.tabs-menu ul li.active,
.tabs-menu ul li:hover {
  background: #0072ce;
  color: #fff;
}

.tabs-content {
  position: relative;
  width: 100%;
  height: 600px;
  overflow-y: auto;
  background: url("/img/Solutions_small.png") center center no-repeat;
  background-size: cover;
  border-radius: 8px;
}

.tab-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  display: none;
}

.tab-content.active {
  display: block;
  z-index: 1;
}

.tab-content.active::before {
  content: "";
  position: absolute;
  top: -4rem;
  left: -4rem;
  width: 20rem;
  height: 20rem;
  background: radial-gradient(circle, #f9f9f9 20%, transparent 80%);
  border-radius: 50%;
  z-index: -1;
}

.tabs-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0 1rem;
  position: relative;
  z-index: 10;
}

.tabs-nav .prev-tab,
.tabs-nav .next-tab {
  background-color: #f5f5f5;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: background-color 0.2s ease;
}

.tabs-nav .prev-tab:hover,
.tabs-nav .next-tab:hover {
  background-color: #e0e0e0;
}

.tabs-nav .tab-count {
  font-size: 1rem;
  color: #666;
  font-weight: 600;
}

.tab-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #000;
}

.tab-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1.5rem;
}

.tab-content ul {
  margin-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.tab-content ul li {
  list-style-type: disc;
  margin-bottom: 0.5rem;
  color: #333;
}

.tab-content a.cta-link {
  display: inline-block;
  color: #0072ce;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tab-content a.cta-link:hover {
  color: #005fa3;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .tabs-container {
    flex-direction: column;
  }
  .tabs-menu {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ddd;
  }
  .tabs-nav {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
  }
  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
  }
  nav ul li {
    width: 100%;
  }
  .hamburger {
    display: flex;
  }
  .mega-menu {
    width: 100%;
    flex-direction: column;
  }
  .key-stats {
    flex-direction: column;
    align-items: center;
  }
  .icons {
    flex-direction: column;
    align-items: center;
  }
  .tabs-menu ul li {
    margin-bottom: 5px;
  }
}

.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;
  }
}
