:root {
  --color-secondary: #0f0d18;
  --color-primary: #ffae22;
  --gray-backgroud: #f8f5f5;

  --bs-primary: #ffae22;
  --bs-secondary: #0f0d18;
}

[data-bs-theme="light"] {
  --bs-primary: #ffae22;
  --bs-secondary: #0f0d18;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "GRAD" 0;
  word-break: break-word;
  overflow-wrap: break-word;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23e59d1f' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.navbar-toggler {
  border: none;
  box-shadow: none;
}
.navbar-toggler:focus {
  box-shadow: none;
}
a {
  text-decoration: none;
}
.text-dark-link {
  color: #1a1313 !important;
}
.fs-16 {
  font-size: 16px;
}
.fs-18 {
  font-size: 18px;
}
.fs-20 {
  font-size: 20px;
}
.fs-24 {
  font-size: 24px;
}
.py-60 {
  padding-top: clamp(2rem, 5vw, 3.75rem);
  padding-bottom: clamp(2rem, 5vw, 3.75rem);
}
.pt-60 {
  padding-top: clamp(2rem, 5vw, 3.75rem);
}
.py-100 {
  padding-top: clamp(2.5rem, 8vw, 6.25rem);
  padding-bottom: clamp(2.5rem, 8vw, 6.25rem);
}
.pb-100 {
  padding-bottom: clamp(2.5rem, 8vw, 6.25rem);
}
.pb-120 {
  padding-bottom: clamp(3rem, 10vw, 7.5rem);
}
.my-100 {
  margin-top: clamp(2.5rem, 8vw, 6.25rem);
  margin-bottom: clamp(2.5rem, 8vw, 6.25rem);
}
.py-120 {
  padding-top: clamp(3rem, 10vw, 7.5rem);
  padding-bottom: clamp(3rem, 10vw, 7.5rem);
}
.mt-120 {
  margin-top: clamp(3rem, 10vw, 7.5rem);
}
.mb-80 {
  margin-bottom: clamp(2rem, 6vw, 5rem);
}
.my-80 {
  margin-top: clamp(2rem, 6vw, 5rem);
  margin-bottom: clamp(2rem, 6vw, 5rem);
}
.border-radius-16 {
  border-radius: 16px;
}
h1 {
  font-size: clamp(2.2rem, 8vw, 5rem);
  word-break: break-word;
}
h2 {
  font-size: clamp(1.8rem, 6vw, 3.4375rem);
}
h3 {
  font-size: clamp(1.6rem, 5vw, 2.5rem);
}
h4 {
  font-size: clamp(1.4rem, 4vw, 2rem);
}
.separator-line {
  width: 100%;
  height: 1px;
  background-color: #565c6f;
}
.btn-gray {
  background-color: rgba(255, 255, 255, 0.3);
  color: #f7f2eb !important;
}
.bg-dark {
  background-color: #000;
}
.pinkish-linear-gradient {
  background: linear-gradient(
    148.68deg,
    #6a3394 43.19%,
    #de3cdd 59.5%,
    #dfbd56 81.76%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.purplish-linear-gradient {
  background: radial-gradient(
    119.38% 72.9% at 185.39% 113.3%,
    #9c1efd 0%,
    #0f0d18 100%
  );
}
.purplish-radial-gradient-bottom-glow {
  background: radial-gradient(
    64.65% 114.51% at 50% 135.37%,
    #9c1efd 0%,
    #0f0d18 100%
  );
}
.why-multiphsisc {
  background: radial-gradient(
    55.32% 24.83% at 50% 109.16%,
    #9c1efd 0%,
    #0f0d18 100%
  );
}
.pinkish-left-glow {
  background: radial-gradient(
      90.26% 89.07% at -24.24% -32.03%,
      #9c1efd 0%,
      #0f0d18 100%
    )
    /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */;
}

.inner-hero-purplish-radial-gradient {
  background: linear-gradient(
    92.48deg,
    #9c1efd -30.9%,
    #0f0d18 30.45%,
    #0f0d18 52.04%,
    #0f0d18 74.95%,
    #de3cdd 132.04%
  );
}

.btn {
  border-radius: 30px;
}
.white-pill {
  background-color: #fff;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid #e1e4ed;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 28px);
  width: fit-content;
}
/* Header Styles */
#cp-navigation {
  background-color: #0f0d18;
  height: clamp(80px, 10vw, 100px);
  display: flex;
  align-items: center;
  direction: rtl;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-container {
  padding: 0 clamp(15px, 5vw, 56px);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-contact {
  display: flex;
  gap: clamp(10px, 2vw, 24px);
  align-items: center;
}
.phone-button {
  background-color: #ffae22;
  height: clamp(40px, 5vw, 50px);
  padding: 8px clamp(12px, 2vw, 24px);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff !important;
  font-weight: 700;
  font-size: clamp(14px, 2vw, 20px);
  text-decoration: none;
}
.phone-button:hover {
  background-color: #e59d1f;
}
.phone-icon img {
  width: clamp(14px, 1.5vw, 17px);
  height: clamp(14px, 1.5vw, 17px);
}
.whatsapp-icon img {
  width: clamp(30px, 4vw, 40px);
  height: clamp(30px, 4vw, 40px);
}
.mail-icon-circle {
  background-color: #514e5b;
  width: clamp(32px, 4vw, 41px);
  height: clamp(32px, 4vw, 41px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mail-icon-circle img {
  width: clamp(16px, 2vw, 20px);
  height: clamp(16px, 2vw, 20px);
}

.header-menu-pill {
  background-color: #383641;
  height: 56px;
  padding: 12px 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 0;
}
.header-menu-pill .nav-item {
  list-style: none;
}
.header-menu-pill .nav-link {
  color: #fff !important;
  font-size: 18px;
  font-weight: 500;
  padding: 0;
}
.header-menu-pill .nav-item.active .nav-link {
  color: #fff !important; /* Keep text white as per design for active pill */
  border: 1px solid #ffae22;
  padding: 3px 10px;
  border-radius: 999px;
}

/* Dropdown styling */
.header-menu-pill .dropdown-toggle::after {
  display: none;
}
.header-menu-pill .dropdown-menu {
  background-color: #383641;
  border: 1px solid #ffae22;
  border-radius: 12px;
  margin-top: 0;
  padding: 8px 0;
  min-width: 180px;
  text-align: right;
}

/* Show dropdown on hover for desktop */
@media (min-width: 992px) {
  .header-menu-pill .nav-item.dropdown:hover .dropdown-menu {
    display: block !important;
    margin-top: 0; /* Align with pill */
  }
}

.header-menu-pill .dropdown-item {
  color: #fff !important;
  font-size: 16px;
  font-weight: 400;
  padding: 8px 20px;
  transition: all 0.3s ease;
  text-align: right;
}
.header-menu-pill .dropdown-item:hover {
  background-color: rgba(255, 174, 34, 0.1);
  color: #ffae22 !important;
}

/* Remove rectangle/focus from parent when dropdown is active */
.header-menu-pill .nav-link:focus,
.header-menu-pill .nav-link:active,
.header-menu-pill .dropdown-toggle.show,
.header-menu-pill .nav-item.dropdown:hover > .nav-link {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* Ensure active class border doesn't look like a rectangle when not active */
.header-menu-pill .nav-item.active .nav-link {
  color: #fff !important;
  border: 1px solid #ffae22;
  padding: 3px 10px;
  border-radius: 999px;
}

/* Mobile dropdown adjustments */
#navbarSupportedContent {
  background-color: #fff;
  padding: 20px;
  border-bottom: 1px solid #e1e4ed;
}
#navbarSupportedContent .nav-link {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
#navbarSupportedContent .nav-item:last-child .nav-link {
  border-bottom: none;
}
#navbarSupportedContent .dropdown-menu {
  padding-right: 20px;
  text-align: right;
  border: none;
  background-color: #f9f9f9;
}
#navbarSupportedContent .dropdown-item {
  text-align: right;
  padding: 10px 0;
}
#navbarSupportedContent .dropdown-toggle::after {
  margin-right: 10px;
}
.header-logo img {
  height: 60px;
}

