/*Estilos Gerais*/
body,
html {
  font-family: "Open Sans", sans-serif;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  color: #777;
  font-weight: 400;
  width: 100% !important;
  height: 100% !important;
}

h2,
h3,
h4 {
  font-family: "Raleway", sans-serif;
}

h2 {
  text-transform: uppercase;
  margin: 0 0 20px;
  font-weight: 800;
  font-size: 36px;
  color: #333;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

h4 {
  font-size: 18px;
  color: #333;
  font-weight: 600;
}

h5 {
  text-transform: uppercase;
  font-weight: 700;
  line-height: 20px;
}

p {
  font-size: 15px;
}

p.intro {
  margin: 12px 0 0;
  line-height: 24px;
}

a {
  color: #608dfd;
  font-weight: 400;
}

a:hover,
a:focus {
  text-decoration: none;
  color: #608dfd;
}

ul,
ol {
  list-style: none;
  padding: 0;
  webkit-padding: 0;
  moz-padding: 0;
}

hr {
  height: 2px;
  width: 70px;
  text-align: center;
  position: relative;
  background: #1e7a46;
  margin-bottom: 20px;
  border: 0;
}

.section-title {
  margin-bottom: 70px;
}

.section-title h2 {
  position: relative;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

.section-title h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #5ca9fb 0%, #6372ff 100%);
  height: 4px;
  width: 60px;
  bottom: 0;
  margin-left: -30px;
  left: 50%;
}

.section-title p {
  font-size: 18px;
}

.tituloService {
  color: #d7d7d7;
}

.btn-custom {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  color: #fff;
  background-color: #5ca9fb;
  background-image: linear-gradient(to right, #5791cf 0%, #1a2ddb 100%);
  padding: 14px 34px;
  letter-spacing: 1px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.5s linear;
  border: 0;
}

.btn-custom:hover,
.btn-custom:focus,
.btn-custom.focus,
.btn-custom:active,
.btn-custom.active {
  color: #fff;
  background-image: none;
  background-color: #0e21ce;
}

.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

a:focus,
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: none;
  outline-offset: none;
}

/*Navegação*/
#menu {
  transition: all 0.8s;
}

#menu.navbar-default {
  background-color: #fff;
  border-color: rgba(231, 231, 231, 0);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

#menu a.navbar-brand {
  font-family: "Raleway", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
}

.logo-text {
  font-family: 'Exo', sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: #706e6e;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: tracking-out-contract .7s cubic-bezier(.55, .085, .68, .53) reverse both;
}

.logo-subtext {
  font-size: 13px;
  color: #a2b12f;
  text-transform: uppercase;
  letter-spacing: 4px;
  animation: tracking-out-contract .7s cubic-bezier(.55, .085, .68, .53) reverse both;
}

/* 🌞  */
.logo-s {
  position: relative;
  display: inline-block;
  z-index: 1;
  color: #706e6e;
  text-transform: uppercase;
}

/* Raios maiores */
.logo-s::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  transform: translate(-50%, -55%) rotate(320deg);
  z-index: -1;
  border-radius: 90%;
  background: repeating-conic-gradient(from 0deg,
      #ffd84d69 0deg 8deg,
      transparent 8deg 20deg);
  -webkit-mask: conic-gradient(black 0deg 180deg, transparent 180deg 360deg);
  mask: conic-gradient(black 0deg 180deg, transparent 180deg 360deg);
  -webkit-mask-composite: destination-in;
  mask-composite: intersect;
  animation: bigRaysAnimation 6s ease-in-out infinite alternate;
}

/* Raios menores */
.logo-s::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  transform: translate(-50%, -55%) rotate(315deg);
  z-index: -1;
  border-radius: 50%;

  background: repeating-conic-gradient(from 10deg,
      #fff06a 0deg 8deg,
      transparent 8deg 20deg);
  -webkit-mask: conic-gradient(black 0deg 180deg, transparent 180deg 360deg);
  mask: conic-gradient(black 0deg 180deg, transparent 180deg 360deg);
  -webkit-mask-composite: destination-in;
  mask-composite: intersect;
  animation: smallRaysAnimation 8s ease-in-out infinite alternate;
}


