/* Oswalda Produções & Eventos - Advanced Custom Styles */

:root {
    --primary-color: #012398;
    --secondary-color: #dc3545;
    --warning-color: #ffc107;
    --success-color: #28a745;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --font-family: 'Poppins', sans-serif;
    --animation-duration: 0.8s;
    --hover-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --bounce-timing: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

* {
    font-family: var(--font-family);
}

body {
    padding-top: 76px; /* Account for fixed navbar */
    line-height: 1.6;
}

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

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

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

/* Advanced Navigation with Smooth Transitions */
.navbar {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.navbar .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
}

.navbar-brand {
    font-size: 1.3rem;
    font-weight: 700;
    transition: var(--hover-transition);
    margin-right: auto !important;
    padding-left: 0.5rem;
}

.navbar-brand:hover {
    transform: scale(1.05);
    color: var(--primary-color) !important;
}

.navbar-nav {
    gap: 1.5rem;
}

.nav-item {
    white-space: nowrap;
}

.nav-link {
    font-weight: 500;
    transition: var(--hover-transition);
    position: relative;
    overflow: hidden;
    color: #012398 !important;
    padding: 0.5rem 0.8rem !important;
    font-size: 0.95rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(1, 35, 152, 0.1), transparent);
    transition: left 0.6s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transition: all 0.4s var(--bounce-timing);
    transform: translateX(-50%);
    border-radius: 2px;
}

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

/* Melhorar espaçamento dos botões de ação */
.navbar .d-none.d-lg-flex {
    margin-left: auto !important;
    padding-right: 0.5rem;
    gap: 0.75rem;
}

/* Enhanced Hero Section with Advanced Animations */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    object-fit: cover;
    z-index: -2;
    transition: transform 0.1s linear;
}

.hero-overlay {
    background: linear-gradient(
        45deg,
        rgba(1, 35, 152, 0.85) 0%,
        rgba(243, 38, 51, 0.85) 100%
    );
    z-index: -1;
    animation: overlayPulse 4s ease-in-out infinite alternate;
}

.hero-content {
    z-index: 1;
    text-align: center;
    width: 100%;
}

.hero-title {
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.7);
    animation: heroTitleEntry 1.5s cubic-bezier(0.22, 1, 0.36, 1);
    background: linear-gradient(135deg, #fff, #f0f8ff);
    background-clip: text;
    -webkit-background-clip: text;
}

.hero-cta {
    transform: translateY(0);
    transition: all 0.4s var(--bounce-timing);
    box-shadow: 0 8px 25px rgba(243, 38, 51, 0.4);
    position: relative;
    overflow: hidden;
    background: #F32633;
    border: none;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(243, 38, 51, 0.6);
    background: #d11f2a;
}

.hero-cta:active {
    transform: translateY(-2px) scale(1.02);
}

/* Advanced Service Cards with Flip Effect */
.service-card {
    transition: all 0.5s var(--bounce-timing);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fff, #f8f9fa);
    border: 1px solid rgba(1, 35, 152, 0.1);
}

/* Service detail cards styling */
.service-detail-card {
  transition: all 0.3s ease;
  border-radius: 15px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.service-detail-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.service-detail-card:hover img {
  transform: scale(1.05);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--warning-color));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.service-card:hover::before {
    transform: translateX(0);
}

