/* Special Form Popup Styles */

/* Trigger Button - Sağ alt köşe */
.special-form-trigger {
  position: fixed;
  right: 35px;
  bottom: 206px; /* Telefon (70px) + WhatsApp (70px) + gap (20px) + scroll to top (46px) = 206px */
  width: 70px;
  height: 70px;
  z-index: 2;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
  backface-visibility: visible;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.special-form-trigger.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.special-form-trigger.hide {
  transform: translateY(300%);
}

/* Tooltip */
.special-form-tooltip {
  position: absolute;
  backface-visibility: visible;
  background: linear-gradient(135deg, #c80b0f, #a0080c, #e01a1f);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  line-height: 1;
  padding: 10px 15px;
  border-radius: 20px;
  top: 50%;
  transform: translateY(-50%);
  right: calc(100% + 10px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.special-form-trigger:hover .special-form-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(-15px);
}

/* Icon Container */
.special-form-trigger-icon {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 50%;
  background: linear-gradient(135deg, rgb(0 0 0 / 70%), rgb(0 0 0 / 0%), rgb(0 0 0 / 40%));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: visible;
  backface-visibility: visible;
  transition: background 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.special-form-trigger:hover .special-form-trigger-icon {
  background: linear-gradient(135deg, #c80b0f 0%, #a0080c 30%, #e01a1f 60%, #c80b0f 100%);
  background-size: 300% 300%;
  animation: gradient-shift 4s ease infinite 0.5s;
  animation-fill-mode: both;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Main Icon Image */
.special-form-trigger-main-icon {
  width: 75%;
  height: 75%;
  position: relative;
  z-index: 10;
  object-fit: contain;
  object-position: center;
  pointer-events: none; /* Allow clicks to pass through to button */
  display: block;
  transition: transform 0.3s ease;
}

.special-form-trigger:hover .special-form-trigger-main-icon {
  transform: scale(1.05);
}

/* Phone and WhatsApp Trigger Buttons */
.sulax-phone-trigger,
.sulax-whatsapp-trigger {
  position: fixed;
  right: 35px;
  width: 70px;
  height: 70px;
  z-index: 2;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
  backface-visibility: visible;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  text-decoration: none;
  display: block;
}

.sulax-phone-trigger {
  bottom: 136px; /* WhatsApp (70px) + gap (20px) + scroll to top (46px) = 136px */
}

.sulax-whatsapp-trigger {
  bottom: 66px; /* Scroll to top (46px) + bottom (20px) = 66px */
}

.sulax-phone-tooltip,
.sulax-whatsapp-tooltip {
  position: absolute;
  backface-visibility: visible;
  background: linear-gradient(135deg, #c80b0f, #a0080c, #e01a1f);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  line-height: 1;
  padding: 10px 15px;
  border-radius: 20px;
  top: 50%;
  transform: translateY(-50%);
  right: calc(100% + 10px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.sulax-phone-trigger:hover .sulax-phone-tooltip,
.sulax-whatsapp-trigger:hover .sulax-whatsapp-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(-15px);
}

.sulax-phone-trigger-icon {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 50%;
  background: linear-gradient(135deg, rgb(0 0 0 / 70%), rgb(0 0 0 / 0%), rgb(0 0 0 / 40%));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.4s ease;
}

.sulax-whatsapp-trigger-icon {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 30%, #075E54 60%, #25D366 100%);
  background-size: 300% 300%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.4s ease;
}

.sulax-phone-trigger:hover .sulax-phone-trigger-icon {
  background: linear-gradient(135deg, #c80b0f 0%, #a0080c 30%, #e01a1f 60%, #c80b0f 100%);
  background-size: 300% 300%;
  animation: gradient-shift 4s ease infinite 0.5s;
  animation-fill-mode: both;
}

.sulax-whatsapp-trigger:hover .sulax-whatsapp-trigger-icon {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 30%, #075E54 60%, #25D366 100%);
  background-size: 300% 300%;
  animation: gradient-shift 4s ease infinite 0.5s;
  animation-fill-mode: both;
}

.sulax-phone-trigger-icon svg {
  width: 75%;
  height: 75%;
  position: relative;
  z-index: 10;
  transition: transform 0.4s ease;
  stroke: currentColor;
  fill: none;
  color: rgba(255, 255, 255, 0.9);
}

.sulax-whatsapp-trigger-icon svg {
  width: 65%;
  height: 65%;
  position: relative;
  z-index: 10;
  transition: transform 0.4s ease;
  fill: currentColor;
  color: rgba(255, 255, 255, 0.9);
}

.sulax-phone-trigger:hover .sulax-phone-trigger-icon svg,
.sulax-whatsapp-trigger:hover .sulax-whatsapp-trigger-icon svg {
  transform: scale(1.05);
  color: #fff;
}

/* Animated Top Image (GIF/Animation) */
.special-form-trigger-animation {
  position: absolute;
  z-index: 10;
  left: 0;
  bottom: 100%;
  width: 75%;
  height: auto;
  transform: translateY(45%) translateX(-25%);
  filter: brightness(2);
  pointer-events: none;
}

/* Responsive - Large screens */
@media (min-width: 1024px) {
  .special-form-trigger {
    width: 50px;
    height: 50px;
    right: 20px;
    bottom: 240px; /* Telefon (50px) + WhatsApp (50px) + gap (20px) + scroll to top (42px) + extra (63px) = 225px */
  }
  
  .sulax-phone-trigger,
  .sulax-whatsapp-trigger {
    width: 50px;
    height: 50px;
    right: 20px;
  }
  
  .sulax-phone-trigger {
    bottom: 185px; /* WhatsApp (50px) + gap (20px) + scroll to top (42px) + extra (43px) = 155px */
  }
  
  .sulax-whatsapp-trigger {
    bottom: 130px; /* Scroll to top (42px) + bottom (20px) + gap (33px) = 95px */
  }
}


/* Responsive - Tablet */
@media (max-width: 1023px) {
  .special-form-trigger {
    width: 48px;
    height: 48px;
    right: 20px;
    bottom: 210px; /* Telefon (48px) + WhatsApp (48px) + gap (20px) + scroll to top (42px) + extra (65px) = 223px */
  }
  
  .sulax-phone-trigger,
  .sulax-whatsapp-trigger {
    width: 48px;
    height: 48px;
    right: 20px;
  }
  
  .sulax-phone-trigger {
    bottom: 155px; /* WhatsApp (48px) + gap (20px) + scroll to top (42px) + extra (20px) = 155px */
  }
  
  .sulax-whatsapp-trigger {
    bottom: 100px; /* Scroll to top (42px) + bottom (20px) + gap (33px) = 95px */
  }
  
  .special-form-tooltip,
  .sulax-phone-tooltip,
  .sulax-whatsapp-tooltip {
    display: none;
  }
}

/* CSS Variables for Form Colors */
:root {
  --sf-body-color: #0F1B25;
  --sf-lynch-800: #2A3441;
  --sf-lynch-600: #4A5363;
  --sf-lynch-500: #6C727D;
  --sf-lynch-400: #9DA3AE;
  --sf-primary: #c80b0f;
  --sf-button-bg: #c80b0f;
  --sf-button-hover: #a0080c;
}

/* Modal Overlay */
.special-form-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  animation: fancybox-fadeIn 0.15s ease backwards;
}

.special-form-overlay.active {
  opacity: 1;
  visibility: visible;
}

@keyframes fancybox-fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Modal Container */
.special-form-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  max-width: 1280px;
  width: 90%;
  max-height: 85vh;
  background: #0F1B25;
  border-radius: 20px;
  overflow: visible;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  position: relative;
  isolation: isolate;
}

.special-form-overlay.active .special-form-modal {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

/* Close Button - Centered at Top */
.special-form-close {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #6C727D;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  transition: background 0.35s ease, transform 0.35s ease;
  padding: 0;
  color: white;
}

.special-form-close:hover {
  background: #c80b0f;
}

.special-form-close svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  fill: none;
  transition: transform 0.4s ease;
}

.special-form-close:hover svg {
  transform: rotate(-180deg);
}

/* Left Side - Image */
.special-form-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--sf-body-color);
  border-radius: 20px 0 0 20px;
}

.special-form-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.special-form-image-heading {
  position: absolute;
  top: 4%;
  right: 2rem;
  left: 2rem;
  color: white;
  font-size: 28px;
  line-height: 1.4;
  text-align: left;
  font-weight: 300;
  z-index: 2;
}

.special-form-image-heading strong {
  font-weight: 700;
  display: block;
}

/* Right Side - Form */
.special-form-content {
  padding: 50px 50px 35px 50px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 85vh;
  border-radius: 0 20px 20px 0;
  justify-content: center;
  align-items: center;
}

.special-form-content::-webkit-scrollbar {
  width: 6px;
}

.special-form-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.special-form-content::-webkit-scrollbar-thumb {
  background: var(--sf-lynch-600);
  border-radius: 3px;
}

.special-form-content::-webkit-scrollbar-thumb:hover {
  background: var(--sf-lynch-500);
}

/* Form Title */
.special-form-title {
  text-align: center;
  color: white;
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 25px;
  line-height: 1.4;
}

/* Form Grid */
.special-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px 25px;
  margin-bottom: 20px;
}

/* Form Field */
.special-form-field {
  position: relative;
}

.special-form-field.full-width {
  grid-column: span 2;
}

/* Form Label - Positioned on Border */
.special-form-label {
  position: absolute;
  left: 15px;
  top: 0;
  transform: translateY(-50%);
  /* background: var(--sf-body-color); */
  padding: 0 15px;
  color: white;
  font-size: 14px;
  font-weight: 300;
  line-height: 1;
  white-space: nowrap;
  z-index: 2;
  transition: all 0.35s ease;
  pointer-events: none;
}

.special-form-input:focus + .special-form-label,
.special-form-textarea:focus + .special-form-label,
.special-form-phone-wrapper:focus-within + .special-form-label,
.special-form-select:focus + .special-form-label {
  color: var(--sf-primary);
  font-weight: 700;
}

.special-form-select.has-value + .special-form-label {
  color: var(--sf-primary);
}

/* Form Inputs - Override global input styles */
.special-form-input,
.special-form-textarea,
.special-form-phone-input,
.special-form-select,
input.special-form-input[type="text"],
input.special-form-input[type="email"],
input.special-form-phone-input[type="tel"],
textarea.special-form-textarea,
select.special-form-select {
  width: 100% !important;
  height: 65px !important;
  padding: 0 25px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: white !important;
  font-size: 15px !important;
  font-weight: 300 !important;
  line-height: normal !important;
  transition: all 0.35s ease;
  font-family: inherit;
  box-shadow: 0 0 0 1px var(--sf-lynch-800) !important;
  outline: none !important;
}

.special-form-textarea,
textarea.special-form-textarea {
  height: 120px !important;
  padding: 20px 25px !important;
  resize: none !important;
  line-height: 1.4 !important;
}

.special-form-input::placeholder,
.special-form-textarea::placeholder,
.special-form-phone-input::placeholder,
input.special-form-input[type="text"]::placeholder,
input.special-form-input[type="email"]::placeholder,
input.special-form-phone-input[type="tel"]::placeholder,
textarea.special-form-textarea::placeholder {
  color: var(--sf-lynch-500) !important;
  opacity: 1 !important;
}

.special-form-input:hover,
.special-form-textarea:hover,
.special-form-phone-wrapper:hover .special-form-phone-input,
.special-form-select:hover,
input.special-form-input[type="text"]:hover,
input.special-form-input[type="email"]:hover,
input.special-form-phone-input[type="tel"]:hover,
textarea.special-form-textarea:hover,
select.special-form-select:hover {
  box-shadow: 0 0 0 1px var(--sf-lynch-600) !important;
  border-color: transparent !important;
}

.special-form-input:focus,
.special-form-textarea:focus,
.special-form-phone-wrapper:focus-within .special-form-phone-input,
input.special-form-input[type="text"]:focus,
input.special-form-input[type="email"]:focus,
input.special-form-phone-input[type="tel"]:focus,
textarea.special-form-textarea:focus {
  outline: none !important;
  box-shadow: 0 0 0 1px var(--sf-primary) !important;
  border-color: transparent !important;
  background: transparent !important;
}

/* Select focus - preserve background-image for dropdown icon */
.special-form-select:focus,
select.special-form-select:focus {
  outline: none !important;
  box-shadow: 0 0 0 1px var(--sf-primary) !important;
  border-color: transparent !important;
  background-color: transparent !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 20px center !important;
  background-size: 12px !important;
}

.special-form-input:focus::placeholder,
.special-form-textarea:focus::placeholder,
.special-form-phone-input:focus::placeholder,
input.special-form-input[type="text"]:focus::placeholder,
input.special-form-input[type="email"]:focus::placeholder,
input.special-form-phone-input[type="tel"]:focus::placeholder,
textarea.special-form-textarea:focus::placeholder {
  opacity: 0.5 !important;
}

/* Select Field */
.special-form-select,
select.special-form-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 20px center !important;
  background-size: 12px !important;
  background-attachment: scroll !important;
  padding-right: 45px !important;
  cursor: pointer !important;
  line-height: normal !important;
  position: relative !important;
}

/* Keep icon visible and in place when select is focused or open */
.special-form-select:focus,
.special-form-select:active,
.special-form-select:hover,
select.special-form-select:focus,
select.special-form-select:active,
select.special-form-select:hover {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 20px center !important;
  background-size: 12px !important;
  background-attachment: scroll !important;
}

.special-form-select option {
  background: var(--sf-body-color);
  color: white;
  padding: 10px;
}

.special-form-select option:first-child {
  color: var(--sf-lynch-500);
}

/* Phone Input Wrapper */
.special-form-phone-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.special-form-phone-input,
input.special-form-phone-input[type="tel"] {
  width: 100% !important;
  height: 65px !important;
  padding: 0 25px 0 85px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: white !important;
  font-size: 15px !important;
  font-weight: 300 !important;
  line-height: normal !important;
  transition: all 0.35s ease;
  font-family: inherit;
  box-shadow: 0 0 0 1px var(--sf-lynch-800) !important;
  outline: none !important;
}

/* Phone input placeholder - keep Montserrat font, adjust spacing for alignment */
.special-form-phone-input::placeholder,
input.special-form-phone-input[type="tel"]::placeholder {
  font-family: 'Montserrat', sans-serif !important;
  letter-spacing: 0.3px !important;
  font-variant-numeric: tabular-nums !important;
}

/* Phone Country Selector */
.special-form-phone-selector {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.35s ease;
  border-right: 1px solid var(--sf-lynch-800);
}

.special-form-phone-selector:hover {
  opacity: 0.9;
}

.special-form-phone-code {
  color: white;
  font-size: 14px;
  font-weight: 300;
  white-space: nowrap;
}

.special-form-phone-arrow {
  color: white;
  font-size: 10px;
  transition: transform 0.35s ease;
  margin-left: 2px;
}

.special-form-phone-wrapper:focus-within .special-form-phone-arrow,
.special-form-country-dropdown.active ~ .special-form-phone-selector .special-form-phone-arrow {
  transform: rotate(180deg);
}

/* Country Dropdown */
.special-form-country-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--sf-body-color);
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--sf-lynch-800), 0 8px 24px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.35s ease;
  z-index: 1001;
}