.hp-hero .hero-content {
  max-width: 1200px;
  margin: auto;
}

.academy-to-industry-card-wrapper {
  box-shadow: 3px 0px 0px 0px rgba(156, 30, 253, 1);
}

@media (max-width: 768px) {
  .academy-to-industry-card-wrapper {
    box-shadow: 0px 3px 0px 0px rgba(156, 30, 253, 1);
    margin-bottom: 20px;
    padding-bottom: 10px;
  }
}

.inner-grey-bg {
  background: rgba(95, 92, 100, 0.2);
  border: 1px solid rgba(46, 47, 49, 1);
}

@media (max-width: 787px) {
  h1 {
    font-size: 56px;
  }
  h4 {
    font-size: 28px;
  }
  label {
    font-size: 18px;
  }
  .hero-content img {
    max-width: 250px;
  }
  .dark-gradient .image-col::before {
    left: 0;
    top: auto;
    bottom: 0;

    width: 100%;
    height: 120px; /* adjust visually */

    background: linear-gradient(
      180deg,
      rgba(22, 22, 23, 0) 0%,
      rgba(22, 22, 23, 0.6) 50%,
      #161617 100%
    );
  }

  .dark-gradient .image-col img {
    height: auto;
  }
}

@media (max-width: 991px) {
  .header-container {
    padding: 0 20px;
  }
  .header-menu-pill {
    display: none;
  }
  #cp-navigation {
    height: auto;
    padding: 10px 0;
  }
  .phone-button {
    font-size: 16px;
    padding: 8px 16px;
    height: 40px;
  }
  .header-contact {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .phone-button span {
    display: none;
  }
  .phone-button {
    padding: 8px;
    width: 40px;
    justify-content: center;
  }
  .header-contact {
    gap: 8px;
  }
}