.service-card:hover {
    transform: translateY(-15px) rotateY(5deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.service-icon {
    transition: all 0.6s var(--bounce-timing);
    display: inline-block;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotateY(360deg);
}

.service-card:hover .service-icon i {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Page Heroes */
.page-hero {
    margin-top: 76px;
}

/* Advanced Portfolio with Zoom and Blur Effects */
.portfolio-item {
    transition: all 0.6s var(--bounce-timing);
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.portfolio-item:hover {
    transform: scale(1.08) translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.portfolio-img {
    height: 250px;
    object-fit: cover;
    transition: all 0.8s ease;
    filter: blur(0px) brightness(1);
}

.portfolio-overlay {
    background: linear-gradient(
        135deg,
        rgba(1, 35, 152, 0.95) 0%,
        rgba(220, 53, 69, 0.9) 50%,
        rgba(255, 193, 7, 0.85) 100%
    );
    opacity: 0;
    transition: all 0.6s var(--bounce-timing);
    backdrop-filter: blur(5px);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.2);
    filter: blur(2px) brightness(0.7);
}

/* Portfolio text animation */
.portfolio-overlay h5 {
    transform: translateY(30px);
    transition: all 0.6s ease 0.1s;
    opacity: 0;
}

.portfolio-overlay p {
    transform: translateY(20px);
    transition: all 0.6s ease 0.2s;
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay h5,
.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
    opacity: 1;
}

/* Contact Form */
.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(1, 35, 152, 0.25);
    transform: translateY(-2px);
}

.contact-item {
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 10px;
}

.contact-item:hover {
    background: var(--light-color);
    transform: translateX(5px);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-float .btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

/* Flash Messages */
.flash-messages {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1050;
    max-width: 400px;
}

/* Advanced Animations and Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroTitleEntry {
    0% {
        opacity: 0;
        transform: translateY(80px) scale(0.8);
        filter: blur(10px);
    }
    50% {
        opacity: 0.7;
        transform: translateY(20px) scale(0.95);
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes overlayPulse {
    0% {
        opacity: 0.85;
    }
    100% {
        opacity: 0.95;
    }
}

@keyframes socialBounce {
    0%, 100% {
        transform: translateY(-5px) scale(1.2);
    }
    50% {
        transform: translateY(-8px) scale(1.3);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

@keyframes checkmarkSuccess {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(360deg);
        opacity: 1;
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes flipIn {
    0% {
        transform: perspective(400px) rotateY(90deg);
        opacity: 0;
    }
    40% {
        transform: perspective(400px) rotateY(-10deg);
        opacity: 1;
    }
    70% {
        transform: perspective(400px) rotateY(10deg);
    }
    100% {
        transform: perspective(400px) rotateY(0deg);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float .btn {
        width: 50px;
        height: 50px;
    }
    
    .flash-messages {
        left: 20px;
        right: 20px;
        max-width: none;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 70px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Enhanced CTA Section for Services Page */
.cta-section-services {
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(243, 38, 51, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
}

.cta-section-services::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotateGradient 10s linear infinite;
}

.cta-section-services:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(243, 38, 51, 0.5);
}

.cta-title-highlight {
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    animation: titlePulse 3s ease-in-out infinite;
}

.cta-title-highlight::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 4px;
    background: linear-gradient(90deg, transparent, white, transparent);
    border-radius: 2px;
    animation: lineGrow 2s ease-in-out infinite;
}

.cta-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 400;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
}

.cta-button-enhanced {
    font-size: 1.3rem;
    padding: 15px 50px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    background: white;
    color: #F32633;
}

.cta-button-enhanced::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(243, 38, 51, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button-enhanced:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button-enhanced:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    background: #f8f9fa;
    color: #d11f2a;
}

.cta-button-enhanced i {
    transition: transform 0.3s ease;
}

.cta-button-enhanced:hover i {
    transform: scale(1.3) rotate(15deg);
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes titlePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

@keyframes lineGrow {
    0%, 100% {
        width: 80%;
        opacity: 1;
    }
    50% {
        width: 90%;
        opacity: 0.7;
    }
}

/* Responsive adjustments for CTA section */
@media (max-width: 768px) {
    .cta-title-highlight {
        font-size: 2rem;
    }
    
    .cta-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-button-enhanced {
        font-size: 1.1rem;
        padding: 12px 35px;
    }
}

/* Loading States */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

/* Custom Bootstrap Overrides */
.btn-primary {
    background: #F32633;
    border: none;
}

.btn-primary:hover {
    background: #d11f2a;
}

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

.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), #011c6b) !important;
}

