/* Custom CSS for Provider Express */

/* Adicionando estilos para o logo */

/* Logo na navbar */
.logo-img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

/* Ajuste do logo quando a navbar está com scroll */
#mainNav.navbar-scrolled .logo-img {
    height: 35px;
}

/* Logo no footer */
.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 15px;
}

/* Ajustes responsivos para o logo */
@media (max-width: 991.98px) {
    .logo-img {
        height: 35px;
    }
}

@media (max-width: 575.98px) {
    .logo-img {
        height: 30px;
    }
    
    .footer-logo {
        height: 40px;
    }
}


:root {
    --primary: #CE9C03;
    --primary-light: #FFC107;
    --white: #FFFFFF;
    --dark: #212529;
    --light: #F8F9FA;
    --gray: #6C757D;
}

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.py-lg-7 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Navbar */
#mainNav {
    background-color: transparent;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

#mainNav.navbar-scrolled {
    background-color: var(--white);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

#mainNav .navbar-brand {
    color: var(--white);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

#mainNav.navbar-scrolled .navbar-brand {
    color: var(--dark);
}

#mainNav .nav-link {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

#mainNav.navbar-scrolled .nav-link {
    color: var(--dark);
}

#mainNav .nav-link:hover, #mainNav .nav-link:focus {
    color: var(--primary-light);
}

#mainNav.navbar-scrolled .nav-link:hover, #mainNav.navbar-scrolled .nav-link:focus {
    color: var(--primary);
}

/* Hero Section */
.hero-section {
    background-image: url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    min-height: 600px;
    position: relative;
    color: var(--white);
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.hero-image {
    max-height: 500px;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
}

/* Services Section */
.service-card {
    border: none;
    border-radius: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.service-icon i {
    font-size: 2.5rem;
}

/* About Section */
.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 1.5rem;
}

/* Features Section */
.feature-card {
    padding: 2rem;
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.feature-icon i {
    font-size: 2.5rem;
}

.cta-box {
    background-color: var(--primary);
    background-image: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

/* Testimonials Section */
.testimonial-card {
    background-color: var(--white);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

.testimonial-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
}

.testimonial-rating {
    color: var(--primary);
}

.client-logo {
    height: 80px;
    width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Contact Section */
.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.5rem;
}

.social-media {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary);
    transform: translateY(-5px);
}

.contact-form-card {
    background-color: var(--white);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--white);
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--white);
    opacity: 0.8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding-left: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    color: var(--white);
    opacity: 0.8;
}

.footer-contact li i {
    margin-right: 10px;
    color: var(--primary-light);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.back-to-top:hover {
    background-color: var(--primary-light);
    color: var(--white);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    #mainNav {
        background-color: var(--white);
        padding: 0.5rem 0;
    }
    
    #mainNav .navbar-brand, #mainNav .nav-link {
        color: var(--dark);
    }
    
    .hero-section {
        height: auto;
        padding: 120px 0 80px;
    }
}

@media (max-width: 767.98px) {
    .py-lg-7 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}