@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --bg-primary: #1a202c;
  --bg-secondary: #2d3748;
  --text-primary: #e2e8f0;
  --text-secondary: #a0aec0;
  --card-bg: #2d3748;
  --card-hover: #4a5568;
  --header-bg: #161515;
  --footer-bg: #161515;
  --border-color: #4a5568;
  --input-bg: #2d3748;
  --input-border: #4a5568;
  --shadow-color: rgba(0, 0, 0, 0.3);
}

.light-mode {
  --bg-primary: #1a202c;
  --bg-secondary: #2d3748;
  --text-primary: #e2e8f0;
  --text-secondary: #a0aec0;
  --card-bg: #2d3748;
  --card-hover: #4a5568;
  --header-bg: #161515;
  --footer-bg: #161515;
  --border-color: #4a5568;
  --input-bg: #2d3748;
  --input-border: #4a5568;
  --shadow-color: rgba(0, 0, 0, 0.3);
}

body {
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.3s, color 0.3s;
}

header {
  background-color: var(--header-bg);
  box-shadow: 0 2px 4px var(--shadow-color);
}

.bg-header-bg{
  background-color: #161515;
}

.bg-petroleum {
  background-color: #006d77;
}

.text-petroleum {
  color: #006d77;
}

.border-petroleum {
  border-color: #006d77;
}

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.transition-all {
  transition: all 0.3s ease;
}

.hero-bg {
  /*background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("https://images.unsplash.com/photo-1494976388531-d1058494cdd8?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80");*/
  background-size: cover;
  background-position: center;
}

#meuVideo {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover; /* cobre toda a tela sem distorcer */
  z-index: -1; /* fica atrás dos outros elementos */
  background-size: cover;
  background-position: center;
}

#meuVideoServices {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 90%;
  min-height: 90%;
  object-fit: cover; /* cobre toda a tela sem distorcer */
  z-index: -1; /* fica atrás dos outros elementos */
  background-size: cover;
  background-position: center;
}

.carousel {
  position: relative;
  width: 100%;
  height: 150%;
}

.carousel img,
.carousel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel img.active,
.carousel video.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.carousel-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 3;
}

.carousel-controls button {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-controls button:hover {
  background: rgba(0, 109, 119, 0.8);
}

@media (max-width: 768px) {
  .carousel-controls {
    display: none;
  }
}

.service-card,
.testimonial-card,
.contact-card {
  background-color: var(--card-bg);
  color: var(--text-primary);
  box-shadow: 0 4px 6px var(--shadow-color);
}

.service-card:hover,
.testimonial-card:hover,
.contact-card:hover {
  transform: translateY(-10px);
  background-color: var(--card-hover);
  box-shadow: 0 10px 25px var(--shadow-color);
}

.service-card-s {
  border-left: 4px solid rgb(46, 48, 146); /* Azul padrão */
  transition: all 0.3s ease;
}

.service-card-s h3,
.service-card-s i,
.service-card-s li {
  color: rgb(46, 48, 146); /* Azul padrão */
}

.service-card-s span,
.service-card-s p {
  color: #000; /* Preto */
}

.service-card-s .icon-wrapper {
  background-color: #dbeafe; /* Fundo azul claro */
  transition: background-color 0.3s ease;
}

.service-card-s:hover {
  transform: scale(1.05) translateY(-10px);
  background-color: #000; /* fundo preto */
  box-shadow: 0 10px 25px rgba(255, 221, 0, 0.3); /* sombra amarela só na parte de baixo */
  border-left: 4px solid #facc15; /* Amarelo */
}

.service-card-s:hover h3,
.service-card-s:hover span,
.service-card-s:hover p,
.service-card-s:hover li,
.service-card-s:hover i {
  color: #facc15; /* Amarelo */
}

.service-card-s:hover .icon-wrapper {
  background-color: #fff; /* Fundo branco do ícone */
}

.btn-contact,
.btn-fort,
.benefits-i i {
  color: rgb(46, 48, 146); 
}

.bg-form{
 box-shadow: 10px 0 25px rgba(0, 0, 0, 0.913);
}

option {
  color: #161515;
}

.testimonial-card {
  transition: all 0.3s ease;
}

footer {
  background-color: var(--footer-bg);
  color: var(--text-primary);
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px var(--shadow-color);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

#mobile-menu {
  text-align: center;
}

#home{
 height: 500px;
}

.scroll-top {
  position: fixed;
  bottom: 40px;
  left: 40px;
  width: 40px;
  height: 40px;
  background-color: #006d77;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 100;
  cursor: pointer;
}

.scroll-top.visible {
  opacity: 0.7;
  visibility: visible;
}

.scroll-top:hover {
  opacity: 1;
}

input,
textarea {
  background-color: var(--input-bg);
  border-color: var(--input-border);
  color: var(--text-primary);
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

input:focus,
textarea:focus {
  border-color: #006d77;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 109, 119, 0.2);
}

.text-secondary {
  color: var(--text-secondary);
  font-size: 17px;
}

.border-secondary {
  border-color: var(--border-color);
}
.logo-container {
  width: 180px;
  height: 80px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px;
}

.logo-container img {
  width: 100%;
  height: 90%;
  object-fit: contain;
}
