﻿* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  color: #2d3748;
  background-color: #fafbfc;
}

h1, h2, h3, h5 {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-size: calc(1.875rem + 1.5vw);
}

h2 {
  font-size: calc(1.425rem + 1.1vw);
}

h3 {
  font-size: calc(1.375rem + .8vw);
}

h5 {
  font-size: 1.375rem;
}

p {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

a {
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  color: #ff6b35;
}

a:hover {
  opacity: .8;
  transform: translateY(-1px);
}

img {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

input, button, select, textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.display-3 {
  font-size: calc(1.675rem + 4.2vw);
  font-weight: 700;
  line-height: 1.15;
}

.display-5 {
  font-size: calc(1.525rem + 2.4vw);
  font-weight: 600;
  line-height: 1.15;
}

.container {
  width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
  margin-right: auto;
  margin-left: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -1rem;
  margin-left: -1rem;
}

.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
}

.col-12 {
  flex: 0 0 auto;
  width: 100%;
}

.form-label {
  margin-bottom: .75rem;
  display: inline-block;
  font-weight: 500;
  color: #4a5568;
}

.form-control {
  display: block;
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  background-color: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: 0;
  border-color: #ff6b35;
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.15);
}

.form-select {
  display: block;
  width: 100%;
  padding: 1rem 3rem 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  background-color: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  appearance: none;
  transition: all 0.3s ease;
}

.form-select:focus {
  outline: 0;
  border-color: #ff6b35;
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.15);
}

.form-check {
  display: block;
  min-height: 1.75rem;
  padding-left: 0;
  margin-bottom: 0;
}

.form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.25rem;
  margin-right: .75rem;
  vertical-align: top;
  background-color: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 4px;
  appearance: none;
  transition: all 0.3s ease;
}

.form-check-input:checked {
  background-color: #ff6b35;
  border-color: #ff6b35;
}

.form-check-label {
  cursor: pointer;
  font-size: 0.95rem;
}

.btn {
  display: inline-block;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  user-select: none;
  border: 2px solid transparent;
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-action-1 {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-action-1:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
  opacity: 1;
  color: white;
}

.btn-outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.6);
}

.nav-link {
  display: block;
  padding: .75rem 1.25rem;
  transition: all 0.3s ease;
  font-weight: 500;
}

.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.navbar > .container {
  display: flex;
  flex-wrap: inherit;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  padding-top: .5rem;
  padding-bottom: .5rem;
  margin-right: 1.25rem;
  font-size: 1.5rem;
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
}

.navbar-toggler {
  padding: .5rem .75rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.navbar-toggler:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.collapse:not(.show) {
  display: none;
}

.gradient-header {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #ff6b35 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../rivasxz/qgixva1.webp') center/cover no-repeat;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(59, 130, 246, 0.7) 50%, rgba(255, 107, 53, 0.8) 100%);
  z-index: 2;
}

.hero-section .container {
  z-index: 3;
}

.feature-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-circle {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
  transition: all 0.3s ease;
}

.icon-circle:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4);
}

.bg-bg-2 {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
}

.bg-bg-3 {
  background-color: #ffffff;
}

.bg-contact {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
}

.contact-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.footer-gradient {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #ff6b35 100%);
  position: relative;
  overflow: hidden;
}

.footer-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
  opacity: 0.3;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ff6b35 !important;
  opacity: 1;
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.border-action {
  border-color: #ff6b35 !important;
}

