/* 
* Perícia Veterinária - Custom CSS
* Modern and responsive one-page website
*/

/* === GLOBAL STYLES === */
:root {
    --primary-color: #032e47;
    --secondary-color: #0a5083;
    --accent-color: #1a8ee7;
    --light-blue: #cce5ff;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --white-color: #ffffff;
    --gradient-primary: linear-gradient(135deg, #032e47 0%, #0a5083 50%, #1a8ee7 100%);
    --gradient-accent: linear-gradient(135deg, #1a8ee7 0%, #0a5083 100%);
    --transition: all 0.3s ease-in-out;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 10px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-color);
}

p {
    font-weight: 400;
    line-height: 1.7;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
}

.section-title h2 {
    position: relative;
    margin-bottom: 20px;
    font-size: 2.5rem;
    font-weight: 700;
}

.title-line {
    display: none;
}

.btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.btn-primary:hover, .btn-primary:focus {
    background: var(--gradient-accent);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn-outline-light {
    border: 2px solid var(--white-color);
}

.btn-outline-light:hover {
    color: var(--primary-color);
    background-color: var(--white-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* === SPLASH SCREEN === */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.splash-content {
    text-align: center;
    width: 80%;
    max-width: 400px;
}

.splash-logo {
    width: 350px;
    height: auto;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

.splash-welcome {
    transition: opacity 0.8s ease-in-out;
    text-align: center;
}

.splash-welcome h2 {
    color: var(--white-color);
    font-size: 27px;
    font-weight: 700;
    margin-bottom: 10px;
}

.splash-welcome p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-weight: 400;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === NAVBAR === */
.navbar {
    padding: 10px 0;
    transition: var(--transition);
    background-color: rgba(3, 46, 71, 0.9);
    width: 100%;
}

.navbar.navbar-scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background-color: var(--primary-color);
}

.navbar .container {
    position: relative;
    display: flex;
    align-items: center;
}

.navbar-brand {
    padding: 0;
    margin-right: 0;
}

.navbar-brand img {
    height: 90px;
    width: auto;
    transition: var(--transition);
}

.navbar-dark .navbar-nav {
    margin-left: auto;
    display: flex;
    gap: 25px;
    align-items: center;
}

@media (min-width: 992px) {
    .navbar .container {
        padding: 0 20px;
    }
    
    .navbar-brand {
        margin-right: 30px;
    }
    
    .navbar-dark .navbar-nav {
        margin-left: auto;
        display: flex;
        gap: 25px;
        align-items: center;
    }
    
    .navbar-dark .navbar-nav .nav-link {
        padding: 8px 0;
        text-align: center;
        font-weight: 600;
        letter-spacing: 0.5px;
        font-size: 17px;
        position: relative;
    }
    
    .navbar-dark .navbar-nav .nav-link.active {
        background-color: transparent;
        color: var(--white-color);
        position: relative;
    }
    
    .navbar-dark .navbar-nav .nav-link.active::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 2px;
        background-color: var(--accent-color);
        width: 100%;
    }
    
    .navbar-dark .navbar-nav .nav-link:hover:not(.active) {
        background-color: transparent;
        color: var(--accent-color);
    }
}

.navbar-dark .navbar-toggler {
    border-color: transparent;
    padding: 0;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 100;
}

.hamburger-icon {
    width: 30px;
    height: 24px;
    position: relative;
    margin: 0 auto;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--white-color);
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger-icon span:nth-child(1) {
    top: 0px;
}

.hamburger-icon span:nth-child(2) {
    top: 10px;
}

.hamburger-icon span:nth-child(3) {
    top: 20px;
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

.navbar-collapse {
    transition: all 0.3s ease-in-out;
}

.navbar-collapse.collapsing,
.navbar-collapse.show {
    background-color: var(--primary-color);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s forwards;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    height: 100vh !important;
    z-index: 1000;
    overflow-y: auto;
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 0;
    margin-top: 0;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.navbar-collapse.collapsing {
    height: auto !important;
    transition: all 0.3s ease;
    transform: translateX(100%);
}

.navbar-dark .navbar-nav {
    margin-top: 20px;
}

.navbar-dark .navbar-nav .nav-item {
    margin-bottom: 15px;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--white-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 10px 15px;
    border-radius: 0;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    background-color: transparent;
    color: var(--white-color);
    position: relative;
}

.navbar-dark .navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background-color: var(--accent-color);
    width: 100%;
}

.navbar-collapse.show .navbar-nav .nav-item {
    opacity: 0;
    transform: translateX(20px);
    animation: fadeInRight 0.5s forwards;
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.navbar-collapse.show .close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 1002;
}

.offcanvas-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.offcanvas-backdrop.show {
    display: block;
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    min-height: 90vh;
    background: url('../img/hero-image.jpg') no-repeat center center/cover;
    color: var(--white-color);
    display: flex;
    align-items: center;
    padding: 80px 0 60px;
    width: 100%;
    overflow: hidden;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(3, 46, 71, 0.65) 0%, rgba(10, 80, 131, 0.55) 50%, rgba(26, 142, 231, 0.45) 100%);
    z-index: 0;
    transform-style: preserve-3d;
    transform: translateZ(-0.5px) scale(1.5);
    will-change: transform;
}

.hero-section .container {
    position: relative;
    z-index: 1;
    transform-style: preserve-3d;
    transform: translateZ(0);
    will-change: transform;
}

.hero-section h1 {
    color: var(--white-color);
    margin-bottom: 20px;
    font-size: 3.5rem;
    position: relative;
    display: inline-block;
    text-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);
}

.hero-section h1::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
    margin: 0 auto;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section .btn {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* === QUEM SOMOS SECTION === */
.feature-item {
    background-color: var(--white-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    text-align: center;
    border: none;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-item:hover::before {
    width: 100%;
    opacity: 0.1;
}

.feature-item h5 {
    font-size: 1.1rem;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

#quem-somos img {
    box-shadow: none;
}

/* === SERVIÇOS SECTION === */
.servicos-bg {
    position: relative;
    background: var(--gradient-primary);
    color: var(--white-color);
}

.servicos-bg::before {
    display: none;
}

.servicos-bg .container {
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
    transform: translateZ(0);
    will-change: transform;
}

.servicos-bg .section-title h2 {
    color: var(--white-color);
}

.service-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--white-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    background-color: rgba(255, 255, 255, 0.15);
}

.service-card:hover::after {
    height: 10px;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--white-color);
    font-size: 1.8rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--white-color);
    color: var(--primary-color);
    transform: rotateY(180deg);
}

.service-card h4 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--white-color);
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* === EQUIPE SECTION === */
.team-card {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.team-img {
    position: relative;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    transition: var(--transition);
}

.team-card:hover .team-img img {
    transform: scale(1.05);
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h5 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.team-info p {
    color: #777;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: var(--gradient-primary);
    color: var(--white-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--gradient-accent);
    color: var(--white-color);
    transform: translateY(-3px);
}

/* === COMPROMISSO SECTION === */
.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-header {
    background-color: var(--white-color);
}

.accordion-button {
    padding: 20px;
    font-weight: 600;
    background-color: var(--white-color);
    color: var(--primary-color);
    box-shadow: none;
    border-radius: 10px !important;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: var(--white-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.accordion-button::after {
    background-size: 15px;
}

.stats-card {
    background-color: var(--white-color);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.stats-card:hover::before {
    opacity: 0.05;
}

.stats-icon {
    width: 60px;
    height: 60px;
    background: var(--light-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--primary-color);
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.stats-card:hover .stats-icon {
    background: var(--gradient-primary);
    color: var(--white-color);
    transform: rotateY(180deg);
}

.stats-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.stats-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.stats-card p {
    color: #777;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* === CONTATO SECTION === */
.contact-info {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-info h3 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 15px;
    position: relative;
    padding-top: 55px;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.contact-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item h5 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-form {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    height: 100%;
}

.form-control {
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    margin-bottom: 15px;
    transition: var(--transition);
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--accent-color);
    background-color: var(--light-blue);
    background-color: rgba(26, 142, 231, 0.05);
}

.form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-invalid:focus {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.is-invalid ~ .invalid-feedback {
    display: block;
}

.alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

textarea.form-control {
    resize: none;
}

/* === FOOTER === */
.footer {
    background: var(--gradient-primary);
    color: var(--white-color);
    padding: 50px 0 20px;
    width: 100%;
}

.footer h5 {
    color: var(--white-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--white-color);
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact li i {
    margin-right: 10px;
    color: var(--white-color);
}

.social-media {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
}

/* Logo do rodapé */
.footer-logo {
    height: 100px;
    width: auto;
    display: block;
    transition: var(--transition);
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    left: auto;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    color: #fff;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background-color: #25d366;
    opacity: 0.4;
    z-index: -1;
    animation: pulse-whatsapp 1.5s infinite;
}

@keyframes pulse-whatsapp {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }
    70% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* === ANIMATION STYLES === */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-in-out;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE STYLES === */
@media (max-width: 991.98px) {
    .navbar {
        padding: 12px 0;
    }

    .navbar.navbar-scrolled {
        padding: 10px 0;
    }
    
    .navbar-brand img {
        height: 55px;
    }
    
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-section h1 {
        font-size: 2.8rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .hero-section .btn {
        margin-bottom: 10px;
    }
    
    .splash-logo {
        width: 240px;
    }

    .navbar-collapse.show .navbar-nav {
        margin-top: 50px;
    }
    
    .navbar-dark .navbar-nav .nav-item {
        margin-bottom: 15px;
    }
    
    .navbar-dark .navbar-nav .nav-link {
        padding: 12px 20px;
        font-size: 16px;
        text-align: left;
        display: block;
    }
    
    .navbar-dark .navbar-nav .nav-link.active {
        background-color: transparent;
    }
}

@media (max-width: 767.98px) {
    .navbar {
        padding: 10px 0;
    }

    .navbar.navbar-scrolled {
        padding: 8px 0;
    }
    
    .navbar-brand img {
        height: 50px;
    }
    
    .hero-section {
        padding: 60px 0;
        background-position: center;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .contact-info, .contact-form {
        margin-bottom: 30px;
    }
    
    .hero-section .d-flex {
        flex-direction: column;
        width: 100%;
        gap: 10px !important;
    }
    
    .hero-section .btn {
        width: 100%;
        margin-right: 0;
    }
    
    .splash-logo {
        width: 220px;
    }
}

@media (max-width: 575.98px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .navbar {
        padding: 10px 0;
    }

    .navbar.navbar-scrolled {
        padding: 8px 0;
    }

    .navbar-brand {
        display: flex;
        align-items: center;
    }
    
    .navbar-brand img {
        height: 90px;
    }
    
    .navbar .container {
        justify-content: space-between;
    }
    
    .navbar-dark .navbar-toggler {
        padding: 4px;
        margin-left: 0;
    }
    
    .navbar-collapse.collapsing,
    .navbar-collapse.show {
        margin-top: 15px;
    }
    
    .hero-section {
        min-height: 80vh;
        padding: 60px 0 40px;
    }
    
    .hero-section h1 {
        font-size: 35px;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .hero-section .d-flex {
        flex-direction: column;
        width: 100%;
        gap: 10px !important;
    }
    
    .hero-section .btn {
        width: 100%;
        margin-right: 0;
    }
    
    .stats-card {
        padding: 15px;
    }
    
    .stats-card h3 {
        font-size: 2rem;
    }
    
    .stats-card h4 {
        font-size: 1.2rem;
    }
    
    .stats-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .splash-logo {
        width: 200px;
    }
}

.navbar-collapse.show .navbar-nav .nav-link:hover,
.navbar-collapse.show .navbar-nav .nav-link.active {
    background-color: transparent;
    color: var(--white-color);
    position: relative;
}

.navbar-collapse.show .navbar-nav .nav-link.active::after {
    content: '';
    display: block;
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 0;
    height: 2px;
    background-color: var(--accent-color);
}

/* === PARALLAX EFFECTS === */
.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    transform: translateZ(-1px) scale(2);
    transition: transform 0.1s ease-out;
}

.parallax-content {
    position: relative;
    z-index: 1;
    transform: translateZ(0);
}

.parallax-item {
    will-change: transform;
    transition: transform 0.2s ease-out;
}

.parallax-slow {
    transition-duration: 0.4s;
}

.parallax-medium {
    transition-duration: 0.3s;
}

.parallax-fast {
    transition-duration: 0.2s;
}

/* Adjust sections for parallax */
.hero-section {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.hero-section .hero-overlay {
    transform-style: preserve-3d;
    transform: translateZ(-0.5px) scale(1.5);
    will-change: transform;
}

.hero-section .container {
    transform-style: preserve-3d;
    transform: translateZ(0);
    will-change: transform;
}

.quem-somos-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-color: var(--light-color);
    z-index: -1;
    transform: translateZ(-0.3px) scale(1.3);
    will-change: transform;
}

.servicos-bg .container {
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
    transform: translateZ(0);
    will-change: transform;
}

/* Adjust the timeline section for parallax */
.timeline {
    transform-style: preserve-3d;
}

.timeline::after {
    transform: translateZ(-0.05px) scale(1.05);
    will-change: transform;
}

.timeline-dot {
    transform-style: preserve-3d;
    will-change: transform;
} 