.special-form-country-dropdown.active {
  max-height: 300px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.special-form-country-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  cursor: pointer;
  transition: all 0.35s ease;
  border-bottom: 1px solid var(--sf-lynch-800);
}

.special-form-country-option:last-child {
  border-bottom: none;
}

.special-form-country-option:hover {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 1px var(--sf-lynch-600);
}

.special-form-country-flag {
  width: 20px;
  height: 20px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  display: block;
}

.special-form-country-name {
  color: white;
  font-size: 14px;
  font-weight: 300;
  flex: 1;
}

.special-form-country-code {
  color: var(--sf-lynch-500);
  font-size: 13px;
  font-weight: 300;
  white-space: nowrap;
}

/* Checkbox Wrapper */
.special-form-checkbox-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.special-form-checkbox-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.special-form-checkbox {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
  margin: 0;
}

.special-form-checkbox-box {
  position: relative;
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: 0 0 0 1px var(--sf-lynch-800);
  transition: all 0.35s ease;
}

.special-form-checkbox:hover ~ .special-form-checkbox-box {
  box-shadow: 0 0 0 1px var(--sf-lynch-600);
}

.special-form-checkbox:checked ~ .special-form-checkbox-box {
  box-shadow: 0 0 0 1px var(--sf-primary);
}

