/* CSS Variables - VetFarma Brand Colors */
:root {
    --primary-green: #7ED321;
    --primary-dark: #2F5F5F;
    --primary-dark2:#0a2612;
    --secondary-green: #A8E6CF;
    --text-dark: #2C3E50;
    --text-light: #666666;
    --background-light: #F8F9FA;
    --white: #FFFFFF;
    --success: #28A745;
    --warning: #FFC107;
    --danger: #DC3545;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
    --border-radius: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Performance optimized reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base styles with performance optimizations */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    font-display: swap;
}

/* Container with responsive design */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Responsive breakpoints */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
}

/* Header - Optimized for performance */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(16 49 21 / 74%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(126, 211, 33, 0.2);
    box-shadow: var(--shadow-light);
    will-change: transform;
}

.header.scrolled {
    background: rgba(47, 95, 95, 0.98);
    box-shadow: var(--shadow-medium);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    min-height: 70px;
}

/* Logo optimized */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-image {
    height: 40px;
    width: auto;
    transition: var(--transition);
}
.logo-image2 {
    height: 110px;
    width: auto;
    transition: var(--transition);
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

/* Navigation - Desktop */
.nav-desktop {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    background: rgba(126, 211, 33, 0.1);
    color: var(--primary-green);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* Navigation actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}



/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.hamburger {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: rgba(126, 211, 33, 0.1);
}

.mobile-menu-btn:hover .hamburger {
    background: var(--primary-green);
}

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

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

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

/* Mobile navigation */
.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 20px 0;
    border-top: 1px solid rgba(126, 211, 33, 0.2);

    -webkit-backdrop-filter: blur(10px);
}

.nav-mobile.active {
    display: flex;
}

.nav-link-mobile {
    color: var(--white);
    text-decoration: none;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
}

.nav-link-mobile:hover {
    background: rgba(126, 211, 33, 0.1);
    color: var(--primary-green);
    transform: translateX(5px);
}

/* Hero Section - Optimized */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-green) 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(47, 95, 95, 0.9) 0%, rgba(126, 211, 33, 0.8) 100%);
    z-index: 1;
}

.hero-background.with-image {
    background-image:
        linear-gradient(135deg, rgba(18, 85, 53, 0.9) 0%, rgba(126, 211, 33, 0%) 100%),
        url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 100px 0 50px;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-product {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-product-image {
    max-width: 145%;
    height: auto;

}



/* Buttons - Enhanced */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(126, 211, 33, 0.4);
}

.btn-primary:hover {
    background: #6BC91A;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(126, 211, 33, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Sections - Optimized spacing */
section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Services Section */
.services {
    background: var(--background-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-green));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.service-icon {
    width: 80px;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}



.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: rgba(126, 211, 33, 0.1);
    color: var(--primary-green);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.about-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.3;
}

.about-description {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 30px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    color: var(--text-dark);
}

.feature-check {
    width: 24px;
    height: 24px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
}

.about-stats {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-medium);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Products Section */
.products {
    background: var(--background-light);
}

.products-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow-medium);
}

.product-card {
    display: none;
    padding: 40px;
}

.product-card.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: center;
}

.product-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.product-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 25px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.feature-tag {
    background: rgba(126, 211, 33, 0.1);
    color: var(--primary-green);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 30px;
}

.price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-green);
}

.price-unit {
    color: var(--text-light);
    font-size: 1rem;
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    border: none;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.btn-whatsapp:hover {
    background: #1DA851;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.product-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.product-image img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

/* Product Navigation */
.product-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.product-nav-btn {
    background: var(--white);
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.product-nav-btn:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: scale(1.1);
}

.product-dots {
    display: flex;
    gap: 10px;
}

.product-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(126, 211, 33, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.product-dot.active {
    background: var(--primary-green);
    transform: scale(1.2);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-green);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.contact-info {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.contact-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--primary-dark2);
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-logo .logo {
    margin-bottom: 20px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-green);
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-list a:hover {
    color: var(--primary-green);
    transform: translateX(5px);
}

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

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--primary-green);
    transform: scale(1.2);
}

/* Modals - Enhanced */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
}

.order-modal,
.whatsapp-modal,
.exit-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-heavy);
    z-index: 9999;
    display: none;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.order-modal.active,
.whatsapp-modal.active,
.exit-modal.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
}

.modal-content {
    padding: 30px;
}

/* Order Modal Specific */
.modal-product {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--background-light);
    border-radius: var(--border-radius);
}

.modal-product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.modal-product-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.modal-product-price {
    color: var(--primary-green);
    font-weight: 600;
}

/* Form Styles */
.order-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(126, 211, 33, 0.1);
}

.form-group input.error {
    border-color: var(--danger);
}

.error-message {
    color: var(--danger);
    font-size: 0.875rem;
    opacity: 0;
    transform: translateY(-5px);
    transition: var(--transition);
}

.error-message.show {
    opacity: 1;
    transform: translateY(0);
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 150px;
}

