/* ===========================================
   Climb Up Limited — Premium Upgrade Layer
   Additive only — no original vars changed
   =========================================== */

/* -----------------------------------------------
   1. HEADER — frosted glass + gradient top bar
----------------------------------------------- */
.header-top-area-wrapper {
  background: linear-gradient(90deg, #062954 0%, #20282D 100%);
  border-bottom: 1px solid rgba(130, 180, 64, 0.18);
}

.header-top-area-wrapper a,
.header-top-area-wrapper p,
.header-top-area-wrapper .working-time p {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.header-top-area-wrapper a:hover {
  color: #82b440 !important;
}

.header-main {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: background 0.35s ease, backdrop-filter 0.35s ease,
    box-shadow 0.35s ease;
  border-bottom: 1px solid rgba(6, 41, 84, 0.06);
}

/* Frosted glass kicks in once JS adds .is-scrolled */
.header--sticky.is-scrolled .header-main {
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  box-shadow: 0 4px 32px rgba(6, 41, 84, 0.10) !important;
  border-bottom: 1px solid rgba(130, 180, 64, 0.2);
}

/* Mega menu shadow elevation */
.rts-mega-menu,
.rts-mega-menu .wrapper {
  box-shadow: 0 16px 48px rgba(6, 41, 84, 0.14) !important;
  border-radius: 12px !important;
  border: 1px solid rgba(221, 216, 249, 0.5);
}

/* -----------------------------------------------
   2. APP STORE BUTTON in header
----------------------------------------------- */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  border-radius: 10px;
  border: 1.5px solid #0b4df5;
  color: #0b4df5 !important;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-secondary);
  background: transparent;
  text-decoration: none;
  transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-appstore i {
  font-size: 15px;
  transition: transform 0.25s ease;
}

.btn-appstore:hover {
  background: linear-gradient(135deg, #062954 0%, #0b4df5 100%);
  border-color: transparent;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(11, 77, 245, 0.32);
}

.btn-appstore:hover i {
  transform: translateY(-1px);
}

/* -----------------------------------------------
   3. PRIMARY BUTTON — gradient glow
----------------------------------------------- */
.rts-btn.btn-primary {
  background: linear-gradient(135deg, #062954 0%, #0b4df5 100%) !important;
  border-color: transparent !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 10px rgba(11, 77, 245, 0.18);
  transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
  overflow: hidden;
}

.rts-btn.btn-primary:hover {
  background: linear-gradient(135deg, #0b4df5 0%, #062954 100%) !important;
  box-shadow: 0 6px 22px rgba(11, 77, 245, 0.38) !important;
  transform: translateY(-2px);
}

.rts-btn.btn-primary:active {
  transform: translateY(0);
}

/* White variant */
.rts-btn.btn-white {
  border-radius: 10px !important;
  transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.rts-btn.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 255, 255, 0.22) !important;
}

/* Ripple element injected by premium.js */
.rts-btn .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: rts-ripple 0.55s linear;
  background: rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

@keyframes rts-ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* -----------------------------------------------
   4. HERO BANNER — gradient overlay + pre badge
----------------------------------------------- */
.banner-four-area-main-wrapper {
  position: relative;
}

/* Animated dark gradient overlay behind content */
.banner-four-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(6, 41, 84, 0.72) 0%,
    rgba(32, 40, 45, 0.50) 60%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

.banner-four-bg .container {
  position: relative;
  z-index: 2;
}

/* Pre-title pill badge */
.inner-content-wrapper-four-banner .pre {
  display: inline-block;
  background: rgba(130, 180, 64, 0.18);
  border: 1px solid rgba(130, 180, 64, 0.45);
  color: #a8d46a !important;
  padding: 5px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Hero H1 tighter tracking */
.inner-content-wrapper-four-banner .title {
  letter-spacing: -0.02em;
}

/* Diagonal wave separator after hero */
.banner-four-area-main-wrapper::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: #fff;
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
  z-index: 3;
  pointer-events: none;
}

/* -----------------------------------------------
   5. APPS CAROUSEL STRIP
----------------------------------------------- */
.cu-apps-strip {
  position: relative;
  z-index: 10;
  margin-top: -24px;
  padding: 0 0 48px;
}

.cu-apps-strip .container-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.cu-apps-strip .swiper-slide {
  display: flex;
  justify-content: center;
}

.cu-app-card {
  display: block;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(6, 41, 84, 0.92) 0%, rgba(32, 40, 45, 0.95) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(130, 180, 64, 0.22);
  border-radius: 18px;
  padding: 32px 40px;
  box-shadow: 0 12px 48px rgba(6, 41, 84, 0.28);
  transition: transform 0.32s ease, box-shadow 0.32s ease;
  width: 100%;
  max-width: 820px;
}

.cu-app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(6, 41, 84, 0.38);
  text-decoration: none;
}

.cu-app-card-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.cu-app-icon {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0b4df5 0%, #82b440 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cu-app-icon i {
  font-size: 30px;
  color: #fff;
}

.cu-app-text {
  flex: 1;
}

.cu-app-text .app-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #82b440;
  margin-bottom: 4px;
}

.cu-app-text h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.cu-app-text p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
  line-height: 1.6;
}

.cu-app-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  background: linear-gradient(135deg, #0b4df5 0%, #062954 100%);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: box-shadow 0.28s ease, transform 0.28s ease;
  flex-shrink: 0;
}

.cu-app-card:hover .cu-app-cta {
  box-shadow: 0 4px 18px rgba(11, 77, 245, 0.45);
  transform: translateY(-1px);
}

.cu-apps-strip-header {
  text-align: center;
  margin-bottom: 24px;
}

.cu-apps-strip-header .strip-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0b4df5;
  margin-bottom: 4px;
}

