/**
 * Theme Name:     MTI 2025
 * Author:         Anastasia Berg
 * Text Domain:    mti-2025
 * Description:    MTI Relaunch 2025 - Components
 */

.wpdm-download-link {
	text-decoration: none!important;
	background-color: #9f1438!important;
}

.type-wpdmpro > .page-header {max-width: 600px; margin-top: 60px;}

.w3eden{
	margin-bottom: 40px;
}

#wpcf7-f194585-p190278-o1 > form > p > input {
	color: white;
	border: 1px solid white;
	border-radius: 0;
}

#wpcf7-f194585-p190278-o1 > form > p > input:hover{
	background-color: white;
	color: #333333;
}

/* ========================
 Floating Button Styles
======================== */

.floating-button {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-weight: 600;
  text-decoration: none;
  background-color: #D7DEE2 !important;
  color: black !important;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.floating-button:hover {
  background-color: #c0c9d1 !important;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.floating-button:active {
  transform: translateY(1px) scale(0.98);
}

.floating-button:focus-visible {
  outline: 2px solid black;
  outline-offset: 3px;  
}

.floating-button .icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.floating-button .button-text {
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

@media (max-width: 768px) {
  .floating-button {
    padding: 0.875rem 1.5rem;
    bottom: 1rem;
    right: 1rem;
    font-size: 0.875rem;
    min-height: 44px;
    min-width: 44px;
  }
}

@media (max-width: 480px) {
  .floating-button .button-text {
    display: none;
  }
  .floating-button {
    padding: 0.875rem;
    border-radius: 50%;
    min-height: 44px;
    min-width: 44px;
  }
}

.floating-button.modal-trigger {
  animation: pulse-entrance 0.6s ease;
}

@keyframes pulse-entrance {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);     
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@media print {
  .floating-button {
    display: none !important;
  }
}

/* ========================
 Main Page Counter Styles
======================== */

.stats-container {
    max-width: 1200px;
    margin: 40px auto;
    background-color: #ffffff;
    border-radius: 0;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    padding: 20px 30px;
}
.stats-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.stats-box {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 15px;
    position: relative;
}
.counter-number-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}
.counter-prefix {
    margin-right: 15px;
    font-size: 2rem;
    color: #9F1438;
}
.counter-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #9F1438;
}
.counter-title {
    font-size: 1rem;
    color: #444;
    font-weight: 400;
}
.divider {
    width: 1px;
    height: 60px;
    background-color: #e0e0e0;
    margin: 0 15px;
}

@media (max-width: 992px) {
    .counter-number {
        font-size: 2.2rem;
    }
    .counter-prefix {
        font-size: 1.8rem;
    }
}
@media (max-width: 768px) {
    .stats-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    .stats-box {
        width: 100%;
        max-width: none;
    }
    .divider {
        width: 80%;
        height: 1px;
        margin: 0 auto;
    }
}

/* ========================
 Main Page Values Slider Styles
======================== */

.mti-segment {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    color: #35404a;
}

.mti-values-carousel-container {
    position: relative;
    overflow: visible; 
    padding: 0 2rem; 
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    margin-left: -40px;
}

.mti-values-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; 
    gap: 2rem;
    padding: 1rem 0;
    -webkit-overflow-scrolling: touch; 
    -ms-overflow-style: none; 
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.mti-values-carousel::-webkit-scrollbar {
    display: none; 
}

.mti-value-item {
    position: relative;
    flex: 0 0 330px;
    min-width: 330px;
    height: 300px;
    margin-bottom: 0.5rem;
    border-radius: 0;
    overflow: hidden;
     box-shadow: 0 10px 10px rgba(0,0,0,0.1);
}

.mti-value-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.mti-value-inner {
    position: relative;
    height: 100%;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    
}

.mti-value-icon {
    font-size: 2rem!important;
    color:#465662;
}

.mti-value-title {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 1rem;
    font-family: 'Abel', sans-serif;
    line-height: 1.2;
}

.mti-value-text {
    font-size: 1.05rem;
    line-height: 1.6;
    font-family: 'Arial Narrow', Arial, sans-serif;
}

.mti-cta-item {
    background-color: var(--e-global-color-accent);
    text-decoration: none;
    display: block; 
}

.mti-cta-item .mti-value-inner {
    color: #fff;
    justify-content: space-between;
}

.mti-cta-item .mti-value-title {
    color: #fff;
}

.mti-cta-item .mti-value-icon {
    color: #fff;
}

.mti-cta-item:hover {
    transform: translateY(-8px) scale(1.02);
}

.promise p {
    color: #ffffff;
}