.quantity-btn {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 600;
    transition: var(--transition);
}

.quantity-btn:hover {
    background: #6BC91A;
    transform: scale(1.1);
}

.quantity-control input {
    text-align: center;
    width: 60px;
    margin: 0;
}

.modal-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--background-light);
    border-radius: var(--border-radius);
    margin: 20px 0;
}

.total-label {
    font-weight: 600;
    color: var(--text-dark);
}

.total-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-green);
}

.btn-submit {
    background: #25D366;
    color: var(--white);
    border: none;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
}

.btn-submit:hover {
    background: #1DA851;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.whatsapp-btn {
    background: #25D366;
    color: var(--white);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-btn:hover {
    background: #1DA851;
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* WhatsApp Modal Options */
.whatsapp-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.whatsapp-option {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--background-light);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.whatsapp-option:hover {
    border-color: var(--primary-green);
    background: rgba(126, 211, 33, 0.05);
    transform: translateY(-2px);
}

.option-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.option-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.option-content p {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Exit Modal Specific */
.exit-content {
    text-align: center;
}

.exit-icon {
    margin-bottom: 20px;
}

.exit-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.exit-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 25px;
}

.exit-offer {
    background: rgba(126, 211, 33, 0.1);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.offer-text {
    color: var(--primary-green);
    font-weight: 600;
    margin: 0;
}

.exit-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

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

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

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

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

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

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

/* Responsive Design - Mobile First */
@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

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

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .modal-content {
        padding: 20px;
    }

    .modal-header {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.875rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .about-title {
        font-size: 1.75rem;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .service-card,
    .contact-card {
        padding: 30px 20px;
    }

    .exit-buttons {
        flex-direction: column;
    }
}

/* Print styles */
@media print {
    .header,
    .whatsapp-float,
    .modal-overlay,
    .order-modal,
    .whatsapp-modal,
    .exit-modal {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .hero {
        min-height: auto;
        padding: 20px 0;
    }

    section {
        padding: 20px 0;
        page-break-inside: avoid;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-green: #4A7C59;
        --text-light: #333333;
        --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.3);
        --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.4);
        --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.5);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-background.with-image {
        background-attachment: scroll;
    }
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-green);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
}

.skip-link:focus {
    top: 6px;
}

/* Estilo para sublinhado verde claro na palavra "Longevidade" */
.longevidade-highlight {
    position: relative;
    display: inline-block;
}

.longevidade-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #90EE90; /* Verde claro */
    border-radius: 2px;
    animation: underlineGlow 2s ease-in-out infinite alternate;
}

@keyframes underlineGlow {
    0% {
        box-shadow: 0 0 5px rgba(144, 238, 144, 0.5);
    }
    100% {
        box-shadow: 0 0 15px rgba(144, 238, 144, 0.8);
    }
}

/* Linha Longevidade Product Order Buttons */
.service-order {
    margin-top: 20px;
    text-align: center;
}

.service-order .btn {
    min-width: 160px;
    font-size: 0.9rem;
    padding: 12px 24px;
    transition: var(--transition);
}

.service-order .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(126, 211, 33, 0.6);
}

/* Responsive adjustments for service order buttons */
@media (max-width: 768px) {
    .service-order .btn {
        min-width: 140px;
        font-size: 0.85rem;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .service-order .btn {
        min-width: 120px;
        font-size: 0.8rem;
        padding: 8px 16px;
    }
}


/* Videos Section */
.videos {
    padding: 80px 0;
    background: var(--white);
}

.videos-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.videos-text {
    padding-right: 20px;
    position: relative;
}

.video-text-content {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.video-text-content.active {
    display: block;
    opacity: 1;
    animation: fadeInText 0.5s ease-in-out;
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.videos-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.3;
}

.videos-description {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 30px;
}

.videos-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.videos-player {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    background: #000;
}

.video-element {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: contain;
}

.video-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.video-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-green);
    background: var(--white);
    color: var(--primary-green);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.video-nav-btn:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: scale(1.1);
}

.video-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.video-dots {
    display: flex;
    gap: 10px;
}

.video-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--primary-green);
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.video-dot.active {
    background: var(--primary-green);
    transform: scale(1.2);
}

.video-dot:hover {
    transform: scale(1.15);
}

/* Responsive adjustments for videos section */
@media (max-width: 968px) {
    .videos-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .videos-text {
        padding-right: 0;
        text-align: center;
    }

    .videos-title {
        font-size: 1.875rem;
    }

    .videos-description {
        font-size: 1rem;
    }

    .videos-features {
        align-items: center;
    }

    .video-element {
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    .videos {
        padding: 60px 0;
    }

    .videos-title {
        font-size: 1.5rem;
    }

    .videos-description {
        font-size: 0.9rem;
    }

    .video-nav-btn {
        width: 35px;
        height: 35px;
    }

    .video-element {
        max-height: 300px;
    }
}
