body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.hero-gradient {
    background: linear-gradient(135deg, #bce0d6 0%, #FFFFFF 100%);
}

.dark .hero-gradient {
    background: linear-gradient(135deg, #0E3A2E 0%, #1a2e35 100%);
}

.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 10px;
    font-size: 60px;
    color: rgba(35, 135, 107, 0.1);
    font-family: serif;
    line-height: 1;
}

.dark .testimonial-card::before {
    color: rgba(35, 135, 107, 0.3);
}

.scroll-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    transition: all 0.3s ease;
    background-color: #23876B;
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
    padding: 0.75rem;
    border-radius: 9999px;
    z-index: 50;
}


.scroll-to-top:hover {
    background-color: #155343;
}

.whatsapp-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    transition: all 0.3s ease;
    background-color: #23876B;
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
    padding: 0.75rem;
    border-radius: 9999px;
    z-index: 50;
}

.whatsapp-btn:hover {
    background-color: #155343;
}

.whatsapp-btn.with-scroll-top {
    bottom: 5.5rem;
}

.whatsapp-toggle-btn {
    position: fixed;
    z-index: 9999;
}

.btn-whatsapp-details {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #1C6D57;
    color: white;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s ease-in-out;
}

.btn-whatsapp-details:hover {
    background-color: #155343;
}

.toolbar-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Header styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 40;
    transition: all 0.3s ease;
    background-color: transparent;
    backdrop-filter: blur(10px);
}

header.scrolled {
    background-color: #E3F4EF;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.dark header.scrolled {
    background-color: #1f2937;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
}

.dark header {
    background-color: transparent;
}

/* Hero section padding */
.hero-section {
    padding-top: 6rem;
    pointer-events: none;
    /* Space for header */
}

.hero-section.section-visible {
    pointer-events: auto;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.modal-content {
    width: fit-content;
    max-width: 90vw;
    min-width: 300px;
    max-height: 80vh;
    overflow: auto;
    margin: auto;
    border-radius: 0.5rem;
    background: white;
    padding: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s ease-out;
    background-color: white;
}


.dark .modal-content {
    background-color: #1f2937;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.0rem;
}

.modal-title {
    font-size: 1.5rem;
    line-height: 1.70rem;
    font-weight: 700;
    color: #1f2937;
}

.dark .modal-title {
    color: white;
}

.close-btn {
    color: #6b7280;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.dark .close-btn {
    color: #d1d5db;
}

.close-btn:hover {
    color: #374151;
}

.dark .close-btn:hover {
    color: white;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1rem;
    margin-bottom: 0.70rem;
}

.dark .contact-item {  
    border-bottom: 1px solid rgb(75, 85, 99)
}
.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 9999px;
    background-color: #e3f4ef;
    color: #23876b;
    margin-right: 1rem;
}

.dark .contact-icon {
    background-color: #1C6D57;
    color: #9FD6C4;
}


.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #6b7280;
}

.dark .contact-label {
    color: #9ca3af;
}

.contact-value {
    font-weight: 500;
    color: #1f2937;
}

.dark .contact-value {
    color: white;
}

.contact-value a:hover {
    color: #23876b;
}

.dark .contact-value a:hover {
    color: #75c3a9;
}

/* Offcanvas Menu */
.offcanvas {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: white;
    z-index: 100;
    transition: all 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.dark .offcanvas {
    background-color: #1f2937;
}

.offcanvas.active {
    left: 0;
}

.offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.offcanvas-overlay.active {
    opacity: 1;
    visibility: visible;
}

.offcanvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.dark .offcanvas-header {
    border-bottom-color: #374151;
}

.offcanvas-body {
    padding: 1rem;
}

.offcanvas-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
}

.dark .offcanvas-close {
    color: #d1d5db;
}

.offcanvas-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.offcanvas-nav a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    color: #4b5563;
    transition: all 0.2s ease;
}

.dark .offcanvas-nav a {
    color: #d1d5db;
}

.offcanvas-nav a:hover {
    background-color: #f3f4f6;
    color: #111827;
}

.dark .offcanvas-nav a:hover {
    background-color: #374151;
    color: white;
}

.offcanvas-footer {
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
    margin-top: auto;
}

.dark .offcanvas-footer {
    border-top-color: #374151;
}

/* Logo transition */
.logo-light {
    display: block;
    
}

.logo-dark {    
    display: none;

}

.dark .logo-light {
    display: none;
}

.dark .logo-dark {
    display: block;
}

/* Section animations */
.section-animate {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-visible {
    opacity: 1;
    transform: none !important;
}

/* Specific section animations */
.hero-animate {
    transform: translateY(20px);
}

.hero-visible {
    transform: translateY(0);
}

.products-animate {
    transform: translateY(30px);
}

.products-visible {
    transform: translateY(0);
}

.features-animate {
    transform: scale(0.98);
}

.features-visible {
    transform: scale(1);
}

.testimonials-animate {
    transform: translateX(20px);
}

.testimonials-visible {
    transform: translateX(0);
}

.contact-animate {
    transform: translateX(-20px);
}

.contact-visible {
    transform: translateX(0);
}

.footer-animate {
    transform: translateY(40px);
}

.footer-visible {
    transform: translateY(0);
}

/* Animation delays */
.animation-delay-100 {
    animation-delay: 100ms;
}

.animation-delay-150 {
    animation-delay: 150ms;
}

.animation-delay-200 {
    animation-delay: 200ms;
}

.animation-delay-250 {
    animation-delay: 250ms;
}

.animation-delay-300 {
    animation-delay: 300ms;
}

.animation-delay-350 {
    animation-delay: 350ms;
}



.login-gradient {
    background: linear-gradient(135deg, #bce0d6 0%, #FFFFFF 100%);
}

.dark .login-gradient {
    background: linear-gradient(135deg, #0E3A2E 0%, #1a2e35 100%);
}

.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.logo-light {
    display: block;
}

.logo-dark {
    display: none;
}

.dark .logo-light {
    display: none;
}

.dark .logo-dark {
    display: block;
}

.form-input {
    transition: all 0.3s ease;
    border: 1px solid #d1d5db;
    /* border-gray-300 */

    /* Tailwind dark mode equivalent */
    background-color: #1f2937;
    /* dark:bg-gray-800 */
    border-color: #4b5563;
    /* dark:border-gray-600 */
    color: #e5e7eb;
    /* dark:text-gray-200 */
}

@media (prefers-color-scheme: dark) {
    .form-input {
        background-color: #1f2937;
        /* dark:bg-gray-800 */
        border-color: #4b5563;
        /* dark:border-gray-600 */
        color: #e5e7eb;
        /* dark:text-gray-200 */
    }
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    /* border-primary */
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
    /* ring-primary */
}

@media (prefers-color-scheme: dark) {
    .form-input:focus {
        border-color: #93c5fd;
        /* dark:border-primary-300 */
        box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.5);
        /* dark:ring-primary-300 */
    }
}

.form-checkbox {
    border: 1px solid #d1d5db;
    /* border-gray-300 */
    background-color: white;
}

@media (prefers-color-scheme: dark) {
    .form-checkbox {
        border-color: #4b5563;
        /* dark:border-gray-600 */
        background-color: #1f2937;
        /* dark:bg-gray-800 */
    }

    .form-checkbox:checked {
        background-color: #3b82f6;
        /* dark:checked:bg-primary */
        border-color: #3b82f6;
        /* dark:checked:border-primary */
    }
}

.form-checkbox:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
    /* ring-primary */
}

@media (prefers-color-scheme: dark) {
    .form-checkbox:focus {
        box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.5);
        /* dark:ring-primary-300 */
    }
}
