/* Custom CSS extracted from templates/index.html */

:root {
  --lm-text-gradient: linear-gradient(90deg, #e4a501 0%, #dc9b22 10%, #d3963a 20%, #ca8f54 30%, #be8778 40%, #bb8582 50%, #b27e99 60%, #a676ba 70%, #a172cb 80%, #9b6edf 90%, #9369f3 100%);
  --lm-bg-dark: #0B111E;
  --lm-bg-darker: #10192D;
}

/* Language Picker Flag */
.language-picker__flag--spain::before {
  background-image: url("../images/es.svg");
}

/* Responsive adjustments */
@media(max-width:992px) {
  #desktop-lottie-preview {
    display: none;
  }
}

.scale {
  opacity: 0;
}

ul:not(.u-unstyled):not(.code-list) {
  font-size: 1.125rem;
  margin-top: 20px;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* === Code Style List (Replaces Emojis) === */
.code-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.code-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 25px;
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.code-list li::before {
  content: '>_';
  /* Code-like bullet */
  position: absolute;
  left: 0;
  top: 0;
  color: #e4a501;
  /* Brand Gold */
  font-family: 'Courier New', Courier, monospace;
  /* Monospace font for code feel */
  font-weight: 700;
  font-size: 1.2em;
}

.code-list li strong {
  display: block;
  color: #fff !important;
  margin-bottom: 5px;
  font-size: 1.25rem;

  /* Reset gradient/clip explicitly to fix override */
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: initial !important;
}

.code-list li strong a {
  color: inherit !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: initial !important;
  text-decoration: none !important;
}

/* Feature Link (Más información ->) */
.feature-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  color: #e4a501 !important;
  /* Always Gold/Orange */
  background: none !important;
  -webkit-text-fill-color: initial !important;
  -webkit-background-clip: border-box !important;
  text-decoration: none;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.feature-link:hover {
  transform: translateX(5px);
  color: #ffbf35 !important;
  /* Lighter gold on hover */
}

/* Apply styles directly using body class */
.rs-banner.banner-style5 {
  padding-top: 120px;
  padding-bottom: 30px;
  min-height: calc(100vh - 80px);
  /* Full viewport minus header */
  display: flex;
  align-items: center;
  /* Vertical center */
  position: relative;
  z-index: 1;
}

/* Homepage specific hero adjustments */
[class*="home-index"] .rs-banner.banner-style5 {
  padding-top: 180px;
  padding-bottom: 20px;
}

[class*="home-index"] .rs-banner.banner-style5 .sub-text {
  margin-bottom: 10px;
}

[class*="home-index"] .rs-banner.banner-style5 .rs-animated-heading {
  margin-bottom: 25px;
}

[class*="home-index"] .rs-banner.banner-style5 #text-animation-rotating {
  min-height: 70px;
}

[class*="home-index"] .rs-banner.banner-style5 .code-list li {
  margin-bottom: 8px;
  font-size: 0.9rem;
  line-height: 1.45;
}

[class*="home-index"] .rs-banner.banner-style5 .code-list li strong {
  font-size: 1rem;
  margin-bottom: 2px;
}

[class*="home-index"] .rs-banner.banner-style5 .btn-part.mt-30 {
  margin-top: 35px !important;
}

[class*="home-index"] .rs-banner.banner-style5 .content-wrap {
  padding-right: 0;
}

@media(max-width:991px) {
  .rs-banner.banner-style5 {
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: auto;
    /* Reset for mobile/tablet */
    display: block;
    /* Stacked layout */
  }
}

@media(max-width:576px) {

  /* Min height for mobile */
  .rs-animated-heading {
    min-height: 400px;
  }
}

/* Text animation responsive sizing - FIXED for 2 lines stability */
#text-animation-typewriter,
#text-animation-rotating {
  display: inline-block;
  vertical-align: top;
  contain: layout style;
  width: auto;
  min-height: 140px;
  /* Reserve space for 2 lines (Desktop) */
  position: relative;
  /* Remove gradient from container to avoid clipping issues */
  background: none;
  color: #ffffff;
  -webkit-text-fill-color: initial;
}

