/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #662c8e;
    --secondary: #EC268F;
    --dark: #2c2c2c;
    --light: #f8f8f8;
    --white: #ffffff;
    --gray: #666666;
}

/* Cookie Consent Popup */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    backdrop-filter: blur(10px);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h3 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.cookie-text p {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.95;
}

.cookie-text a {
    color: var(--white);
    text-decoration: underline;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.cookie-text a:hover {
    opacity: 1;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-btn-accept {
    background: var(--white);
    color: var(--primary);
}

.cookie-btn-accept:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.cookie-btn-decline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cookie-btn-decline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-text {
        min-width: unset;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }
    
    .cookie-btn {
        padding: 14px 20px;
        width: 100%;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background: var(--primary);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar .email {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: var(--white);
    font-size: 18px;
    transition: all 0.3s;
}

.social-icons a:hover {
    color: var(--secondary);
    transform: translateY(-3px);
}

.social-icons a.partner-link {
    background: var(--secondary);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.social-icons a.partner-link:hover {
    background: var(--primary);
    transform: scale(1.1);
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 50px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 25px;
    transition: all 0.3s;
    position: relative;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--secondary);
    transition: all 0.3s;
    transform: translateX(-50%);
}

nav a:hover,
nav a.active {
    color: var(--primary);
}

nav a:hover::before,
nav a.active::before {
    width: 80%;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 600;
}

.header-phone i {
    font-size: 20px;
    color: var(--secondary);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: -50px;
    background: var(--white);
    box-shadow: 0 5px 30px rgba(0,0,0,0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    margin-top: 20px;
    display: flex;
    gap: 30px;
    padding: 30px;
    min-width: 600px;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    margin-top: 10px;
}

.dropdown-menu h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 16px;
}

.dropdown-menu a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    touch-action: pan-y; /* Allow vertical scrolling but handle horizontal swipes */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2.5s;
}

.slide.active {
    opacity: 1;
}

.slide .container {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 60px;
}

.content-left,
.content-right {
    flex: 1;
    color: var(--white);
}

.content-right {
    text-align: right;
}

/* Typewriter Effect */
.slide h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    overflow: hidden;
    border-right: 3px solid var(--white);
    white-space: nowrap;
    margin: 0 0 20px 0;
    width: 0;
}

/* Hide br tags on desktop for typewriter effect */
.slide h1 br {
    display: none;
}

.slide p br {
    display: none;
}

.slide.active h1 {
    animation: typewriter 3s steps(40, end) 0.5s forwards, blink-caret .75s step-end infinite;
}

.slide p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 2.5s both;
}

.btn-primary {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 12px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 3s both;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--secondary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s;
}

.btn-primary:hover {
    color: var(--white);
    transform: translateY(-3px);
}

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

.btn-primary span {
    position: relative;
    z-index: 1;
}

.image-left,
.image-right {
    flex: 1;
    position: relative;
}

.image-left img,
.image-right img {
    width: 100%;
    border-radius: 20px;
    animation: scaleIn 1s ease-out 3.5s both;
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.nav-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.nav-btn.active {
    background: var(--white);
    width: 30px;
    border-radius: 6px;
}

/* Service Icons Section */
.service-icons {
    padding: 80px 0;
    background: var(--light);
}

.services-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 50px;
}

.service-item {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
    position: relative;
}

.service-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-item:nth-child(1) { transition-delay: 0.1s; }
.service-item:nth-child(2) { transition-delay: 0.2s; }
.service-item:nth-child(3) { transition-delay: 0.3s; }

.service-item i {
    font-size: 60px;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all 0.3s;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.service-item:nth-child(1) i { animation-delay: 0s; }
.service-item:nth-child(2) i { animation-delay: 1s; }
.service-item:nth-child(3) i { animation-delay: 2s; }

.service-item:hover i {
    color: var(--secondary);
    transform: scale(1.2) rotate(360deg);
    animation: none;
}

.service-item::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--secondary);
    transform: translateX(-50%);
    transition: width 0.3s;
}

.service-item:hover::after {
    width: 100px;
}

.service-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--dark);
}

