.hero-content h1,
.hero-content p {
  text-shadow: 0 5px 10px #00000080;
}
.intro .content,
.vision .content {
  max-width: 80%;
  text-align: center;
}
.company-videos h2,
.intro .content,
.message,
.partners,
.service-card,
.services h2,
.texto2,
.vision .content {
  text-align: center;
}
.btn,
.contact-info a {
  text-decoration: none;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
body {
  background-color: #030e4f;
  overflow-x: hidden;
  transition: 1s;
}
.btn,
i {
  color: #fff;
  transition: 0.5s;
}
body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-thumb {
  background-color: #ff9100b4;
  border-radius: 10px;
}
body::-webkit-scrollbar-thumb:hover {
  background: #ff9100;
}
.back-btn:hover,
.contact-info a:hover,
i:hover {
  color: #ff6b00;
}
.btn {
  background: #08257d;
  font-weight: 700;
  padding: 0.8rem 2rem;
  border: 0;
  border-radius: 20px;
  cursor: pointer;
  display: inline-block;
}
.btn:hover {
  background: #ffa600;
}
.welcome .closer {
  height: 30px;
  width: 30px;
  cursor: pointer;
}
.vision,
.welcome {
  justify-content: center;
}
.welcome {
  width: 100vw;
  height: 100vh;
  background-color: #f0f0ff;
  display: flex;
  align-items: center;
  position: fixed;
  z-index: 9999999;
  flex-direction: column;
  transition: opacity 1s ease-out;
}
.intro,
.vision {
  position: relative;
}
.texto2,
.welcome .imagem svg {
  transition: opacity 0.5s ease-out;
}
.welcome .imagem svg {
  width: 100%;
  max-width: 500px;
}
.welcome .closer {
  position: absolute;
  top: 10px;
  right: 10px;
}
.contact::before,
.intro::before,
.vision::before {
  content: "";
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
}
.welcome .closer::after,
.welcome .closer::before {
  content: "";
  background-color: #e9640ba2;
  display: block;
  width: 30px;
  height: 5px;
  border-radius: 3px;
  position: absolute;
  top: 10px;
}
.welcome .closer::after {
  transform: rotate(45deg);
}
.welcome .closer::before {
  transform: rotate(-45deg);
}
.texto2 {
  font-size: clamp(1rem, 24px, 2rem);
  font-weight: bolder;
  color: #001547;
}
.texto1 {
  transition: opacity 1s ease-out;
  color: #333;
}
.hero,
.intro,
.services,
.vision {
  color: #fff;
  min-height: 100vh;
}
.hero {
  background-image: url("https://conteudo.imguol.com.br/c/colunas/8a/2025/02/28/quedas-de-kalandula-em-malanje-angola-1740758402740_v2_4x3.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 2.5rem 2rem;
}
.hero-content {
  max-width: 800px;
}
.company-videos,
.contact-container,
.services-grid {
  max-width: 1200px;
  margin: 0 auto;
}
.hero-content h1 {
  font-size: clamp(1rem, 7vw, 2rem);
  margin: 3rem 0 0;
  transition: 1s ease-in-out;
}
.hero-content p {
  font-size: clamp(1rem, 4vw, 1.3rem);
}
.services {
  padding: 4rem 2rem;
  background: #fff;
}
.services h2 {
  font-size: xx-large;
  margin-bottom: 3rem;
  color: #000;
}
.services .service-card h3 {
  font-size: x-large;
  text-align: center;
  margin-bottom: 1rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.service-card {
  background: #081663;
  padding: 1.5rem;
  border-radius: 25px;
  box-shadow: 0 0 10px #000, inset -10px -10px 10px #ffffff88,
    inset 10px 10px 10px #0962b688;
}
.partners,
.video-item {
  background-color: #fff;
  overflow: hidden;
}
.contact,
.vision {
  background-position: center;
}
.contact,
.vision,
select.form-control {
  background-repeat: no-repeat;
}
.company-videos,
.intro,
.vision {
  padding: 4rem 2rem;
}
.service-card img {
  width: clamp(150px, 100%, 300px);
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 1rem;
  aspect-ratio: 16/9;
}
.video-item,
.video-item iframe {
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgb(0 0 0 / 0.1);
}
.company-videos h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #f0f0ff;
}
.videos-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 2rem;
}
.video-item {
  transition: transform 0.3s ease-in-out;
}
.video-item:hover {
  transform: translateY(-5px);
}
.video-item video {
  width: 100%;
  height: auto;
  display: block;
}
.video-item iframe {
  width: 100%;
}
.vision {
  background-image: url("../images/l4.jpg");
  background-size: cover;
  display: flex;
  align-items: center;
}
.vision::before {
  position: absolute;
  background-color: #030e4f80;
  z-index: 1;
}
.intro > *,
.vision > * {
  position: relative;
  z-index: 2;
}
.vision h2 {
  font-size: xxx-large;
  margin-bottom: 2rem;
}
.vision p {
  font-size: 1.35rem;
}
.intro {
  background-size: 100% 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  animation: 20s ease-in-out infinite slider;
}
@keyframes slider {
  0%,
  10% {
    background-image: url("../images/bg9.jpg");
  }
  15% {
    background-image: url("../images/bg10.jpg");
  }
  30% {
    background-image: url("../images/bg3.webp");
  }
  45% {
    background-image: url("../images/bg4.webp");
  }
  60% {
    background-image: url("../images/bg6.webp");
  }
  75% {
    background-image: url("../images/bg7.webp");
  }
  100% {
    background-image: url("../images/bg8.jpg");
  }
}
.intro::before {
  position: absolute;
  background-color: rgb(3 14 79 / 0.5);
  z-index: 1;
}
.contact,
.intro .content {
  position: relative;
}
.intro .content {
  z-index: 2;
}
.intro h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgb(0 0 0 / 0.5);
}
.intro p {
  font-size: clamp(1rem, 2vw, 1.5rem);
  text-shadow: 1px 1px 2px rgb(0 0 0 / 0.5);
  line-height: 1.6;
}
.form-group label {
  font-size: 14px;
  color: #fff;
}
.partners {
  padding: 2rem 0;
}
.carousel {
  display: flex;
  gap: 40px;
  padding: 20px 0;
  width: 100%;
}
.carousel-inner {
  display: flex;
  gap: 40px;
  animation: 40s linear infinite scroll;
}
.carousel-item {
  flex: 0 0 150px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.carousel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
.carousel-inner:hover {
  animation-play-state: paused;
}
.contact {
  background-image: url("../images/fundo3.webp");
  background-size: cover;
  padding: 60px 0;
}
.contact::before {
  position: absolute;
  background: hsl(240 100% 6% / 0.4);
  z-index: 1;
}
.contact-container {
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 2;
}
.contact-form {
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgb(0 0 0 / 0.1);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
}
.contact-info h2 {
  margin-bottom: 30px;
}
.form-control {
  background-color: #4747478a;
  border-radius: 20px;
  width: 100%;
  padding: 12px;
  border: 0;
  color: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgb(0 123 255 / 0.25);
  outline: 0;
}
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M8 12L2 6h12z'/%3E%3C/svg%3E");
  background-position: right 12px center;
  padding-right: 36px;
}
textarea.form-control {
  resize: vertical;
  min-height: 100px;
}
.submit-btn {
  background-color: #ff6b00;
  color: #fff;
  padding: 12px 30px;
  border: 0;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 1s;
}
.submit-btn:hover {
  background-color: #081663;
}
.contact-info {
  color: #fff;
}
.contact-info h2 {
  font-size: 32px;
  font-weight: 700;
}
.contact-info address {
  font-style: normal;
  line-height: 1.8;
}
.contact-info a {
  color: #fff;
  transition: color 0.5s;
}
.map-container {
  width: 100%;
  height: 300px;
}
.map-container iframe {
  margin: 3% 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
}
.whatsapp-button {
  position: fixed;
  bottom: 3%;
  right: 3%;
  transition: transform 0.5s ease-in-out;
  z-index: 10;
}
.whatsapp-button img {
  width: 50px;
  height: 50px;
}
.whatsapp-button:hover {
  transform: scale(1.1);
}
@media (max-width: 767px) {
  .contact-info address,
  .intro p,
  .vision p {
    font-size: 1rem;
  }
  .hero h1 {
    margin-bottom: 7%;
  }
  .hero-content {
    width: 90%;
  }
  .intro h2,
  .services h2,
  .vision h2 {
    font-size: 2rem;
  }
  .company-videos h2,
  .contact-info h2,
  .services .service-card h3 {
    font-size: 1.55rem;
  }
  .company-videos {
    padding: 2rem 1rem;
  }
  .contact-container,
  .videos-container {
    grid-template-columns: 1fr;
  }
  .contact-info {
    text-align: center;
  }
  .whatsapp-button {
    bottom: 5%;
    right: 5%;
  }
  .whatsapp-button img {
    width: 35px;
    height: 35px;
  }
}
@media (min-width: 768px) {
  .hero-content {
    width: 80%;
  }
}
.blog-posts {
  padding: 60px 0;
  background-color: #f8f9fa;
}
.blog-posts h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #333;
  font-size: 2.5rem;
}
.posts-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}
@keyframes slide {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
.post-card {
  animation: slide 1s ease;
}
.post-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.post-image {
  height: 180px;
  overflow: hidden;
}
.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.post-card:hover .post-image img {
  transform: scale(1.05);
}
.post-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.post-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #333;
}
.post-date {
  color: #777;
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.post-summary {
  color: #555;
  margin-bottom: 15px;
  line-height: 1.5;
  flex-grow: 1;
}
.read-more {
  display: inline-block;
  padding: 8px 15px;
  background-color: #224b88;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}
.read-more:hover {
  background-color: #1a3967;
}
.loading {
  text-align: center;
  padding: 20px;
  color: #666;
}
@media (max-width: 768px) {
  .posts-container {
    flex-direction: column;
    align-items: center;
  }
  .post-card {
    max-width: 90%;
  }
}