.special-form-checkbox-box::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 40%;
  height: 40%;
  border-radius: 5px;
  background: var(--sf-primary);
  opacity: 0;
  transition: all 0.35s ease;
}

.special-form-checkbox:checked ~ .special-form-checkbox-box::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.special-form-checkbox-label {
  color: var(--sf-lynch-500);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  display: inline;
}

.special-form-checkbox-link {
  position: relative;
  z-index: 20;
  display: inline-block;
  color: var(--sf-lynch-400);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.35s ease;
}

.special-form-checkbox-link:hover {
  color: white;
}

/* Button Field */
.special-form-button-field {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

/* Submit Button with Magnetic Circle Hover Effect */
.special-form-submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  width: 100%;
  max-width: 280px;
  padding: 0 60px;
  border-radius: 50px;
  background: #c80b0f;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.35s ease;
  box-shadow: inset 0 0 0 1px #c80b0f;
}

.special-form-submit-text {
  position: relative;
  z-index: 10;
  color: white;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: none;
  transition: color 0.35s ease;
}

.special-form-submit:hover .special-form-submit-text {
  color: white;
}

.special-form-submit-circle {
  position: absolute;
  width: 0;
  height: 0;
  background: var(--sf-button-hover);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1), height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.special-form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.special-form-checkbox-checkmark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 12px;
  height: 12px;
  background: #5767D4;
  border-radius: 2px;
  opacity: 0;
  transition: all 0.2s ease;
}

