/* Global Styles */
:root {
    --primary-color: #15253F;
    --secondary-color: #08172E;
    --accent-color: #CC7D51;
    --light-accent-color: #D9B59D;
    --medium-accent-color: #BD9060;
    --dark-blue: #2B305B;
    --light-color: #f8f9fa;
    --dark-color: #08172E;
    --transition: all 0.3s ease;
}

html,
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    overflow-x: hidden;
    max-width: 100%;
    scroll-behavior: smooth;
    position: relative;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-divider {
    height: 4px;
    width: 70px;
    background: var(--accent-color);
    margin: 0 auto 30px;
    border-radius: 2px;
}

/* Navbar Styles */
.navbar {
    padding: 10px 0;
    transition: var(--transition);
    background-color: var(--light-color);
}

.navbar .logo {
    height: 55px;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 5px 0;
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .logo {
    height: 50px;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: var(--transition);
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.nav-link:hover:after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(8, 23, 46, 0.9), rgba(21, 37, 63, 0.8)), url('https://cdn.prod.website-files.com/65818ff33a5087c1f3bbb728/66a78fd3876a6671517ae1bd_20240729T1230-f848ad7b-bc18-4346-96fa-cdc96c66935d.jpeg') no-repeat center center/cover;
    color: white;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    margin-bottom: 20px;
}

.hero-section p {
    margin-bottom: 30px;
    font-size: 1.2rem;
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    padding: 10px 25px;
    font-weight: 600;
    transition: var(--transition);
    border-radius: 30px;
}

.btn-primary:hover {
    background-color: var(--medium-accent-color);
    border-color: var(--medium-accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.service-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 3px solid var(--accent-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.service-card h4 {
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

#parceiros {
    background-color: var(--primary-color);
}

/* Partners Section */
.partners-grid {
    margin-top: 20px;
}

/* Estilos do Carousel de Parceiros */
#partnersCarousel {
    padding: 30px 10px;
    margin-bottom: 40px;
    transition: var(--transition);
}

#partnersCarousel .carousel-control-prev,
#partnersCarousel .carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition);
    opacity: 0.8;
}

#partnersCarousel .carousel-control-prev {
    left: -10px;
}

#partnersCarousel .carousel-control-next {
    right: -10px;
}

#partnersCarousel .carousel-control-prev:hover,
#partnersCarousel .carousel-control-next:hover {
    opacity: 1;
}

#partnersCarousel .carousel-indicators {
    bottom: -40px;
}

#partnersCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    margin-right: 5px;
    margin-left: 5px;
}

#partnersCarousel .carousel-indicators button.active {
    background-color: var(--accent-color);
    opacity: 1;
    transition: var(--transition);
}

/* Partners Carousel Styles */
.partner-logo {
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.partner-logo img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

.partner-logo:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

#partnersCarousel .carousel-inner {
    padding: 20px 0;
}

#partnersCarousel .carousel-control-prev,
#partnersCarousel .carousel-control-next {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    margin: 0;
    position: absolute;
}

#partnersCarousel .carousel-control-prev {
    left: -50px;
}

#partnersCarousel .carousel-control-next {
    right: -50px;
}

#partnersCarousel .carousel-control-prev:hover,
#partnersCarousel .carousel-control-next:hover {
    opacity: 1;
}

.partner-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 10px 0 0 0;
    text-align: center;
}

/* Testimonials Section */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 20px 10px;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding: 0 20px;
}

.testimonial-content p:before,
.testimonial-content p:after {
    content: '"';
    font-size: 50px;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
}

.testimonial-content p:before {
    top: -20px;
    left: -10px;
}

.testimonial-content p:after {
    bottom: -40px;
    right: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-info h5 {
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--primary-color);
}

/* Contact Section */
.contact-section {
    background-color: var(--light-accent-color);
    color: var(--dark-color);
    padding: 80px 0;
}

.contact-image {
    padding: 30px;
    padding-top: 0;
    padding-left: 0;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.contact-info {
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    margin-bottom: 20px;
    color: white;
}

.contact-info i {
    margin-right: 10px;
    font-size: 18px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.contact-form {
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    color: var(--dark-color);
    /* Ensure form text is dark */
}

.form-control,
.form-select {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 86, 179, 0.25);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    padding: 40px 0 20px;
}

footer .contact-info {
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-bottom: 20px;
    color: white;
}

footer .contact-info h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

footer .contact-info p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

footer .social-links {
    margin-top: 15px;
    display: flex;
    gap: 12px;
    justify-content: flex-start;
}

footer .social-icon {
    background-color: var(--light-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 16px;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

footer .social-icon i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

footer .social-icon:hover {
    background-color: var(--accent-color);
    color: var(--light-color);
    transform: translateY(-3px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 90px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #1b9146;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #25D366;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Mascot Styling */
.hero-image-container {
    position: relative;
    z-index: 2;
}

.hero-image-container.mobile {
    display: none;
    position: relative;
}

.hero-image-container.mobile img {
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 86%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 86%, rgba(0, 0, 0, 0) 100%);
}

.hero-image-container img {
    transition: var(--transition);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 86%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 86%, rgba(0, 0, 0, 0) 100%);
}

.hero-image-container img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3));
}