/* Animation container wrapper - Remove constraint */
.rs-animated-heading .title-inner>h2>div {
  min-height: auto;
}

/* Mobile Lottie sizing */
@media (max-width: 767px) {

  .rs-banner .image-part dotlottie-wc,
  .rs-banner.banner-style5 dotlottie-wc {
    height: 300px !important;
    max-height: 300px !important;
  }
}

@media(max-width:767px) {

  /* Mobile: 36px font * 1.1 line-height * 3 lines ~= 120px */
  #text-animation-typewriter,
  #text-animation-rotating {
    min-height: 130px;
  }
}

@media(max-width:576px) {

  #text-animation-typewriter,
  #text-animation-rotating {
    min-height: 130px;
  }
}

/* === LM Gradient === */
.lm-gradient-bg {
  background: var(--lm-text-gradient);
}

/* Gradient text wrapper for animated elements */
.lm-gradient-text-anim {
  display: inline-block;
  font-weight: 700;
}

/* Apply gradient to elements with data-gradient="lince" attribute */
[data-gradient="lince"] {
  background-image: var(--lm-text-gradient) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 700;
}

/* STATIC Gradient Text Helper */
.lm-gradient-text {
  background-image: var(--lm-text-gradient) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
}

/* Apply gradient DIRECTLY to the animated text content (children) */
#text-animation-rotating span,
#text-animation-rotating b,
#text-animation-rotating i,
#text-animation-rotating strong,
.lm-gradient-text-anim span,
.lm-gradient-text-anim b {
  background-image: var(--lm-text-gradient) !important;

  /* Standard syntax */
  background-clip: text !important;

  /* Webkit syntax */
  -webkit-background-clip: text !important;

  /* Make text transparent to show background */
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;

  /* Font weight match */
  font-weight: 700 !important;

  /* Ensure inline-block for clip to work well */
  display: inline-block;
  padding-bottom: 0.1em;
  /* Prevent descender clipping */

  /* Hardware acceleration */
  transform: translateZ(0);
}

/* Ensure children of animated text also get gradient */
.lm-gradient-text-anim span,
.lm-gradient-text-anim i,
.lm-gradient-text-anim b,
.lm-gradient-text-anim strong,
[data-gradient="lince"] span,
[data-gradient="lince"] i,
[data-gradient="lince"] b,
[data-gradient="lince"] strong {
  background-image: inherit !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 700 !important;
}

/* Fix: rotating-text-char has inline gradient but parent sets bg:none - don't inherit */
.lm-gradient-text-anim .rotating-text-char,
[data-gradient="lince"] .rotating-text-char {
  background-image: var(--lm-text-gradient) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

/* Text Animation Containers */
#text-animation-typewriter,
#text-animation-rotating {
  /* Inherit font sizes */
  font-size: inherit;
  line-height: inherit;
}

/* Apply gradient to typewriter text content */
#text-animation-typewriter .typewriter-text {
  background: inherit !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

/* Cursor styling for TypeWriter */
#text-animation-typewriter .typewriter-cursor {
  color: #9369f3 !important;
  -webkit-text-fill-color: #9369f3 !important;
  font-weight: 400;
  /* Cursor can be thinner */
  margin-left: 2px;
}

/* Fix for words wrapper */
.cd-words-wrapper,
.cd-words-wrapper span {
  padding-bottom: 10px !important;
  line-height: 1.3 !important;
  min-height: 1.5em !important;
}

/* Banner + Partners: unified hero background */
.rs-banner.banner-style5,
.rs-partner.partner-style2 {
  background: var(--lm-bg-dark) !important;
}

.rs-banner.banner-style5>.container>.row {
  background: unset !important;
}

