/*====================
  General Styles
====================*/
:root {
    --primary-color: #5e17eb;
    --primary-dark: #4812bb;
    --primary-light: #7a3cff;
    --secondary-color: #ff5722;
    --dark-color: #121212;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --body-font: 'Poppins', sans-serif;
    --heading-font: 'Montserrat', sans-serif;
}

body {
    font-family: var(--body-font);
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
}

a {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

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

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

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

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

/*====================
  Navbar Styles
====================*/
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
    background-color: transparent;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
}

.navbar-dark .navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--primary-color);
}

.navbar-scrolled {
    background-color: rgba(18, 18, 18, 0.95);
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.social-icon, .social-icon-footer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.social-icon-footer:hover {
    background-color: #fff;
    color: var(--primary-color);
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5));
    pointer-events: none;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/*====================
  About Section
====================*/
.about-image {
    overflow: hidden;
}

.experience-badge {
    position: absolute;
    bottom: -25px;
    right: 30px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    line-height: 1.2;
}

.feature-item {
    margin-bottom: 1.5rem;
}

.icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.counter-row {
    background-color: #f8f9fa;
    border-radius: 10px;
}

.counter-value {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/*====================
  Services Section
====================*/
.service-card {
    transition: all 0.3s ease;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(94, 23, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-features {
    list-style-type: none;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.mini-service-card {
    transition: all 0.3s ease;
}

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

/*====================
  Contact Section
====================*/
.contact-form .form-control {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(94, 23, 235, 0.25);
}

.contact-item a {
    color: #333;
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* Estilos para as mensagens de alerta do formulário */
.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 5px solid #28a745;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 5px solid #dc3545;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/*====================
  Footer
====================*/
.footer-links a {
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary-light) !important;
    padding-left: 5px;
}

/*====================
  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);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

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

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

/*====================
  Responsive Styles
====================*/
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(18, 18, 18, 0.95);
        padding: 1rem;
        border-radius: 5px;
        margin-top: 0.5rem;
    }
    
    .hero-section {
        height: auto;
        padding: 120px 0 80px;
    }
    
    .experience-badge {
        width: 90px;
        height: 90px;
        bottom: -15px;
        right: 15px;
    }
    
    .experience-badge .years {
        font-size: 1.8rem;
    }
    
    .experience-badge .text {
        font-size: 0.7rem;
    }
}

@media (max-width: 767.98px) {
    .service-card {
        margin-bottom: 2rem;
    }
    
    .counter-value {
        font-size: 2rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    h1.display-4 {
        font-size: 2.5rem;
    }
    
    h2.display-5 {
        font-size: 2rem;
    }
    
    .experience-badge {
        width: 80px;
        height: 80px;
        bottom: -10px;
        right: 10px;
    }
    
    .experience-badge .years {
        font-size: 1.5rem;
    }
    
    .experience-badge .text {
        font-size: 0.6rem;
    }
} 