:root {
  --red: 0 84% 50%;
  --blue: 220 91% 50%;
  --blue-foreground: 210 40% 98%;
  --gradient-blue: linear-gradient(135deg, hsl(220 91% 50%), hsl(220 91% 60%));
  --card: 0 0% 100%;
  --border: 214 32% 91%;
  --destructive: 0 84% 60%;
  --shadow-soft: 0 4px 20px -4px hsl(220 13% 69% / 0.3);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);

  --tw-shadow-colored: 0 10px 30px -10px hsl(0 84% 60% / 0.2);
  --muted-foreground: 215 16% 47%;
}

.softlite-block-heading {
  font-family: inherit !important;
}

.redButton button {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.3s;
}

.redButton button:hover {
  --tw-shadow-color: hsl(var(--red));
  --tw-shadow: var(--tw-shadow-colored);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
    var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(0, 0) rotate(0) skew(0) skewY(0)
    scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.blueButton button {
  color: hsl(var(--blue));
  border-radius: 6px;
  border: 1px solid hsl(var(--blue));
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.3s;
}

.blueButton button:hover {
  background-color: hsl(var(--blue)) !important;
  color: #fff !important;
}

@media all and (max-width: 680px) {
  body {
    margin-top: 0 !important;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

.slide-up {
  animation: slideUp 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-body {
  position: relative;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: white;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  transition: transform 0.3s ease;
}

.modal.active .modal-content {
  transform: translate(-50%, -50%) scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px 0 24px;
  margin-bottom: 24px;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.modal-content .modal-close-x {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: unset;
  color: #6b7280;
  font-size: 24px;
  width: 24px;
  height: 24px;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-body {
  padding: 0 24px 24px 24px;
}

/* Contact Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  color: #111827;
  background: white;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: hsl(var(--muted-foreground));
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.contact-form input.error,
.contact-form textarea.error {
  border-color: #ef4444;
}

.contact-form textarea {
  resize: vertical;
  height: 100px;
}

.contact-form .form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 8px;
  position: relative;
}

.form-actions .wpcf7-spinner {
  position: absolute;
  top: 15px;
  right: 15px;
}

.contact-form .btn-primary {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  background-color: hsl(var(--red)) !important;
  color: white;
  min-width: 100px;
  width: auto;
}

.contact-form .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.contact-form .btn-outline {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
  color: #6b7280;
  border: 1px solid #d1d5db;
  min-width: 100px;
}

.contact-form .btn-outline:hover {
  background: #f9fafb;
  color: #374151;
}

/* Contact item hover styles */
.contact-trigger {
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 12px;
  padding: 16px;
}

.contact-trigger:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}

.contact-icon i {
  width: 24px;
  height: 24px;
  color: white;
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

/* Mobile responsiveness for modals */
@media (max-width: 640px) {
  .modal-content {
    width: 95%;
    margin: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column-reverse;
  }

  .form-actions .btn {
    width: 100%;
  }
}

/* responsive */

/* Responsive Styles */
@media all and (max-width: 768px) {
  h1 {
    font-size: 3rem !important;
  }
  h2 {
    font-size: 2.1rem !important;
    line-height: 2.6rem !important;
  }
  h3 {
    font-size: 1.6rem !important;
    line-height: 2rem !important;
  }
  .softlite-block-basic-text {
    font-size: 16px !important;
  }
  header {
    padding: 1rem;
  }

  header > div {
    padding: 0 !important;
  }

  header .logo {
    flex-shrink: 0;
  }

  header .title {
    font-size: 16px !important;
    line-height: 20px !important;
  }

  header nav {
    display: none !important;
  }

  header .redButton {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-top: 0;
  }

  .list {
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
  }

  .hero .list {
    margin-bottom: 3rem !important;
  }

  .offers {
    padding-bottom: 0 !important;
  }

  .sectors {
    padding-bottom: 0.5rem !important;
  }

  .sectors .list p {
    overflow-wrap: break-word;
  }

  .why-invest #softlite-block-vniqlhei {
    padding: 1.5rem;
  }

  .why-invest .list > div > div > div:first-child div {
    display: none !important;
  }

  .why-invest #softlite-block-kc2hlrkr div div:first-child {
    display: none !important;
  }

  /* about page*/
  .mission {
    padding-bottom: 0.5rem !important;
  }

  .mission .list div div div:first-of-type {
    display: none !important;
  }

  .why-us {
    padding: 3rem 0 2rem 0 !important;
  }

  .why-us .list div div div:first-of-type {
    display: none !important;
  }

  footer div:first-child {
    min-height: auto !important;
  }

  footer img.attachment-full {
    width: 50% !important;
    height: auto !important;
    margin-bottom: 2rem !important;
  }

  /* get started page */
  .started-hero {
    padding: 3rem 0 1rem 0 !important;
  }

  .started-hero .buttons {
    flex-direction: column !important;
  }
  .started-hero .buttons a {
    width: 100% !important;
  }
  .started-hero .buttons a button {
    width: 100% !important;
  }

  .started-reg .list div div:first-child {
    width: auto !important;
  }

  .started-reg .list div div:last-child div div {
    grid-template-columns: 1fr !important;
  }

  .started-reg .list div div:last-child div div div {
    padding: 1.5rem !important;
  }

  .started-reg .list div div:last-child div div div > div {
    display: none !important;
  }

  .started-reg .list div div:last-child div div div:last-child {
    display: none !important;
  }

  .started-info {
    padding: 1rem 0 !important;
  }

  .started-info div div div div {
    padding: 2rem 0 !important;
  }
}