.mti-cta-button-wrapper {
    margin-top: auto;
    padding-top: 1.5rem;
}

.mti-cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #ffffff;
    color: #8B1E34;
    font-weight: 400;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
    font-family: 'Abel', sans-serif;
    font-size: 1.1rem;
    line-height: 1.2;
}

.mti-cta-button:hover {
    background-color: #f5f5f5;
    transform: translateY(-3px);
}

.mti-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: transparent !important; 
    color: rgba(53, 64, 74, 0.6);
    border: none !important; 
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s ease, color 0.3s ease;
    box-shadow: none !important; 
    outline: none !important; 
}

.mti-carousel-nav:hover,
.mti-carousel-nav:focus,
.mti-carousel-nav:active {
    transform: translateY(-50%) scale(1.3); 
    color: rgba(53, 64, 74, 1);
    background-color: transparent !important; 
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.mti-carousel-nav.disabled {
    opacity: 0.2;
    cursor: not-allowed;
    background-color: transparent !important;
}

.mti-carousel-nav.disabled:hover {
    transform: translateY(-50%); 
    background-color: transparent !important;
}

.mti-carousel-prev {
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.mti-carousel-prev.visible {
    opacity: 1;
    visibility: visible;
}

.mti-carousel-next {
    right: 0;
}

/* ========================
 Main Page Testimonals Slider Styles
======================== */

.straight-testimonial-section {
  overflow: visible;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.straight-testimonial-slider-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 0;
  overflow: visible;
}

.straight-testimonial-slider {
  display: flex;
  overflow-x: scroll;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  margin: 0 -15px;
  -ms-overflow-style: none;
  scrollbar-width: none;
  position: relative;
  
}

.straight-testimonial-slider::-webkit-scrollbar {
  display: none;
}

.straight-testimonial-card {
  flex: 0 0 calc(50% - 30px); 
  scroll-snap-align: center;
  position: relative;
  padding: 30px;
  z-index: 1;
  margin: 15px;
  background-color: #f7f7f7;
  cursor: grab;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  will-change: transform, box-shadow;
   box-shadow: 0 10px 10px rgba(0,0,0,0.1);

}

.straight-testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 5;
}

.straight-testimonial-card:nth-child(even) {
  background-color: #35404a;
  color: #f7fafc;
}

.straight-quote-text {
  line-height: 1.6;
  margin-bottom: 30px;
  position: relative;
  flex-grow: 1;
  margin-bottom: 50px;
  font-family: 'Arial Narrow', Arial, sans-serif;
}

.straight-quote-author {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
  width: 100%;
}

.straight-author-info {
  display: flex;
  flex-direction: column;
}

.straight-author-name {
  font-weight: 400;
  font-size: 1.2rem;
  font-family: 'Abel', sans-serif;
  line-height: 1.2;
}

.straight-author-position {
  font-size: 1.05rem;
  font-family: 'Arial Narrow', Arial, sans-serif;
  line-height: 1.6;
}

.straight-company-logo {
  max-width: 120px;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: grayscale(100%);
}

.straight-company-logo:hover {
  filter: grayscale(0%);
}

.straight-testimonial-card:nth-child(even) .straight-company-logo {
  filter: brightness(0) invert(1) drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
  padding: 5px;
}

.straight-testimonial-card:nth-child(even) .straight-company-logo:hover {
  filter: grayscale(0%);
  background-color: white;
}

.straight-card-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.straight-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background-color: transparent !important; 
  color: white;
  border: none !important; 
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s ease, color 0.3s ease;
  box-shadow: none !important; 
  outline: none !important; 
}