.special-form-checkbox-checkmark::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 2px;
  width: 4px;
  height: 6px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.special-form-checkbox-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}

.special-form-checkbox-label a {
  color: white;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.special-form-checkbox-label a:hover {
  opacity: 0.8;
}

/* Submit Button */
.special-form-submit:active {
  transform: translateY(0);
}

.special-form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Loading State */
.special-form-submit.loading {
  position: relative;
  color: transparent;
}

.special-form-submit.loading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: special-form-spin 0.8s linear infinite;
}

@keyframes special-form-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Error State */
.special-form-field.error .special-form-input,
.special-form-field.error .special-form-textarea,
.special-form-field.error .special-form-phone-input {
  box-shadow: 0 0 0 1px #ff4444;
}

.special-form-field.error .special-form-label {
  color: #ff4444;
}

.special-form-error-message {
  color: #ff4444;
  font-size: 12px;
  margin-top: 8px;
  display: none;
}

.special-form-field.error .special-form-error-message {
  display: block;
}

/* Success/Error Messages */
.special-form-message {
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 14px;
  display: none;
}

.special-form-message.show {
  display: block;
}

.special-form-message.success {
  background: rgba(76, 175, 80, 0.1);
  color: #4CAF50;
  box-shadow: 0 0 0 1px #4CAF50;
}