#menu.navbar-default .navbar-nav>li>a {
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  color: #555;
  font-size: 15px;
  font-weight: 400;
  padding: 8px 2px;
  border-radius: 0;
  margin: 9px 20px 0;
}

#menu.navbar-default .navbar-nav>li>a:after {
  display: block;
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%);
  content: "";
  transition: width 0.2s;
}

#menu.navbar-default .navbar-nav>li>a:hover:after {
  width: 100%;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
  background-color: transparent;
}

.navbar-default .navbar-nav>.active>a:after,
.navbar-default .navbar-nav>.active>a:hover:after,
.navbar-default .navbar-nav>.active>a:focus:after {
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  bottom: -1px !important;
  width: 100% !important;
  height: 2px !important;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%) !important;
  content: "" !important;
  transition: width 0.2s !important;
}

.navbar-toggle {
  border-radius: 0;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #fff;
  border-color: #608dfd;
}

.navbar-default .navbar-toggle:hover>.icon-bar {
  background-color: #608dfd;
}

/* Seção Header */
.intro {
  display: table;
  width: 100%;
  height: 100vh;
  padding: 0;
  background: url(../img/intro-bg.jpg) center center no-repeat;
  background-color: #000000;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}

.intro .overlay {
  background: rgba(0, 0, 0, 0.6);
  display: table-cell;
  vertical-align: middle;
}

/*Seção Header*/

header .intro-text {
  text-align: center;
}

.intro h1 {
  font-family: "Raleway", sans-serif;
  color: #ffffff;
  font-size: 82px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 20px;
}

.intro h1 span {
  font-weight: 800;
  color: #5ca9fb;
}

.intro p {
  color: #ffffff;
  font-size: 22px;
  font-weight: 300;
  line-height: 30px;
  margin: 0 auto 60px;
}

.intro-title,
.intro-paragraph,
.intro-button {
  opacity: 0;
  animation: fade-in-slide-up 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.intro-paragraph {
  animation-delay: 0.3s;
}

.intro-button {
  animation-delay: 0.4s;
}

/*Seção Features*/
#features {
  padding: 100px 0;
  background: #f6f6f6;
}

#features .section-title {
  margin-bottom: 50px;
}

#features .section-title h2 {
  text-transform: uppercase;
}

#features .row {
  display: flex;
  flex-wrap: wrap;
}

#features .col-xs-12.col-sm-6.col-md-3 {
  display: flex;
  padding: 15px;
}

.feature-card {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  width: 100%;
  height: 100%;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fade-in-slide-up 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px auto;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #eef7ff;
  transition: transform 0.5s ease;
}

.feature-icon i {
  font-size: 32px;
  color: #5ca9fb;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.feature-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

#features .col-md-3:nth-child(1) .feature-card {
  animation-delay: 0.1s;
}

#features .col-md-3:nth-child(2) .feature-card {
  animation-delay: 0.2s;
}

#features .col-md-3:nth-child(3) .feature-card {
  animation-delay: 0.3s;
}

#features .col-md-3:nth-child(4) .feature-card {
  animation-delay: 0.4s;
}

.feature-card:hover .feature-icon {
  animation: pulse 1.5s infinite;
}

/*Seção About*/
#about {
  padding: 100px 0;
}

#about h3,
#about h2,
#about p,
#about .about-text li,
#about img {
  opacity: 0;
  transform: translateY(30px);
}

#about.fade-in h2 {
  animation: fadeUp 1s ease forwards 0.5s;
}

#about.fade-in p {
  animation: fadeUp 1s ease forwards 0.8s;
}

#about.fade-in h3 {
  animation: fadeUp 1s ease forwards 1.2s;
}

#about.fade-in .about-text li {
  animation: fadeRight 0.8s ease forwards;
}

#about.fade-in .about-text li:nth-child(1) {
  animation-delay: 1s;
}

#about.fade-in .about-text li:nth-child(2) {
  animation-delay: 1.2s;
}