.contact-image {
    padding: 30px;
    padding-top: 0;
    padding-left: 0;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.contact-image.mobile {
    display: none;
}

.contact-image img {
    transition: var(--transition);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
    max-width: 100%;
    border-radius: 10px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 86%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 86%, rgba(0, 0, 0, 0) 100%);
}

.contact-image img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
}

/* Logo Styling */
.hero-logo img {
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
    transition: var(--transition);
}

.hero-logo img:hover {
    transform: scale(1.05);
}

/* Quem Somos Section */
.quem-somos-section {
    background-color: var(--light-accent-color);
    color: var(--dark-color);
    padding: 80px 0;
}

.section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 500;
}

.about-description {
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.8;
    font-size: 1.1rem;
}

.values-cards {
    margin-top: 40px;
}

.value-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.value-image {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 10px;
}

.value-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: var(--transition);
}

.value-card:hover .value-image img {
    transform: scale(1.05);
}

.value-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

.value-text {
    color: var(--quem-somos-text);
    font-size: 1.1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .navbar {
        padding: 10px 0;
    }

    .hero-section {
        height: auto;
        padding: 150px 0 100px;
    }

    .section-title {
        font-size: 2rem;
    }

    .navbar-brand img {
        max-width: 160px;
    }

    /* Imagens da mascote em telas medianas - menor destaque */
    .hero-image-container img,
    .contact-image img {
        max-width: 80%;
    }

    .contact-image.mobile {
        display: block;
        padding-left: 60px;
        padding-bottom: 0;
    }

    .testimonial-card,
    .contact-form,
    .contact-info {
        margin-bottom: 30px;
    }

    .contact-image {
        margin-bottom: 30px;
        justify-content: center;
    }

    .back-to-top,
    .whatsapp-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-divider {
        margin: 15px auto 25px;
    }

    .about-description {
        font-size: 1rem;
    }

    .contact-section,
    .quem-somos-section {
        padding: 50px 0;
    }

    section {
        padding: 60px 0;
    }

    .hero-section {
        text-align: center;
    }

    /* Esconder imagens da mascote em telas móveis */
    .hero-image-container,
    .contact-image {
        display: none;
    }

    .hero-image-container.mobile {
        display: block;
    }

    /* Ajustar largura das colunas em telas móveis para ocupar todo o espaço disponível */
    .col-md-6 {
        width: 100%;
    }

    /* Centralizar conteúdo principal */
    .row.h-100.align-items-center,
    .row.justify-content-center.align-items-center {
        text-align: center;
    }

    footer {
        text-align: center;
    }

    footer .text-md-end {
        text-align: center !important;
        margin-top: 20px;
    }

    footer .social-links {
        justify-content: center;
        margin-top: 15px;
    }

    footer .social-icon {
        width: 32px;
        height: 32px;
    }

    /* Centralizando informações de contato em telas menores */
    footer .contact-info {
        text-align: center;
    }

    footer .contact-info p {
        font-size: 0.9rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    footer .contact-info p i {
        margin-bottom: 5px;
    }

    .testimonial-card,
    .contact-form,
    .contact-info {
        padding: 20px;
    }

    /* Melhorar espaçamento para formulários e seções */
    .contact-form {
        margin-top: 20px;
        padding: 20px;
    }
}

@media (max-width: 576px) {

    html,
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
        margin: 0;
        padding: 0;
    }

    .container,
    .container-fluid,
    .row {
        overflow-x: hidden;
        padding-right: var(--bs-gutter-x, 0.75rem);
        padding-left: var(--bs-gutter-x, 0.75rem);
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .btn-lg {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .back-to-top,
    .whatsapp-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
        bottom: 20px;
    }

    .whatsapp-btn {
        right: 15px;
    }

    .back-to-top {
        right: 65px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-img {
        width: 50px;
        height: 50px;
    }

    footer .contact-info h3 {
        font-size: 1.1rem;
    }

    footer .contact-info p {
        font-size: 0.9rem;
    }

    /* Ajustes adicionais para telas muito pequenas */
    .navbar .logo {
        height: 45px;
    }

    .navbar.scrolled .logo {
        height: 40px;
    }

    /* Ajuste de padding para melhor visualização em telas muito pequenas */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}