/* ============================================================
   MyPostify.ai - Redesign Override
   Professional Blue Theme
   Loaded LAST to override all previous styles
   ============================================================ */

/* ---- 1. CSS CUSTOM PROPERTIES OVERRIDE ---- */
:root {
  /* Typography - Single font: Inter */
  --tp-ff-body: 'Inter', sans-serif !important;
  --tp-ff-heading: 'Inter', sans-serif !important;
  --tp-ff-mont: 'Inter', sans-serif !important;
  --tp-ff-urban: 'Inter', sans-serif !important;
  --tp-ff-dm: 'Inter', sans-serif !important;

  /* Primary Blue Palette */
  --tp-common-blue: #2563EB;
  --tp-common-blue-2: #1E40AF;
  --tp-common-blue-3: #1D4ED8;
  --tp-common-blue-4: #2563EB;

  /* Remove purple/magenta - remap to blue */
  --tp-common-purple: #3B82F6;
  --tp-common-orange: #3B82F6;

  /* Theme colors - all blue now */
  --tp-theme-1: #2563EB;
  --tp-theme-2: #06B6D4;
  --tp-theme-3: #BFDBFE;
  --tp-theme-4: #93C5FD;

  /* Neutrals - Slate */
  --tp-common-black: #0F172A;
  --tp-heading-primary: #0F172A;
  --tp-text-body: #334155;
  --tp-grey-1: #334155;
  --tp-grey-2: #64748B;
  --tp-grey-3: #F8FAFC;
  --tp-grey-4: #F1F5F9;
  --tp-grey-5: #64748B;
  --tp-grey-6: #F1F5F9;
  --tp-grey-7: #F8FAFC;
  --tp-grey-8: #F8FAFC;

  /* Borders */
  --tp-border-1: #E2E8F0;
  --tp-border-2: #E2E8F0;

  /* Green - keep for success */
  --tp-common-green: #10B981;
  --tp-common-green-2: #059669;

  /* Yellow - amber for warnings */
  --tp-common-yellow: #F59E0B;
  --tp-common-yellow-2: #FBBF24;
  --tp-common-yellow-3: #FCD34D;
  --tp-common-yellow-4: #F59E0B;

  /* Red - for danger/error */
  --tp-common-red: #EF4444;
}

/* ---- 2. GLOBAL TYPOGRAPHY ---- */
body {
  font-family: 'Inter', sans-serif !important;
}



h1, h2, h3, h4, h5, h6,
.tp-section-title,
.tp-section-title-3,
.tp-hero-title-3,
.tp-hero-title-3 span {
  font-family: 'Inter', sans-serif !important;
  font-style: normal !important;
  letter-spacing: -0.02em;
}

body {
  color: #334155;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- 3. BUTTONS - Unified System (3 variants) ---- */

/* Primary Solid Button */
.tp-btn-blue-lg,
.tp-btn-blue-sm,
.tp-btn-purple-lg,
.tp-btn-yellow-solid {
  background: #2563EB !important;
  color: #FFFFFF !important;
  border: 2px solid #2563EB !important;
  border-radius: 10px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 14px 32px !important;
  height: auto !important;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.2) !important;
  transition: all 0.2s ease !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
}

.tp-btn-blue-lg:hover,
.tp-btn-blue-sm:hover,
.tp-btn-purple-lg:hover,
.tp-btn-yellow-solid:hover {
  background: #1D4ED8 !important;
  border-color: #1D4ED8 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
  transform: translateY(-1px);
}

/* Outline Button */
.tp-btn-border,
.tp-btn-purple {
  background: transparent !important;
  color: #2563EB !important;
  border: 2px solid #2563EB !important;
  border-radius: 10px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 14px 32px !important;
  height: auto !important;
  box-shadow: none !important;
  transition: all 0.2s ease !important;
  text-transform: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
}

.tp-btn-border:hover,
.tp-btn-purple:hover {
  background: #2563EB !important;
  color: #FFFFFF !important;
  border-color: #2563EB !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
  transform: translateY(-1px);
}

/* Green buttons -> Blue */
.tp-btn-green,
.tp-btn-green-sm {
  background: #2563EB !important;
  color: #FFFFFF !important;
  border: 2px solid #2563EB !important;
  border-radius: 10px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 12px 28px !important;
  height: auto !important;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.2) !important;
  transition: all 0.2s ease !important;
}

.tp-btn-green:hover,
.tp-btn-green-sm:hover {
  background: #1D4ED8 !important;
  border-color: #1D4ED8 !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
}

/* White/Glass buttons */
.tp-btn-white-solid {
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(10px) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 10px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 12px 28px !important;
  height: auto !important;
  transition: all 0.2s ease !important;
}

.tp-btn-white-solid:hover {
  background: rgba(255, 255, 255, 0.25) !important;
}

/* Service button override */
.tp-btn-service {
  background: #2563EB !important;
  color: #FFFFFF !important;
  border-radius: 10px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
}

.tp-btn-service:hover {
  background: #1D4ED8 !important;
}

/* Disable the circle-overlay hover effect */
.tp-btn-hover b {
  display: none !important;
}

/* ---- 4. HEADER ---- */
.header-bottom__area {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid #E2E8F0 !important;
  transition: all 0.3s ease !important;
}

.header-sticky-bg-2.header-sticky {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}

/* Remove dark header variant */
.header-bottom__transparent {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5) !important;
}

.header-bottom__main-menu nav ul li a,
.header-bottom__main-menu nav ul li .has-dropdown {
  color: #334155 !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 500 !important;
  font-size: 15px !important;
}

.header-bottom__main-menu nav ul li a:hover,
.header-bottom__main-menu nav ul li .has-dropdown:hover {
  color: #2563EB !important;
}

.header-bottom__btn .tp-btn-blue-lg,
.header-bottom__btn .tp-btn-green-sm,
.header-bottom__btn .tp-btn-border {
  padding: 10px 24px !important;
  font-size: 14px !important;
  border-radius: 8px !important;
}

/* Header logo - always show dark logo */
.header-bottom__logo img {
  max-height: 38px;
}

/* ---- 5. HERO SECTION ---- */
.tp-hero-area {
  background: linear-gradient(180deg, #EFF6FF 0%, #FFFFFF 100%) !important;
  padding-top: 140px !important;
  padding-bottom: 80px !important;
}

.tp-hero-title-3 {
  font-size: 56px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  color: #0F172A !important;
  letter-spacing: -0.03em !important;
}

.tp-hero-title-3 span {
  font-style: normal !important;
  color: #2563EB !important;
}

@media (max-width: 991px) {
  .tp-hero-title-3 {
    font-size: 38px !important;
  }
}

@media (max-width: 575px) {
  .tp-hero-title-3 {
    font-size: 30px !important;
  }
}

.tp-hero-3-subtitle {
  color: #64748B !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
  max-width: 520px;
}

/* Hero browser icons */
.tp-hero-browser-item span {
  color: #64748B !important;
  font-weight: 500 !important;
}

/* ---- 6. SECTION TITLES ---- */
.tp-section-title,
.tp-section-title-2,
.tp-section-title-3,
.tp-section-title-4 {
  font-weight: 700 !important;
  color: #0F172A !important;
  letter-spacing: -0.02em !important;
}

.tp-section-title span,
.tp-section-title-3 span {
  font-style: normal !important;
  color: #2563EB !important;
}

/* Section subtitles / top labels */
.tp-section-subtitle,
.tp-section-title__pre {
  color: #2563EB !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
}

/* ---- 7. CARDS & SERVICES ---- */
.tp-service-3-item,
.tp-service-sm-item {
  border: 1px solid #E2E8F0 !important;
  border-radius: 16px !important;
  transition: all 0.25s ease !important;
  background: #FFFFFF !important;
}

.tp-service-3-item:hover,
.tp-service-sm-item:hover {
  border-color: #BFDBFE !important;
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.08) !important;
  transform: translateY(-2px);
}

/* Blog cards */
.tp-blog-item {
  border: 1px solid #E2E8F0 !important;
  border-radius: 16px !important;
  overflow: hidden;
  transition: all 0.25s ease !important;
}

.tp-blog-item:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06) !important;
  transform: translateY(-2px);
}

/* Testimonial cards */
.tp-testimonial-3-item {
  border: 1px solid #E2E8F0 !important;
  border-radius: 16px !important;
  background: #FFFFFF !important;
}

/* Integration card backgrounds */
.tp-integration-item {
  border-radius: 12px !important;
}

/* ---- 8. FOOTER ---- */
.tp-footer__area,
.tp-footer__pl-pr {
  background: #0F172A !important;
}

.grey-bg-2 {
  background: #0F172A !important;
}

.tp-footer__area *,
.tp-footer__pl-pr * {
  color: #94A3B8;
}

.tp-footer__area h3,
.tp-footer__area h4,
.tp-footer__area .tp-footer-title {
  color: #F1F5F9 !important;
}

.tp-footer__area a:hover {
  color: #60A5FA !important;
}

.tp-footer__area .tp-footer-input input {
  background: #1E293B !important;
  border: 1px solid #334155 !important;
  border-radius: 10px !important;
  color: #F1F5F9 !important;
  padding: 14px 16px !important;
}

.tp-footer__area .tp-footer-input input::placeholder {
  color: #64748B !important;
}

.tp-footer__area .tp-footer-input button,
.tp-footer__area .tp-footer-input .tp-btn-green-sm {
  background: #2563EB !important;
  border: none !important;
  border-radius: 10px !important;
}

/* Footer social icons */
.tp-footer-social a {
  background: #1E293B !important;
  color: #94A3B8 !important;
  border: 1px solid #334155 !important;
  border-radius: 8px !important;
  width: 40px !important;
  height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
}

.tp-footer-social a:hover {
  background: #2563EB !important;
  border-color: #2563EB !important;
  color: #FFFFFF !important;
}

/* Footer bottom/copyright */
.tp-footer-bottom {
  border-top: 1px solid #1E293B !important;
}

/* ---- 9. CTA SECTIONS ---- */
.tp-card-area,
.tp-sales-area {
  background: #0F172A !important;
}