/* Ensure no horizontal scroll from animations or absolute elements */
.site {
  overflow-x: hidden;
  width: 100%;
}

/* Homepage Hero Styles */
.hp-hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(
    15,
    13,
    24,
    0.4
  ); /* Dark overlay to improve text readability */
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-logo {
  max-width: 300px;
  height: auto;
}

.hero-title {
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1.1;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 28px;
  font-weight: 400;
}

.hero-description {
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  line-height: 1.6;
}

.hp-hero .btn-primary {
  background-color: #ffae22 !important;
  border-color: #ffae22 !important;
  color: #fff !important;
  height: 65px;
  padding-left: 50px !important;
  padding-right: 50px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hp-hero .btn-primary:hover {
  background-color: #e59d1f !important;
  border-color: #e59d1f !important;
  transform: translateY(-2px);
}

.hero-triangle {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 4;
}

.hero-triangle svg {
  width: 100%;
  height: auto;
  display: block;
}
.hero-triangle svg {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .hp-hero {
    height: 80vh;
    min-height: 600px;
  }
  .hero-logo {
    max-width: 200px;
  }
}

/* Who We Are Section */
.purplish-radial-gradient {
  background: radial-gradient(
    119.38% 72.9% at 185.39% 113.3%,
    #9c1efd 0%,
    #0f0d18 100%
  );
}

.border-radius-16 {
  border-radius: 16px;
}

.industries-grid {
  --bs-gutter-x: 40px;
  --bs-gutter-y: 40px;
}

.industries-grid .col-md-4 {
  margin-bottom: 0; /* Handled by gutter-y */
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid rgba(86, 92, 111, 1);
  border-right: 1px solid rgba(86, 92, 111, 1);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.client-logo-wrapper {
  border-left: 1px solid rgba(86, 92, 111, 1);
  border-bottom: 1px solid rgba(86, 92, 111, 1);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  transition: background 0.3s ease;
}

.client-logo-wrapper:hover {
  background: rgba(255, 255, 255, 0.1);
}

.client-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1) brightness(1.5);
  opacity: 0.7;
  transition: all 0.3s ease;
}
.client-logo-witout-opacity {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(0.6) brightness(1.3);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client-logo-wrapper:hover .client-logo {
  filter: grayscale(0) brightness(1);
  opacity: 1;
}

@media (max-width: 1200px) {
  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 991px) {
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .client-logo-wrapper {
    height: 100px;
    padding: 15px;
  }
}

/* Industry Grid Labels */
.industry-item {
  overflow: hidden;
}

.industry-label {
  bottom: 32px;
  right: 32px;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  z-index: 5;
  pointer-events: none; /* Ensure clicks pass through to the item if linked later */
}

@media (max-width: 768px) {
  .industry-label {
    bottom: 16px;
    right: 16px;
    font-size: 18px !important;
  }
  .industry-label svg {
    width: 14px !important;
    height: 14px !important;
  }
}

.industry-item img {
  width: 100%;
  transition: transform 0.5s ease;
}

.industry-item:hover img {
  transform: scale(1.05);
}

/* Industry Grid Chevron Styling */
.industry-label svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Virtual Lab Section */
.virtual-lab {
  position: relative;
  text-align: right;
  direction: rtl;
  background: radial-gradient(
    55.32% 24.83% at 50% 109.16%,
    #9c1efd 0%,
    #0f0d18 100%
  );
}

.virtual-lab .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.virtual-lab-background {
  background-image:
    radial-gradient(
      53.98% 53.99% at 50% 50%,
      rgba(15, 13, 24, 0) 0%,
      #0f0d18 100%
    ),
    radial-gradient(
      65.3% 18.9% at 46.49% 50%,
      rgba(15, 13, 24, 0.7) 0%,
      rgba(15, 13, 24, 0) 100%
    ),
    url("../images/virtual-lab.png");
  background-size: cover, cover, contain;
  background-position: center center;
  background-repeat: no-repeat;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: clamp(100px, 20vw, 250px) 20px clamp(215px, 36vw, 415px) 20px;
}

.virtual-lab .lab-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 32px);
  height: 100%;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 3;
}

