@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    color: #444;
    line-height: 1.7;
    padding-top: 70px; /* Adjusted for fixed navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #054a85;
}

.navbar {
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    background-color: #ffffff !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #054a85 !important;
}

.nav-link {
    color: #555 !important;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #007bff !important;
}

.hero-section {
    background: linear-gradient(rgba(5, 74, 133, 0.85), rgba(5, 74, 133, 0.85)), url('../../images/hero-2.png') no-repeat center center;
    background-size: cover;
    padding: 80px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    color: #fff;
    font-size: 2.8rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

.hero-section .lead {
    color: #f0f0f0;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 20px auto;
}

section {
    padding: 60px 0;
}


#problema h2, #solucao h2, #features h2, #quemsomos h2, #contato h2 {
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

#problema h2::after, #solucao h2::after, #features h2::after, #quemsomos h2::after, #contato h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 4px;
    background-color: #007bff;
    border-radius: 2px;
}

#solucao {
    background-color: #f8f9fa;
}

.feature-row {
    margin-bottom: 4rem;
}

.feature-row img {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease-in-out;
}

.feature-row img:hover {
    transform: scale(1.05);
}

#quemsomos img {
    max-width: 200px;
    margin-bottom: 20px;
}

#contato .php-email-form .form-control {
    background-color: #fdfdfd;
    border-color: #ddd;
    color: #444;
}

#contato .php-email-form .form-control:focus {
    box-shadow: none;
    border-color: #007bff;
}

#contato .php-email-form button[type="submit"] {
    background: #007bff;
    border: 0;
    padding: 10px 30px;
    color: #fff;
    transition: 0.4s;
    border-radius: 50px;
}

#contato .php-email-form button[type="submit"]:hover {
    background: #0069d9;
}

.info-box {
    padding: 20px;
    box-shadow: 0 0 30px rgba(214, 215, 216, 0.4);
    border-radius: 10px;
    margin-bottom: 20px;
}

.info-box h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

footer {
    background-color: #054a85 !important;
}

/* Form Styles from Emissao Instantanea */
#contato .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

#contato .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

#contato .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

#contato .php-email-form .error-message br+br {
  margin-top: 25px;
}

#contato .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}