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

html {
  scroll-behavior: smooth;
}

:root {
  --primary-color: #1a472a;
  --secondary-color: #fbbf24;
  --accent-color: #065f46;
  --text-color: #1f2937;
  --bg-color: #f0fdf4;
  --bg-secondary: #dcfce7;
  --dark-color: #0f172a;
  --light-color: #ffffff;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-color);
}

h1 {
  font-size: calc(2rem + 2vw);
  font-weight: 800;
}

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

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

h5 {
  font-size: 1.375rem;
  font-weight: 600;
}

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

a {
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  color: var(--primary-color);
}

a:hover {
  opacity: .8;
  color: var(--accent-color);
}

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

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

.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%; }
.col-lg-8 { flex: 0 0 auto; width: 66.66%; }
.col-lg-6 { flex: 0 0 auto; width: 50%; }
.col-lg-4 { flex: 0 0 auto; width: 33.33%; }
.col-md-6 { flex: 0 0 auto; width: 50%; }
.col-md-4 { flex: 0 0 auto; width: 33.33%; }

.navbar {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(15px);
  padding: 1.2rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(251, 191, 36, 0.3);
}

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

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  padding: 0.5rem 0;
  text-decoration: none;
}

.navbar-brand:hover {
  color: var(--secondary-color);
  opacity: 0.9;
}

.navbar-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-item {
  margin: 0 0.5rem;
}

.nav-link {
  color: #f8fafc;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  transition: all 0.3s ease;
  border-radius: 8px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
}

.nav-link:hover {
  color: var(--secondary-color);
  background: rgba(251, 191, 36, 0.15);
  transform: translateY(-1px);
  opacity: 1;
}

.navbar-toggler {
  background: none;
  border: 2px solid var(--secondary-color);
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: none;
}

.navbar-toggler:hover {
  background: rgba(251, 191, 36, 0.1);
  border-color: #f59e0b;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.3);
}