.lab-card .lab-card-content {
  max-width: 350px;
}

.virtual-lab-cards-row {
  margin-top: clamp(-215px, -33vw, -395px) !important;
  position: relative;
  z-index: 3;
}

.virtual-lab .lab-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
}

.virtual-lab .lab-card-title {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.virtual-lab .lab-card-text {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
  margin-bottom: 0;
}

.virtual-lab .comsol-logo-large {
  font-size: 114px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 20px;
  line-height: 0.9;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
}

/* Centering Client Logos */
.client-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo {
  max-width: 85%; /* Slightly smaller for better padding within the cell */
  max-height: 85%;
  margin: auto; /* Absolute centering */
}

/* Horizontal Contact Form Styling */
.horizontal-contact-section .contact-text {
  line-height: 1.2;
}

.horizontal-contact-section .contact-text a {
  transition: all 0.3s ease;
}

.horizontal-contact-section .contact-text a:hover {
  opacity: 0.8;
}

.horizontal-cf7 .cf7-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.horizontal-cf7 .cf7-field label {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 0;
  text-align: right;
}

.horizontal-cf7 .wpcf7-form-control:not(.wpcf7-submit) {
  background: transparent !important;
  border: 1px solid #ffffff !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  height: 48px;
  padding: 0 16px;
  width: 220px;
}

.horizontal-cf7 .wpcf7-form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
}

.horizontal-cf7 .wpcf7-submit {
  background-color: var(--color-primary) !important;
  border: none !important;
  border-radius: 50px !important;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  height: 48px;
  padding: 0 40px !important;
  transition: all 0.3s ease;
}

.horizontal-cf7 .wpcf7-submit:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.horizontal-cf7 .wpcf7-spinner {
  position: absolute;
}
.wpcf7 {
  direction: rtl;
  text-align: right;
}

.card-border {
  border: 1px solid #e1e4ed;
  border-radius: 16px;
}

.webinar-card .webinar-content {
  text-align: right;
  direction: rtl;
}

.webinar-image-wrapper {
  width: 224px;
  height: 224px;
  flex-shrink: 0;
  overflow: hidden;
}

.webinar-img,
.webinar-img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-card .counter-value,
.about-card .counter-operator {
  font-size: 80px;
  line-height: 1;
}

.about-card .counter-description {
  color: #6c757d;
}

@media (max-width: 768px) {
  .about-card .counter-value,
  .about-card .counter-operator {
    font-size: 48px;
  }
  .about-card {
    padding: 1.5rem !important;
  }
}

.webinar-img-placeholder {
  background-color: #f8f5f5;
}

