:root {
    --primary-color: #004a8f;
    --secondary-color: #ffd700;
    --text-color: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
}

.header {
    background-color: var(--primary-color);
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}
   .message {
        margin-bottom: 20px;
        padding: 10px;
        border-radius: 5px;
        font-weight: bold;
    }
    .message.success {
        background-color: #d4edda;
        color: #155724;
    }
    .message.error {
        background-color: #f8d7da;
        color: #721c24;
    }
	
.hero {
    background: linear-gradient(rgba(0,74,143,0.5), rgba(0,74,143,0.6)), url('img/fundo1.jpg');
    background-size: cover;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    margin-top: 60px;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
	margin-left: auto;          /* Empurra o elemento para a direita */
    text-align: center;         /* Centraliza o texto dentro do contêiner */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
}

.services {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.services1 {
    overflow: hidden;
    position: relative;
    width: 100%;
	padding-right: 50px;  /* Afastamento à direita */    
    padding-left: 50px;   /* Afastamento à esquerda */
}

.services-slider {
    overflow: hidden;
    position: relative;
    width: 100%;


}

.services-grid {
    display: flex;
    gap: 2rem;
	
    padding: 0 20px; /* Para garantir que os cartões não encostem nas bordas */
    transition: transform 0.5s ease-in-out;
    width: calc(300px * 8); /* 6 serviços com largura de 300px cada */
	
}
.invisivel {
    font-size: 0; /* Tamanho 0 */
    height: 0;    /* Altura 0 */
    overflow: hidden; /* Oculta o que excede */
}

.service-card {
    width: 315px;
    padding: 2rem;
	box-sizing: border-box; /* Inclui o padding no cálculo da largura */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card svg {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    fill: var(--primary-color);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}


.pn-button {
    //background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    //transform: translateY(50%);
}

.prev {
    left: 10px; /* Distância da borda esquerda */
}

.next {
    right: 10px; /* Distância da borda direita */
}

.pn-button:hover {
     background-color: darken(var(--primary-color), 10%);
}


.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem;
    text-align: center;
}

.about-master{
	background: #bfdeeb;
	width: 100%;
}
.about {
    padding: 4rem 2rem;
	
    max-width: 1200px;
    margin: 0 auto;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
	background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}


/* carrosel dos bancos */
/* style.css */

/* Estilo para a seção do carrossel */
.carousel-section {
  padding: 40px 0;
  text-align: center;
  background-color: #f1f1f1;
}

.carousel-section h2 {
     text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.carousel-section p {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 20px;
}

/* Estilo para o container do carrossel */
.carousel-container {
  overflow: hidden;
  width: 100%;
  padding: 40px;
  background-color: #5ecde0;
  display: flex;
  justify-content: center;
  position: relative;
}

.carousel {
  display: flex;
  gap: 20px;
  animation: scroll 30s linear infinite;
  transform: translateX(50%); /* Centraliza o primeiro logo inicialmente */
}

.partner-logo {
  flex: 0 0 auto; /* Garante que cada logo tenha largura fixa */
}

.partner-logo img {
  width: 100px;
  height: auto;
  transition: transform 0.3s;
}

.partner-logo img:hover {
  transform: scale(1.5);
}

/* Animação para rolagem contínua */
@keyframes scroll {
  0% {
    transform: translateX(50%); /* Começa com o primeiro logo no centro */
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Estilos do carrossel (os mesmos do exemplo anterior) 
.carousel-container {
  overflow: hidden;
  width: 100%;
  background-color: #f9f9f9; /* Cor de fundo opcional 
  padding: 20px;
}

.carousel {
  display: flex;
  gap: 20px;
  animation: slide 15s linear infinite;
}

.partner-logo img {
  width: 100px; /* Ajuste o tamanho conforme necessário 
  height: auto;
  transition: transform 0.3s;
}

.partner-logo img:hover {
  transform: scale(1.1); /* Efeito de zoom ao passar o mouse 
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
*/

.contact {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.submit-button {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.submit-button:hover {
    opacity: 0.9;
}

.social-media {
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
    
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.social-icon {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--primary-color);
}

.social-icon span {
    font-size: 0.7rem;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }
}
