/* Container styles */
.aboutus {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  color: #ffffff;
  padding: 60px 20px;
  background-color: #3f51b5;
  box-sizing: border-box;
}

.aboutus-container {
  width: calc(100% - 40px);
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 40px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.technologies {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 100%);
  box-sizing: border-box;
}

.tech-grid {
  width: calc(100% - 40px);
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 40px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.tech-header {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.tech-cta {
  width: calc(100% - 40px);
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.tech-contact {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  background: #05BFDB;
  box-sizing: border-box;
}

@media screen and (max-width: 1024px) {
  .aboutus-container,
  .tech-grid {
    padding: 0 15px;
  }

  .aboutus-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media screen and (max-width: 768px) {
  .aboutus,
  .technologies {
    padding: 40px 15px;
  }

  .aboutus-container,
  .tech-grid,
  .tech-cta {
    width: calc(100% - 30px);
    padding: 30px 20px;
    margin: 30px auto;
  }

  .aboutus-container {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #ffffff;
}

/* Typography */
h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  z-index: 2;
}

h2 {
  font-size: 1.5rem;
  font-weight: normal;
  margin-bottom: 40px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  z-index: 2;
}

/* Main Section Styles */
.main-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100vh;
  color: #ffffff;
  padding: 20px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #001A2F 0%, #1786f9 100%);
}
.highlight {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  margin-top: 50px;
  /* Adicionei um espaçamento maior */
  color: #ffffff;
  height: auto;
  /* Remove a altura fixa */
}

/* Carousel Styles */
.carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
}
.carousel img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
}
.carousel img.active {
  opacity: 1;
}

.carousel-text {
  position: absolute;
  padding: 20px 30px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  border-radius: 8px;
  max-width: 80%;
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  z-index: 2;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.carousel-text.active {
  opacity: 1;
}

.carousel-text.center {
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.carousel-text.left {
  bottom: 20%;
  left: 5%;
  text-align: left;
}

.carousel-text.right {
  bottom: 20%;
  right: 5%;
  text-align: right;
}

/* Scroll Icon Styles */
.scroll-icon {
  font-size: 2rem;
  color: #ffffff;
  animation: bounce 1.5s infinite;
  z-index: 10;
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-icon-variant {
  font-size: 2rem;
  margin-top: 40px;
  color: #000000;
  animation: bounce 1.5s infinite;
  z-index: 2;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

/* About Us Section Styles */
.aboutus {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  color: #ffffff;
  padding: 50px 20px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.aboutus-text {
  color: #fff;
  font-size: 1rem;
  /* line-height: 1.6; */
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  text-align: left;
}

.aboutus-text h2 {
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 15px;
  text-shadow: none;
}

.aboutus-text p {
  font-size: 1rem;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 20px;
}

.aboutus-text h4 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.aboutus-list {
  border-top: 1px solid #ccc;
  padding-top: 20px;
  margin-top: 20px;
}

.aboutus-list-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.aboutus-list-item svg {
  margin-right: 10px;
  color: #cddc39;
}
/* Technologies Section Styles */
.technologies {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  color: #ffffff;
  background: linear-gradient(135deg, #0A4D68 0%, #088395 100%);
  position: relative;
  overflow: hidden;
}

.tech-header {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-bottom: 40px;
}

.tech-header h1 {
  margin-bottom: 10px;
  /* background: linear-gradient(90deg, #64B5F6, #E1F5FE); */
  -webkit-background-clip: text;
  background-clip: text;
  color: white;
  display: inline-block;
  position: relative;
  font-size: 2.8rem;
}

.tech-header p {
  font-size: 1.2rem;
  color: #b3e5fc;
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.tech-grid {
  margin: 0 auto 50px;
  z-index: 1;
  position: relative;
}

.tech-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
  height: 100%;
  min-height: 380px;
  margin: 0;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  opacity: 0;
  transform: scale(0.5);
  transition: transform 0.5s ease-out, opacity 0.5s ease-out;
  z-index: -1;
  pointer-events: none;
}

.tech-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 20px rgba(79, 195, 247, 0.2);
}

.tech-card:hover::before {
  opacity: 0.8;
  transform: scale(1);
}

.tech-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #4fc3f7;
  background: linear-gradient(135deg, #00fefb 0%, #1786f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform-origin: center;
  transition: transform 0.3s ease;
}

.tech-card:hover .tech-icon {
  transform: scale(1.1) rotate(5deg);
}

.tech-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #e1f5fe;
  font-weight: bold;
  position: relative;
  padding-bottom: 10px;
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 auto;
  flex: 0 0 auto;
}

.tech-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #4fc3f7, transparent);
  transition: width 0.3s ease;
}

.tech-card:hover h3::after {
  width: 100px;
}

.tech-card p {
  font-size: 1rem;
  color: #b3e5fc;
  margin-bottom: 20px;
  line-height: 1.6;
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 auto;
  flex: 0 0 auto;
}
.tech-features {
  list-style-type: none;
  padding: 0;
  margin-bottom: 30px;
  width: 100%;
  -webkit-box-flex: 1;
  -webkit-flex: 1 0 auto;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  -webkit-row-gap: 1px;
  row-gap: 1px;
  -webkit-flex-direction: column;
}

.tech-features-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  padding: 6px 8px;
  border-radius: 4px;
  color: #b3e5fc;
  font-size: 0.95rem;
}

.tech-features-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateX(5px);
}

.tech-card:hover .tech-features-item {
  transform: translateX(3px);
}

.tech-features-item i {
  color: #64ffda;
  margin-right: 10px;
  font-size: 0.9rem;
  min-width: 16px;
  transition: transform 0.2s ease;
}

.tech-features-item:hover i {
  transform: scale(1.2);
}

.tech-cta {
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tech-cta h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #e1f5fe;
}

.tech-cta p {
  font-size: 1.1rem;
  color: #b3e5fc;
  margin-bottom: 25px;
}

/* Multi-step form styles */
.multi-step-form {
  width: 100%;
  max-width: 600px;
  margin: 30px auto 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.form-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  position: relative;
}

.form-progress::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 2px;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.form-progress::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #00fefb, #1786f9);
  z-index: 2;
  transition: width 0.5s ease;
}

.form-progress[data-current-step='1']::after {
  width: 0%;
}

.form-progress[data-current-step='2']::after {
  width: 50%;
}

.form-progress[data-current-step='3']::after {
  width: 100%;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 3;
}

.step-number {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #b3e5fc;
  font-weight: bold;
  margin-bottom: 8px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.step-name {
  font-size: 0.85rem;
  color: #b3e5fc;
  transition: all 0.3s ease;
}

.progress-step.active .step-number {
  background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
  color: white;
  box-shadow: 0 0 15px rgba(79, 195, 247, 0.5);
}

.progress-step.active .step-name {
  color: #e1f5fe;
  font-weight: bold;
}

.progress-step.completed .step-number {
  background: #64ffda;
  color: #1a2a3a;
}

.form-step {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

.form-step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-field {
  position: relative;
  margin-bottom: 20px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 15px 20px 15px 50px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #F5FDFF;
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #00fefb;
  box-shadow: 0 0 10px rgba(79, 195, 247, 0.3);
  background: rgba(255, 255, 255, 0.2);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #b3e5fc;
  opacity: 0.7;
}

.field-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #F5FDFF;
  font-size: 1.2rem;
  pointer-events: none;
  transition: all 0.3s ease;
}

.textarea-icon {
  top: 25px;
  transform: none;
}

.form-field:focus-within .field-icon {
  color: #64ffda;
  transform: translateY(-50%) scale(1.1);
}

.form-field:focus-within .textarea-icon {
  transform: scale(1.1);
}

.form-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.btn {
  padding: 12px 25px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 140px;
}

.btn-prev {
  background: rgba(255, 255, 255, 0.1);
  color: #b3e5fc;
}

.btn-prev:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-5px);
}

