/*! Tailwind CSS v3.3.3 | MIT License | https://tailwindcss.com */

/* Base styles */
*, ::before, ::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: #e5e7eb; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; font-family: Montserrat, ui-sans-serif, system-ui; }
body { margin: 0; line-height: inherit; padding-top: 100px; }
hr { height: 0; color: inherit; border-top-width: 1px; }

/* Page Transitions */
body {
  opacity: 1;
  animation: fadeIn 0.5s ease-in-out forwards;
}

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

/* Section Animation */
section {
  opacity: 1;
  /* transform: translateY(20px); */
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Logo responsivo */
.app-logo img {
  height: 40px;
  width: auto;
  max-width: 100%;
}

.app-desktop-nav img {
  height: 50px;
  width: auto;
  max-width: 160px;
  transition: all 0.3s ease;
}

@media (min-width: 992px) {
  .app-desktop-nav img {
    height: 60px;
    max-width: 200px;
  }
}

/* Media queries for responsive layout */
@media (min-width: 768px) {
  .app-header {
    display: none;
  }
  
  .app-desktop-nav {
    display: block;
  }
  
  .app-menu-toggle {
    display: none;
  }
  
  body {
    padding-top: 70px;
  }
  
  .app-contact-buttons {
    display: none;
  }
  
  .nav-indicator {
    display: none;
  }
}

/* Page Loader */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
  opacity: 1;
}

.page-loader.loaded {
  opacity: 0;
  pointer-events: none;
}

.page-loader .loader {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(15, 76, 129, 0.3);
  border-top: 5px solid #0f4c81;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* App-like UI Styles */
body {
  padding-top: 100px; /* Space for fixed header */
}

/* Mobile Navigation Menu */
.app-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.app-header {
  background-color: #0f4c81;
  color: white;
  padding: 10px 0;
}

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

.app-logo {
  height: 40px;
  display: flex;
  align-items: center;
}

/* Tailwind utility classes */
.container-app { width: 100%; max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.mr-4 { margin-right: 1rem; }
.mr-10 { margin-right: 2.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }

.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-24 { height: 6rem; }
.h-48 { height: 12rem; }
.w-full { width: 100%; }
.w-48 { width: 12rem; }
.max-w-md { max-width: 28rem; }
.max-w-xl { max-width: 36rem; }
.max-w-3xl { max-width: 48rem; }
.max-h-16 { max-height: 4rem; }

.space-x-2 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.5rem; }
.space-x-4 > :not([hidden]) ~ :not([hidden]) { margin-left: 1rem; }
.space-x-8 > :not([hidden]) ~ :not([hidden]) { margin-left: 2rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }

.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-md { border-radius: 0.375rem; }
.border { border-width: 1px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-l-4 { border-left-width: 4px; }
.border-gray-300 { border-color: rgb(209 213 219); }
.border-gray-700 { border-color: rgb(55 65 81); }
.border-red-500 { border-color: rgb(239 68 68); }
.border-secondary { border-color: rgb(233 78 27); }

.bg-black { background-color: rgb(0 0 0); }
.bg-dark { background-color: rgb(51 51 51); }
.bg-gray-100 { background-color: rgb(243 244 246); }
.bg-light { background-color: rgb(248 249 250); }
.bg-primary { background-color: rgb(15 76 129); }
.bg-red-100 { background-color: rgb(254 226 226); }
.bg-secondary { background-color: rgb(233 78 27); }
.bg-white { background-color: rgb(255 255 255); }

.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pt-6 { padding-top: 1.5rem; }

.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.text-dark { color: rgb(51 51 51); }
.text-gray-200 { color: rgb(229 231 235); }
.text-gray-300 { color: rgb(209 213 219); }
.text-gray-400 { color: rgb(156 163 175); }
.text-gray-600 { color: rgb(75 85 99); }
.text-primary { color: rgb(15 76 129); }
.text-red-700 { color: rgb(185 28 28); }
.text-secondary { color: rgb(233 78 27); }
.text-white { color: rgb(255 255 255); }

.shadow-md { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }

.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-shadow { transition-property: box-shadow; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-duration-300 { transition-duration: 300ms; }

/* Buttons styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  color: #fff;
  background-color: #0f4c81;
  border-color: #0f4c81;
}

.btn-primary:hover {
  background-color: #0c3d69;
  border-color: #0c3d69;
}

.btn-secondary {
  color: #fff;
  background-color: #e94e1b;
  border-color: #e94e1b;
}

.btn-secondary:hover {
  background-color: #d44416;
  border-color: #d44416;
}

.btn-white {
  color: #0f4c81;
  background-color: #fff;
  border-color: #fff;
}

.btn-white:hover {
  color: #0f4c81;
  background-color: #f8f9fa;
  border-color: #f8f9fa;
}

.btn-outline-primary {
  color: #0f4c81;
  background-color: transparent;
  border-color: #0f4c81;
}

.btn-outline-primary:hover {
  color: #fff;
  background-color: #0f4c81;
  border-color: #0f4c81;
}

.btn-outline-secondary {
  color: #e94e1b;
  background-color: transparent;
  border-color: #e94e1b;
}

.btn-outline-secondary:hover {
  color: #fff;
  background-color: #e94e1b;
  border-color: #e94e1b;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.25rem;
  border-radius: 0.5rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Contact buttons */
.app-contact-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: white;
  color: #0f4c81;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  text-decoration: none;
}

.app-contact-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.app-contact-button.primary {
  background-color: #e94e1b;
  color: white;
} 