.bg-danger {
    background: linear-gradient(135deg, var(--secondary-color), #c82333) !important;
}

.bg-warning {
    background: linear-gradient(135deg, var(--warning-color), #e0a800) !important;
}

.bg-success {
    background: linear-gradient(135deg, var(--success-color), #1e7e34) !important;
}

/* Enhanced Footer with Animated Social Icons */
footer {
    background: linear-gradient(135deg, #2c3e50, #34495e) !important;
    position: relative;
    overflow: hidden;
}

.footer-brand-text {
    background: linear-gradient(135deg, #ffffff, #e0e0e0, #ffffff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-size: 1.3rem;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--warning-color), var(--success-color));
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

.social-links a {
    transition: all 0.4s var(--bounce-timing);
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.3) 0%, transparent 70%);
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.social-links a:hover::before {
    width: 100px;
    height: 100px;
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.2);
    color: var(--warning-color) !important;
    animation: socialBounce 0.6s var(--bounce-timing);
}

/* Advanced Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.flip-in {
    opacity: 0;
    transform: perspective(400px) rotateY(90deg);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.flip-in.visible {
    opacity: 1;
    transform: perspective(400px) rotateY(0deg);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s var(--bounce-timing);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Enhanced Button Styles */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--bounce-timing);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* Success Animation for Form Submission */
.form-success-animation {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(40, 167, 69, 0.95);
    color: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
    animation: checkmarkSuccess 0.8s var(--bounce-timing);
}

.form-success-animation i {
    font-size: 4rem;
    margin-bottom: 15px;
    animation: pulse 1s ease infinite;
}

/* Page Title Animations */
.page-title {
    animation: fadeInUp 1s ease;
}

.page-subtitle {
    animation: fadeInUp 1s ease 0.3s both;
}

/* Additional Utility Classes */
.shadow-custom {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.rounded-custom {
    border-radius: 25px;
}

.text-shadow {
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.4);
}

/* Smooth Scrolling Enhancement */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Language-specific Video Section */
.video-showcase {
    position: relative;
    background: #000;
    max-height: 600px;
    overflow: hidden;
}

.language-video {
    position: relative;
    width: 100%;
    height: 100%;
}

.language-video video {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    transition: all 0.3s ease;
}

/* Responsive video adjustments */
@media (max-width: 768px) {
    .video-showcase {
        max-height: 400px;
    }
    
    .language-video video {
        max-height: 400px;
    }
}

@media (max-width: 576px) {
    .video-showcase {
        max-height: 300px;
    }
    
    .language-video video {
        max-height: 300px;
    }
}

/* Enhanced About Page Styles */
.about-image {
    transition: all 0.4s ease;
    border: 3px solid rgba(1, 35, 152, 0.1);
    position: relative;
}

.about-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(1, 35, 152, 0.3);
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(1, 35, 152, 0.1), rgba(220, 53, 69, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    border-radius: 20px;
}

.image-container:hover::before {
    opacity: 1;
}

.content-section {
    padding: 2rem;
    background: rgba(248, 249, 250, 0.5);
    border-radius: 20px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.content-section:hover {
    background: rgba(248, 249, 250, 0.8);
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Enhanced Navigation Menu with Logo */
.navbar {
    padding: 0.8rem 0;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(1, 35, 152, 0.1);
}

.navbar-brand {
    padding: 0.5rem 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand img {
    height: 45px;
    width: auto;
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.15));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
}

.navbar-brand:hover {
    transform: translateY(-2px);
    color: var(--secondary-color) !important;
}

.navbar-brand:hover img {
    transform: scale(1.08) rotate(2deg);
    filter: drop-shadow(4px 4px 12px rgba(0, 0, 0, 0.25));
}

.navbar-brand span {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Enhanced Navigation Links */
.navbar-nav .nav-link {
    padding: 0.7rem 1.2rem;
    font-weight: 600;
    color: #012398 !important;
    position: relative;
    margin: 0 0.2rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(1, 35, 152, 0.08);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(1, 35, 152, 0.12);
    font-weight: 700;
}

/* Language Dropdown Enhancement */
.dropdown-toggle {
    border: 2px solid rgba(1, 35, 152, 0.2);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.dropdown-toggle:hover {
    border-color: var(--primary-color);
    background: rgba(1, 35, 152, 0.05);
    transform: translateY(-1px);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(1, 35, 152, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Team Member Photos */
.team-photo img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.team-photo img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

/* Ajuste específico para a imagem da Camila (mediabuyerblue.png) */
.team-photo img[src*="mediabuyerblue.png"] {
    object-position: center 30%;
}

.team-member {
    transition: all 0.3s ease;
    border: 1px solid rgba(1, 35, 152, 0.1);
    background: linear-gradient(135deg, #fff, #f8f9fa);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
    border-color: rgba(1, 35, 152, 0.3);
}

/* Enhanced Client Portfolio Cards */
.client-card {
    position: relative;
    height: 280px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    background: #fff;
    overflow: hidden;
}

.client-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.client-image-container {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.client-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Navigation arrows inside images */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #012398;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.client-card:hover .nav-arrow {
    opacity: 1;
}

.nav-arrow:hover {
    background: #012398;
    color: white;
    transform: translateY(-50%) scale(1.15);
}

.nav-arrow.prev {
    left: 15px;
}

.nav-arrow.next {
    right: 15px;
}

.nav-arrow i {
    font-size: 1.2rem;
}

.client-img.active-img {
    opacity: 1;
}

.client-overlay {
    display: none;
}

/* New client info bar at bottom */
.client-info-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.3));
    padding: 20px;
    z-index: 5;
}

.client-info-bar h4 {
    color: white;
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.image-counter {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.single-image-badge {
    background: rgba(255, 193, 7, 0.9);
    color: #000;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
}

/* Image switching animation */
.switching .client-img {
    transform: scale(1.1);
}

/* Premium badge styling */
.single-image-badge {
    display: inline-block;
    background: rgba(255, 193, 7, 0.95);
    color: #000;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 5px;
}

/* Enhanced Navigation */
.navbar {
    transition: all 0.3s ease;
}

.navbar-toggler {
    padding: 4px 8px;
    font-size: 1.1rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Desktop Navigation Improvements */
@media (min-width: 992px) {
    .navbar {
        padding: 1rem 0;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
        font-weight: 700;
    }
    
    .navbar-nav.mx-auto {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .nav-link {
        font-weight: 500;
        margin: 0 0.75rem;
        padding: 0.75rem 1.25rem !important;
        color: #012398 !important;
        transition: all 0.3s ease;
        position: relative;
        border-radius: 8px;
    }
    
    .nav-link:hover {
        color: var(--primary-color) !important;
        background-color: rgba(1, 35, 152, 0.1);
        transform: translateY(-2px);
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--primary-color);
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }
    
    .nav-link:hover::after {
        width: 80%;
    }
    
    .btn-primary {
        font-weight: 600;
        padding: 0.75rem 1.5rem;
        border-radius: 25px;
        box-shadow: 0 4px 15px rgba(243, 38, 51, 0.3);
        transition: all 0.3s ease;
    }
    
    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(243, 38, 51, 0.4);
    }
}

/* Language Selector Improvements */
.dropdown-toggle::after {
    margin-left: 0.5em;
}

.dropdown-menu {
    border: 1px solid rgba(1, 35, 152, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.dropdown-item {
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(1, 35, 152, 0.1);
    color: var(--primary-color);
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    /* Navigation */
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar-brand img {
        height: 35px !important;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        margin: 0.25rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        color: #012398 !important;
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Page Content */
    .content-section {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }
    
    .page-hero {
        padding: 3rem 0 2rem !important;
        margin-top: 70px !important;
    }
    
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-content .display-2 {
        font-size: 2.5rem !important;
    }
    
    .hero-content .lead {
        font-size: 1.25rem !important;
    }
    
    /* Typography */
    .display-4 {
        font-size: 2rem !important;
    }
    
    .display-3 {
        font-size: 2.25rem !important;
    }
    
    /* Buttons */
    .btn-lg {
        padding: 0.75rem 2rem;
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Cards and Images */
    .about-image {
        margin-bottom: 2rem;
    }
    
    .team-photo img {
        width: 140px;
        height: 140px;
        border-radius: 50%;
    }
    
    .client-card {
        height: 250px;
        margin-bottom: 2rem;
    }
    
    .nav-arrow {
        width: 38px;
        height: 38px;
    }
    
    .nav-arrow i {
        font-size: 1rem;
    }
    
    .client-info-bar h4 {
        font-size: 1rem;
    }
    
    .image-counter {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    
    /* Service Cards */
    .service-card {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
    
    .service-icon {
        margin-bottom: 1.5rem;
    }
    
    /* Forms */
    .form-control {
        padding: 0.75rem;
        font-size: 1rem;
    }
    
    .form-label {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    /* Footer */
    footer {
        padding: 3rem 0 2rem;
    }
    
    footer .col-lg-4 {
        margin-bottom: 2rem;
    }
}

/* Extra Small Devices */
@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-content .display-2 {
        font-size: 2rem !important;
        line-height: 1.2;
    }
    
    .hero-content .lead {
        font-size: 1.1rem !important;
    }
    
    .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }
    
    .client-card {
        height: 220px;
    }
    
    .nav-arrow {
        width: 35px;
        height: 35px;
    }
    
    .navbar-brand span {
        font-size: 1rem;
    }
    
    .page-hero .display-4 {
        font-size: 1.75rem !important;
    }
}

/* Lightbox Modal Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
}

.lightbox-image {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    transition: opacity 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    color: #dc3545;
    transform: scale(1.2);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s ease;
    z-index: 10000;
}

.lightbox-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-arrow.prev {
    left: 20px;
}

.lightbox-arrow.next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 18px;
    font-weight: 500;
}

.client-img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile Responsive Lightbox */
@media (max-width: 768px) {
    .lightbox-arrow {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .lightbox-arrow.prev {
        left: 10px;
    }
    
    .lightbox-arrow.next {
        right: 10px;
    }
    
    .lightbox-close {
        top: -40px;
        font-size: 30px;
    }
    
    .lightbox-counter {
        font-size: 16px;
        bottom: -35px;
    }
}

/* Team CTA Section - Enhanced Design */
.team-cta-section {
    position: relative;
    background: linear-gradient(135deg, #012398 0%, #0a47c9 50%, #dc3545 100%);
    padding: 100px 0 !important;
    overflow: hidden;
}

.team-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
    z-index: 1;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.team-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.team-cta-content {
    position: relative;
    z-index: 3;
    animation: fadeInUp 1s ease;
}

.team-cta-title {
    color: white;
    font-size: 3.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
    background: linear-gradient(90deg, #ffffff, #ff0000, #ffffff);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineText 3s linear infinite;
}

@keyframes shineText {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.team-cta-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta-custom {
    background: linear-gradient(45deg, #25D366, #128C7E);
    border: none;
    color: white;
    font-weight: 600;
    font-size: 1.3rem;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-cta-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-cta-custom:hover::before {
    left: 100%;
}

.btn-cta-custom:hover {
    background: linear-gradient(45deg, #20ba5a, #0f7a6e);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
    color: white;
}

.btn-cta-custom:active {
    transform: translateY(-2px) scale(1.02);
}

.btn-cta-custom i {
    font-size: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for team CTA */
@media (max-width: 768px) {
    .team-cta-section {
        padding: 60px 0 !important;
    }
    
    .team-cta-title {
        font-size: 2rem;
    }
    
    .team-cta-subtitle {
        font-size: 1.1rem;
    }
    
    .btn-cta-custom {
        font-size: 1.1rem;
        padding: 0.75rem 2rem !important;
    }
}

/* Language Selector Button */
.btn-outline-secondary,
.btn-outline-primary {
    color: #012398 !important;
    border-color: #012398 !important;
}

.btn-outline-secondary:hover,
.btn-outline-primary:hover {
    background-color: #012398 !important;
    border-color: #012398 !important;
    color: white !important;
}