/* Gradient Sections */
/* Gradient Sections - REMOVED per user feedback (Excessive Gradient) */
/* Replaced with Dark Background + Ambient Depths */
.main-content>div:nth-child(4),
.main-content>div:nth-child(7) {
  background: var(--lm-bg-dark) !important;
  position: relative;
  overflow: hidden;
  /* Contain the orbs */
}

/* Add a very subtle, deep radial glow instead of the flat gradient */
/* Performance Section - Purple/Blue Depth */
/* Add a very subtle, deep radial glow instead of the flat gradient */
/* Performance Section - Purple/Blue Depth - INTENSIFIED */
.main-content>div:nth-child(4)::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(147, 105, 243, 0.25) 0%, transparent 70%);
  /* Increased opacity */
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

/* CTA Section - Gold/Warm Depth - INTENSIFIED */
.main-content>div:nth-child(7)::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(228, 165, 1, 0.2) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

/* CTA Section - Override gray-bg7 gradient with dark background */
.rs-cta.cta-style1.cta-modify3.gray-bg7 {
  background: var(--lm-bg-dark) !important;
  background-image: none !important;
  position: relative;
  overflow: hidden;
}

/* Add subtle ambient glow to CTA sections */
.rs-cta.cta-style1.cta-modify3.gray-bg7::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(228, 165, 1, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

.rs-cta.cta-style1.cta-modify3.gray-bg7 .container {
  position: relative;
  z-index: 1;
}

/* Section > div background */
.main-content>section>div {
  background: var(--lm-bg-dark) !important;
}

/* === Modern 2026 Enhancements === */

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  /* Prevent horizontal scroll from effects */
}

/* Ambient Background Glow */
body::before {
  content: '';
  position: fixed;
  top: -20%;
  left: -20%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle at center, rgba(147, 105, 243, 0.08), transparent 70%);
  z-index: -1;
  pointer-events: none;
  animation: ambientFloat 20s infinite alternate ease-in-out;
}

body::after {
  content: '';
  position: fixed;
  bottom: -20%;
  right: -20%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle at center, rgba(228, 165, 1, 0.05), transparent 70%);
  z-index: -1;
  pointer-events: none;
  animation: ambientFloat 20s infinite alternate-reverse ease-in-out;
}

@keyframes ambientFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, 30px) scale(1.1);
  }

  100% {
    transform: translate(-20px, 10px) scale(1);
  }
}

/* Banner Typography Upscale */
.rs-banner.banner-style5 .content-wrap h1.sub-text {
  font-size: 18px !important;
  text-transform: uppercase;
  letter-spacing: 0.2em !important;
  opacity: 0.6;
}

.rs-banner.banner-style5 .content-wrap h2 .title {
  font-size: 56px !important;
  /* Bigger, bolder */
  line-height: 1.1;
  display: block;
}

@media (max-width: 768px) {
  .rs-banner.banner-style5 .content-wrap h2 .title {
    font-size: 36px !important;
  }
}

/* 1. Header Glassmorphism */
/* Assuming .full-width-header .rs-header or similar */
.full-width-header .rs-header,
.sticky-header {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(11, 17, 30, 0.65) !important;
  /* More transparent for glass effect */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* 2. Glassmorphic Services Cards with Gradient Border & Radius */
/* The previous border-image prevented border-radius. This fixes it. */
/* 2. "Clash" Style Premium Cards (Dark Glass, No Gradient Border) */
.services-border-gradient,
#services .services-item {
  /* Clean Dark Glass Background with Vertical Fade for Volume */
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%) !important;

  /* Thin, subtle border (1px) */
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
  /* Top light highlight */
  border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important;
  /* Bottom shadow */
  border-radius: 24px !important;

  /* Sophisticated Shadow for Depth */
  box-shadow:
    0 10px 40px -10px rgba(0, 0, 0, 0.5),
    /* Drop shadow */
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  /* Inner top rim */

  /* Glass Effects */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  /* For inner glow effects */
  position: relative;
  z-index: 1;
}