.cu-apps-strip-header h2 {
  font-size: 26px;
  font-weight: 700;
  color: #20282D;
  margin: 0;
  letter-spacing: -0.01em;
}

/* Swiper dots for strip */
.cu-apps-strip .swiper-pagination-bullet {
  background: #c0cad2;
  opacity: 1;
  width: 8px;
  height: 8px;
  transition: background 0.2s, transform 0.2s;
}

.cu-apps-strip .swiper-pagination-bullet-active {
  background: #82b440;
  transform: scale(1.3);
}

.cu-apps-strip .swiper-pagination {
  bottom: -2px !important;
}

/* Mobile responsiveness for app strip */
@media (max-width: 767px) {
  .cu-app-card-inner {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }
  .cu-app-cta {
    justify-content: center;
    width: 100%;
  }
  .cu-app-card {
    padding: 24px 20px;
  }
  .cu-app-text h3 {
    font-size: 18px;
  }
  .cu-apps-strip-header h2 {
    font-size: 20px;
  }
}

/* -----------------------------------------------
   6. SECTION TITLES — spacing + letter-spacing
----------------------------------------------- */
.title-style-one .title,
.title-style-two .title,
.title-style-five .title,
.title-style-10 .title {
  letter-spacing: -0.015em;
}

.rts-section-gap {
  padding-top: 100px !important;
  padding-bottom: 100px !important;
}

/* -----------------------------------------------
   7. SOLUTION / PROJECT CARDS
----------------------------------------------- */
.project-content-left-5 {
  border-radius: 14px !important;
  box-shadow: 0 4px 28px rgba(6, 41, 84, 0.09);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.32s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
}

.project-content-left-5:not([style*="background"]) {
  background: #fafbfd;
}

.project-content-left-5::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0b4df5 0%, #82b440 100%);
  border-radius: 14px 14px 0 0;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.project-content-left-5:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 52px rgba(6, 41, 84, 0.16) !important;
}

.project-content-left-5:hover::before {
  opacity: 1;
}

/* -----------------------------------------------
   8. INDUSTRIES — sticky statements
----------------------------------------------- */
.sticky-statement {
  border-radius: 12px;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.sticky-statement:hover {
  background: rgba(6, 41, 84, 0.04);
  box-shadow: 0 2px 12px rgba(6, 41, 84, 0.06);
}

.sticky-statement .arrow {
  transition: transform 0.25s ease, color 0.25s ease;
}

.sticky-statement:hover .arrow {
  transform: translateX(4px);
  color: #0b4df5;
}

/* -----------------------------------------------
   9. STATS / FUN-FACTS — gradient numbers
----------------------------------------------- */
.rts-counterup-area .odometer,
.fun-facts-area .odometer,
.counter-up-wrapper .odometer,
[class*="counter"] .odometer,
.count,
.rts-counter-up {
  background: linear-gradient(135deg, #0b4df5 0%, #82b440 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900 !important;
}

/* -----------------------------------------------
   10. TESTIMONIALS — glassmorphism cards
----------------------------------------------- */
.testimonial-card,
[class*="testimonial"] .single-testimonial,
[class*="testimonial"] .testimonial-item,
.swiper-slide .testimonial-inner {
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(221, 216, 249, 0.65) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 28px rgba(6, 41, 84, 0.08) !important;
}

/* -----------------------------------------------
   11. CTA SECTIONS
----------------------------------------------- */
.bg-main,
.rts-cta-area,
[class*="cta"] .bg-main {
  background: linear-gradient(135deg, #062954 0%, #20282D 100%) !important;
  position: relative;
  overflow: hidden;
}

.bg-main::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 77, 245, 0.12) 0%, transparent 70%);
  pointer-events: none;
  animation: cu-pulse 8s ease-in-out infinite;
}