.navbar-toggler-icon {
  width: 28px;
  height: 28px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23fbbf24' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

.navbar-collapse {
  display: flex;
  align-items: center;
}

.collapse:not(.show) {
  display: flex !important;
}

.hero-section {
  height: 100vh;
  background: linear-gradient(135deg, rgba(26, 71, 42, 0.85) 0%, rgba(6, 95, 70, 0.85) 100%),
              url('../rivasxz/repzd1.webp');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, 
    rgba(26, 71, 42, 0.7) 0%, 
    rgba(6, 95, 70, 0.6) 50%, 
    rgba(26, 71, 42, 0.8) 100%);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  color: var(--light-color);
  font-size: calc(2.5rem + 3vw);
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 2px 4px 8px rgba(0,0,0,0.4);
  line-height: 1.2;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.35rem;
  margin-bottom: 2.5rem;
  opacity: 1;
  text-shadow: 1px 2px 4px rgba(0,0,0,0.3);
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.btn {
  display: inline-block;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: all 0.4s ease;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-action-1 {
  background: linear-gradient(135deg, var(--secondary-color), #f59e0b);
  color: var(--dark-color);
  border-color: var(--secondary-color);
  font-weight: 800;
}

.btn-action-1:hover {
  background: linear-gradient(135deg, #f59e0b, var(--secondary-color));
  color: var(--dark-color);
  border-color: #f59e0b;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(251, 191, 36, 0.4);
}

.btn-outline-light {
  background: transparent;
  color: var(--light-color);
  border-color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.btn-outline-light:hover {
  background: var(--light-color);
  color: var(--primary-color);
  border-color: var(--light-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.display-3 { font-size: calc(1.675rem + 4.2vw); }
.display-5 { font-size: calc(1.525rem + 2.4vw); }

.bg-bg-2 { background-color: var(--bg-secondary); }
.bg-bg-3 { background-color: var(--bg-color); }

.bg-action-gradient {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.text-primary { color: var(--primary-color); }
.text-white { color: var(--light-color); }

.feature-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--secondary-color), #f59e0b);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-color);
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
  transition: transform 0.3s ease;
}

.feature-icon:hover {
  transform: translateY(-2px);
}

.contact-form .form-control {
  background: var(--light-color);
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(26, 71, 42, 0.1);
}

.form-label {
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  display: block;
}

.footer-section {
  background: linear-gradient(135deg, var(--dark-color) 0%, #1e293b 100%);
  color: var(--light-color);
  padding: 4rem 0 2rem;
}

.footer-brand {
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 1.5rem;
}

.footer-title {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

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

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid #334155;
  margin-top: 2rem;
  padding-top: 2rem;
}

.footer-copyright,
.footer-made {
  color: #64748b;
  font-size: 0.9rem;
  margin: 0;
}

.py-11 { padding-top: 3rem; padding-bottom: 3rem; }
.py-lg-21 { padding-top: 5rem; padding-bottom: 5rem; }
.mb-5 { margin-bottom: 1.5rem; }
.mb-6 { margin-bottom: 1.75rem; }
.mb-7 { margin-bottom: 2rem; }
.mb-8 { margin-bottom: 2.25rem; }
.mb-9 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3.5rem; }
.mt-4 { margin-top: 1.25rem; }
.me-4 { margin-right: 1.25rem; }
.ps-13 { padding-left: 3.5rem; }
.ps-lg-13 { padding-left: 3.5rem; }
.ps-xl-4 { padding-left: 1.25rem; }

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

.text-center { text-align: center; }
.text-md-start { text-align: left; }
.text-md-end { text-align: right; }

.position-relative { position: relative; }
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.flex-column { flex-direction: column; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-100 { width: 100%; }

.navbar-toggler {
  background: none;
  border: 2px solid var(--secondary-color);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.navbar-toggler:hover {
  background: rgba(251, 191, 36, 0.1);
  border-color: #f59e0b;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.3);
}

.navbar-toggler-icon {
  width: 28px;
  height: 28px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23fbbf24' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

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

@media (min-width: 768px) {
  .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%; }
  .mb-md-0 { margin-bottom: 0; }
  .text-md-start { text-align: left; }
  .text-md-end { text-align: right; }
}

@media (min-width: 992px) {
  .col-lg-2 { flex: 0 0 auto; width: 16.66666667%; }
  .col-lg-3 { flex: 0 0 auto; width: 25%; }
  .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-8 { flex: 0 0 auto; width: 66.66666667%; }
  
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }
  
  .navbar-expand-lg .navbar-toggler {
    display: none;
  }
  
  .mb-lg-0 { margin-bottom: 0; }
  .mb-lg-13 { margin-bottom: 3.75rem; }
  .mb-lg-21 { margin-bottom: 5.25rem; }
  .py-lg-21 { padding-top: 5.25rem; padding-bottom: 5.25rem; }
  .ps-lg-13 { padding-left: 3.75rem; }
  .text-lg-start { text-align: left; }
}

@media (min-width: 1200px) {
  .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%; }
  .ps-xl-4 { padding-left: 1.25rem; }
  
  h2 { font-size: 2.125rem; }
  .display-3 { font-size: 4.75rem; }
  .display-5 { font-size: 3.25rem; }
}

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

@media (max-width: 991px) {
  .navbar {
    padding: 1rem 0;
  }
  
  .navbar .container {
    flex-wrap: wrap;
  }
  
  .navbar-nav {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 12px;
    border: 1px solid rgba(251, 191, 36, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  }
  
  .nav-link {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: block;
    width: 100%;
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
  
  .nav-link:hover {
    background: rgba(251, 191, 36, 0.2);
    border-radius: 8px;
  }
}

@media (min-width: 992px) {
  .navbar-nav {
    flex-direction: row;
    width: auto;
    margin-top: 0;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
  }
  
  .nav-link {
    padding: 0.75rem 1.25rem;
    text-align: left;
    border-bottom: none;
    display: inline-block;
    width: auto;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    width: 100%;
    max-width: 280px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .ps-13 {
    padding-left: 2rem;
  }
  
  .feature-icon {
    width: 48px;
    height: 48px;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }
  
  .navbar-nav {
    flex-direction: column;
  }
  
  .nav-link {
    padding: 0.75rem;
    text-align: center;
  }
}