.special-form-message.error {
  background: rgba(244, 67, 54, 0.1);
  color: #f44336;
  box-shadow: 0 0 0 1px #f44336;
}

/* Loading State */
.special-form-submit.loading .special-form-submit-text {
  opacity: 0;
}

.special-form-submit.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: special-form-spin 0.8s linear infinite;
}

@keyframes special-form-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .special-form-modal {
    grid-template-columns: 1fr;
    width: 95%;
    max-height: 90vh;
  }

  .special-form-image-wrapper {
    display: none;
  }

  .special-form-content {
    padding: 60px 40px 40px 40px;
    border-radius: 20px;
  }

  .special-form-submit {
    max-width: 240px;
  }
}

@media (max-width: 768px) {
  .special-form-modal {
    width: 100%;
    max-height: 75vh;
    border-radius: 0;
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
  }

  .special-form-content {
    padding: 45px 20px 20px 20px;
    border-radius: 0;
    max-height: 75vh;
  }

  .special-form-title {
    font-size: 15px;
    margin-bottom: 15px;
    line-height: 1.3;
    margin-top: 90px;
  }

  .special-form-phone-input {
    padding: 0 20px 0 75px;
  }

  .special-form-phone-selector {
    padding: 0 12px;
    gap: 6px;
  }

  .special-form-phone-code {
    font-size: 13px;
  }

  .special-form-country-flag {
    width: 18px;
    height: 18px;
  }

  .special-form-phone-arrow {
    font-size: 9px;
  }

  .special-form-country-dropdown {
    min-width: 180px;
    left: -10px;
  }

  .special-form-country-option {
    padding: 10px 12px;
    gap: 10px;
  }

  .special-form-country-flag {
    font-size: 20px;
  }

  .special-form-country-name {
    font-size: 13px;
  }

  .special-form-country-code {
    font-size: 12px;
  }

  .special-form-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 12px;
  }

  .special-form-field.full-width {
    grid-column: span 1;
  }

  .special-form-input,
  input.special-form-input[type="text"],
  input.special-form-input[type="email"] {
    height: 50px !important;
    padding: 0 18px !important;
    font-size: 14px !important;
    line-height: normal !important;
    background: transparent !important;
    border: 0 !important;
  }

  .special-form-textarea,
  textarea.special-form-textarea {
    height: 90px !important;
    padding: 12px 18px !important;
    line-height: 1.4 !important;
    background: transparent !important;
    border: 0 !important;
  }

  .special-form-select,
  select.special-form-select {
    height: 60px !important;
    padding: 0 18px !important;
    padding-right: 38px !important;
    font-size: 14px !important;
    line-height: normal !important;
    background: transparent !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 12px !important;
    background-attachment: scroll !important;
    border: 0 !important;
  }
  
  /* Keep icon visible on mobile when select is focused or open */
  .special-form-select:focus,
  .special-form-select:active,
  .special-form-select:hover,
  select.special-form-select:focus,
  select.special-form-select:active,
  select.special-form-select:hover {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 12px !important;
    background-attachment: scroll !important;
  }

  .special-form-label {
    font-size: 13px;
    left: 12px;
    padding: 0 12px;
  }

  .special-form-checkbox-wrapper {
    margin-top: 10px;
    margin-bottom: 10px;
    gap: 12px;
  }

  .special-form-checkbox-box {
    width: 30px;
    height: 30px;
  }

  .special-form-checkbox-label {
    font-size: 13px;
  }

  .special-form-submit {
    height: 48px;
    max-width: 200px;
    font-size: 13px;
    margin-top: 5px;
    padding: 0 30px;
  }


  .special-form-tooltip {
    display: none;
  }

  .special-form-input,
  .special-form-textarea,
  .special-form-phone-input,
  .special-form-select,
  input.special-form-input[type="text"],
  input.special-form-input[type="email"],
  input.special-form-phone-input[type="tel"],
  textarea.special-form-textarea,
  select.special-form-select {
    height: 60px !important;
    padding: 0 20px !important;
    font-size: 14px !important;
    line-height: normal !important;
    background: transparent !important;
    border: 0 !important;
  }
  
  .special-form-select,
  select.special-form-select {
    padding-right: 40px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 18px center !important;
    background-size: 12px !important;
    background-attachment: scroll !important;
  }

  .special-form-textarea,
  textarea.special-form-textarea {
    height: 100px !important;
    padding: 15px 20px !important;
    line-height: 1.4 !important;
  }

  .special-form-phone-input,
  input.special-form-phone-input[type="tel"] {
    padding-left: 70px !important;
  }
  
  /* Phone input placeholder - keep Montserrat font on mobile */
  .special-form-phone-input::placeholder,
  input.special-form-phone-input[type="tel"]::placeholder {
    font-family: 'Montserrat', sans-serif !important;
    letter-spacing: 0.3px !important;
    font-variant-numeric: tabular-nums !important;
  }

  .special-form-submit {
    max-width: 100%;
    padding: 0 40px;
  }

  .special-form-checkbox-wrapper {
    gap: 15px;
  }

  .special-form-checkbox-box {
    width: 32px;
    height: 32px;
  }

  .special-form-checkbox-label {
    font-size: 13px;
  }
}