.bg-main::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -5%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(130, 180, 64, 0.10) 0%, transparent 70%);
  pointer-events: none;
  animation: cu-pulse 10s ease-in-out infinite reverse;
}

@keyframes cu-pulse {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.12) translateY(-20px); }
}

/* -----------------------------------------------
   12. FOOTER
----------------------------------------------- */
.footer-8-area-bg,
.bg_main {
  background-color: #111315 !important;
}

.footer-8-area-bg::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #0b4df5 0%, #82b440 50%, #0b4df5 100%);
  background-size: 200% 100%;
  animation: cu-gradient-shift 6s linear infinite;
}

@keyframes cu-gradient-shift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Footer social icon hover glow */
.social-area-wrapper-two li a,
[class*="social"] li a {
  transition: color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease !important;
}

.social-area-wrapper-two li a:hover,
[class*="social"] li a:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 0 0 6px rgba(11, 77, 245, 0.12) !important;
  border-radius: 50%;
}

/* Footer link hover underline slide */
.footer-8-area-bg a:not(.logo):not(.rts-btn):not([class*="social"] a) {
  position: relative;
  text-decoration: none;
  transition: color 0.22s ease;
}

.footer-8-area-bg a:not(.logo):not(.rts-btn):not([class*="social"] a)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: #82b440;
  transition: width 0.28s ease;
}

.footer-8-area-bg a:not(.logo):not(.rts-btn):not([class*="social"] a):hover::after {
  width: 100%;
}

/* -----------------------------------------------
   13. CONTACT FORM — enhanced inputs
----------------------------------------------- */
.contact-form-area input,
.contact-form-area textarea,
.rts-contact-form input,
.rts-contact-form textarea,
form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea {
  border-radius: 10px !important;
  border: 1.5px solid rgba(6, 41, 84, 0.14) !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
  background: #fafbfd !important;
}

.contact-form-area input:focus,
.contact-form-area textarea:focus,
.rts-contact-form input:focus,
.rts-contact-form textarea:focus,
form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="tel"]:focus,
form textarea:focus {
  border-color: #0b4df5 !important;
  box-shadow: 0 0 0 4px rgba(11, 77, 245, 0.12) !important;
  outline: none !important;
  background: #fff !important;
}

/* -----------------------------------------------
   14. PRELOADER — brand colors
----------------------------------------------- */
.loader {
  border-color: rgba(6, 41, 84, 0.12) !important;
  border-top-color: #0b4df5 !important;
}

.loader-wrapper {
  background: linear-gradient(135deg, #062954 0%, #20282D 100%) !important;
}

/* -----------------------------------------------
   15. BACK-TO-TOP BUTTON
----------------------------------------------- */
.back-to-top,
#back-to-top,
.progress-wrap {
  background: linear-gradient(135deg, #062954 0%, #0b4df5 100%) !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 18px rgba(11, 77, 245, 0.35) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.back-to-top:hover,
#back-to-top:hover,
.progress-wrap:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 26px rgba(11, 77, 245, 0.45) !important;
}

/* -----------------------------------------------
   16. GENERAL CARD / ABOUT SECTION POLISH
----------------------------------------------- */
.rts-about-area-two,
.rts-about-area-start {
  position: relative;
}

.about-inner-content-two,
.about-area-wrapper-content-10 {
  background: transparent;
}

/* Checklist items premium look */
.check-area-details li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(6, 41, 84, 0.06);
  transition: color 0.2s ease;
}

.check-area-details li:last-child {
  border-bottom: none;
}

.check-area-details li:hover {
  color: #20282D;
}

/* -----------------------------------------------
   17. MOBILE RESPONSIVE OVERRIDES
----------------------------------------------- */
@media (max-width: 991px) {
  .btn-appstore {
    font-size: 13px;
    padding: 8px 14px;
  }
}

@media (max-width: 767px) {
  .rts-section-gap {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  .cu-apps-strip {
    margin-top: 0;
    padding: 32px 0 48px;
  }

  .banner-four-area-main-wrapper::after {
    display: none;
  }
}