.list-unstyled {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-highlights {
  transition: all 0.3s ease;
}

.news-highlights:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.team-icon, .expansion-icon {
  margin-top: 1rem;
}

.success-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

.content-section {
  background: rgba(248, 250, 252, 0.5);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid #ff6b35;
  transition: all 0.3s ease;
}

.content-section:hover {
  background: rgba(248, 250, 252, 0.8);
  transform: translateX(5px);
}

.opacity-80 {
  opacity: 0.8;
}

.opacity-60 {
  opacity: 0.6;
}

.text-white {
  color: white !important;
}

.rounded-3 {
  border-radius: 1rem !important;
}

.d-flex {
  display: flex !important;
}

.position-relative {
  position: relative !important;
}

.position-absolute {
  position: absolute !important;
}

.w-100 {
  width: 100% !important;
}

.flex-column {
  flex-direction: column !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.align-items-center {
  align-items: center !important;
}

.mt-4 { margin-top: 1.25rem !important; }
.mt-6 { margin-top: 1.75rem !important; }
.mt-7 { margin-top: 2rem !important; }
.mt-8 { margin-top: 2.25rem !important; }
.mt-12 { margin-top: 3.5rem !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: .75rem !important; }
.mb-4 { margin-bottom: 1.25rem !important; }
.mb-5 { margin-bottom: 1.5rem !important; }
.mb-6 { margin-bottom: 1.75rem !important; }
.mb-7 { margin-bottom: 2rem !important; }
.mb-8 { margin-bottom: 2.25rem !important; }
.mb-9 { margin-bottom: 2.5rem !important; }
.mb-12 { margin-bottom: 3.5rem !important; }
.mb-13 { margin-bottom: 3.75rem !important; }
.mb-16 { margin-bottom: 4.5rem !important; }

.ms-auto { margin-left: auto !important; }
.me-4 { margin-right: 1.25rem !important; }

.p-6 { padding: 1.75rem !important; }
.p-8 { padding: 2.25rem !important; }
.p-9 { padding: 2.5rem !important; }

.py-3 { padding-top: .875rem !important; padding-bottom: .875rem !important; }
.py-8 { padding-top: 2.25rem !important; padding-bottom: 2.25rem !important; }
.py-10 { padding-top: 2.75rem !important; padding-bottom: 2.75rem !important; }
.py-11 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

.ps-9 { padding-left: 2.5rem !important; }
.ps-12 { padding-left: 3.5rem !important; }
.pt-6 { padding-top: 1.75rem !important; }

.fs-1 { font-size: 1.625rem !important; }
.fs-2 { font-size: 1.4375rem !important; }
.fs-3 { font-size: 1.3125rem !important; }
.fs-4 { font-size: 1.1875rem !important; }

.fw-bold { font-weight: 600 !important; }

.text-center { text-align: center !important; }
.text-decoration-none { text-decoration: none !important; }

.rounded-2 { border-radius: .75rem !important; }

@media (min-width: 576px) {
  .container { max-width: 560px; }
}

@media (min-width: 768px) {
  .container { max-width: 740px; }
  
  .col-md-3 { flex: 0 0 auto; width: 25%; }
  .col-md-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-md-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-md-6 { flex: 0 0 auto; width: 50%; }
  .col-md-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-md-8 { flex: 0 0 auto; width: 66.66666667%; }
  .col-md-10 { flex: 0 0 auto; width: 83.33333333%; }
  
  .flex-md-row { flex-direction: row !important; }
  .justify-content-md-end { justify-content: flex-end !important; }
  .align-items-md-center { align-items: center !important; }
  
  .me-md-4 { margin-right: 1.25rem !important; }
  .mb-md-0 { margin-bottom: 0 !important; }
  .mb-md-16 { margin-bottom: 4.5rem !important; }
  
  .p-md-8 { padding: 2.25rem !important; }
  .p-md-12 { padding: 3.5rem !important; }
  .p-md-13 { padding: 3.75rem !important; }
  
  .text-md-start { text-align: left !important; }
  .text-md-end { text-align: right !important; }
}

@media (min-width: 992px) {
  .container { max-width: 980px; }
  
  .col-lg-2 { flex: 0 0 auto; width: 16.66666667%; }
  .col-lg-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-lg-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-lg-6 { flex: 0 0 auto; width: 50%; }
  .col-lg-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-lg-8 { flex: 0 0 auto; width: 66.66666667%; }
  .col-lg-9 { flex: 0 0 auto; width: 75%; }
  
  .navbar-expand-lg { flex-wrap: nowrap; justify-content: flex-start; }
  .navbar-expand-lg .navbar-nav { flex-direction: row; }
  .navbar-expand-lg .navbar-nav .nav-link { padding-right: 1rem; padding-left: 1rem; }
  .navbar-expand-lg .navbar-collapse { display: flex !important; flex-basis: auto; }
  .navbar-expand-lg .navbar-toggler { display: none; }
  
  .mb-lg-0 { margin-bottom: 0 !important; }
  .mb-lg-12 { margin-bottom: 3.5rem !important; }
  .mb-lg-20 { margin-bottom: 5.5rem !important; }
  .mb-lg-21 { margin-bottom: 6rem !important; }
  
  .py-lg-15 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
  .py-lg-20 { padding-top: 5.5rem !important; padding-bottom: 5.5rem !important; }
  .py-lg-21 { padding-top: 6rem !important; padding-bottom: 6rem !important; }
  
  .text-lg-start { text-align: left !important; }
}

@media (min-width: 1200px) {
  .container { max-width: 1160px; }
  
  .col-xl-3 { flex: 0 0 auto; width: 25%; }
  .col-xl-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-xl-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-xl-6 { flex: 0 0 auto; width: 50%; }
  .col-xl-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-xl-8 { flex: 0 0 auto; width: 66.66666667%; }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2.125rem; }
  h3 { font-size: 1.875rem; }
  
  .display-3 { font-size: 4.75rem; }
  .display-5 { font-size: 3.25rem; }
}

@media (min-width: 1400px) {
  .container { max-width: 1340px; }
  
  .col-xxl-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-xxl-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-xxl-6 { flex: 0 0 auto; width: 50%; }
  .col-xxl-7 { flex: 0 0 auto; width: 58.33333333%; }
}

@media (max-width: 576px) {
  .navbar-brand { font-size: 1.25rem !important; }
  .display-3 { font-size: calc(1.5rem + 2vw) !important; }
  .display-5 { font-size: calc(1.3rem + 1.8vw) !important; }
  .py-10 { padding-top: 1.75rem !important; padding-bottom: 1.75rem !important; }
  .py-11 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
  .hero-section { min-height: 80vh; }
  .btn { padding: 0.75rem 1.5rem; font-size: 0.95rem; }
}