/* Inner highlight top edge */
#services .services-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.06), transparent 40%);
  opacity: 0;
  /* Only on hover or js */
  transition: opacity 0.5s;
  pointer-events: none;
}

/* Hover Effect - "Clash" Style (Lift + Brand Glow, NO Gradient Overlay) */
#services .services-item:hover {
  transform: translateY(-7px) scale(1.01);
  background: rgba(255, 255, 255, 0.04) !important;
  /* Slightly lighter */
  border-color: rgba(147, 105, 243, 0.3) !important;
  /* Purple hint on border */

  /* Premium Glow Shadow */
  box-shadow:
    0 20px 40px -5px rgba(0, 0, 0, 0.4),
    0 0 30px -5px rgba(147, 105, 243, 0.2);
  /* Brand color glow */
}

/* Remove old hover overriding */
.services-section-wrap {
  background: transparent !important;
  padding: 20px 0;
}

/* 3. Modern Button Styles with Inner Glow */
#rs-header .btn-quote>a,
.btn-lm,
.btn-lm-gradient {
  position: relative;
  overflow: hidden;
  border-radius: 99px;
  /* Pill shape */
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

  /* Gradient Border/Glow approach for buttons */
  background-size: 200% auto !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Add a subtle shine animation */
.btn-lm::after,
.btn-lm-gradient::after,
#rs-header .btn-quote>a::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.3) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  transition: all 0.5s;
}

.btn-lm:hover::after,
.btn-lm-gradient:hover::after,
#rs-header .btn-quote>a:hover::after {
  left: 125%;
  transition: left 0.5s ease-in-out;
}

.btn-lm:hover,
.btn-lm-gradient:hover,
#rs-header .btn-quote>a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(147, 105, 243, 0.5);
  /* Colored shadow matches brand */
}

/* Premium Glass Button (Gradient Border) */
.btn-lm-glass {
  position: relative !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #fff !important;
  border-radius: 50px !important;
  padding: 12px 35px !important;
  z-index: 1;
  border: 1px solid transparent !important;
  /* Placeholder for bg-clip */
  background-clip: padding-box, border-box !important;
  background-origin: padding-box, border-box !important;
  background-image: linear-gradient(#0B111E, #0B111E), var(--lm-text-gradient) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-lm-glass:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(228, 165, 1, 0.4);
  /* Gold Glow */
  background-image: linear-gradient(#162035, #162035), var(--lm-text-gradient) !important;
  /* Lighter bg on hover */
}

.btn-lm-glass .btn-text {
  background: var(--lm-text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

/* 4. Refined Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: -0.02em;
  /* Modern tight spacing */
}

.sub-text {
  letter-spacing: 0.05em;
  /* Uppercase/small text usually needs more spacing */
}

/* 5. Section Separator Gradient Line */
.section-separator-gradient {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(147, 105, 243, 0.5), transparent);
  margin: 4rem 0;
}

/* Fixing specific overrides from previous CSS */

/* Services Styles */
#services .services-item {
  position: relative;
  padding: 40px 30px;
  /* More breathing room */
  height: 100%;
  /* Border/Bg handled by .services-border-gradient rule above */
}

#services .services-icon img {
  max-width: 70px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
  /* Subtle icon glow */
}

/* Text Colors in Cards */
#services .services-content h3.title {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 700;
  color: #fff;
}

#services .services-content .services-txt {
  font-size: 16px;
  line-height: 1.7;
  /* Better readability */
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.7);
}

/* Links */
#services .services-content a {
  text-decoration: none;
}

#services .services-content strong a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #e4a501;
  font-weight: 600;
  transition: color 0.3s;
}

/* Arrow animation on hover */
#services .services-content strong a::after {
  content: '→';
  transition: transform 0.3s ease;
}

#services .services-item:hover .services-content strong a::after {
  transform: translateX(4px);
}

