:root {
  --tw-shadow: 0 10px 25px -5px hsl(220 13% 18% / 0.1);
  --tw-ring-shadow: 0 0 #0000;
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-offset-width: 0px;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-text-opacity: 1;

  --background: 0 0% 100%;
  --foreground: 220 13% 18%;
  --card: 0 0% 100%;
  --card-foreground: 220 13% 18%;
  --popover: 0 0% 100%;
  --popover-foreground: 220 13% 18%;
  --primary: 221 83% 53%;
  --primary-foreground: 0 0% 98%;
  --secondary: 210 40% 96%;
  --secondary-foreground: 220 13% 18%;
  --muted: 210 40% 96%;
  --muted-foreground: 215 16% 47%;
  --accent: 210 40% 96%;
  --accent-foreground: 220 13% 18%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 98%;
  --border: 214 32% 91%;
  --input: 214 32% 91%;
  --ring: 221 83% 53%;
  --corporate-blue: 218 51% 15%;
  --hero-button: 215 100% 40%;
  --cta-button: 215 100% 40%;
  --about-bg: 30 12% 97%;
  --professional-navy: 220 35% 25%;
  --accent-teal: 180 62% 55%;
  --subtle-gray: 215 16% 47%;
  --gradient-hero: linear-gradient(
    135deg,
    hsl(220 35% 15% / 0.8) 0%,
    hsl(230 45% 25% / 0.6) 100%
  );
  --gradient-accent: linear-gradient(
    90deg,
    hsl(221 83% 53%) 0%,
    hsl(180 62% 55%) 100%
  );
  --gradient-card: linear-gradient(
    145deg,
    hsl(0 0% 100%) 0%,
    hsl(210 40% 98%) 100%
  );
  --shadow-premium: 0 10px 25px -5px hsl(220 13% 18% / 0.1);
  --shadow-glow: 0 4px 20px hsl(221 83% 53% / 0.15);
  --transition-premium: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --radius: 0.75rem;
  --sidebar-background: 0 0% 98%;
  --sidebar-foreground: 240 5.3% 26.1%;
  --sidebar-primary: 240 5.9% 10%;
  --sidebar-primary-foreground: 0 0% 98%;
  --sidebar-accent: 240 4.8% 95.9%;
  --sidebar-accent-foreground: 240 5.9% 10%;
  --sidebar-border: 220 13% 91%;
  --sidebar-ring: 217.2 91.2% 59.8%;

  --accent-teal: 180 62% 55%;
  --corporate-blue: 218 51% 15%;
}

body {
  font-family: Inter, system-ui, sans-serif;
  color: hsl(var(--foreground));
  font-size: 16px;
}

.text-accent-teal {
  color: hsl(var(--accent-teal));
}

.text-hero-button {
  color: hsl(var(--hero-button));
}

.text-muted-foreground {
  color: hsl(var(--muted-foreground));
}

.font-medium {
  font-weight: 500;
}

.text-corporate-blue {
  color: hsl(var(--corporate-blue));
}

#softlite-block-umhceft0,
#softlite-block-d8jj2lbt {
  display: none !important;
}

.hero {
  height: 100vh;
}

.middleWidth {
  max-width: 56rem;
}

.container {
  margin: 0 auto;
}

.buttonMain {
  align-items: center;
  appearance: button;
  background-color: rgb(0, 85, 204);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px,
    rgba(36, 99, 235, 0.15) 0px 4px 20px 0px;
  color: rgb(255, 255, 255);
  column-gap: 8px;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  justify-content: center;
  line-height: 15px;
  padding-bottom: 14px;
  padding-left: 32px;
  padding-right: 32px;
  padding-top: 14px;
  row-gap: 8px;
  width: auto;
  padding-block-start: 16px;
  padding-block-end: 16px;
  padding-inline-start: 32px;
  padding-inline-end: 32px;
  grid-column-gap: 8px;
  flex-direction: row;
  border-top-width: 0px;
  border-right-width: 0px;
  border-bottom-width: 0px;
  border-left-width: 0px;
  transition: all 0.3s;
}