.service-item p {
    color: var(--gray);
    max-width: 250px;
    margin: 0 auto;
}

/* How We Do Section */
.how-we-do {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.how-we-do::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

.how-we-do .container {
    position: relative;
    z-index: 1;
}

.how-we-do h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--white);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.how-we-do h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--white);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.how-we-do .subtitle {
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 18px;
    color: var(--white);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto 50px;
}

.feature {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(30px);
    color: var(--white);
}

.feature.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature:nth-child(1) { animation-delay: 0.6s; }
.feature:nth-child(2) { animation-delay: 0.8s; }

.feature:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.feature i {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--white);
}

.feature h4 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--white);
}

.feature p {
    color: rgba(255,255,255,0.9);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 12px 35px;
    border: 2px solid var(--white);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 1s forwards;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--white);
    transition: all 0.3s;
}

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

.btn-secondary:hover::before {
    left: 0;
}

.btn-secondary span {
    position: relative;
    z-index: 1;
}

/* Services Cards Section */
.services-cards {
    padding: 80px 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(30px);
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
}

.card:nth-child(1) { transition-delay: 0.1s; }
.card:nth-child(2) { transition-delay: 0.2s; }
.card:nth-child(3) { transition-delay: 0.3s; }
.card:nth-child(4) { transition-delay: 0.4s; }
.card:nth-child(5) { transition-delay: 0.5s; }
.card:nth-child(6) { transition-delay: 0.6s; }

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.card i {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 20px;
    transition: all 0.3s;
}

.card:hover i {
    transform: scale(1.2) rotateY(360deg);
}

.card h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Experience Section */
.experience {
    padding: 80px 0;
}

.experience h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
}

.subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 50px;
}

.progress-bars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.progress-item h4 {
    margin-bottom: 15px;
    color: var(--primary);
}

.progress-bar {
    background: #e0e0e0;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    height: 100%;
    width: 0;
    border-radius: 4px;
    position: relative;
    transition: width 2s ease-in-out;
}

.progress span {
    position: absolute;
    right: -40px;
    top: -30px;
    font-weight: 600;
    color: var(--primary);
    font-size: 18px;
}

.progress-bars.visible .progress {
    width: 100%;
}

.experience-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.exp-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 300px;
}

.exp-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.exp-card:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.exp-card:hover .overlay {
    transform: translateY(0);
}

.overlay h4 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 15px;
}