/* Hide original background overrides to let the new glass effect work */
#services .services-item:hover {
  /* No background change needed, glow handled by box-shadow */
}

/* Overriding the text color change on hover - keep it readable/white */
/* Overriding the text color change on hover - keep it readable/white */
#services .services-item:hover .services-content h3.title,
#services .services-item:hover .services-content .services-txt {
  color: #fff !important;
}

/* Ensure links stay orange */
#services .services-item:hover .services-content strong a {
  color: #e4a501 !important;
}

#services .row.justify-content-center>[class*="col-"] {
  padding: 0 20px;
  /* More gutter */
  margin-bottom: 40px;
}


/* Text transparency adjustments */
.services-section-wrap .sec-title2 .sub-text,
#leadgen>div>span,
#AI>div>div.col-lg-6.md-mb-50>div>span {
  color: rgba(255, 255, 255, 0.6) !important;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  background: transparent !important;
  /* Ensure NO gray background */
}

body>div.main-content>section>div>div>div>div.sec-title2.text-center.mb-55.md-mb-35>span,
#leadgen>div>span.sub-text,
#AI>div>div.col-lg-6.md-mb-50>div>span.sub-text {
  color: rgba(255, 255, 255, 0.6) !important;
  background: transparent !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.6) !important;
}

.white30,
span.white30,
.sub-text.white30 {
  color: rgba(255, 255, 255, 0.52) !important;
  background: transparent !important;
  /* Explicitly remove bg */
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.52) !important;
}

/* Title colors override */
.rs-animated-heading .title-inner h2>span:first-child,
#AI>div>div.col-lg-6.md-mb-50>div>h2:first-child,
.rs-animated-heading .title-inner h2 .title {
  color: #FFFFFF !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

#rs-footer .footer-bottom .copyright-widget a {
  font-size: inherit;
}

#rs-footer a:hover {
  color: #e4a501 !important;
  transition: color 0.3s ease;
}

/* Fix for hyperlinks font size in content */
.description p a,
.desc a {
  font-size: inherit !important;
}

/* Subtitle */
.performance-subtitle {
  display: block;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .performance-subtitle {
    margin-top: 15px;
    font-size: 0.9em;
    line-height: 1.3;
  }
}

/* Negative Margin Fixes */
.overlap-top-large {
  margin-top: -3rem;
}

@media (max-width: 991px) {
  .overlap-top-large {
    margin-top: 0;
  }
}

/* Homepage Lottie sizing */
[class*="home-index"] .rs-banner.banner-style5 #desktop-lottie {
  width: 450px !important;
  height: 450px !important;
}

[class*="home-index"] .rs-banner.banner-style5 .image-part.d-lg-none dotlottie-wc {
  height: 350px !important;
  max-width: 400px !important;
}

/* ===========================================
   Common Page Styles (extracted from templates)
   =========================================== */

/* Banner button padding */
.bnr-btn {
  padding-bottom: 0 !important;
}

@media only screen and (min-width: 600px) and (max-width: 1024px) {
  .bnr-btn {
    padding-bottom: 100px !important;
  }
}

@media only screen and (min-width: 1025px) {
  .bnr-btn {
    padding-bottom: 150px !important;
  }
}

/* Services animation z-index fix */
.services-animation .ser-animate img {
  z-index: -1;
}

/* CD Headline (text animation) styles */
.cd-headline.clip .cd-words-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background-color: #aebcb9;
}

.cd-headline .cd-words-wrapper,
#mobile-text-animation {
  font-size: inherit !important;
  line-height: inherit !important;
}

/* Animated heading styles */
.rs-animated-heading .title-inner h2 .title,
.rs-animated-heading .title-inner h2 .cd-words-wrapper,
.rs-animated-heading .title-inner h2 #mobile-text-animation {
  font-family: inherit;
  font-size: inherit;
  line-height: 1.2;
  font-weight: inherit;
}

.rs-animated-heading .title-inner h2 {
  display: block;
}