.buttonMain:hover {
  background-color: hsl(var(--hero-button) / 0.9);
  --tw-shadow: var(--shadow-premium);
  --tw-shadow-colored: var(--shadow-premium);
  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(var(--tw-translate-x), var(--tw-translate-y))
    rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y))
    scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

@media all and (max-width: 767px) {
  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;
}

@media (min-width: 1025px) {
  .modal {
    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-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
  border-radius: 12px;
  border: 1px solid hsl(var(--border));
  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: #fff;
  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;
  gap: 16px;
}

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

.contact-form label {
  color: #fff;
}

.contact-form input:not([type="submit"]),
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  color: #fff;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
  border-color: rgb(75 85 99 / var(--tw-border-opacity, 1));
  border-width: 1px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}

.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;
  color: #fff;
}

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

.wpcf7-response-output {
  color: #fff;
}

/* 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;
}

/* footer */

footer a,
footer a span {
  transition: all 0.3s;
}

footer a:hover,
footer a:hover span {
  color: hsl(var(--accent-teal)) !important;
}

/* Mobile responsiveness for modals */
@media (max-width: 767px) {
  .container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  .modal-content {
    transform: none !important;
  }

  .modal.active .modal-content {
    transform: none;
    left: 0;
    position: fixed !important;
    top: 0;
    width: 90%;
    z-index: 10000;
    margin: 3rem auto;
    height: auto;
    max-width: 100%;
    left: 0;
    right: 0;
  }

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

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

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

  .hero {
    padding: 60px 15px;
    height: auto;
  }

  .hero .name span {
    font-size: 3rem !important;
    line-height: 3.5rem !important;
  }

  .hero .inner {
    padding: 0 !important;
  }

  .hero #softlite-block-nq05dti5 span {
    font-size: 1.3rem;
    display: block;
    margin-bottom: 0.5rem;
  }

  .hero #softlite-block-nq05dti5 .circle {
    display: none;
  }

  .hero .buttons button,
  .hero .buttons a,
  .hero .buttons > div {
    width: 100% !important;
  }

  .about {
    display: flex !important;
    flex-direction: column !important;
  }

  .about > div:first-child {
    order: 2 !important;
  }

  .about > div:last-child {
    order: 1 !important;
  }

  .about h2 {
    text-align: center;
  }

  footer .bottomList {
    align-items: flex-start !important;
  }

  footer .bottomList > div:first-child {
    order: 2 !important;
  }

  footer .bottomList > div:last-child {
    order: 1 !important;
  }
}

/* responsive */

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

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

/* terms pages */

.terms {
  margin-top: 3rem;
  margin-bottom: 5rem;
}

.terms .topButton {
  margin-bottom: 2rem;
}

.terms .topButton button {
  border: none;
  background: none;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  border-radius: calc(var(--radius) - 2px);
}

.terms .topButton button:hover {
  color: hsl(var(--accent-foreground));
  background-color: hsl(var(--accent));
}

.terms .topButton svg {
  width: 1rem;
  height: 1rem;
  margin-right: 10px;
}

.terms .contactPart {
  margin-top: 1rem;
  grid-gap: 2px;
}

.terms .contactPart p {
  padding-bottom: 0;
}

.editor h1,
.editor h2,
.editor h3,
.editor h4,
.editor h5,
.editor h6 {
  color: hsl(var(--foreground));
  padding: 0;
}

.editor {
  color: hsl(var(--muted-foreground));
  line-height: 1.625;
  font-weight: 400;
}

.editor ul {
  list-style: inherit;
  margin-left: 40px;
  margin-bottom: 1rem;
}

.editor h1 {
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 2.5rem;
  margin-bottom: 1rem;
  font-family: Playfair Display, serif;
}

.editor h2 {
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 2rem;
  margin-bottom: 1rem;
}

.editor a {
  font-weight: 500;
  text-decoration: underline;
  transition: all 0.3s;
  color: hsl(var(--corporate-blue));
}

.editor a:hover {
  color: hsl(var(--corporate-blue) / 0.8);
}