/* KVKK Popup */
.special-form-kvkk-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 20px;
}

.special-form-kvkk-overlay.active {
  opacity: 1;
  visibility: visible;
}

.special-form-kvkk-modal {
  position: relative;
  background: var(--sf-body-color);
  border-radius: 20px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: visible;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.special-form-kvkk-close {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #6C727D;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  transition: background 0.35s ease, transform 0.35s ease;
  padding: 0;
  color: white;
}

.special-form-kvkk-close:hover {
  background: #c80b0f;
  transform: translateX(-50%) translateY(-50%) rotate(-180deg);
}

.special-form-kvkk-close svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  fill: none;
  transition: transform 0.4s ease;
}

.special-form-kvkk-content {
  padding: 90px 60px 60px 60px;
  overflow-y: auto;
  overflow-x: hidden;
  color: white;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  flex: 1;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border-radius: 0 0 20px 20px;
  text-align: left;
}

.special-form-kvkk-content::-webkit-scrollbar {
  width: 8px;
}

.special-form-kvkk-content::-webkit-scrollbar-track {
  background: transparent;
}

.special-form-kvkk-content::-webkit-scrollbar-thumb {
  background: var(--sf-lynch-800);
  border-radius: 4px;
}

.special-form-kvkk-content::-webkit-scrollbar-thumb:hover {
  background: var(--sf-lynch-600);
}