.tp-card-area *,
.tp-sales-area * {
  color: #F1F5F9;
}

.tp-card-area h2,
.tp-card-area h3,
.tp-sales-area h2,
.tp-sales-area h3 {
  color: #FFFFFF !important;
}

/* CTA / Feature Marquee */
.feature-slide-item,
.tp-feature-slide-item {
  color: #2563EB !important;
}

.feature-slide-item svg circle,
.feature-slide-item svg path {
  stroke: #2563EB !important;
}

/* ---- 10. PRICING ---- */
.plan-tab-switcher .active,
.pricing-tab .active {
  background: #2563EB !important;
  color: #FFFFFF !important;
}

/* Breadcrumb/Banner areas */
.blue-bg,
.blue-bg-2,
.purple-bg {
  background: linear-gradient(135deg, #1E40AF 0%, #1D4ED8 100%) !important;
}

/* SVG decorative underlines - change from purple to blue */
.tp-section-title svg path[fill],
.tp-section-title-3 svg path[fill] {
  fill: #DBEAFE !important;
}

/* ---- 11. AUTH / LOGIN PAGES ---- */
.signin-banner-bg {
  background: linear-gradient(160deg, #1D4ED8 0%, #0F172A 100%) !important;
}

.signin-banner-title {
  color: #FFFFFF !important;
  font-weight: 700 !important;
}

.signin-btn {
  background: #2563EB !important;
  border: 2px solid #2563EB !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  color: #FFFFFF !important;
  transition: all 0.2s ease !important;
}

.signin-btn:hover {
  background: #1D4ED8 !important;
  border-color: #1D4ED8 !important;
}

/* Form inputs */
.postbox__comment-input .inputText,
.postbox__comment-input input,
.postbox__comment-input textarea {
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 10px !important;
  font-family: 'Inter', sans-serif !important;
  color: #0F172A !important;
  transition: all 0.2s ease !important;
}

.postbox__comment-input .inputText:focus,
.postbox__comment-input input:focus,
.postbox__comment-input textarea:focus {
  border-color: #3B82F6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
  outline: none !important;
}

.floating-label {
  color: #64748B !important;
  font-family: 'Inter', sans-serif !important;
}

/* Social login buttons */
.google-btn,
.facebook-btn {
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 10px !important;
  background: #FFFFFF !important;
  transition: all 0.2s ease !important;
}

.google-btn:hover,
.facebook-btn:hover {
  border-color: #BFDBFE !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

/* ---- 12. COUNTER / STATS ---- */
.tp-counter-item h3,
.tp-counter-item .counter {
  color: #0F172A !important;
  font-weight: 800 !important;
}

/* ---- 13. RATED / REVIEWS ---- */
.author-rated .star-icon {
  color: #F59E0B !important;
}

/* ---- 14. MOBILE MENU ---- */
.tpoffcanvas {
  background: #FFFFFF !important;
}

.tpoffcanvas-area .tp-main-menu-mobile li a {
  color: #334155 !important;
  font-weight: 500 !important;
  border-color: #E2E8F0 !important;
}

/* Fix: mean-nav menu text invisible (white on white) after bg change */
.tpoffcanvas .mobile-menu.mean-container .mean-nav {
  background: transparent !important;
}

.tpoffcanvas .mobile-menu.mean-container .mean-nav ul li a {
  color: #334155 !important;
  font-weight: 500 !important;
  border-color: #E2E8F0 !important;
}

.tpoffcanvas .mobile-menu.mean-container .mean-nav ul li a:hover {
  color: #2563EB !important;
}

.tpoffcanvas .mobile-menu.mean-container .mean-nav ul li a.mean-expand {
  color: #334155 !important;
  border: none !important;
}

.tpoffcanvas .mean-container .mean-bar {
  background: transparent !important;
}

.tpoffcanvas__close-btn button {
  color: #334155 !important;
}

.tpoffcanvas__social .social-icon a {
  color: #334155 !important;
  border-color: #E2E8F0 !important;
}

.tpoffcanvas__social .social-icon a:hover {
  background-color: #2563EB !important;
  color: #FFFFFF !important;
}

.body-overlay {
  background: rgba(15, 23, 42, 0.5) !important;
}

/* ---- 15. SCROLL TO TOP ---- */
.scroll-top {
  background: #2563EB !important;
  color: #FFFFFF !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3) !important;
}

/* ---- 16. ANIMATIONS (Simple CSS replacements) ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Fade-in sections - always visible, no animation issues */
.fade-in-section,
.fade-in-section.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

/* Override WOW.js - make elements visible immediately if not using observer */
.wow {
  visibility: visible !important;
  animation: fadeInUp 0.6s ease forwards !important;
}

/* ---- 17. BREADCRUMB AREAS ---- */
.breadcrumb-area,
.tp-breadcrumb-area {
  background: linear-gradient(135deg, #1E40AF 0%, #2563EB 100%) !important;
}

/* ---- 18. CONTACT FORM ---- */
.tp-contact-input input,
.tp-contact-input textarea {
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 10px !important;
  transition: all 0.2s ease !important;
}

.tp-contact-input input:focus,
.tp-contact-input textarea:focus {
  border-color: #3B82F6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

/* ---- 19. MISCELLANEOUS OVERRIDES ---- */

/* Links */
a {
  color: #2563EB;
  transition: color 0.2s ease;
}

a:hover {
  color: #1D4ED8;
}

/* Badge / Tag */
.tp-tag,
.tp-category-tag {
  background: #EFF6FF !important;
  color: #2563EB !important;
  border-radius: 6px !important;
  font-weight: 500 !important;
}

/* Pagination */
.tp-pagination .page-link.active,
.tp-pagination .page-item.active .page-link {
  background: #2563EB !important;
  border-color: #2563EB !important;
}

/* Selection */
::selection {
  background: #BFDBFE;
  color: #0F172A;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid #3B82F6;
  outline-offset: 2px;
}

/* ---- 20. INTEGRATION SECTION BACKGROUNDS ---- */
.tp-integration-item[style*=background] {
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
}

/* ---- 21. COOKIE CONSENT ---- */
.cookie-consent {
  background: #0F172A !important;
  border: 1px solid #1E293B !important;
  border-radius: 12px !important;
}

.cookie-consent .cookie-consent__agree {
  background: #2563EB !important;
  border-radius: 8px !important;
}

/* Fix: Override GSAP animation initial states */
.tp-hero-title-3 i i.child-1,
.tp-hero-title-5 span.child-1,
.hero-text-anim .child-1,
.child-1 {
    opacity: 1 !important;
    transform: none !important;
}
.tp-char-animation-2 div,
.tp-char-animation div {
    opacity: 1 !important;
    transform: none !important;
}

/* ---- 22. FOOTER SPACING FIX ---- */
/* Add top padding to footer area on homepage (non-homepage already has pt-125 via Vue class) */
.footer-bottom-content .tp-footer__pl-pr.grey-bg-2 {
  padding-top: 80px;
}

/* ---- 23. HEADER LANGUAGE SWITCHER ---- */
.header-lang-switcher {
  position: relative;
}

.header-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  padding: 6px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.header-lang-btn:hover {
  border-color: #3B82F6;
  color: #2563EB;
}

.header-lang-flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(0,0,0,0.08);
}

.header-lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 6px;
  margin: 0;
  min-width: 140px;
  z-index: 1000;
}

.header-lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  border: none;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}

.header-lang-option:hover {
  background: #EFF6FF;
  color: #2563EB;
}

/* Mobile language switcher */
.header-lang-mobile-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}

.header-lang-mobile-btn.active {
  background: #2563EB;
  border-color: #2563EB;
  color: #FFFFFF;
}

/* Sticky header: adjust lang button for dark headers */
.header-bottom__transparent .header-lang-btn {
  border-color: rgba(226, 232, 240, 0.5);
}

/* ---- 24. HEADER RIGHT SPACING FIX ---- */
.header-bottom__right {
  gap: 16px;
}

.header-bottom__action {
  margin-right: 4px;
}

/* ---- 25. HEADER ITEMS NO-WRAP FIX ---- */
.header-bottom__action-2 {
  white-space: nowrap;
}

.header-bottom__btn .tp-btn-blue-sm,
.header-bottom__btn .tp-btn-white {
  white-space: nowrap;
  padding: 10px 18px !important;
  font-size: 13px !important;
}

.header-lang-btn {
  padding: 5px 10px;
  font-size: 12px;
}

.header-bottom__right {
  gap: 10px;
}

/* ---- 26. HEADER BUTTONS ALWAYS BLUE (consistent across all pages) ---- */
.header-bottom__btn .tp-btn-white,
.header-bottom__btn .tp-btn-white.tp-btn-hover {
  background: #2563EB !important;
  color: #FFFFFF !important;
  border: 2px solid #2563EB !important;
  border-radius: 10px !important;
}

.header-bottom__btn .tp-btn-white:hover,
.header-bottom__btn .tp-btn-white.tp-btn-hover:hover {
  background: #1D4ED8 !important;
  border-color: #1D4ED8 !important;
  color: #FFFFFF !important;
}

.header-bottom__btn .tp-btn-white .white-text,
.header-bottom__btn .tp-btn-white span {
  color: #FFFFFF !important;
}

/* Login link always dark on all pages */
.header-bottom__action-4 .header-bottom__action-2 {
  color: #334155 !important;
}

/* ---- 27. OVERRIDE tp-btn-white globally to match blue CTA ---- */
a.tp-btn-white,
a.tp-btn-white.tp-btn-hover,
a.tp-btn-white.tp-btn-hover.alt-color-black {
  background-color: #2563EB !important;
  background: #2563EB !important;
  color: #FFFFFF !important;
  border: 2px solid #2563EB !important;
  border-radius: 10px !important;
  height: auto !important;
  line-height: normal !important;
  padding: 10px 18px !important;
  font-size: 13px !important;
}

a.tp-btn-white:hover,
a.tp-btn-white.tp-btn-hover:hover {
  background-color: #1D4ED8 !important;
  background: #1D4ED8 !important;
  border-color: #1D4ED8 !important;
  color: #FFFFFF !important;
}

a.tp-btn-white span.white-text,
a.tp-btn-white span {
  color: #FFFFFF !important;
}

a.tp-btn-white:hover span.white-text {
  color: #FFFFFF !important;
}

/* Accedi link consistent dark color on all pages */
.header-bottom__action-4 a.header-bottom__action-2,
.header-bottom__action-4 a.header-bottom__action-2 span {
  color: #334155 !important;
}

/* ---- 28. CTA SECTION - consistent sizing across all pages ---- */
.tp-cta-bg {
    border-radius: 20px !important;
    padding: 60px 60px !important;
    max-width: 100% !important;
}

.tp-cta-area .container {
    max-width: 1200px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* ========================================================================
   PROFESSIONAL REDESIGN v2.0 - Premium SaaS Polish
   ======================================================================== */

/* ---- 29. GLOBAL POLISH - Premium feel ---- */
* {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

section, [class*="-area"] {
    position: relative;
}

/* Smooth section transitions */
.tp-service-area,
.tp-counter-area,
.tp-card-area,
.tp-sales-area,
.tp-rated-area,
.tp-testimonial-area,
.tp-integration-area,
.tp-blog-area {
    overflow: hidden;
}

/* ---- 30. SERVICE CARDS - Premium card design ---- */
.tp-service-sm-item {
    height: 100% !important;
    min-height: 280px !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 16px !important;
    padding: 32px 28px !important;
    background: #FFFFFF !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
}

.tp-service-sm-item:hover {
    border-color: #2563EB !important;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12) !important;
    transform: translateY(-4px) !important;
}

.tp-service-sm-icon img {
    width: 56px !important;
    height: 56px !important;
    object-fit: contain !important;
}

.tp-service-3-item {
    border-radius: 20px !important;
    overflow: hidden !important;
    min-height: 340px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.tp-service-3-item:hover {
    box-shadow: 0 25px 50px rgba(0,0,0,0.15) !important;
    transform: translateY(-4px) !important;
}

/* ---- 31. RATING SECTION - Elegant & compact ---- */
.tp-rated-bg {
    padding-top: 70px !important;
    padding-bottom: 30px !important;
    border-radius: 24px !important;
    margin: 0 20px !important;
}

.tp-rated-title-box {
    margin-bottom: 40px !important;
}

.tp-rated-title-box h5.tp-section-title-3 {
    color: #FFFFFF !important;
    opacity: 1 !important;
    font-size: 36px !important;
    line-height: 1.3 !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.tp-rated-icon span svg path {
    fill-opacity: 0.9 !important;
}

.tp-rated-icon span svg stop {
    stop-color: #FBBF24 !important;
    stop-opacity: 1 !important;
}

.author-rated p {
    color: #CBD5E1 !important;
    font-size: 15px !important;
    font-style: italic;
    line-height: 1.6 !important;
}

.author-rated-icon .fas.fa-star,
.author-rated-icon .far.fa-star {
    color: #FBBF24 !important;
}

.author-rated-big-img {
    max-height: 400px !important;
    overflow: hidden;
}

.author-rated-big-img img {
    max-height: 400px !important;
    object-fit: cover;
    object-position: top;
    border-radius: 16px !important;
}

.tp-rated-area {
    margin-bottom: 100px !important;
}

/* ---- 32. CARD SECTION (Brand) - Better spacing ---- */
.tp-card-area.tp-card-space {
    padding-top: 40px !important;
    max-height: 280px !important;
    overflow: hidden !important;
    padding-bottom: 80px !important;
}

.tp-card-title-box h3 {
    font-size: 40px !important;
    line-height: 1.2 !important;
}

.tp-card-title-box p {
    font-size: 17px !important;
    line-height: 1.7 !important;
    color: #94A3B8 !important;
    margin-top: 16px !important;
    margin-bottom: 32px !important;
}

/* ---- 33. SALES SECTION - Polished ---- */
.tp-sales-area.tp-sales-space {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

.tp-sales-feature ul li {
    margin-bottom: 12px !important;
    border-radius: 12px !important;
    padding: 14px 20px !important;
}

.tp-sales-feature ul li span em {
    font-style: normal !important;
    font-weight: 500 !important;
    font-size: 15px !important;
}

.tp-sales-main-thumb img {
    border-radius: 20px !important;
    box-shadow: 0 25px 60px rgba(0,0,0,0.12) !important;
}

/* Purple-2 to blue conversion */
.tp-sales-feature ul li.purple-2::after {
    background: linear-gradient(90.27deg, #2563EB 2.18%, rgba(37, 99, 235, 0) 99.77%) !important;
}

.tp-sales-feature ul li.purple-2 span i {
    background-color: #2563EB !important;
}

.tp-sales-feature ul li.purple-2 span em {
    color: #2563EB !important;
}

/* ---- 34. TESTIMONIALS - Premium carousel ---- */
.tp-testimonial-area.tp-testimonial-3-mlr {
    margin-top: 40px !important;
    padding-bottom: 80px !important;
}

.tp-testimonial-3-bg {
    padding-top: 70px !important;
    padding-bottom: 30px !important;
    border-radius: 24px !important;
    margin: 0 20px !important;
}

.tp-testimonial-3-section-box h3.tp-section-title-3,
.tp-testimonial-3-section-box h3.tp-section-title-3 span,
.tp-testimonial-3-section-box h3.tp-section-title-3.text-white,
.tp-testimonial-3-section-box h3.tp-section-title-3.text-white span {
    color: #FFFFFF !important;
    font-size: 38px !important;
    line-height: 1.2 !important;
}

.tp-testimonial-3-item {
    background: #FFFFFF !important;
    border-radius: 20px !important;
    padding: 32px !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08) !important;
    transition: all 0.3s ease !important;
    border: 1px solid #F1F5F9 !important;
}

.tp-testimonial-3-item:hover {
    box-shadow: 0 16px 50px rgba(0,0,0,0.12) !important;
    transform: translateY(-4px) !important;
}

.tp-testimonial-3-content-box p {
    color: #334155 !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
}

.tp-testimonial-3-author-info h5 {
    color: #0F172A !important;
    font-weight: 700 !important;
    font-size: 16px !important;
}

.tp-testimonial-3-author-info span {
    color: #64748B !important;
    font-size: 14px !important;
}

.tp-testimonial-3-review .fas.fa-star {
    color: #FBBF24 !important;
    font-size: 14px !important;
}

.tp-testimonial-3-thumb img {
    border-radius: 16px !important;
    object-fit: cover !important;
}

.tp-test-arrow button {
    border-color: rgba(255,255,255,0.4) !important;
    color: #FFFFFF !important;
    transition: all 0.3s ease !important;
    width: 48px !important;
    height: 48px !important;
}

.tp-test-arrow button:hover {
    background: rgba(255,255,255,0.15) !important;
    border-color: rgba(255,255,255,0.7) !important;
}

/* ---- 35. INTEGRATION SECTION - Clean ---- */
.tp-integration-area {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

.tp-integration-slider-item {
    border-radius: 16px !important;
    border: 1px solid #E2E8F0 !important;
    transition: all 0.3s ease !important;
    padding: 20px !important;
}

.tp-integration-slider-item:hover {
    border-color: #2563EB !important;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.1) !important;
}

/* ---- 36. BLOG SECTION - Modern cards ---- */
.tp-blog-area {
    padding-top: 80px !important;
    padding-bottom: 60px !important;
}

.tp-blog-item {
    border-radius: 20px !important;
    overflow: hidden !important;
    border: 1px solid #E2E8F0 !important;
    background: #FFFFFF !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
}

.tp-blog-item:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
    transform: translateY(-6px) !important;
    border-color: transparent !important;
}

.tp-blog-thumb img {
    border-radius: 0 !important;
    transition: transform 0.5s ease !important;
}

.tp-blog-item:hover .tp-blog-thumb img {
    transform: scale(1.05) !important;
}

.tp-blog-title-sm {
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #0F172A !important;
}

.tp-blog-meta {
    padding: 16px 24px 8px !important;
}

.tp-blog-title-box {
    padding: 8px 24px 24px !important;
}

.tp-blog-category span {
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #2563EB !important;
    background: #EFF6FF !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
}

/* ---- 37. NEWSLETTER BUTTON - Force blue ---- */
.tp-footer-subscribe form button,
.tp-footer-subscribe form button svg,
.tp-footer__input button {
    background-color: #2563EB !important;
    background: #2563EB !important;
    color: #FFFFFF !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

.tp-footer__input button:hover,
.tp-footer-subscribe form button:hover {
    background-color: #1D4ED8 !important;
    background: #1D4ED8 !important;
    transform: scale(1.05) !important;
}

/* ---- 38. INNER PAGE BANNERS - Professional uniform layout ---- */
.about-banner-area,
.breadcrumb__area {
    max-height: 400px !important;
    overflow: hidden !important;
    position: relative !important;
}

.about-banner-area .about-banner-title,
.about-banner-area h2,
.breadcrumb__area h2,
.breadcrumb__area .breadcrumb__title {
    position: relative !important;
    z-index: 10 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
}

.about-banner-area .about-banner-img,
.about-banner-area .container img:not(.logo),
.breadcrumb__area .breadcrumb__img {
    max-height: 350px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 16px !important;
}

/* ---- 39. CTA SECTION - consistent across all pages ---- */
.tp-cta-bg {
    border-radius: 20px !important;
    padding: 60px 60px !important;
    max-width: 100% !important;
}

.tp-cta-area .container {
    max-width: 1200px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ---- 40. PURPLE CLEANUP ---- */
.tp-faq-area .tp-faq-bg,
.tp-faq-bg,
.purple-bg {
    background: #2563EB !important;
    background-image: none !important;
}

.tp-faq-area .tp-faq-shape {
    display: none !important;
}

.tp-btn-purple,
.tp-btn-purple-lg,
.tp-btn-blue-lg.purple-bg {
    background-color: #2563EB !important;
    background: #2563EB !important;
}

.tp-purple-color {
    color: #2563EB !important;
}

/* ---- 41. COUNTER SECTION - Premium numbers ---- */
.tp-counter-wrapper {
    border-radius: 20px !important;
    background: rgba(255,255,255,0.8) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04) !important;
    padding: 40px 20px !important;
}

.tp-counter-item h4 {
    font-size: 48px !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    letter-spacing: -1px !important;
}

.tp-counter-item p {
    font-size: 15px !important;
    color: #64748B !important;
    font-weight: 500 !important;
    margin-top: 8px !important;
}

/* ---- 42. HERO - Premium polish ---- */
.tp-hero-area {
    padding-bottom: 30px !important;
}

.tp-hero-title-3 {
    letter-spacing: -1px !important;
}

.tp-hero-3-main-thumb img {
    border-radius: 20px !important;
    box-shadow: 0 40px 80px rgba(0,0,0,0.15) !important;
}

/* Social icons in hero - more subtle */
.tp-hero-browser-wrapper {
    gap: 24px !important;
    margin-top: 32px !important;
    margin-bottom: 48px !important;
}

.tp-hero-browser-item img {
    width: 40px !important;
    height: 40px !important;
    transition: transform 0.3s ease !important;
}

.tp-hero-browser-item:hover img {
    transform: scale(1.15) !important;
}

/* ---- 43. SECTION TITLES - Consistent hierarchy ---- */
.tp-section-title-3 {
    font-weight: 700 !important;
    letter-spacing: -0.5px !important;
    color: #0F172A !important;
}

.tp-section-title-3 span {
    color: #2563EB !important;
}

/* ---- 44. HEADER STICKY - Premium glassmorphism ---- */
#header-sticky.header-sticky,
.header-bottom__area.header-sticky {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6) !important;
}

/* ---- 45. SCROLL-TO-TOP - Modern ---- */
.scroll-top {
    background: #2563EB !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3) !important;
    transition: all 0.3s ease !important;
}

.scroll-top:hover {
    background: #1D4ED8 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.4) !important;
}

/* ---- 46. FEATURE SECTION (Footer CTA on homepage) ---- */
.tp-browser-details-area {
    padding-top: 80px !important;
}

.footer-browser-item {
    gap: 20px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
}

/* ---- 47. MOBILE RESPONSIVE polish ---- */
@media (max-width: 991px) {
    .tp-rated-bg {
        margin: 0 10px !important;
        border-radius: 16px !important;
    }

    .tp-testimonial-3-bg {
        margin: 0 10px !important;
        border-radius: 16px !important;
    }

    .tp-rated-title-box h5.tp-section-title-3 {
        font-size: 28px !important;
    }

    .tp-testimonial-3-section-box h3 {
        font-size: 28px !important;
    }

    .tp-card-title-box h3 {
        font-size: 30px !important;
    }

    .tp-counter-item h4 {
        font-size: 36px !important;
    }
}

@media (max-width: 575px) {
    .tp-rated-title-box h5.tp-section-title-3 {
        font-size: 24px !important;
    }

    .tp-card-title-box h3 {
        font-size: 26px !important;
    }

    .tp-testimonial-3-section-box h3 {
        font-size: 24px !important;
    }

    .tp-cta-bg {
        padding: 40px 20px !important;
        border-radius: 16px !important;
    }

    .tp-counter-item h4 {
        font-size: 30px !important;
    }
}


/* ========================================================================
   PROFESSIONAL REDESIGN v2.1 - Inner Pages Fix & Final Polish
   ======================================================================== */

/* ---- 48. CTA SECTION - Purple image to Blue gradient on ALL pages ---- */
.tp-cta-bg {
    background-image: none !important;
    background: linear-gradient(135deg, #1E40AF 0%, #2563EB 40%, #3B82F6 100%) !important;
    border-radius: 20px !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Add a subtle decorative overlay effect */
.tp-cta-bg::before {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    right: -20% !important;
    width: 60% !important;
    height: 200% !important;
    background: radial-gradient(ellipse, rgba(255,255,255,0.08) 0%, transparent 70%) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

.tp-cta-bg .container,
.tp-cta-bg .tp-cta-content,
.tp-cta-bg > * {
    position: relative !important;
    z-index: 1 !important;
}

.tp-cta-bg h3,
.tp-cta-bg h4,
.tp-cta-bg p,
.tp-cta-bg span {
    color: #FFFFFF !important;
}

.tp-cta-bg .tp-btn,
.tp-cta-bg .tp-cta-btn a {
    background: #FFFFFF !important;
    color: #1E40AF !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    padding: 16px 36px !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.tp-cta-bg .tp-btn:hover,
.tp-cta-bg .tp-cta-btn a:hover {
    background: #F0F7FF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2) !important;
}

/* ---- 49. SERVICES PAGE - Testimonial/Storie section purple to blue ---- */
.tp-testimonial-area[class*="pt-100"] {
    background-image: none !important;
    background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 30%, #2563EB 70%, #3B82F6 100%) !important;
}

.tp-testimonial-area .tp-testimonial-2-section-box h3,
.tp-testimonial-area .tp-testimonial-2-section-box span,
.tp-testimonial-area .tp-testimonial-2-section-box p {
    color: #FFFFFF !important;
}

/* Testimonial v2 cards on services page */
.tp-testimonial-2-item,
.tp-testimonial-item {
    background: #FFFFFF !important;
    border-radius: 16px !important;
    padding: 28px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important;
}

.tp-testimonial-2-item p,
.tp-testimonial-item p {
    color: #334155 !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
}

.tp-testimonial-2-item h5,
.tp-testimonial-item h5 {
    color: #0F172A !important;
    font-weight: 700 !important;
}

.tp-testimonial-2-item span,
.tp-testimonial-item span {
    color: #64748B !important;
}

/* ---- 50. INNER PAGE BANNERS - Professional compact layout ---- */
.about-banner-area {
    max-height: 360px !important;
    overflow: hidden !important;
    position: relative !important;
}

.about-banner-title {
    font-size: 52px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    position: relative !important;
    z-index: 10 !important;
    text-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
    letter-spacing: -1px !important;
    line-height: 1.1 !important;
}

.about-banner-title span {
    color: #FFFFFF !important;
}

/* Make banner image smaller and contained */
.about-shape-2 {
    z-index: 5 !important;
    opacity: 0.95 !important;
}

.about-shape-2 img {
    max-height: 320px !important;
    border-radius: 20px !important;
    object-fit: cover !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15) !important;
}

.about-shape-1 {
    z-index: 4 !important;
    opacity: 0.6 !important;
}

.about-shape-1 img {
    max-height: 280px !important;
    border-radius: 20px !important;
}

/* ---- 51. SERVICES PAGE - Service detail cards polish ---- */
.tp-service-2-item {
    border-radius: 16px !important;
    border: 1px solid #E2E8F0 !important;
    transition: all 0.3s ease !important;
    padding: 32px !important;
}

.tp-service-2-item:hover {
    border-color: #2563EB !important;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.1) !important;
    transform: translateY(-3px) !important;
}

.tp-service-2-item .tp-service-2-icon {
    margin-bottom: 20px !important;
}

.tp-service-2-item h4 a {
    color: #0F172A !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    text-decoration: none !important;
}

.tp-service-2-item h4 a:hover {
    color: #2563EB !important;
}

/* ---- 52. FAQ SECTION - Force blue theme ---- */
.tp-faq-area {
    position: relative !important;
}

.tp-faq-area .tp-custom-accordion .accordion-button {
    border-radius: 12px !important;
    font-weight: 600 !important;
    color: #0F172A !important;
}

.tp-faq-area .tp-custom-accordion .accordion-button:not(.collapsed) {
    color: #2563EB !important;
    background-color: #EFF6FF !important;
}

.tp-faq-area .tp-custom-accordion .accordion-body {
    color: #475569 !important;
    line-height: 1.7 !important;
}

/* ---- 53. ABOUT PAGE - "Why choose" section polish ---- */
.tp-about-feature-list li {
    padding: 8px 0 !important;
}

.tp-about-feature-list li i,
.tp-about-feature-list li svg {
    color: #2563EB !important;
}

/* Team section - names to blue */
.tp-team-item h5 a,
.tp-team-title-name a {
    color: #2563EB !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}

.tp-team-item span,
.tp-team-title-name span {
    color: #64748B !important;
}

/* ---- 54. JOB LISTINGS - Polish ---- */
.tp-career-item,
.career-item {
    border-radius: 16px !important;
    border: 1px solid #E2E8F0 !important;
    padding: 24px 32px !important;
    transition: all 0.3s ease !important;
    margin-bottom: 16px !important;
}

.tp-career-item:hover,
.career-item:hover {
    border-color: #2563EB !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08) !important;
}

/* ---- 55. INTEGRATION CARDS - Better styling ---- */
.tp-integration-item,
.integration-item {
    border-radius: 16px !important;
    border: 1px solid #E2E8F0 !important;
    padding: 24px !important;
    transition: all 0.3s ease !important;
    background: #FFFFFF !important;
}

.tp-integration-item:hover,
.integration-item:hover {
    border-color: #2563EB !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.1) !important;
    transform: translateY(-3px) !important;
}

/* ---- 56. PRICING SECTION - Blue accent ---- */
.tp-pricing-item.active,
.tp-price-item.active {
    border-color: #2563EB !important;
}

.tp-pricing-item .tp-pricing-btn .tp-btn,
.tp-price-item .tp-btn {
    background: #2563EB !important;
    border-color: #2563EB !important;
}

.tp-pricing-item .tp-pricing-btn .tp-btn:hover,
.tp-price-item .tp-btn:hover {
    background: #1D4ED8 !important;
}

/* ---- 57. GLOBAL LINKS & BUTTONS - Ensure blue everywhere ---- */
a.tp-btn-blue,
.tp-btn-blue-lg,
.tp-btn-blue-sm {
    background: #2563EB !important;
    border-color: #2563EB !important;
    color: #FFFFFF !important;
}

a.tp-btn-blue:hover,
.tp-btn-blue-lg:hover,
.tp-btn-blue-sm:hover {
    background: #1D4ED8 !important;
}

/* Any remaining purple backgrounds */
[style*="background"][style*="purple"],
[style*="background"][style*="#7B2FF7"],
[style*="background"][style*="#8B5CF6"],
[style*="background"][style*="#6C2BD9"] {
    background: #2563EB !important;
}

/* ---- 58. ABOUT PAGE - Counter section on inner pages ---- */
.tp-counter-2-item h4,
.tp-counter-2-item .tp-counter-number {
    font-size: 42px !important;
    font-weight: 800 !important;
    color: #0F172A !important;
}

.tp-counter-2-item span.tp-purple-color,
.tp-counter-2-item h4 span {
    color: #2563EB !important;
}

/* ---- 59. TIMELINE/CRONOLOGIA section ---- */
.tp-history-item {
    border-radius: 16px !important;
    background: #FFFFFF !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04) !important;
    border: 1px solid #F1F5F9 !important;
}

.tp-history-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08) !important;
}

/* ---- 60. MOBILE RESPONSIVE - Inner pages ---- */
@media (max-width: 991px) {
    .about-banner-title {
        font-size: 36px !important;
    }
    
    .about-banner-area {
        max-height: 280px !important;
    }
    
    .about-shape-2 img {
        max-height: 250px !important;
    }
    
    .tp-cta-bg {
        padding: 40px 30px !important;
    }
}

@media (max-width: 575px) {
    .about-banner-title {
        font-size: 28px !important;
    }
    
    .about-banner-area {
        max-height: 250px !important;
    }
    
    .about-shape-2 img {
        max-height: 200px !important;
    }
    
    .tp-cta-bg {
        padding: 30px 20px !important;
        border-radius: 16px !important;
    }
}


/* ========================================================================
   PROFESSIONAL REDESIGN v2.2 - Complete Purple Cleanup & Banner Fix
   ======================================================================== */

/* ---- 61. FOOTER - Remove magnet/shape decorations on inner pages ---- */
.tp-footer__shape-1 {
    display: none !important;
}

/* ---- 62. HEADER Z-INDEX - Fix dropdown going behind page content ---- */
.header-bottom__area,
.header-bottom__area.header__space,
.header-bottom__area.header-sticky-bg-2 {
    position: relative !important;
    z-index: 999 !important;
}

#header-sticky.header-sticky,
.header-bottom__area.header-sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6) !important;
}

/* ---- 63. PURPLE CLEANUP - inner-section-subtitle ---- */
.inner-section-subtitle {
    color: #2563EB !important;
}

h5.inner-section-subtitle,
p.inner-section-subtitle,
span.inner-section-subtitle {
    color: #2563EB !important;
}

/* ---- 64. PURPLE CLEANUP - Jobs platform cards ---- */
.tp-platform-inner .col-custom {
    box-shadow: 0px -3px 0px #2563EB !important;
}

.tp-platform-inner .col-custom:hover {
    box-shadow: 0px -3px 0px #1D4ED8 !important;
}

/* ---- 65. ABOUT-BANNER-AREA - Convert to breadcrumb style (hide images) ---- */
.about-banner-area {
    max-height: none !important;
    overflow: visible !important;
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

.about-banner-area .about-shape-1,
.about-banner-area .about-shape-2 {
    display: none !important;
}

.about-banner-title {
    font-size: 48px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    position: relative !important;
    z-index: 10 !important;
    text-shadow: none !important;
    letter-spacing: -1px !important;
    line-height: 1.2 !important;
}

.about-banner-title span {
    color: #FFFFFF !important;
}

/* ---- 66. BREADCRUMB BANNERS - Consistent blue style ---- */
.breadcrumb__area {
    position: relative !important;
    z-index: 1 !important;
}

.breadcrumb__area.blue-bg-2 {
    background: linear-gradient(135deg, #1E40AF 0%, #2563EB 50%, #3B82F6 100%) !important;
}

.breadcrumb__title {
    color: #FFFFFF !important;
    font-size: 42px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.breadcrumb__list span {
    color: rgba(255,255,255,0.8) !important;
}

.breadcrumb__list span a {
    color: rgba(255,255,255,0.8) !important;
}

.breadcrumb__list span a:hover {
    color: #FFFFFF !important;
}

.breadcrumb__list .dvdr i {
    color: rgba(255,255,255,0.5) !important;
}

/* ---- 67. INTEGRATIONS PAGE - Button text visibility fix ---- */
.tp-integration-item .tp-btn-blue,
.tp-integration-item .tp-btn-purple,
.tp-integration-item a.tp-btn-blue,
.tp-integration-item a[class*="tp-btn"] {
    background: #2563EB !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.tp-integration-item .tp-btn-blue:hover,
.tp-integration-item .tp-btn-purple:hover,
.tp-integration-item a.tp-btn-blue:hover,
.tp-integration-item a[class*="tp-btn"]:hover {
    background: #1D4ED8 !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25) !important;
}

/* ---- 68. TEAM PAGE - Blue accents instead of purple ---- */
.tp-team-social a:hover {
    background: #2563EB !important;
    border-color: #2563EB !important;
    color: #FFFFFF !important;
}

.tp-team-item:hover .tp-team-social a {
    border-color: #2563EB !important;
}

/* ---- 69. PRICING PAGE - Ensure all blue ---- */
.tp-pricing-tab-btn .nav-link.active {
    background: #2563EB !important;
    color: #FFFFFF !important;
}

.tp-pricing-tab-btn .nav-link {
    color: #334155 !important;
}

.tp-price-inner .tp-price-toggle-btn .slider {
    background: #2563EB !important;
}

.tp-pricing-shape svg path,
.tp-section-title-shape svg path {
    fill: #2563EB !important;
}

.tp-price-item .tp-btn-service,
.tp-price-item .tp-btn-service-2,
.tp-pricing-btn .tp-btn-service {
    background: #2563EB !important;
    border-color: #2563EB !important;
    color: #FFFFFF !important;
}

.tp-price-item .tp-btn-service:hover,
.tp-price-item .tp-btn-service-2:hover,
.tp-pricing-btn .tp-btn-service:hover {
    background: #1D4ED8 !important;
}

/* Annual savings badge */
.tp-price-offer-tag {
    background: #2563EB !important;
    color: #FFFFFF !important;
}

/* ---- 70. CONTACT PAGE - Purple cleanup ---- */
.tp-contact-social a:hover {
    background: #2563EB !important;
    border-color: #2563EB !important;
    color: #FFFFFF !important;
}

.tp-contact-info-icon i {
    color: #2563EB !important;
}

.tp-contact-info-icon {
    background: #EFF6FF !important;
    border-color: #2563EB !important;
}

/* Contact form submit button */
.tp-contact-btn .tp-btn-blue,
.tp-contact-btn .submit-btn,
.tp-contact-btn button {
    background: #2563EB !important;
    border-color: #2563EB !important;
    color: #FFFFFF !important;
    border-radius: 12px !important;
}

.tp-contact-btn .tp-btn-blue:hover,
.tp-contact-btn .submit-btn:hover,
.tp-contact-btn button:hover {
    background: #1D4ED8 !important;
}

/* ---- 71. SERVICES PAGE - Remaining purple fixes ---- */
.tp-service-3-title a:hover {
    color: #2563EB !important;
}

.tp-service-3-text p {
    color: #64748B !important;
}

/* Service detail sidebar */
.tp-service-widget-btn a {
    background: #2563EB !important;
    color: #FFFFFF !important;
}

.tp-service-widget-btn a:hover {
    background: #1D4ED8 !important;
}

/* ---- 72. GLOBAL PURPLE OVERRIDE - Catch remaining purple elements ---- */
.purple-color,
.tp-purple-color,
[class*="purple-color"] {
    color: #2563EB !important;
}

.tp-btn-purple {
    background: transparent !important;
    border: 2px solid #2563EB !important;
    color: #2563EB !important;
    border-radius: 10px !important;
}

.tp-btn-purple:hover {
    background: #2563EB !important;
    color: #FFFFFF !important;
}

/* SVG fills that might be purple */
svg .purple-fill,
svg [fill="#6B14FA"],
svg [fill="#7B2FF7"],
svg [fill="#8B5CF6"] {
    fill: #2563EB !important;
}

/* ---- 73. MOBILE - Banner responsive adjustments ---- */
@media (max-width: 991px) {
    .about-banner-title {
        font-size: 36px !important;
    }
    
    .breadcrumb__title {
        font-size: 32px !important;
    }
}

@media (max-width: 575px) {
    .about-banner-title {
        font-size: 28px !important;
    }
    
    .breadcrumb__title {
        font-size: 26px !important;
    }
}

/* ---- 74. HIDE about-img-area photo section on About/Services/Contact ---- */
.about-img-area {
    display: none !important;
}

/* ---- 75. ABOUT BANNER - Remove max-height constraint for breadcrumb style ---- */
.about-banner-area {
    max-height: none !important;
    overflow: visible !important;
    padding-top: 60px !important;
    padding-bottom: 60px !important;
    min-height: 220px !important;
}

.about-banner-area.blue-bg-2 {
    background: linear-gradient(135deg, #1E40AF 0%, #2563EB 50%, #3B82F6 100%) !important;
}


/* ---- 76. JOBS - Hide career banner photos section ---- */
.carrer-banner-area {
    display: none !important;
}

/* ---- 77. CONTACT - Purple paper airplane icon fix ---- */
.tp-contact-inner-title svg path[fill="#6B14FA"],
.tp-contact-inner-title svg path[fill="#8B5CF6"],
.tp-contact-inner-title svg path[fill="#7B2FF7"],
svg.purple-icon path,
.breadcrumb__content svg path {
    fill: #2563EB !important;
}

/* ---- 78. TEAM - Avatar circle background to blue tint ---- */
.tp-team-item .tp-team-img::before,
.tp-team-item .tp-team-img::after,
.tp-team-img-wrap::before,
.tp-team-img-wrap::after {
    background-color: rgba(37, 99, 235, 0.15) !important;
    background: rgba(37, 99, 235, 0.15) !important;
}

.tp-team-item .tp-team-thumb::before,
.tp-team-img::before {
    background-color: rgba(37, 99, 235, 0.15) !important;
}


/* ---- 79. BANNER TITLES - Force single line (hide br tags) ---- */
.breadcrumb__title br,
.breadcrumb__title span {
    display: inline !important;
}
.breadcrumb__title br {
    display: none !important;
}

/* ---- 80. ALL INNER BANNERS - Lower content (more padding-top) ---- */
.breadcrumb__area.breadcrumb-height,
.breadcrumb__area.breadcrumb-ptb-3,
.breadcrumb__area.breadcrumb-ptb-5,
.breadcrumb__area.breadcrumb-height-3 {
    padding-top: 40px !important;
    max-height: 280px !important;
    overflow: hidden !important;
    padding-bottom: 30px !important;
}

/* Integrations - align content to match others (remove extra margin) */
.breadcrumb-ptb-3 .breadcrumb__content {
    margin-top: 0 !important;
}

/* ---- 81. SPACING BELOW BANNERS - Add breathing room ---- */
.breadcrumb__area + section,
.breadcrumb__area + div:not(.breadcrumb__area) {
    margin-top: 70px !important;
}

/* About page - spacing after banner before brand section */
.breadcrumb__area + .ab-brand-area,
.breadcrumb__area ~ .ab-brand-area {
    padding-top: 60px !important;
}

/* Services page - spacing after banner before service content */
.breadcrumb__area + .tp-service-area,
.breadcrumb__area ~ .tp-service-area {
    padding-top: 50px !important;
}

/* ---- 82. SERVICE CARDS - More spacing between rows ---- */
.tp-service-3-item {
    margin-bottom: 50px !important;
}

/* Specifically for the service section grid on Services and Home */
.tp-service-area .row .col-xl-7,
.tp-service-area .row .col-xl-5,
.tp-service-area .row [class*="col-"] {
    margin-bottom: 30px !important;
}

/* ---- 83. MOBILE - Banner adjustments ---- */
@media (max-width: 991px) {
    .breadcrumb__area.breadcrumb-height,
    .breadcrumb__area.breadcrumb-ptb-3,
    .breadcrumb__area.breadcrumb-ptb-5 {
        padding-top: 120px !important;
        padding-bottom: 30px !important;
    }
}


/* ---- 84. SERVICE CARDS - Equal height, content top-aligned ---- */
.tp-service-area .row {
    align-items: stretch !important;
}

/* Both columns must fill their height */
.tp-service-area .row > [class*="col-"] {
    display: flex !important;
    flex-direction: column !important;
}

/* Small service cards - fill parent, content at top */
.tp-service-sm-item {
    flex: 1 !important;
    justify-content: flex-start !important;
    gap: 15px !important;
    padding: 30px !important;
}

/* Featured big card - match margin for equal height */
.tp-service-3-item {
    flex: 1 !important;
    height: auto !important;
    margin-bottom: 30px !important;
}

/* ---- 85. BANNER - reduce spacing below to content ---- */
.breadcrumb__area + section,
.breadcrumb__area + div:not(.breadcrumb__area) {
    margin-top: 70px !important;
}

/* ---- 86. HEADER BUTTON - Match Home style on all pages ---- */
#header-sticky .tp-btn-white,
#header-sticky .tp-btn-white.tp-btn-hover,
#header-sticky .tp-btn-white.tp-btn-hover.alt-color-black,
#header-sticky a.tp-btn-white {
    line-height: 48px !important;
    padding: 10px 18px !important;
    font-size: 13px !important;
    border-radius: 10px !important;
}


/* ---- 87. OFFCANVAS MENU - Remove separator lines ---- */
.tpoffcanvas .mean-container .mean-nav ul li a,
.tpoffcanvas .mean-container .mean-nav ul li,
.tpoffcanvas li a,
.tpoffcanvas li {
    border-top: none !important;
    border-bottom: none !important;
    border: none !important;
}

/* ---- 88. PRICING - More spacing below header banner ---- */
.tp-price-area {
    padding-top: 40px !important;
}

/* ---- 89. PRICING - Align CTA buttons at same height ---- */
.tp-price-area .tp-pricing__header {
    display: flex !important;
    flex-direction: column !important;
    min-height: 260px !important;
}

.tp-price-area .tp-pricing__header .tp-price-btn {
    margin-top: auto !important;
}

/* ---- 90. CONTACT - Fix purple arrow to blue ---- */
.tp-contact-title-box .tp-section-title span svg,
.tp-contact-title-box .tp-section-title span img {
    filter: hue-rotate(240deg) saturate(1.5) brightness(0.9) !important;
}

/* ---- 91. HOME - Service section "See All" button fix ---- */
.tp-service-area .tp-service-title-btn .tp-btn-blue-lg,
.tp-service-area .tp-btn-blue-lg {
    padding: 14px 30px !important;
    line-height: 1.3 !important;
    height: auto !important;
    max-height: 55px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    font-size: 15px !important;
}

/* ---- 92. HOME - Sales section list items spacing ---- */
.tp-sales-feature ul li {
    margin-bottom: 12px !important;
}
.tp-sales-feature ul li span {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
}
.tp-sales-feature ul li span em {
    font-style: normal !important;
    line-height: 1.5 !important;
}

/* ---- 93. SERVICES INDEX - Equal height boxes ---- */
.tp-service-area .row {
    display: flex !important;
    flex-wrap: wrap !important;
}

.tp-service-area .row > [class*="col-"] {
    display: flex !important;
}

.tp-service-sm-item {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    height: 100% !important;
    min-height: 250px !important;
}

.tp-service-sm-item .tp-service-sm-text {
    flex: 1 !important;
}

.tp-service-3-item {
    height: 100% !important;
    min-height: 250px !important;
}

/* ---- 94. INTEGRATIONS - Equal height cards + buttons aligned ---- */
.tp-integration__item {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 320px !important;
}

.tp-integration__item .tp-integration__content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.tp-integration__item .tp-integration__content .tp-integration__btn,
.tp-integration__item .tp-integration__content > a:last-child,
.tp-integration__item .tp-integration__content a.tp-btn-border {
    margin-top: auto !important;
}

/* Integration cards container */
.tp-integration-area .row > [class*="col-"] {
    display: flex !important;
    margin-bottom: 30px !important;
}

/* ---- 95. INTEGRATIONS - Fix banner height to match other pages ---- */
.breadcrumb-ptb-3 {
    min-height: 220px !important;
    padding-top: 60px !important;
    padding-bottom: 40px !important;
}

/* ---- 96. HOME - CardSection max-height increase for button visibility ---- */
.tp-card-area {
    max-height: none !important;
    overflow: visible !important;
}

.tp-card-area .tp-card-title-box {
    max-height: none !important;
    overflow: visible !important;
}

/* ---- 97. HOME - Sales section (dark CTA) text visibility fix ---- */
.tp-sales-area .tp-section-title-3 {
    line-height: 1.2 !important;
    margin-bottom: 15px !important;
}

.tp-sales-area .tp-sales-section-box p {
    opacity: 1 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.6 !important;
    font-size: 16px !important;
}


/* ---- 98. CONTACT - Fix purple arrow - stronger filter approach ---- */
.tp-contact-title-box .tp-section-title span,
.tp-contact-title-box h4.tp-section-title span {
    filter: hue-rotate(220deg) saturate(2) !important;
}
.tp-contact-title-box .tp-section-title span svg {
    filter: hue-rotate(220deg) saturate(2) !important;
}
/* Also try on the image inside the SVG pattern */
.tp-contact-title-box .tp-section-title span svg image {
    filter: hue-rotate(220deg) saturate(2) !important;
}

/* ---- 99. PRICING - More top spacing for pricing block ---- */
.tp-price-area {
    padding-top: 60px !important;
    margin-top: 20px !important;
}

/* ---- 100. PRICING - Force equal height plan columns and bottom-aligned buttons ---- */
.tp-pricing__header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}

/* The price table wrapper - make columns stretch equally */
.tp-price-area .row > [class*="col-"] {
    display: flex !important;
    flex-direction: column !important;
}

/* Each pricing plan header card should fill height */
.tp-price-area .tp-pricing__header,
.tp-price-table-wrapper .tp-pricing__header {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

/* Push CTA button to bottom of each plan card */
.tp-pricing__header .tp-price-btn,
.tp-pricing__header > a:last-of-type,
.tp-pricing__header > .tp-btn-blue-lg,
.tp-pricing__header > .tp-btn-border {
    margin-top: auto !important;
    align-self: center !important;
}

/* Hide the pink/purple shape that bleeds through */
.tp-price-area .breadcrumb__shape-1,
.tp-price-area .breadcrumb__shape-2,
.breadcrumb__area .breadcrumb__shape-1 img,
.breadcrumb__area .breadcrumb__shape-2 img {
    display: none !important;
}

/* ---- 101. INTEGRATIONS - buttons bottom aligned in cards ---- */
.tp-integration__item {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.tp-integration__content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.tp-integration__content > a:last-child,
.tp-integration__btn {
    margin-top: auto !important;
    align-self: flex-start !important;
}

/* Integration cards row - stretch columns */
.tp-integration-area .row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
}

.tp-integration-area .row > [class*="col-"] {
    display: flex !important;
}


/* ---- 102. CONTACT - Hide purple arrow SVG and replace with blue icon ---- */
.tp-contact-title-box .tp-section-title span svg {
    display: none !important;
}
.tp-contact-title-box .tp-section-title span::after {
    content: "✉️" !important;
    font-size: 36px !important;
    display: inline !important;
    margin-left: 2px !important;
}

/* ---- 103. PRICING - Hide RISPARMIA pink shape ---- */
.tp-price-area .tp-price-offer,
.tp-price-area .breadcrumb__shape-1,
.tp-price-area .breadcrumb__shape-2,
.breadcrumb__area .tp-price-offer,
.tp-price-offer-shape {
    display: none !important;
}

/* Target the diagonal pink badge specifically */
.tp-pricing__offer,
.tp-price-area [class*="offer"],
.tp-price-area [class*="shape"] img[src*="shape"] {
    display: none !important;
}


/* ---- 104. CONTACT - Fix purple arrow with correct selectors ---- */
.contact-form-section-box .tp-section-title span svg {
    display: none !important;
}
.contact-form-section-box .tp-section-title span::after {
    content: "📩" !important;
    font-size: 32px !important;
    display: inline !important;
    vertical-align: middle !important;
}


/* ---- 105. PRICING - Definitive button alignment with flex ---- */
.tp-price-top-wrapper {
    display: flex !important;
    align-items: stretch !important;
}
.tp-price-top-wrapper > .tp-price-top-item {
    display: flex !important;
    flex-direction: column !important;
}
.tp-price-top-item .tp-price-top-title-wrapper {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}
.tp-price-top-item .tp-price-top-title-wrapper .tp-btn-service {
    margin-top: auto !important;
}

/* ---- 106. TEAM - Remove purple overlay, show normal avatar colors ---- */
.tp-team-item .tp-team-img {
    background-color: #e8edf5 !important;
}
.tp-team-item .tp-team-img img {
    mix-blend-mode: normal !important;
}

/* ---- 107. PRICING - Push pricing block further below banner ---- */
.tp-price-area {
    padding-top: 120px !important;
    margin-top: 50px !important;
}

/* ---- 108. PRICING - Fix feature grid: columns side-by-side, not stacked ---- */
.tp-price-feature-wrapper .col-8 {
    flex-direction: row !important;
}
.tp-price-feature-wrapper .tp-price-feature-info-item {
    flex: 1 !important;
}

/* ---- 109. PRICING - Align prices at top: equal height for plan name+description ---- */
.tp-price-top-item .tp-price-top-tag-wrapper {
    min-height: 100px !important;
}

/* ---- 110. INTEGRATIONS - Align banner height with other pages ---- */
.breadcrumb__area.breadcrumb-ptb-3 {
    padding-top: 40px !important;
    min-height: auto !important;
}


/* ---- 111. PRICING - Fix feature grid specificity override ---- */
.tp-price-area .tp-price-feature-wrapper .row > .col-8 {
    flex-direction: row !important;
    align-items: stretch !important;
}
.tp-price-area .tp-price-feature-wrapper .tp-price-feature-info-item {
    flex: 1 !important;
    min-width: 0 !important;
}

/* ---- 112. SERVICES - Equal height for all service boxes ---- */
.tp-service-area .tp-service-3-item {
    min-height: 280px !important;
    max-height: 280px !important;
    padding-top: 25px !important;
    padding-bottom: 15px !important;
    overflow: hidden !important;
}
.tp-service-area .tp-service-3-item .tp-service-3-shape {
    display: none !important;
}
.tp-service-area .tp-service-3-item .tp-service-3-btn {
    margin-top: 0 !important;
    padding-top: 5px !important;
}
.tp-service-area .tp-service-sm-item {
    min-height: 280px !important;
    height: 280px !important;
}


/* ---- 113. PRICING - Hide RISPARMIA badge in breadcrumb area ---- */
.tp-price__btn-offer-tag {
    display: none !important;
}
/* ---- 114. INTEGRATIONS - Banner same height + vertically centered content ---- */
.breadcrumb__area.breadcrumb-ptb-3 {
    min-height: 280px !important;
    display: flex !important;
    align-items: center !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* ---- 115. INTEGRATIONS - Equal height integration boxes ---- */
.tp-feature-five-item {
    min-height: 393px !important;
}

/* ---- 116. SERVICES - Equal height testimonial cards ---- */
.tp-testimonial-five-item {
    min-height: 406px !important;
}

/* ---- 117. SERVICES - Smaller FAQ question font ---- */
.tp-faq-tab-content .accordion-buttons,
.tp-faq-active .accordion-buttons,
.accordion-buttons {
    font-size: 17px !important;
    line-height: 1.4 !important;
}


/* ---- 118. PRICING - Banner same height as other pages (280px) + centered ---- */
.breadcrumb__area.breadcrumb-ptb-5 {
    min-height: 280px !important;
    display: flex !important;
    align-items: center !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* ---- 119. ABOUT - Hide team social links ---- */
.tp-team-social {
    display: none !important;
}
/* ---- 120. BLOG POST - Reduce banner height ---- */
.breadcrumb__area.breadcrumb-ptb-4 {
    padding-top: 40px !important;
    padding-bottom: 30px !important;
    max-height: 280px !important;
    min-height: 280px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
}

/* ============================================
   121. Service detail lists - remove bullet points (keep only checkmarks)
   ============================================ */
.sv-details-wrapper ul,
.sv-details-wrapper ol,
ul.sv-details-list {
    list-style-type: none !important;
    padding-left: 0 !important;
}

.sv-details-wrapper ul li,
ul.sv-details-list li {
    list-style-type: none !important;
    position: relative !important;
    padding-left: 35px !important;
    margin-bottom: 10px !important;
}

.sv-details-wrapper ul li i,
ul.sv-details-list li i {
    height: 20px !important;
    width: 20px !important;
    text-align: center !important;
    line-height: 20px !important;
    border-radius: 50% !important;
    background: rgba(20, 17, 37, 0.08) !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    color: var(--tp-common-black) !important;
    position: absolute !important;
    top: 5px !important;
    left: 0 !important;
}

/* ============================================
   122. Homepage service cards - always show Scopri di più link
   ============================================ */
.tp-service-sm-link {
    opacity: 1 !important;
    visibility: visible !important;
}

.tp-service-sm-content {
    margin-bottom: 0px !important;
}

/* ============================================
   123. Timeline carousel navigation arrows
   ============================================ */
.tp-journey-nav button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--tp-theme-1);
    background: transparent;
    color: var(--tp-theme-1);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tp-journey-nav button:hover {
    background: var(--tp-theme-1);
    color: #fff;
}

/* ============================================
   124. Featured service card - fix white-on-white colors
   The original theme expects a dark/colored background for this card,
   but with white bg, icon/badge/button are invisible (white text/icon)
   ============================================ */
.tp-service-3-item {
    overflow: visible !important;
    min-height: auto !important;
    height: auto !important;
}

.tp-service-3-content span {
    color: var(--tp-common-black) !important;
    opacity: 1 !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    padding: 4px 14px !important;
    border-radius: 20px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    display: inline-block !important;
    margin-bottom: 12px !important;
}

.tp-service-3-icon img {
    filter: brightness(0) saturate(100%) !important;
    max-height: 50px !important;
}

.tp-service-3-btn a {
    color: var(--tp-theme-1) !important;
    background: transparent !important;
    font-weight: 600 !important;
    font-size: 15px !important;
}

.tp-service-3-btn a:hover {
    color: var(--tp-common-black) !important;
}

.tp-service-3-btn a i {
    color: var(--tp-theme-1) !important;
    margin-left: 6px !important;
}

/* ============================================
   125. Fix Swiper navigation lock on timeline carousel
   Swiper adds swiper-button-lock when all slides fit in viewport
   ============================================ */
.tp-journey-nav .swiper-button-lock {
    display: block !important;
}

/* ============================================
   126. Fix NiceSelect dropdown - list must be hidden when closed
   The nice-select.css rules are not applying (position:static instead of absolute)
   ============================================ */
.nice-select {
    position: relative !important;
    cursor: pointer !important;
}

.nice-select .list {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: scale(0.75) translateY(-21px) !important;
    transition: all 0.2s cubic-bezier(0.75, 0.02, 0.5, 1) !important;
    z-index: 9 !important;
    background: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11) !important;
    margin-top: 4px !important;
    padding: 0 !important;
    list-style: none !important;
    max-height: 300px !important;
    overflow-y: auto !important;
}

.nice-select.open .list {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: scale(1) translateY(0) !important;
}

.nice-select .list li {
    list-style: none !important;
    padding: 10px 18px !important;
    cursor: pointer !important;
    font-weight: 400 !important;
    line-height: 40px !important;
    min-height: 40px !important;
    transition: all 0.2s !important;
}

.nice-select .list li:hover {
    background-color: var(--tp-theme-1) !important;
    color: #fff !important;
}

.nice-select .current {
    display: block !important;
    cursor: pointer !important;
}

/* ==========================================================================
   127. Service sidebar card - cambio sfondo viola → blu tema
   ========================================================================== */
.tp-service__dashboard {
    background-image: linear-gradient(135deg, #2563eb 0%, #1e40af 40%, #1e3a8a 100%) !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Aggiunge un effetto decorativo sottile */
.tp-service__dashboard::before {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    right: -30% !important;
    width: 300px !important;
    height: 300px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 50% !important;
    pointer-events: none !important;
}

.tp-service__dashboard::after {
    content: '' !important;
    position: absolute !important;
    bottom: -20% !important;
    left: -20% !important;
    width: 200px !important;
    height: 200px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-radius: 50% !important;
    pointer-events: none !important;
}

/* ==========================================================================
   128. Service sidebar card - nascondi immagine analytics, layout pulito
   ========================================================================== */
.tp-service__dashdboard-sm-img {
    display: none !important;
}

.tp-service__dashboard {
    max-height: none !important;
    padding: 40px 35px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-height: 320px !important;
    border-radius: 24px !important;
}

.tp-service__top-content {
    position: relative !important;
    z-index: 2 !important;
}

.tp-service__title-white {
    font-size: 26px !important;
    line-height: 1.3 !important;
    margin-bottom: 16px !important;
    font-weight: 700 !important;
}

.tp-service__top-content p {
    font-size: 15px !important;
    opacity: 0.85 !important;
    margin-bottom: 24px !important;
    line-height: 1.6 !important;
}

.tp-service__top-content .tp-btn-orange {
    background: #fff !important;
    color: #1e40af !important;
    border-radius: 30px !important;
    padding: 12px 28px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    border: none !important;
    display: inline-block !important;
}

.tp-service__top-content .tp-btn-orange:hover {
    background: #e0e7ff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

/* ==========================================================================
   129. Fix bottone sidebar card - span bianco su bianco
   ========================================================================== */
.tp-service__top-content .tp-btn-orange span {
    color: #1e40af !important;
}

.tp-service__top-content .tp-btn-orange:hover span {
    color: #1e40af !important;
}

.tp-service__top-content .tp-btn-orange b {
    display: none !important;
}

/* ==========================================================================
   130. Fix centratura testo bottone sidebar card
   ========================================================================== */
.tp-service__top-content .tp-btn-orange {
    height: auto !important;
    line-height: 1.4 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 32px !important;
    overflow: visible !important;
}

.tp-service__top-content .tp-btn-orange span {
    line-height: 1.4 !important;
    position: static !important;
}

/* ==========================================================================
   131. Fix card piattaforma collassati - testo verticale che sfora (Jobs page)
   ========================================================================== */
.tp-platform-inner .col-custom:not(.active) {
    flex: 0.5 !important;
    width: 110px !important;
    min-width: 110px !important;
    padding: 30px 20px !important;
    overflow: visible !important;
}

.tp-platform-inner .col-custom:not(.active) .tp-panel-title {
    width: 280px !important;
    transform: rotate(90deg) translate(95px, 55px) !important;
    font-size: 18px !important;
    line-height: 22px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.tp-platform-inner .col-custom:not(.active) .tp-panel-content span {
    font-size: 28px !important;
    margin-bottom: 0 !important;
}

/* ==========================================================================
   132. Fix bottoni integrations non allineati (LinkedIn più basso)
   ========================================================================== */
.tp-feature-five-item {
    display: flex !important;
    flex-direction: column !important;
}

.tp-feature-five-btn {
    margin-top: auto !important;
}

/* ==========================================================================
   133. Fix card Jobs - riscrittura testo verticale con writing-mode
   Sostituisce sezione 131 con approccio più robusto
   ========================================================================== */
.tp-platform-inner .col-custom:not(.active) {
    flex: 0 0 100px !important;
    width: 100px !important;
    min-width: 100px !important;
    padding: 25px 15px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.tp-platform-inner .col-custom:not(.active) .tp-panel-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    height: 100% !important;
    width: 100% !important;
}

.tp-platform-inner .col-custom:not(.active) .tp-panel-content span {
    font-size: 26px !important;
    margin-bottom: 15px !important;
    flex-shrink: 0 !important;
}

.tp-platform-inner .col-custom:not(.active) .tp-panel-title {
    writing-mode: vertical-lr !important;
    transform: rotate(180deg) !important;
    width: auto !important;
    height: auto !important;
    max-height: 260px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 17px !important;
    line-height: 1.2 !important;
    opacity: 0.7 !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ==========================================================================
   134. Shift colore immagini mockup da viola a blu (CardSection + SalesSection)
   ========================================================================== */
.tp-card-thumb-wrapper {
    filter: hue-rotate(-55deg) !important;
}

.tp-sales-img-wrapper {
    filter: hue-rotate(-55deg) !important;
}

/* ==========================================================================
   135. Fix frecce testimonianze non centrate (line-height mismatch)
   ========================================================================== */
.tp-test-arrow button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.tp-test-arrow button i {
    line-height: 1 !important;
}

/* ==========================================================================
   136. Carosello finale footer - iniziali maiuscole
   ========================================================================== */
.footer-slide-item span {
    text-transform: capitalize !important;
}

/* ==========================================================================
   137. Nascondere immagine tablet+penna nella sezione valutazioni
   ========================================================================== */
.author-rated-big-img {
    display: none !important;
}

/* ==========================================================================
   138. Rimuovere spazio vuoto sezione valutazioni (dopo rimozione tablet)
   ========================================================================== */
.tp-rated-bg {
    height: auto !important;
    min-height: auto !important;
    padding-bottom: 60px !important;
}

.tp-rated-area {
    margin-bottom: 40px !important;
}

/* ==========================================================================
   139. Menu mobile - fix pulsante "+" e sottovoci Esplora
   ========================================================================== */

/* Parent LI deve essere relative per posizionamento assoluto del "+" */
.mean-container .mean-nav ul li.has-dropdowns {
    position: relative !important;
}

/* Pulsante "+" expand: posizionamento assoluto in alto a destra */
.mean-container .mean-nav ul li a.mean-expand {
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    margin-top: 0 !important;
    width: 40px !important;
    height: 46px !important;
    line-height: 46px !important;
    text-align: center !important;
    font-size: 18px !important;
    border: none !important;
    border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    z-index: 2 !important;
    transition: background 0.2s ease !important;
}

.mean-container .mean-nav ul li a.mean-expand:hover {
    background: rgba(255, 255, 255, 0.05) !important;
}

.mean-container .mean-nav ul li a.mean-expand i {
    font-size: 14px !important;
    transition: transform 0.3s ease !important;
}

/* Sottovoci submenu: indentazione e stile differenziato */
.mean-container .mean-nav ul li ul.submenu {
    padding-left: 0 !important;
    margin: 0 !important;
    background: rgba(0, 0, 0, 0.15) !important;
    border-radius: 6px !important;
}

.mean-container .mean-nav ul li ul.submenu li a {
    padding: 10px 15px 10px 24px !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.75) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    position: relative !important;
}

.mean-container .mean-nav ul li ul.submenu li:first-child a {
    border-top: none !important;
}

.mean-container .mean-nav ul li ul.submenu li a::before {
    content: '–' !important;
    position: absolute !important;
    left: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: rgba(255, 255, 255, 0.35) !important;
    font-size: 12px !important;
}

.mean-container .mean-nav ul li ul.submenu li a:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

/* Link principale Esplora: padding-right per lasciare spazio al "+" */
.mean-container .mean-nav ul li.has-dropdowns > a:first-child {
    padding-right: 50px !important;
}

/* ==========================================================================
   140. Hero section - blend sfondi + mockup browser moderno
   ========================================================================== */

/* 1. Sfumare il gradiente hero: fade-out morbido sul bordo inferiore */
.tp-hero-gradient-bg {
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%) !important;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%) !important;
}

.tp-hero-gradient-bg img {
    opacity: 0.7 !important;
}

/* 2. Sfondo hero area: gradiente piu' morbido e uniforme */
.tp-hero-area.tp-hero-pt {
    background: linear-gradient(180deg, #eef5ff 0%, #f4f7fc 30%, #ffffff 70%) !important;
}

/* 3. Wave shape sinistra: piu' trasparente */
.tp-hero-left-shape {
    opacity: 0.4 !important;
}

/* 4. Nascondere blob viola (shape-5) e squiggle SVG (shape-6) */
.tp-hero-3-shape-5 {
    display: none !important;
}
.tp-hero-3-shape-6 {
    display: none !important;
}

/* 5. Nascondere i cerchi decorativi del vecchio border-wrap */
.tp-hero-3-border-wrap {
    display: none !important;
}

/* 6. Wrapper: centrare e ridurre leggermente */
.tp-hero-3-wrapper {
    max-width: 900px !important;
    margin: 30px auto 0 !important;
    perspective: 1200px !important;
}

/* 7. Browser mockup: header bar + rounded corners + shadow */
.tp-hero-3-main-thumb {
    position: relative !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 
        0 20px 60px rgba(59, 130, 246, 0.12),
        0 8px 24px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(0, 0, 0, 0.04) !important;
    transform: rotateX(2deg) !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease !important;
    padding-top: 36px !important;
}

.tp-hero-3-main-thumb:hover {
    transform: rotateX(0deg) !important;
    box-shadow: 
        0 25px 70px rgba(59, 130, 246, 0.15),
        0 12px 30px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.04) !important;
}

/* Browser header bar con pallini */
.tp-hero-3-main-thumb::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 36px !important;
    background: #f0f2f5 !important;
    border-bottom: 1px solid #e2e5ea !important;
    border-radius: 12px 12px 0 0 !important;
    z-index: 10 !important;
}

/* Tre pallini del browser (rosso, giallo, verde) */
.tp-hero-3-main-thumb::after {
    content: '' !important;
    position: absolute !important;
    top: 13px !important;
    left: 16px !important;
    width: 10px !important;
    height: 10px !important;
    background: #ff5f57 !important;
    border-radius: 50% !important;
    z-index: 11 !important;
    box-shadow: 
        16px 0 0 #ffbd2e,
        32px 0 0 #28ca41 !important;
}

/* L'immagine dentro il mockup */
.tp-hero-3-main-thumb img {
    border-radius: 0 0 12px 12px !important;
    display: block !important;
    width: 100% !important;
}

/* 8. Responsive: su mobile, niente prospettiva e dimensioni piene */
@media (max-width: 991px) {
    .tp-hero-3-wrapper {
        max-width: 100% !important;
        perspective: none !important;
    }
    .tp-hero-3-main-thumb {
        transform: none !important;
        border-radius: 10px !important;
    }
    .tp-hero-3-main-thumb::before {
        height: 28px !important;
        border-radius: 10px 10px 0 0 !important;
    }
    .tp-hero-3-main-thumb::after {
        top: 10px !important;
        left: 12px !important;
        width: 8px !important;
        height: 8px !important;
        box-shadow: 
            12px 0 0 #ffbd2e,
            24px 0 0 #28ca41 !important;
    }
    .tp-hero-3-main-thumb {
        padding-top: 28px !important;
    }
}

/* ==========================================================================
   141. Hero mockup - taglio parte inferiore vuota dello screenshot
   ========================================================================== */
.tp-hero-3-main-thumb img {
    object-fit: cover !important;
    object-position: top center !important;
    max-height: 420px !important;
}

@media (max-width: 991px) {
    .tp-hero-3-main-thumb img {
        max-height: 280px !important;
    }
}

@media (max-width: 575px) {
    .tp-hero-3-main-thumb img {
        max-height: 200px !important;
    }
}

/* ==========================================================================
   142. Auth pages mobile - hamburger icon visibile su sfondo chiaro
   ========================================================================== */
@media only screen and (min-width: 768px) and (max-width: 991px),
(max-width: 767px) {
    .header-signin-bar button span {
        background-color: var(--tp-common-black) !important;
    }
    .header-signin-bar button {
        border-color: #EEEEEE !important;
    }
}