.straight-slider-arrow:hover,
.straight-slider-arrow:focus,
.straight-slider-arrow:active {
  transform: translateY(-50%) scale(1.3); 
  color: rgba(53, 64, 74, 1);
  background: transparent !important; 
  background-color: transparent !important; 
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.straight-slider-arrow.disabled {
  opacity: 0.2;
  cursor: not-allowed;
  background-color: transparent !important;
}

.straight-slider-arrow.disabled:hover {
  transform: translateY(-50%); 
  background-color: transparent !important;
}

.straight-slider-arrow-left {
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.straight-slider-arrow-left.visible {
  opacity: 1;
  visibility: visible;
}

.straight-slider-arrow-right {
  right: 0;
}

.straight-end-indicator {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(26, 32, 44, 0.7); 
  color: white;
  padding: 12px 20px;
  border-radius: 0;
  font-size: 1.05rem;
  font-weight: 400;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  font-family: 'Arial Narrow', Arial, sans-serif;
  line-height: 1.6;
}

.straight-end-indicator.visible {
  opacity: 1;
  pointer-events: all;
  animation: straightPulse 2s infinite;
}

.straight-back-to-start {
  background-color: transparent !important;
  color: white;
  border: 1px solid white;
  padding: 6px 10px;
  border-radius: 0;
  cursor: pointer;
  font-weight: 400;
  font-size: 1rem;
  transition: all 0.2s ease;
  box-shadow: none !important;
  outline: none !important;
  font-family: 'Abel', sans-serif;
  line-height: 1.2;
}

.straight-back-to-start:hover,
.straight-back-to-start:focus,
.straight-back-to-start:active {
  background-color: rgba(255, 255, 255, 0.1) !important;
  transform: translateY(-2px);
  box-shadow: none !important;
  outline: none !important;
}

@keyframes straightPulse {
  0% {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08), 0 0 0 0 rgba(26, 32, 44, 0.4);
  }
  70% {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08), 0 0 0 12px rgba(26, 32, 44, 0);
  }
  100% {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08), 0 0 0 0 rgba(26, 32, 44, 0);
  }
}

.straight-pagination {
  display: flex;
  justify-content: center;
  margin-top: 25px;
  gap: 8px;
}

.straight-pagination-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #cbd5e0;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.straight-pagination-dot::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: inherit;
}

.straight-pagination-dot.active::after {
  background-color: #1a202c;
  transform: scale(1.3);
}

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

#content > div > div > div.elementor-element.elementor-element-b7f8d08.e-flex.e-con-boxed.e-con.e-parent > div > div.elementor-element.elementor-element-a67bed0.e-con-full.e-flex.e-con.e-child > div.elementor-element.elementor-element-90cb525.elementor-widget.elementor-widget-text-editor > h2 {color: white;}


#wpcf7-f194585-p190278-o1{color: white;}

/* Container styling - reduced max-width */
.wpcf7 {
  max-width: 650px; /* Reduced from 800px */
  margin: 0 auto;
  font-family: 'Segoe UI', sans-serif;
}

/* Form field grouping - tightened spacing */
.wpcf7-form > p {
  margin-bottom: 15px; /* Reduced from 20px */
}

/* Remove CF7 line breaks */
.wpcf7-form br {
  display: none;
}

/* Label styling - reduced margin */
.wpcf7-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px; /* Reduced from 8px */
  color: #333;
}

/* Input fields - reduced padding */
.wpcf7-form-control {
  width: 100%;
  padding: 8px 12px; /* Reduced from 12px 15px */
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  font-size: 15px; /* Reduced from 16px */
  transition: all 0.3s;
}

.wpcf7-form-control:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2); /* Reduced from 3px */
}

/* Two-column layout - reduced gap */
.two-column-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 15px; /* Reduced from 20px */
  margin-bottom: 15px; /* Reduced from 20px */
}

.two-column-fields > p {
  flex: 1 1 calc(50% - 15px); /* Adjusted to match new gap */
  min-width: 200px; /* Reduced from 250px */
}

/* Full-width fields */
.full-width-field {
  width: 100%;
  margin-bottom: 15px; /* Reduced from 20px */
}

/* Select dropdown */
.wpcf7-select {
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px; /* Reduced from 16px */
  appearance: none;
  padding-right: 35px; /* Reduced from 40px */
}

/* Textarea */
.wpcf7-textarea {
  min-height: 120px; /* Reduced from 150px */
  resize: vertical;
}

/* Checkbox styling */
.wpcf7-acceptance {
  display: flex;
  align-items: flex-start;
}

.wpcf7-acceptance input {
  margin: 3px 8px 0 0; /* Reduced from 5px 10px 0 0 */
}

.wpcf7-acceptance label {
  font-weight: normal;
  line-height: 1.4; /* Reduced from 1.5 */
}

/* Add button styling */
.wpcf7-submit {
  padding: 8px 18px; /* Compact button */
  font-size: 15px;
  width: auto !important;
}

/* ========================
 Additional Styles
======================== */

.betonen {
  color: #9F1438!important;
  position: relative;
  display: inline-block;
  padding-top: 1px;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: 20px;
}

.betonen::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 0%;
  background-color: #9F1438;
  transition: width 0.3s ease;
}

.betonen:hover {
  transform: translateY(-2px);
}

.betonen:hover::after {
  width: 100%;
}

.slanted-button .elementor-button {
  position: relative;
  padding-right: 100px;   
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
}

.cs-download-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #9F1438;         
  color: white;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

a.cs-download-button {
  color: white!important;
}

.cs-download-button:hover {
  opacity: 0.8;
  text-decoration: none;
}