.special-form-kvkk-content h2,
.special-form-kvkk-content .special-form-kvkk-heading {
  color: white;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.4;
}

.special-form-kvkk-content h2 strong,
.special-form-kvkk-content .special-form-kvkk-heading strong {
  font-weight: 700;
}

.special-form-kvkk-content p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
}

.special-form-kvkk-content p strong {
  color: white;
  font-weight: 600;
}

.special-form-kvkk-content ol {
  margin: 20px 0;
  padding-left: 30px;
  list-style-type: disc;
  list-style-position: outside;
}

.special-form-kvkk-content ol li {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.9);
  padding-left: 10px;
  list-style: disc;
}

.special-form-kvkk-content a {
  color: var(--sf-primary);
  text-decoration: none;
  transition: color 0.35s ease;
}

.special-form-kvkk-content a:hover {
  color: #a0080c;
  text-decoration: underline;
}

/* Responsive KVKK Popup */
@media (max-width: 768px) {
  .special-form-kvkk-modal {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 0;
  }

  .special-form-kvkk-content {
    padding: 60px 20px 20px 20px;
    max-height: 75vh;
  }

  .special-form-kvkk-content h2,
  .special-form-kvkk-content .special-form-kvkk-heading {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.3;
  }

  .special-form-kvkk-content p,
  .special-form-kvkk-content ol li {
    font-size: 13px;
    margin-bottom: 15px;
    line-height: 1.6;
  }

  .special-form-kvkk-content ol {
    margin: 15px 0;
    padding-left: 25px;
  }
}

