:root {
  --primary: #1E3A8A;
  --primary-dark: #172554;
  --primary-light: #3B82F6;
  --primary-soft: #EFF6FF;
  --white: #FFFFFF;
  --dark: #1E293B;
  --light: #F8FAFC;
  --gray: #64748B;
  --light-gray: #F1F5F9;
  --yellow: #FFD700;
  --yellow-dark: #FFC000;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--dark);
  background-color: var(--white);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.6;
  padding-top: 80px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--primary);
}

.section-subtitle {
  display: block;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 0.9rem;
}

.divider {
  height: 3px;
  width: 60px;
  background-color: var(--primary);
  margin: 1.5rem auto;
}

.icon-box {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.hover-scale {
  transition: var(--transition);
}

.hover-scale:hover {
  transform: scale(1.03);
}

.btn {
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: white;
}

.btn-hover-gradient {
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  background-size: 200% auto;
  transition: var(--transition);
}

.btn-hover-gradient:hover {
  background-position: right center;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  background-color: rgba(255, 255, 255, 0.98) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  padding: 1rem 0;
}

.navbar-brand img {
  height: 40px;
  transition: var(--transition);
}

.nav-link {
  font-weight: 600;
  color: var(--dark) !important;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: var(--transition);
  border-radius: 0.5rem;
}

.nav-link:hover, 
.nav-link.active {
  color: var(--primary) !important;
}

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

.nav-link:hover::before,
.nav-link.active::before {
  width: calc(100% - 2rem);
}

.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: -80px;
  text-align: center;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  padding: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  line-height: 1.3;
}

.text-warning {
  color: var(--yellow) !important;
  position: relative;
  display: inline-block;
}

.text-warning::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(255, 215, 0, 0.3);
  z-index: -1;
  transform: skewX(-15deg);
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.card-item {
  transition: var(--transition);
}

.card-item.hidden {
  display: none;
}

.show-more-btn {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.show-more-btn i {
  transition: var(--transition);
  margin-left: 0.5rem;
}

.show-more-btn.rotate i {
  transform: rotate(180deg);
}

.footer {
  background-color: var(--dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer h5 {
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icons a {
  color: white;
  font-size: 1.25rem;
  transition: var(--transition);
}

.social-icons a:hover {
  color: var(--primary);
  transform: translateY(-3px);
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.whatsapp-float:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  transition-property: unsets;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.show {
  opacity: 1;
  transform: translateY(0);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.process-step {
  display: flex;
  align-items: flex-start;
}

.step-content {
  flex: 1;
}

.step-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
  font-size: 1.25rem;
  font-weight: 600;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #3c9ae7;
  color: white;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1rem;
  flex-shrink: 0;
}

.step-content p {
  color: #6c757d;
  padding-left: calc(36px + 1rem);
}

.service-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}
    
.service-card.featured {
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.15);
  border: 1px solid rgba(30, 58, 138, 0.1);
}
    
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
    
.service-card.featured:hover {
  box-shadow: 0 15px 35px rgba(30, 58, 138, 0.2);
}
    
.service-card .card-img-top {
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
    
.service-card:hover .card-img-top {
  transform: scale(1.05);
}
    
.service-card .card-body {
  padding: 1.5rem;
}
    
.service-features {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}
    
.service-features li {
  margin-bottom: 0.5rem;
}
    
.rating {
  font-size: 0.9rem;
}
    
.badge {
  font-weight: 500;
  padding: 0.35em 0.65em;
}
    
[data-delay="100"] {
  transition-delay: 0.1s;
}
    
[data-delay="200"] {
  transition-delay: 0.2s;
}
    
[data-delay="300"] {
  transition-delay: 0.3s;
}
    
[data-delay="400"] {
  transition-delay: 0.4s;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  align-items: stretch; 
}

.card-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-features {
  flex-grow: 1; 
  margin-bottom: 1rem;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.39, 0.575, 0.565, 1), 
              transform 0.6s cubic-bezier(0.39, 0.575, 0.565, 1);
}

.animate-on-scroll.show {
  opacity: 1;
  transform: translateY(0);
}

.card-item:nth-child(1).animate-on-scroll.show {
  transition-delay: 0.1s;
}
.card-item:nth-child(2).animate-on-scroll.show {
  transition-delay: 0.2s;
}
.card-item:nth-child(3).animate-on-scroll.show {
  transition-delay: 0.3s;
}
.card-item:nth-child(4).animate-on-scroll.show {
  transition-delay: 0.4s;
}
.card-item:nth-child(5).animate-on-scroll.show {
  transition-delay: 0.5s;
}
.card-item:nth-child(6).animate-on-scroll.show {
  transition-delay: 0.6s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.icon-box {
  width: 60px;
  height: 60px;
  font-size: 1.75rem;
}

.card h3 {
  min-height: 3rem;
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}
    
@media (max-width: 992px) {
    .service-card.featured .row {
      flex-direction: column;
    }
        
    .service-card.featured .col-md-6 {
      width: 100%;
    }
        
    .service-card.featured img {
      height: 250px;
    }
}

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

@media (max-width: 992px) {
  .navbar-collapse {
    background: var(--white);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .section {
    padding: 4rem 0;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 600px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 14px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .navbar-brand img {
    height: 35px;
  }
}

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

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

    .section {
        padding: 4rem 0;
    }

    .navbar-collapse {
        background: var(--white, #fff);
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 8px;
        box-shadow: var(--shadow-md, 0 4px 6px rgba(0,0,0,0.1));
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .hero-section {
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-content .d-flex {
        flex-direction: column;
        align-items: center;
    }

    .hero-content .btn {
        width: 100%;
        max-width: 350px;
        margin-bottom: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .modal-dialog .col-lg-7 {
        padding: 2rem !important;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 15px;
    }

    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }

    .navbar-brand img {
        height: 35px;
    }
}