#about.fade-in .about-text li:nth-child(3) {
  animation-delay: 1.4s;
}

#about.fade-in .about-text li:nth-child(4) {
  animation-delay: 1.6s;
}

#about.fade-in img {
  animation: fadeZoom 1.2s ease forwards 0.3s;
}

#about .about-text li:before {
  content: "\f00c";
  font-family: "FontAwesome";
  color: #5ca9fb;
  font-size: 12px;
  font-weight: 300;
  padding-right: 8px;
}

#about img {
  max-width: 100%;
  height: auto;
  margin-top: 10px;
  background: #fff;
  border-right: 0;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  transform: scale(0.9);
}

/*Seção Services*/
#services {
  padding: 100px 0;
  background: linear-gradient(to right, #000641 0%, #3b71aa 100%);
  color: #fff;
}

#services .section-title {
  margin-bottom: 60px;
}

#services .row {
  display: flex;
  flex-wrap: wrap;
}

#services .col-md-4 {
  display: flex;
  padding: 15px;
}

.service-card-h {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.service-card-h:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.2);
}

.service-icon {
  margin-right: 20px;
}

.service-icon i {
  font-size: 28px;
  color: #fff;
  background: transparent;
  width: 55px;
  height: 55px;
  line-height: 55px;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.service-card-h:hover .service-icon i {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(360deg);
}

.service-content {
  text-align: left;
}

.service-content h3 {
  font-size: 18px;
  margin: 0 0 8px 0;
  color: #fff;
}

.service-content p {
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

/*Seção Portfolio*/
#portfolio {
  padding: 100px 0;
}

.portfolio-item {
  margin: 7px -5px 0 -14px;
  padding: 0;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: -4px 10px 15px rgb(0 0 0 / 73%);
  transition: transform 0.3s ease-in-out;
}

.portfolio-item:hover {
  transform: translateY(-10px);
}

.portfolio-item .hover-bg {
  overflow: hidden;
  position: relative;
  margin: 0;
}

.hover-bg .hover-text {
  position: absolute;
  text-align: center;
  margin: 0 auto;
  color: #fff;
  background: linear-gradient(to right,
      rgba(19, 36, 189, 0.8) 0%,
      rgba(29, 87, 150, 0.8) 100%);
  padding: 30% 0 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: all 0.5s;
}

.hover-bg .hover-text>h4 {
  opacity: 0;
  color: #fff;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  transition: all 0.3s;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 500;
  text-transform: uppercase;
}

.hover-bg:hover .hover-text {
  opacity: 1;
}

.hover-bg:hover .hover-text>h4 {
  opacity: 1;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

/*Seção Testimonials*/
#testimonials {
  padding: 100px 0;
  background: #f6f6f6;
}

#testimonials .row {
  display: flex;
  flex-wrap: wrap;
}

#testimonials .col-md-4 {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

#testimonials .card {
  flex-grow: 1;
}

.card {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 20px 30px -20px rgba(5, 5, 5, 0.2);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s ease-in-out;
}

.card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 35px -20px rgba(5, 5, 5, 0.25);
}

.card .header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.card .header .image {
  height: 4rem;
  width: 4rem;
  border-radius: 9999px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.card .stars {
  display: flex;
  gap: 0.125rem;
  color: #f59e0b;
}

.card .stars svg {
  height: 1rem;
  width: 1rem;
}

.card .name {
  margin-top: 0.25rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: #374151;
}

.card .message {
  margin-top: 1rem;
  color: #6b7280;
  font-size: 15px;
}

/*Seção Team*/
#team {
  padding: 100px 0;
}

#team h4 {
  margin: 5px 0;
}

#team .team-img {
  width: 240px;
}

#team .thumbnail {
  background: transparent;
  border: 0;
}

#team .thumbnail .caption {
  padding: 10px 0 0;
  color: #888;
}

/*Seção Contact */
#contact {
  border-top: 3px solid #1d5796;
  padding: 100px 0 60px;
  background: linear-gradient(to right, #000641 0%, #3b71aa 100%);
  color: rgba(255, 255, 255, 0.75);
  overflow-x: hidden;
}