.btn-small {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

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

.btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.btn-small:hover::before {
    width: 150px;
    height: 150px;
}

.btn-small span {
    position: relative;
    z-index: 1;
}

/* Partners Carousel */
.partners {
    padding: 80px 0;
    background: var(--light);
    text-align: center;
    overflow: hidden;
}

.partners h2 {
    font-size: 36px;
    margin-bottom: 50px;
}

.partners-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.partners-track {
    display: flex;
    animation: slide 20s linear infinite;
}

.partner {
    flex: 0 0 200px;
    margin: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner img {
    max-width: 180px;
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.partner:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

.partner-placeholder {
    background: var(--white);
    color: var(--primary);
    padding: 20px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    min-width: 150px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.partner:hover .partner-placeholder {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

footer h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--secondary);
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 10px;
}

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

footer a:hover {
    opacity: 1;
}

.footer-contact p {
    margin-bottom: 10px;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links-bottom {
    display: flex;
    gap: 20px;
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: all 0.3s;
    z-index: 999;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

/* ===== MOBILE MENU COMPLETE REWRITE ===== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1200;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Container - Ultra Simple */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: white;
    z-index: 9999;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

/* FORCE CONTENT TO APPEAR - TEST */
.mobile-menu::after {
    content: "MENU DE TESTE - Se você vê isso, o CSS funciona";
    display: block;
    padding: 20px;
    background: yellow;
    color: black;
    font-size: 14px;
    font-weight: bold;
}

.mobile-menu.active {
    left: 0;
}

/* FORCE MENU TO BE VISIBLE ON MOBILE - TEST */
@media (max-width: 768px) {
    .mobile-menu {
        left: 0 !important; /* Force menu to be visible */
    }
}

/* Mobile Menu Header - Ultra Simple */
.mobile-menu-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    background: pink;
}

.mobile-menu-header::after {
    content: "HEADER DE TESTE";
    display: block;
    color: black;
    font-weight: bold;
}

.mobile-logo {
    height: 40px;
    display: block;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #662c8e;
    cursor: pointer;
    float: right;
}

/* Mobile Navigation - Ultra Simple */
.mobile-nav {
    padding: 0;
    margin: 0;
    background: lightblue;
    min-height: 200px;
}

.mobile-nav::after {
    content: "NAVEGAÇÃO DE TESTE";
    display: block;
    padding: 20px;
    color: black;
    font-weight: bold;
    background: cyan;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    border-bottom: 1px solid #eee;
}

.mobile-nav a {
    display: block;
    padding: 15px 20px;
    color: black;
    text-decoration: none;
    font-size: 16px;
    background: white;
}

.mobile-nav a:hover {
    background: #f0f0f0;
}

/* Mobile Dropdown - Ultra Simple */
.mobile-dropdown-btn {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background: #f0f0f0;
    border: none;
    color: #662c8e;
    font-weight: bold;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
}

.mobile-dropdown-btn:hover {
    background: #e0e0e0;
}

/* Mobile Dropdown Content - Ultra Simple */
.mobile-dropdown-content {
    display: none;
    background: #f8f8f8;
    padding: 10px 0;
}

.mobile-dropdown-content.active {
    display: block;
}

.mobile-dropdown-section {
    background: white;
    margin-bottom: 5px;
}

.mobile-dropdown-section h4 {
    padding: 10px 20px 5px;
    margin: 0;
    font-size: 12px;
    color: #EC268F;
    text-transform: uppercase;
    font-weight: bold;
    background: #f0f0f0;
}

.mobile-dropdown-section a {
    display: block;
    padding: 8px 30px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    background: white;
}

.mobile-dropdown-section a:hover {
    background: #f0f0f0;
    color: #662c8e;
}

.mobile-dropdown-section a:hover {
    background: rgba(118, 44, 142, 0.05);
    color: var(--primary);
    border-left-color: var(--secondary);
    padding-left: 35px;
}

/* Mobile Menu Additional Fixes */
.mobile-nav {
    position: relative;
    z-index: 1;
}

.mobile-nav ul {
    position: relative;
    z-index: 1;
}

.mobile-nav li {
    position: relative;
    z-index: 1;
}

/* Ensure mobile menu links are interactive */
.mobile-nav a,
.mobile-dropdown-section a {
    -webkit-tap-highlight-color: rgba(118, 44, 142, 0.1);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

.mobile-nav a:active,
.mobile-dropdown-section a:active,
.mobile-nav a.touching,
.mobile-dropdown-section a.touching {
    background: rgba(118, 44, 142, 0.1);
    color: var(--primary);
}

/* Clean Mobile Menu - Remove Old Rules */

/* Simple Debug Borders */
.mobile-menu {
    border: 2px solid red;
}

.mobile-menu-header {
    border: 2px solid pink;
    background: #ffeeee;
}

.mobile-nav {
    border: 2px solid blue;
    background: #eeeeff;
    min-height: 100px;
}

.mobile-nav a {
    border: 1px solid green;
    background: #eeffee;
}

.mobile-dropdown-btn {
    border: 2px solid orange;
    background: #ffffee;
}

/* OVERRIDE ANIMATIONS.CSS CONFLICTS */
@media (max-width: 768px) {
    /* Reset nav conflicts from animations.css */
    header nav {
        position: static !important;
        left: auto !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        z-index: auto !important;
        padding: 0 !important;
        display: none !important; /* Hide desktop nav on mobile */
    }
}

/* Force all mobile menu children to be visible */
.mobile-menu * {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.mobile-menu-header {
    display: block !important;
}

.mobile-nav {
    display: block !important;
    background: lightblue !important;
    min-height: 200px !important;
}

.mobile-nav ul {
    display: block !important;
    background: lightgreen !important;
    min-height: 100px !important;
}

.mobile-nav li {
    display: block !important;
    background: lightyellow !important;
    border: 1px solid red !important;
    min-height: 40px !important;
}

.mobile-nav a {
    display: block !important;
    background: lightcoral !important;
    color: black !important;
    padding: 10px !important;
}

.mobile-dropdown-btn {
    display: block !important;
    background: orange !important;
    color: black !important;
    padding: 10px !important;
}

/* Media Queries para Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-slider {
        height: 80vh;
        min-height: 600px;
    }
    
    .slide .container {
        gap: 40px;
        padding: 0 30px;
    }
    
    .slide h1 {
        font-size: 40px;
    }
    
    .slide p {
        font-size: 18px;
    }
    
    .image-left,
    .image-right {
        max-width: 350px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .top-bar .container {
        padding: 0 15px;
    }
    
    .top-bar .email {
        font-size: 12px;
    }
    
    .top-bar .email span {
        display: none;
    }
    
    .social-icons {
        gap: 15px;
    }
    
    .social-icons a {
        font-size: 16px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    nav {
        display: none;
    }
    
    .header-phone {
        display: none;
    }
    
    nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-slider {
        height: auto;
        min-height: 70vh;
        padding: 60px 0 80px;
        display: flex;
        align-items: center;
    }
    
    .slide {
        position: relative;
        padding: 40px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 70vh;
    }
    
    .slide .container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 0 20px;
        max-width: 100%;
        width: 100%;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .content-left,
    .content-right {
        text-align: center;
        flex: none;
        width: 100%;
        order: 2;
    }
    
    .image-left,
    .image-right {
        order: 1;
        width: 100%;
        max-width: 100%;
        margin: 0;
        flex-shrink: 0;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }
    
    .slide h1 {
        font-size: 28px;
        white-space: nowrap;
        border-right: none;
        width: auto;
        margin-bottom: 20px;
        line-height: 1.2;
        text-align: center;
        overflow: visible;
        padding: 0 10px;
        display: block;
    }
    
    /* Hide br tags in h1 on mobile (keep titles in one line) */
    .slide h1 br {
        display: none;
    }
    
    /* Show br tags only in paragraphs on mobile */
    .slide p br {
        display: block;
    }
    
    .slide.active h1 {
        animation: fadeInUp 0.8s ease-out forwards;
    }
    
    .slide p {
        font-size: 18px;
        margin-bottom: 30px;
        padding: 0 15px;
        line-height: 1.3;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        display: block;
    }
    
    .btn-primary {
        padding: 14px 30px;
        font-size: 16px;
        margin-top: 10px;
    }
    
    .image-left img,
    .image-right img {
        width: 100%;
        height: auto;
        max-width: 100%;
        border: none;
        border-radius: 0;
        box-shadow: none;
        display: block;
        margin: 0 auto;
    }
    
    .slider-nav {
        bottom: 20px;
        z-index: 100;
    }
    
    .nav-btn {
        width: 14px;
        height: 14px;
        margin: 0 5px;
    }
    
    .nav-btn.active {
        width: 35px;
    }
    
    .services-row {
        flex-direction: column;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .hero-slider {
        min-height: 65vh;
        padding: 40px 0 60px;
    }
    
    .slide .container {
        padding: 0 15px;
        gap: 30px;
    }
    
    .slide h1 {
        font-size: 24px;
        line-height: 1.2;
        margin-bottom: 15px;
        text-align: center;
        display: block;
        white-space: normal;
        padding: 0 5px;
    }
    
    /* Hide br tags in h1 on small mobile too */
    .slide h1 br {
        display: none;
    }
    
    .slide p {
        font-size: 16px;
        margin-bottom: 25px;
        padding: 0 10px;
        max-width: 320px;
        line-height: 1.3;
        text-align: center;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    
    .btn-primary {
        padding: 12px 24px;
        font-size: 14px;
        margin-top: 5px;
    }
    
    .image-left,
    .image-right {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .image-left img,
    .image-right img {
        max-width: 100%;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }
    
    .slider-nav {
        bottom: 15px;
    }
    
    .nav-btn {
        width: 12px;
        height: 12px;
    }
    
    .nav-btn.active {
        width: 28px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .progress-bars,
    .experience-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}