.btn-next {
  background: linear-gradient(135deg, #00fefb 0%, #1786f9 100%);
  color: white;
  box-shadow: 0 5px 15px rgba(41, 182, 246, 0.4);
}

.btn-next:hover {
  transform: translateX(5px);
}

.btn-submit {
  background: linear-gradient(135deg, #0A4D68 0%, #088395 100%);
  color: #F5FDFF;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(29, 233, 182, 0.4);
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(29, 233, 182, 0.6);
  background: linear-gradient(135deg, #088395 0%, #0A4D68 100%);
}
/* Media Queries */
@media screen and (max-width: 1024px) {
  .aboutus {
    padding: 40px 20px;
    height: auto;
    min-height: auto;
  }

  .aboutus-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0 15px;
    justify-content: center;
  }

  .aboutus-text {
    flex: 1 1 300px;
    min-width: 300px;
    padding: 15px;
  }

  .aboutus-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
    width: 100%;
    justify-content: flex-start;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .aboutus-list-item {
    flex: 1 1 calc(50% - 20px);
    min-width: 250px;
    margin: 0;
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  .aboutus {
    padding: 30px 15px;
  }

  .aboutus-container {
    gap: 25px;
  }

  .aboutus-text {
    flex: 1 1 100%;
    min-width: 100%;
    text-align: center;
  }

  .aboutus-list {
    gap: 15px;
    padding: 15px 0;
  }

  .aboutus-list-item {
    flex: 1 1 calc(50% - 15px);
    min-width: 200px;
    justify-content: flex-start;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
  }
  .tech-grid {
    grid-template-columns: 1fr;
    padding: 0 10px;
  }

  .tech-card {
    min-height: 320px;
    padding: 20px;
  }
  .aboutus-container,
  .tech-grid,
  .tech-cta {
    width: calc(100% - 30px);
    padding: 30px 20px;
    margin: 30px auto;
  }
}

.multi-step-form {
  margin-top: 20px;
  width: 100%;
}

.form-buttons {
  flex-direction: column;
  gap: 10px;
}

.btn {
  width: 100%;
}
.tech-header h1 {
  font-size: 2.2rem;
}

.tech-cta {
  padding: 30px 20px;
}

.tech-cta h2 {
  font-size: 1.6rem;
}

.highlight {
  margin-top: 100px;
  /* Aumentar o espaçamento entre as seções para telas menores */
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1rem;
  }

  .aboutus {
    padding: 25px 10px;
  }

  .aboutus-container {
    gap: 20px;
    padding: 10px;
  }

  .aboutus-text {
    padding: 10px 5px;
  }

  .aboutus-list {
    gap: 10px;
  }

  .aboutus-list-item {
    flex: 1 1 calc(50% - 10px);
    min-width: 140px;
    font-size: 0.9rem;
    padding: 8px;
  }

  .aboutus-list-item svg {
    width: 16px;
    height: 16px;
    margin-right: 8px;
  }

  .tech-grid {
    gap: 20px;
  }

  .tech-card {
    padding: 20px 15px 25px;
    min-height: 280px;
    margin-bottom: 5px;
    -webkit-flex: 1 0 290px;
    flex: 1 0 290px;
  }

  .tech-icon {
    font-size: 2.5rem;
  }

  .tech-header h1 {
    font-size: 1.8rem;
  }

  .tech-header p {
    font-size: 1rem;
  }
}

/* iPhone Safari specific fixes */
@supports (-webkit-touch-callout: none) {
  .aboutus {
    min-height: -webkit-fill-available;
    height: auto;
    padding-top: max(40px, env(safe-area-inset-top));
    padding-bottom: max(40px, env(safe-area-inset-bottom));
  }

  .aboutus-container {
    padding-left: max(10px, env(safe-area-inset-left));
    padding-right: max(10px, env(safe-area-inset-right));
  }
}