.rs-animated-heading .title-inner h2 .title {
  color: white;
  -webkit-text-fill-color: white;
  display: block;
}

/* Rotating text container */
.leads-text-animation {
  display: inline-flex;
  font-weight: 700;
  font-size: inherit;
  line-height: 1.2;
}

#mobile-text-animation {
  min-height: 0;
  height: auto;
  display: inline;
  line-height: 1.2 !important;
}

/* Mobile responsive styles for animated headings */
@media (max-width: 767px) {
  .rs-animated-heading .title-inner h2 .title,
  .rs-animated-heading .title-inner h2 #mobile-text-animation {
    font-size: inherit !important;
  }

  .rs-animated-heading .title-inner h2 .title {
    font-size: inherit !important;
    line-height: 1.3;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .rs-animated-heading {
    margin-bottom: 0;
    padding-bottom: 30px;
  }

  /* Mobile button improvements */
  .col-12.d-md-none .btn-part {
    text-align: center;
    margin-top: 20px;
  }

  .col-12.d-md-none .btn-part .readon {
    display: inline-block;
    width: 100%;
    max-width: 300px;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .rs-animated-heading .title-inner h2 .title {
    font-size: inherit !important;
    line-height: 1.3;
  }

  .rs-animated-heading {
    padding-bottom: 20px;
  }
}

/* ===========================================
   Contact Form Styles
   =========================================== */

.contact-form-wrapper {
  background: white;
  padding: 40px;
  border-radius: 20px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.contact-form-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #d6a700 0%, #7d16ff 100%);
}

.contact-form-wrapper .form-control {
  font-size: 16px;
  padding: 15px 20px;
  border-radius: 10px;
  border-style: solid;
  border-width: 1px;
  border-color: #35353545;
  color: #333;
  width: 100%;
  max-width: 100%;
  opacity: 1;
}

/* Form message styles */
#form-messages-desktop.success,
#form-messages-mobile.success {
  color: green;
  background-color: #e8f5e9;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
}

#form-messages-desktop.error,
#form-messages-mobile.error {
  color: #d32f2f;
  background-color: #ffebee;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
}

/* ===========================================
   Page-specific Styles
   =========================================== */

/* Description text */
.description {
  line-height: 1.4;
  font-size: 16px;
}

.description p {
  margin-top: 0;
  margin-bottom: 20px;
}

