/*--------------------------------------------------------------
# Custom Design Refresh (Glassmorphism & Bootstrap Overrides)
--------------------------------------------------------------*/

/* Glassmorphism Card */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25);
}

/* Hero Section Overrides */
.hero-content {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title {
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Custom Buttons */
.btn-custom {
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary-custom {
  background: linear-gradient(45deg, #1acc8d, #12a571);
  color: white;
}

.btn-primary-custom:hover {
  background: linear-gradient(45deg, #12a571, #1acc8d);
  transform: translateY(-2px);
  color: white;
  box-shadow: 0 6px 20px rgba(26, 204, 141, 0.4);
}

.btn-secondary-custom {
  background: linear-gradient(45deg, #ffc107, #ffca2c);
  color: #333;
}

.btn-secondary-custom:hover {
  background: linear-gradient(45deg, #ffca2c, #ffc107);
  transform: translateY(-2px);
  color: #333;
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

/* Section Styling */
.section-header h2 {
  font-weight: 700;
  color: #010483;
  position: relative;
  padding-bottom: 15px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: #1acc8d;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Navbar Overrides */
.navbar-custom {
  background: rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(10px);
  padding: 15px 0;
  z-index: 9999 !important;
}

.nav-link-custom {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  position: relative;
  padding: 8px 16px !important;
}

.nav-link-custom::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: #1acc8d;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link-custom:hover::after {
  width: 80%;
}

/* Form Controls */
.form-control-custom {
  border-radius: 10px;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  background: rgba(255, 255, 255, 0.9);
}

.form-control-custom:focus {
  box-shadow: 0 0 0 3px rgba(26, 204, 141, 0.25);
  border-color: #1acc8d;
}

/* Footer */
.footer-custom {
  background: #0b0d19;
  color: #fff;
}

/* Premium Button */
.btn-premium {
  background: linear-gradient(45deg, #ffc107, #ffdb4d);
  color: #333;
  border: 1px solid rgba(255, 193, 7, 0.5);
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-premium:hover {
  background: linear-gradient(45deg, #ffdb4d, #ffc107);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5);
  color: #000;
}

/* Icon Animations */
.glass-card .icon-container i {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover .icon-container i {
  transform: scale(1.2) rotate(10deg);
}

/* Stats Section */
.stats-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(45deg, #1acc8d, #0d6efd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Floating CTA Button (Mobile) */
.floating-cta {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9990;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  animation: floatUp 0.5s ease-out;
}

@keyframes floatUp {
  from {
    transform: translate(-50%, 100px);
    opacity: 0;
  }

  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

/* Calculator Styles */
.range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: #cbd5e1;
  outline: none;
  opacity: 1;
  transition: opacity .2s;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #1acc8d;
  border: 3px solid #fff;
  cursor: grab;
  box-shadow: 0 4px 10px rgba(26, 204, 141, 0.4);
  transition: transform 0.2s;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.calculator-result {
  font-size: clamp(1.5rem, 3.5vw, 3rem);
  white-space: nowrap;
  overflow: visible;
  line-height: 1.2;
  font-weight: 800;
  background: linear-gradient(45deg, #FFD700, #FFA500);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease;
}

/* Icon Circles */
.icon-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.icon-circle:hover {
  transform: scale(1.1);
}

/* Accordion Customization */
.accordion-item {
  border: none !important;
  background: transparent !important;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(26, 204, 141, 0.1) !important;
  color: #12a571 !important;
  box-shadow: none !important;
}

.accordion-button:focus {
  box-shadow: none !important;
}

/* Testimonials */
.italic {
  font-style: italic;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.5rem !important;
  }

  .hero-content {
    padding: 1.5rem;
    margin: 0 1rem;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2rem !important;
  }

  .display-4 {
    font-size: 2.2rem;
  }

  .lead {
    font-size: 1.1rem;
  }

  .glass-card {
    margin-bottom: 20px;
  }

  /* Planes section scaling fix */
  .transform-scale-sm {
    transform: none !important;
  }

  section {
    padding: 3rem 0 !important;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.7rem !important;
  }

  .hero-content img {
    max-width: 100px !important;
  }

  .btn-lg {
    padding: 10px 20px;
    font-size: 1rem;
  }
}

/* Base Responsive Utilities */
.object-fit-cover {
  object-fit: cover !important;
}

.overflow-hidden {
  overflow: hidden !important;
}

.w-100 {
  width: 100% !important;
}

.h-100 {
  height: 100% !important;
}