/* Privacy Policy Popup */
.special-form-privacy-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 20px;
}

.special-form-privacy-overlay.active {
  opacity: 1;
  visibility: visible;
}

.special-form-privacy-modal {
  position: relative;
  background: var(--sf-body-color);
  border-radius: 20px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: visible;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.special-form-privacy-close {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #6C727D;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  transition: background 0.35s ease, transform 0.35s ease;
  padding: 0;
  color: white;
}

.special-form-privacy-close:hover {
  background: #c80b0f;
  transform: translateX(-50%) translateY(-50%) rotate(-180deg);
}

.special-form-privacy-close svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  fill: none;
  transition: transform 0.4s ease;
}

.special-form-privacy-content {
  padding: 90px 60px 60px 60px;
  overflow-y: auto;
  overflow-x: hidden;
  color: white;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  flex: 1;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border-radius: 0 0 20px 20px;
  text-align: left;
}

.special-form-privacy-content::-webkit-scrollbar {
  width: 8px;
}

.special-form-privacy-content::-webkit-scrollbar-track {
  background: transparent;
}

.special-form-privacy-content::-webkit-scrollbar-thumb {
  background: var(--sf-lynch-800);
  border-radius: 4px;
}

.special-form-privacy-content::-webkit-scrollbar-thumb:hover {
  background: var(--sf-lynch-600);
}

.special-form-privacy-content .special-form-privacy-heading {
  color: white;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.4;
}

.special-form-privacy-content .special-form-privacy-heading strong {
  font-weight: 700;
}

.special-form-privacy-content .special-form-privacy-subheading {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.special-form-privacy-content .special-form-privacy-subheading strong {
  font-weight: 600;
}

.special-form-privacy-content p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
}

.special-form-privacy-content p strong {
  color: white;
  font-weight: 600;
}

.special-form-privacy-content ol {
  margin: 20px 0;
  padding-left: 30px;
  list-style-type: disc;
  list-style-position: outside;
}

.special-form-privacy-content ol li {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.9);
  padding-left: 10px;
  list-style: disc;
}

.special-form-privacy-content a {
  color: var(--sf-primary);
  text-decoration: none;
  transition: color 0.35s ease;
}

.special-form-privacy-content a:hover {
  color: #a0080c;
  text-decoration: underline;
}

/* Responsive Privacy Popup */
@media (max-width: 768px) {
  .special-form-privacy-modal {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 0;
  }

  .special-form-privacy-content {
    padding: 60px 20px 20px 20px;
    max-height: 75vh;
  }

  .special-form-privacy-content .special-form-privacy-heading {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.3;
  }

  .special-form-privacy-content .special-form-privacy-subheading {
    font-size: 15px;
    margin-top: 20px;
    margin-bottom: 10px;
    line-height: 1.3;
  }

  .special-form-privacy-content p,
  .special-form-privacy-content ol li {
    font-size: 13px;
    margin-bottom: 15px;
    line-height: 1.6;
  }

  .special-form-privacy-content ol {
    margin: 15px 0;
    padding-left: 25px;
  }
}


.back-to-top-wrapper {
    right: 25px;
}


.grecaptcha-badge {
  display: none;
}