/* Gradient button */
.btn-part .readon.started.free-trail.learn-more {
  background-image: linear-gradient(80deg, #d6a700 0%, #7d16ff 100%);
}

/* Leads page banner */
.leads-page .rs-banner.banner-style5 {
  padding-top: 160px;
  margin-bottom: 80px;
}

@media (max-width: 991px) {
  .leads-page .rs-banner.banner-style5 {
    margin-bottom: 60px;
  }
}

@media (max-width: 767px) {
  .leads-page .rs-banner.banner-style5 {
    padding-top: 80px;
    margin-bottom: 40px;
  }
}

/* Landing page banner */
.landing-page .rs-banner.banner-style5 {
  padding-top: 160px;
  margin-bottom: 80px;
}

@media (max-width: 991px) {
  .landing-page .rs-banner.banner-style5 {
    margin-bottom: 60px;
  }
}

@media (max-width: 767px) {
  .landing-page .rs-banner.banner-style5 {
    padding-top: 80px;
    margin-bottom: 20px;
  }

  .description p {
    margin-bottom: 15px;
    padding: 0 10px;
  }

  .btn-part.mt-20 {
    margin-top: 15px !important;
  }

  .readon.started.free-trail,
  .readon.try-btn.free-days {
    width: 100%;
    max-width: 300px;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
  }

  .rs-services.services-style4 {
    padding-top: 20px !important;
    padding-bottom: 70px !important;
  }

  .sec-title2.text-center {
    margin-bottom: 30px !important;
  }

  .card .card-body {
    padding: 15px 10px;
  }

  .faq-content {
    padding: 0 5px;
  }

  .sec-title .title.white-color {
    font-size: 24px;
  }

  .sec-title .desc.desc3 {
    padding: 0 10px;
  }
}

/* Webapps page banner */
.webapps-page .rs-banner.banner-style5 {
  padding-top: 160px;
}

@media (max-width: 767px) {
  .webapps-page .rs-banner.banner-style5 {
    padding-top: 80px;
  }
}

/* Automation page banner */
.automation-page .rs-banner.banner-style5 {
  padding-top: 160px;
  margin-bottom: 30px;
}

/* Automation page headline spacing - equal distance between lines */
.automation-page .automation-headline {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.automation-page .automation-headline .headline-line {
  display: block;
  margin: 0;
  padding: 0;
}

.automation-page .automation-headline .headline-line.title {
  color: #ffffff !important;
  background: none !important;
  background-image: none !important;
  -webkit-text-fill-color: #ffffff !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
}

@media (max-width: 991px) {
  .automation-page .rs-banner.banner-style5 {
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .automation-page .rs-banner.banner-style5 {
    padding-top: 80px;
    margin-bottom: 15px;
  }
}

/* Reduce partner section padding on automation page */
.automation-page .rs-partner.partner-style2 {
  padding-top: 40px;
  padding-bottom: 40px;
}

/* Service card benefits list styling */
.service-benefits {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.service-benefits li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.service-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #e4a501;
  font-weight: bold;
}

/* Service card CTA link styling */
.service-cta {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: linear-gradient(90deg, #e4a501 0%, #9369f3 100%);
  color: #fff !important;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.service-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(228, 165, 1, 0.4);
}

/* Service item styling */
.services-item {
  position: relative;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: all 0.3s ease;
}

.services-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(125, 22, 255, 0.15);
}

.services-content .title {
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 600;
}

/* FAQ styling - Modern redesign */
.faq-style1 .accordion {
  max-width: 900px;
  margin: 0 auto;
}

.faq-style1 .card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 12px;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-style1 .card:hover {
  border-color: rgba(228, 165, 1, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.faq-style1 .card-header {
  background: transparent;
  border: none;
  padding: 0;
}

.faq-style1 .card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
}

.faq-style1 .card-link::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: #e4a501;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-style1 .card-link[aria-expanded="true"] {
  border-left-color: #e4a501;
  background: rgba(228, 165, 1, 0.08);
}

.faq-style1 .card-link[aria-expanded="true"]::after {
  content: "−";
}

.faq-style1 .card-link:hover {
  background: rgba(228, 165, 1, 0.05);
}

.faq-style1 .card-body {
  padding: 0 24px 24px 24px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: none;
}

.faq-style1 .card-body ul {
  margin: 16px 0;
  padding-left: 0;
  list-style: none;
}

.faq-style1 .card-body ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}

.faq-style1 .card-body ul li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: #e4a501;
  font-weight: bold;
}

.faq-style1 .card-body p {
  margin-bottom: 12px;
}

.faq-style1 .card-body strong {
  color: #ffffff;
}

/* FAQ section title styling */
.faq-style1 .sec-title .sub-text {
  color: #e4a501;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.faq-style1 .sec-title .desc {
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto;
}

/* Language picker dropdown */
.language-picker__dropdown {
  position: absolute;
  z-index: 999;
}

@media (max-width: 767px) {
  .header-language {
    position: relative;
  }

  .language-picker__dropdown {
    right: 0;
    width: auto;
    min-width: 120px;
  }

  #language-picker-select {
    overflow: visible !important;
  }
}

/* Dropdown menu hover fixes */
.rs-menu .nav-menu .menu-item-has-children:hover .sub-menu {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

@media screen and (min-width: 992px) {
  .rs-menu ul.nav-menu>li.menu-item-has-children:hover>ul.sub-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    z-index: 999 !important;
  }

  .rs-menu ul.sub-menu {
    position: absolute;
    top: 100%;
    background-color: #ffffff;
    width: auto;
    min-width: 220px;
  }
}