#contact .section-title,
#contact form,
#contact .contact-info {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

#contact form {
  animation-delay: 0.3s;
}

#contact .contact-info {
  animation-delay: 0.6s;
}

#contact .section-title {
  margin-bottom: 40px;
}

#contact .section-title h2 {
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 30px;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

#contact .section-title h2::after {
  position: absolute;
  content: "";
  background: rgba(255, 255, 255, 0.3);
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 50%;
  margin-left: -30px;
}

#contact .section-title p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

#contact h3 {
  color: #fff;
  margin-top: 80px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  font-weight: 400;
}

#contact form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 20px 30px -20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* CORREÇÃO 1: Seletor unificado para todos os campos do formulário */
#contact form input,
#contact form select,
#contact form textarea {
  outline: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
  border-radius: 8px;
  width: 100%;
  color: #fff;
}

/* CORREÇÃO 2: Seletor corrigido para definir a altura do input e do select */
#contact form input,
#contact form select {
  height: 50px;
}

#contact form textarea {
  height: 120px;
  resize: none;
}

/* CORREÇÃO 3: Estilo para o placeholder dos inputs e textarea */
#contact form input::placeholder,
#contact form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* NOVO: Estilo para a primeira opção do select (que funciona como placeholder) */
#contact form select:required:invalid {
  color: rgba(255, 255, 255, 0.6);
}

#contact form select option {
  color: #333;
  /* Cor do texto das opções quando o dropdown está aberto */
}

#contact form select option[value=""] {
  color: rgba(255, 255, 255, 0.6);
}


#contact form button {
  align-self: flex-end;
  padding: 12px 20px;
  outline: 0;
  border: 0;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  background-color: #fff;
  color: #000641;
  cursor: pointer;
  transition: all 0.3s ease;
}

#contact form button:hover {
  background-color: #f0f0f0;
  transform: scale(1.05);
}

#contact .text-danger {
  color: #ff8a8a;
  text-align: left;
}

#contact .btn-custom {
  margin: 30px 0;
  background: transparent;
  border: 2px solid #fff;
  border-radius: 20px;
  color: #b9c4db;
}

#contact .btn-custom:hover {
  color: #1f386e;
  background: #fff;
}

#contact .contact-item {
  margin: 20px 0;
}

#contact .contact-item h3 {
  margin-top: 0;
}

#contact .contact-item a {
  text-decoration: none;
  color: rgb(172, 166, 166);
}

#contact .contact-item a:hover {
  color: rgb(231, 222, 222);
}

#contact .contact-item p {
  margin-bottom: 10px;
}

#contact .contact-item span {
  color: rgba(255, 255, 255, 1);
  margin-bottom: 10px;
  display: block;
}

#contact .contact-item i.fa {
  margin-right: 10px;
}

#contact .social {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 50px;
  margin-top: 50px;
  text-align: center;
}

#contact .social ul li {
  display: inline-block;
  margin: 0 20px;
}

#contact .social i.fa {
  font-size: 22px;
  width: 48px;
  height: 48px;
  padding: 12px 0;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 50%;
  transition: all 0.3s;
}

#contact .social i.fa:hover {
  color: #608dfd;
  background: #fff;
}

#contact .social ul li a {
  position: relative;
  display: inline-block;
}

#contact .social ul li a span {
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  color: #000641;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, bottom 0.3s ease;
  pointer-events: none;
}

#contact .social ul li a span::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

#contact .social ul li a:hover span {
  opacity: 1;
  visibility: visible;
  bottom: 135%;
}

/* Seção Footer */
#footer {
  background: linear-gradient(to right, #2c2c2c, #222222);
  padding: 30px 0;
  border-top: 3px solid #1d5796;

}

#footer p {
  color: #a0a0a0;
  margin: 0;

  font-size: 14px;
  letter-spacing: 0.5px;
}

#footer a {
  color: #ffffff;
  text-decoration: none;
}

#footer a:hover {
  color: #1d5796;
}