.accordion-button::after {
  display: none;
}
.accordion-button {
  text-align: right;
}
.accordion-item {
  border-radius: 16px !important;
  transition: box-shadow 0.3s ease;
}
.accordion-item.is-expanded,
.accordion-item:has(.accordion-button:not(.collapsed)) {
  box-shadow: 2px 8px 24px 0px #0000001a !important;
}
.accordion-item:not(:first-of-type) {
  border-top: 1px solid #e1e4ed !important;
}
.accordion-button:not(.collapsed) {
  color: var(--bs-accordion-btn-color);
  background-color: #fff !important;
  box-shadow: none !important;
}
input[type="email"],
input[type="tel"],
textarea {
  direction: rtl;
  text-align: right;
}
@media (max-width: 768px) {
  .webinar-card .d-flex {
    flex-direction: column-reverse;
  }
  .webinar-image-wrapper {
    width: 100%;
    height: 200px;
  }
}
@media (max-width: 1200px) {
  .horizontal-cf7 {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .horizontal-cf7 .wpcf7-form-control:not(.wpcf7-submit) {
    width: 100%;
  }
}

/* Large Contact Form Styling */
.large-cf7-container {
  margin-top: 40px;
}

.cf7-numerical-form {
  direction: rtl;
  text-align: right;
  width: 100%;
}

/* Force CF7 injected tags to not break our layout */
.cf7-numerical-form br,
.cf7-numerical-form p {
  display: contents !important;
}

/* Re-enable display for form-control-wrap which is needed for validation messages */
.cf7-numerical-form span.wpcf7-form-control-wrap {
  display: block;
}

.cf7-numerical-form .cf7-row-3 {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}

.cf7-numerical-form .cf7-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

/* Reordering fields in Row 1: Name, Email, Phone */
/* HTML structure: 1: Name, 2: Phone, 3: Email */
.cf7-numerical-form .cf7-row-3 .cf7-field:nth-child(2) {
  order: 3;
}
.cf7-numerical-form .cf7-row-3 .cf7-field:nth-child(3) {
  order: 2;
}

.cf7-numerical-form .cf7-field label {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 0;
  text-align: right;
  font-weight: 400;
}

.cf7-numerical-form .wpcf7-form-control:not(.wpcf7-submit) {
  background: #000;
  border: none !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  padding: 0 16px;
  width: 100% !important;
}

.cf7-numerical-form input.wpcf7-form-control:not(.wpcf7-submit) {
  height: 48px;
}

.cf7-numerical-form textarea.wpcf7-form-control {
  height: 150px;
  padding: 16px;
  margin-top: 8px;
}

.cf7-numerical-form .cf7-textarea-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Submit Button - Styled as btn-primary and centered */
.cf7-numerical-form .wpcf7-submit {
  background-color: var(--color-primary) !important;
  border: 1px solid var(--color-primary) !important;
  border-radius: 50px !important;
  color: #fff;
  font-weight: 700;
  height: 56px;

  padding: 0 80px !important;
  width: fit-content;
  margin: 40px auto 0 !important;
  display: block;
  font-size: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.cf7-numerical-form .wpcf7-submit:hover {
  background-color: #e59d1f !important;
  border-color: #e59d1f !important;
  transform: translateY(-2px);
  color: #000000 !important;
}

.cf7-numerical-form .wpcf7-spinner {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 991px) {
  .cf7-numerical-form .cf7-row-3 {
    flex-direction: column;
    gap: 16px;
  }
  .cf7-numerical-form .cf7-row-3 .cf7-field:nth-child(n) {
    order: unset;
  }
}

/* User Stories & Industry Articles Sliders */
.user-stories-slider-wrapper,
.industry-articles-slider-wrapper {
  position: relative;
  direction: rtl;
  padding: 0 60px;
}

.user-stories-carousel,
.industry-articles-carousel {
  margin: 0 -15px;
}

/* Force Equal Height Slides */
.user-stories-carousel .slick-track,
.industry-articles-carousel .slick-track {
  display: flex !important;
}

.user-stories-carousel .slick-slide,
.industry-articles-carousel .slick-slide {
  height: auto;
  display: flex !important;
  justify-content: center;
}

.user-story-slide,
.industry-article-slide {
  height: auto;
  direction: rtl;
  display: flex !important;
  box-shadow: 0px 0px 0px 3px rgba(156, 30, 253, 1);
}

.industry-article-content {
  text-align: right;
  width: 100%;
}

.user-story-card {
  background: #fff;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 3px 0px 0px 0px rgba(156, 30, 253, 1);
  border-radius: 16px;
  border-right: 1px solid rgba(156, 30, 253, 1);
  width: 100%;
  height: 100% !important;
}

.success-story-card {
  box-shadow: 3px 0px 0px 0px rgba(156, 30, 253, 1);
  border-radius: 16px;
}

@media (max-width: 768px) {
  .user-story-card,
  .success-story-card {
    box-shadow: 0px 3px 0px 0px rgba(156, 30, 253, 1);
    border-right: none;
    border-bottom: 1px solid rgba(156, 30, 253, 1);
  }
}

.user-story-title {
  font-size: 24px;
  color: var(--color-secondary);
  text-align: right;
}

.user-story-excerpt {
  color: #4a4a4a;
  line-height: 1.6;
  text-align: right;
}

/* Slider Arrows - Common */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  padding: 0;
}

.slider-arrow svg {
  width: 24px;
  height: 24px;
  display: block;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.slider-arrow.prev-arrow svg {
  transform: rotate(180deg);
}

.user-stories-slider-wrapper .prev-arrow,
.industry-articles-slider-wrapper .prev-arrow {
  right: 0;
}

.user-stories-slider-wrapper .next-arrow,
.industry-articles-slider-wrapper .next-arrow {
  left: 0;
}

@media (max-width: 991px) {
  .user-stories-slider-wrapper,
  .industry-articles-slider-wrapper {
    padding: 0 40px;
  }
}

/* Testimonials Slider */
.testimonials-slider-wrapper .testimonial-card {
  background-color: #0d0b15;
  border: 1px solid #1f2229;
  min-height: 350px;
}

.testimonials-slider-wrapper .text-gray {
  color: #9ca3af;
}

.testimonials-slider-wrapper .prev-arrow {
  right: -7px;
}

.testimonials-slider-wrapper .next-arrow {
  left: -7px;
}

.slick-dots {
  list-style: none;
  display: flex !important;
  justify-content: center;
  padding: 0;
  margin: 0;
  width: 100%;
}

.slick-dots li {
  margin: 0 5px;
}

.slick-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  width: 10px;
  height: 10px;
  padding: 0;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  background: #374151;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.slick-dots li.slick-active button {
  background: #ffffff;
}

.testimonials-slider-wrapper .slick-dots {
  bottom: -40px;
  position: absolute;
}

.slick-dots li button:before {
  display: none;
}
/* Final Responsive Touches */
@media (max-width: 768px) {
  .site-footer {
    text-align: center;
  }
  .site-footer .col-12 {
    margin-bottom: 40px;
  }
  .site-footer .col-12:last-child {
    margin-bottom: 0;
  }
  .site-footer .d-flex {
    justify-content: center !important;
  }
  .site-footer h4 {
    margin-bottom: 20px !important;
  }

  .footer-credit .d-flex {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  /* Slider adjustments for mobile */
  .slider-arrow {
    width: 36px;
    height: 36px;
  }
  .user-stories-slider-wrapper,
  .industry-articles-slider-wrapper {
    padding: 0 30px;
  }

  /* Homepage Hero mobile adjustments */
  .hp-hero {
    min-height: 500px;
    height: auto;
    padding: 80px 0;
  }
  .hero-logo {
    max-width: 200px;
  }

  /* Virtual Lab mobile adjustments */
  .virtual-lab-background {
    padding: 60px 20px 150px 20px;
  }
  .virtual-lab .comsol-logo-large {
    font-size: 48px;
  }
  .virtual-lab-cards-row {
    margin-top: -120px !important;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 36px !important;
  }
  .hero-subtitle {
    font-size: 20px !important;
  }
  .section-title {
    font-size: 28px !important;
  }
}

/* Blogs Filter Styles */
.filter-pill {
  transition: all 0.3s ease;
  user-select: none;
}
.filter-pill.active {
  background-color: rgba(255, 174, 34, 1) !important;
  border-color: rgba(255, 174, 34, 1) !important;
  color: #fff;
}
.filter-pill .filter-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
}
.cursor-pointer {
  cursor: pointer;
}
.hp-hero-btn-primary {
  background-color: #ffae22 !important;
  border-color: #ffae22 !important;
  color: #fff !important;
  height: 56px;
  padding-left: 40px !important;
  padding-right: 40px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease;
}
.hp-hero-btn-primary:hover {
  background-color: #e59d1f !important;
  border-color: #e59d1f !important;
  transform: translateY(-2px);
}

.contact-item img {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 6px;
}