/* ===========================================
   Contact Page Styles
   =========================================== */

/* Contact page banner */
.contact-page .rs-banner.banner-style5 {
  padding-top: 160px;
  padding-bottom: 60px;
}

@media (max-width: 767px) {
  .contact-page .rs-banner.banner-style5 {
    padding-top: 80px;
  }

  .general-contact-box-section {
    padding: 20px 0;
  }

  .contact-box {
    margin-bottom: 20px !important;
    padding: 20px 15px;
  }

  .address-icon {
    margin-bottom: 15px;
  }
}

/* Contact intro section */
.contact-intro-section {
  background-color: #0f0f29;
  padding: 60px 0 30px;
}

@media (min-width: 992px) {
  .contact-intro-section {
    padding-bottom: 60px;
  }
}

/* Content wrap */
.content-wrap {
  padding-right: 20px;
}

/* Contact main title */
.contact-main-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
}

.contact-subtitle {
  font-size: 20px;
  margin-bottom: 25px;
  opacity: 0.9;
}

/* Contact form section */
.general-contact-section {
  padding: 80px 0;
  background: #10192d !important;
  background: linear-gradient(94.57deg, #0f0f29 0%, #1a1744 100%);
  position: relative;
  overflow: hidden;
}

.general-contact-section::before,
.general-contact-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

.general-contact-title {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.general-contact-title h2 {
  color: white;
  display: inline-block;
  padding: 8px 20px;
  font-size: 32px;
  position: relative;
  z-index: 1;
}

.general-contact-title h2::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #d6a700 0%, #7d16ff 100%);
}

/* Form heading and description styles */
.form-heading {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #111;
}

.form-description {
  margin-bottom: 25px;
  color: #333;
  font-size: 16px;
  line-height: 1.5;
}

/* Contact box styles */
.contact-box {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 35px 25px;
  height: 100%;
  display: flex;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 30px;
}

.contact-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Address item styles */
.address-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.address-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  background: linear-gradient(135deg, #d6a700 0%, #7d16ff 100%);
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.address-icon i {
  font-size: 32px;
  color: white;
}

.address-text .label {
  margin-bottom: 10px;
  display: block;
  font-weight: 600;
  font-size: 20px;
  color: #111;
}

.address-text .des {
  margin-top: 5px;
  display: block;
  font-size: 16px;
  line-height: 1.5;
}

.address-text .des a {
  color: #7d16ff;
  text-decoration: none;
  font-weight: 500;
}

.address-text .des a:hover {
  text-decoration: underline;
}

.address-text .des-address {
  margin-top: 5px;
  display: block;
  font-size: 16px;
  line-height: 1.4;
}

/* Form submit button */
.form-group.mb-0 input.readon {
  width: 100%;
  max-width: 200px;
  border: none;
  cursor: pointer;
  background-image: linear-gradient(80deg, #d6a700 0%, #7d16ff 100%);
  transition: all 0.3s ease;
}

.form-group.mb-0 input.readon:hover {
  box-shadow: 0 5px 15px rgba(214, 167, 0, 0.3);
  transform: translateY(-2px);
}

/* Textarea */
textarea.form-control {
  min-height: 120px;
}

.mb-30 {
  margin-bottom: 20px;
}

.btn-part.text-center {
  margin-top: 10px;
}

/* Turnstile captcha styling */
.turnstile-wrapper {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.cf-turnstile {
  margin: 0 auto;
}

/* Mobile/Desktop layout styles */
@media (max-width: 991px) {
  .desktop-view {
    display: none !important;
  }

  .mobile-view {
    display: block !important;
  }

  .mobile-content {
    padding-top: 100px;
  }

  .mobile-form-placement {
    margin-top: 40px;
  }
}

@media (min-width: 992px) {
  .mobile-view {
    display: none !important;
  }

  .desktop-view {
    display: block !important;
  }
}