/* -----------------------------------------------------------------
   20. Flex Landing Page
   ----------------------------------------------------------------- */
.header--secondary {
  background: var(--lexx-white) !important;
  border-bottom: 1px solid var(--lexx-border);
  padding: 1px 0;
  position: relative;
  z-index: 10;
}

.header--secondary .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-height: 70px;
}

.header--secondary .logo {
  display: flex;
  align-items: center;
}

.header--secondary .logo img {
  height: 55px;
  width: auto;
}

.header--secondary .logo .label {
  display: none;
}

.header--secondary .logo-cyber-phoenix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  padding: 8px;
  background: var(--lexx-white);
  border-radius: 12px;
  box-shadow: var(--lexx-shadow);
  width: auto;
  height: auto;
}

.header--secondary .logo-cyber-phoenix img {
  width: 130px;
  height: auto;
  display: block;
}

.header--secondary .list-contacts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header--secondary .list-contacts li {
  margin: 0;
}

.header--secondary .list-contacts a {
  color: var(--lexx-text);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.header--secondary .list-contacts a:hover {
  color: var(--lexx-accent-blue);
}

.header--secondary .list-contacts .fa-phone {
  color: var(--lexx-accent-blue);
  font-size: 16px;
}

/* Flex landing hero slider */
.slider-hero .slider__slides {
  visibility: visible !important;
}

.slider-hero .slider__slide {
  background: var(--lexx-light-gray) !important;
  color: var(--lexx-text) !important;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 60px 0;
}

/* Flexible Landing template only — higher specificity than .slider-hero .slider__slide; body class is unreliable */
.main--flex-landing .slider-hero .slider__slide {
  background: url('../../images/texture.png'), var(--lexx-light-gray) !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position-x: -100px !important; 
  background-position-y: -10px !important;
  overflow: hidden;
}

.slider h1,
.slider h2,
.slider .slider__slide-title {
  color: var(--lexx-text);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.2;
  margin-bottom: 20px;
}

.main .slider h4,
.main .slider .slider__slide-subtitle,
.main .slider h4.pts--custom-branded,
.main .slider h4.slider__slide-subtitle.pts--custom-branded {
  color: var(--lexx-text) !important;
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.slider h4:after,
.slider .slider__slide-subtitle:after {
  background: linear-gradient(90deg, var(--lexx-accent-blue) 0%, var(--lexx-blue-light) 100%);
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  margin-top: 8px;
}

.slider .slider__slide-entry {
  color: var(--lexx-text);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.slider .slider__slide-entry p {
  color: var(--lexx-text);
}

.main .slider__slide-actions a.pts--custom-branded,
.main .slider .slider__slide-actions a.pts--custom-branded,
.main .slider .slider__slide-actions .btn.pts--custom-branded,
.main .section--courses .courses__actions .btn-pill--gradient,
.main .section--courses .courses__actions .btn-pill--blue,
.nav--primary .btn,
.main .slider-cards .card__body .btn {
  background: var(--lexx-btn-gradient) !important;
  color: var(--lexx-white) !important;
  border: none;
  padding: 16px 40px;
  font-size: 16px;
  line-height: 1;
  height: auto;
  font-weight: 700;
  border-radius: 14px;
  text-decoration: none;
  display: inline-block;
  transition: background-position 0.4s ease-in-out !important;
  background-size: 200% 100% !important;
  background-position: left center;
  box-shadow: none !important;
  letter-spacing: initial !important;
}

.main .slider__slide-actions a.pts--custom-branded:hover,
.main .slider .slider__slide-actions a.pts--custom-branded:hover,
.main .slider .slider__slide-actions .btn.pts--custom-branded:hover,
.main .section--courses .courses__actions .btn-pill--gradient:hover,
.main .section--courses .courses__actions .btn-pill--blue:hover,
.nav--primary .btn:hover,
.main .slider-cards .card__body .btn:hover {
  background-position: right center !important;
  color: var(--lexx-white) !important;
}

.slider .slider__slide-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider .slider__slide-media img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--lexx-shadow-hover);
}

/* Flex landing nav */
.nav--primary {
  background: var(--lexx-text);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

.nav--primary .shell {
  position: relative;
  z-index: 2;
}

.nav--primary a,
.nav--primary ul li a {
  color: var(--lexx-white) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.nav--primary ul li a:hover {
  color: var(--lexx-white) !important;
}

.nav--primary .logo-small {
  color: var(--lexx-white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Flex landing sections */
.section {
  background: var(--lexx-white);
  color: var(--lexx-text);
  padding: var(--lexx-section-pad) 0;
}

.section:nth-of-type(even),
.section--offers,
.section--reviews,
.section--general-content,
.section--request-information {
  background: var(--lexx-light-gray);
  color: var(--lexx-text);
}

.section .section__title,
.section .section__number,
.section--general-content h2,
.section--general-content h3,
.section--general-content h4,
.section--general-content p,
.section--general-content li {
  color: var(--lexx-text);
}

.section--general-content a {
  color: var(--lexx-accent-blue);
}

.section--general-content a:hover {
  color: var(--lexx-accent-orange);
}

.section--light-blue:before {
  background: linear-gradient(to bottom, rgba(0, 172, 239, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
}

.section--request-information {
  background: var(--lexx-light-gray);
  margin-top: 0;
}

.section--request-information .section__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: var(--lexx-white);
  border-radius: 8px;
  box-shadow: var(--lexx-shadow);
  width: auto;
  height: auto;
  margin-left: -10px;
}

.section--request-information .section__logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 120px;
}

/* Flex landing callout secondary (field + submit chrome: revamp/_forms-standard.css) */
.callout--secondary .callout__aside {
  background: var(--lexx-white);
  border-radius: var(--lexx-form-card-radius);
  border: 1px solid var(--lexx-border);
  box-shadow: var(--lexx-shadow);
}

.main .callout--secondary .callout__aside h5 {
  color: var(--lexx-text) !important;
}

.main .callout--secondary .callout__aside h5:after {
  background-color: var(--lexx-text) !important;
}

.callout--secondary .callout__content h5,
.callout--secondary .callout__content h2,
.callout--secondary .callout__content p {
  color: var(--lexx-text);
}

.callout--secondary .callout__aside h5 {
  color: var(--lexx-accent-orange);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.callout--secondary .callout__aside h5:after {
  background-color: var(--lexx-accent-orange);
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  margin-top: 12px;
}

/* Flex landing cards */
.card--blue {
  background: linear-gradient(135deg, var(--lexx-accent-blue) 0%, var(--lexx-blue-light) 100%);
}

.card--blue:hover {
  background: linear-gradient(135deg, var(--lexx-blue-light) 0%, var(--lexx-accent-blue) 100%);
}

.card--blue .card__body h4 {
  color: var(--lexx-white);
}

.card--blue .card__body .btn {
  background: var(--lexx-white);
  color: var(--lexx-accent-blue);
}

.card--blue:hover .card__body .btn {
  background: var(--lexx-text);
  color: var(--lexx-white);
}

/* Slider cards (offers carousel) */
.slider-cards .slider__slides {
  visibility: visible !important;
  display: flex;
  gap: 20px;
}

.slider-cards .slider__slide {
  flex: 0 0 auto;
  width: 380px;
  max-width: 380px;
}

.slider-cards .card {
  height: 100%;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  overflow: hidden;
  background: var(--lexx-card-dark);
  box-shadow: none;
  transition: all 0.4s ease;
}

.slider-cards .card:hover {
  transform: scale(1.02);
}

.slider-cards .card:hover a.btn {
  background-position: right center !important;
}

.slider-cards .card__image {
  width: 100%;
  height: 145px;
  background-size: cover;
  background-position: center;
  border-radius: 6px 6px 0 0;
  flex-shrink: 0;
}

.slider-cards .card__body {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--lexx-white);
}

.slider-cards .card__body h4 {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--lexx-text);
}

.slider-cards .card__body p {
  flex: 1 1 auto;
  margin-bottom: 24px;
  font-size: 14px !important;
  line-height: 1.5;
  overflow: visible;
  color: var(--lexx-text);
}

.slider-cards .slider__actions {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
  display: none;
}

.slider-cards.slick-initialized .slider__actions {
  display: block;
}

.slider-cards .slider__actions a {
  position: absolute;
  width: 38px;
  height: 38px;
  background: rgba(73, 73, 73, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lexx-white);
  font-size: 24px;
  pointer-events: all;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.slider-cards .slider__actions a:hover {
  background: var(--lexx-accent-orange);
}

.slider-cards .slider__actions a.slick-disabled {
  opacity: 0.3;
  pointer-events: none;
}

.slider-cards .arrow-prev {
  left: -25px;
}

.slider-cards .arrow-next {
  right: -25px;
}

.section-slider {
  background: var(--lexx-light-gray);
  padding: 24px 0 34px;
}

.section-about {
  background: linear-gradient(0deg, var(--lexx-white) 0%, var(--lexx-light-gray) 100%);
  padding: var(--lexx-section-pad) 0;
}

.section-about h1,
.section-about h2,
.section-about h3,
.section-about h4,
.section-about h5,
.section-about h6,
.section-about p,
.section-about li,
.section-logos h1,
.section-testimonials blockquote,
.section-testimonials h5,
.section-testimonials h6 {
  color: var(--lexx-text);
}

.section-about .section__content h5 {
  color: var(--lexx-text);
  font-size: 34px;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 14px;
}

.section-about .list-perks li {
  background: var(--lexx-light-gray);
  border: 1px solid var(--lexx-border);
  border-radius: 6px;
  box-shadow: none;
}

.section-logos {
  background: var(--lexx-light-gray);
  padding: 42px 0;
}

.section-logos h1 {
  font-size: 34px;
  color: var(--lexx-text);
  margin-bottom: 20px;
}

.section-logos .list-logos li {
  background: var(--lexx-white);
  border: 1px solid var(--lexx-border);
  border-radius: 6px;
  padding: 12px 18px;
}

.section-testimonials {
  background: var(--lexx-white);
  padding: var(--lexx-section-pad) 0;
}

.main .section-testimonials blockquote {
  background: var(--lexx-white);
  color: var(--lexx-text);
  font-size: 20px !important;
}

/* Flex landing tabs */
.tabs--secondary .tabs__nav ul li a {
  color: var(--lexx-text);
  border-bottom-color: transparent;
}

.tabs--secondary .tabs__nav ul li a:hover {
  color: var(--lexx-accent-blue);
}

.tabs--secondary .tabs__nav ul li.is-active a {
  color: var(--lexx-accent-blue);
  border-bottom-color: var(--lexx-accent-blue);
}

.tabs--secondary .courses--alt .col .badge {
  color: var(--lexx-accent-orange);
}

/* Flex landing courses */
.section--courses .tabs__body,
.section--courses .tab {
  background: transparent;
}

.section--courses .courses--alt {
  background: var(--lexx-white);
  border: 1px solid var(--lexx-border);
  border-radius: var(--lexx-radius-card);
  padding: 28px;
  margin-bottom: 2rem;
  transition: all 0.4s ease;
  position: relative;
  box-shadow: var(--lexx-shadow);
}

.section--courses .courses--alt .component--hidden,
.section--courses .courses--alt:not(.component--view-more) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

.section--courses .courses--alt:hover {
  box-shadow: var(--lexx-shadow-hover);
}

.section--courses .courses--alt.component--view-more:not(.expanded)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--lexx-white), rgba(255, 255, 255, 0));
  pointer-events: none;
  border-radius: 0 0 var(--lexx-radius-card) var(--lexx-radius-card);
  z-index: 1;
}

.section--courses .courses--alt .row:not(.row--head) {
  padding: 12px 20px;
  transition: background 0.3s ease;
  border-top: 1px solid var(--lexx-light-gray);
}

.section--courses .courses--alt .row:not(.row--head):last-child {
  border-bottom: none;
}

.section--courses .courses--alt .row:not(.row--head):hover {
  background: var(--lexx-light-gray);
  border-radius: 8px;
}

.section--courses .courses--alt .row:not(.row--head) a.col {
  display: block;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 10px 10px 5px;
  min-height: unset;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  flex: 1 1 auto;
  max-width: 100%;
}

.section--courses .courses--alt .row:not(.row--head) .col {
  flex: 1 1 auto;
  max-width: 100%;
  width: 100%;
}

.section--courses .courses--alt .row:not(.row--head) a.col p {
  font-family: var(--lexx-font-primary);
  font-size: 13px;
  color: rgba(73, 73, 73, 0.6);
  margin: 0 0 8px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section--courses .courses--alt .row:not(.row--head) a.col:hover p {
  color: var(--lexx-accent-blue);
}

.section--courses .courses--alt .row:not(.row--head) a.col h5 {
  font-family: var(--lexx-font-primary);
  font-size: 16px;
  font-weight: 600;
  color: var(--lexx-text);
  margin: 0;
  line-height: 1.4;
  white-space: normal;
  overflow: visible;
  word-wrap: break-word;
}

.section--courses .courses--alt .row:not(.row--head) a.col:hover h5 {
  color: var(--lexx-accent-blue);
}

.section--courses .courses__actions {
  text-align: center;
  margin: 2rem auto;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  background: transparent;
}

.section--courses .courses__actions .btn-pill--gradient,
.section--courses .courses__actions .btn-pill--blue {
  background: var(--lexx-btn-gradient) !important;
  color: var(--lexx-white);
  padding: 12px 28px;
  border-radius: var(--lexx-radius-btn);
  font-family: var(--lexx-font-primary);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-position 0.4s ease-in-out !important;
}

.section--courses .courses__actions .btn-pill--gradient:hover,
.section--courses .courses__actions .btn-pill--blue:hover {
  background-position: right center !important;
}

.section--courses .courses__actions .btn-pill--gradient:hover:after,
.section--courses .courses__actions .btn-pill--blue:hover:after {
  display: none;
  opacity: 0;
}

/* Flex landing animations */
.header--secondary ~ .main .animate,
.header--secondary ~ .main .animate-ltr,
.header--secondary ~ .main .animate-rtl,
.header--secondary ~ .main .animate-btt,
.header--secondary ~ .main .testimonial,
.header--secondary ~ .main .article__content,
.header--secondary ~ .main .article__image {
  opacity: 1 !important;
  transform: translateX(0) !important;
  transition: none !important;
}

/* Flex landing testimonials */
.testimonial {
  background: var(--lexx-white);
  box-shadow: var(--lexx-shadow);
}

.testimonial blockquote {
  color: var(--lexx-text);
}

.testimonial .testimonial__info {
  color: var(--lexx-text);
}

.testimonial .testimonial__rate {
  color: var(--lexx-accent-orange);
}

.article--secondary .article__content {
  color: var(--lexx-text);
}

.list-items li {
  border-color: var(--lexx-border);
  background: var(--lexx-light-gray);
}

.list-items li:before,
.list-items li:after {
  background-color: var(--lexx-border);
}

.list-specialties li {
  background: var(--lexx-light-gray);
  box-shadow: var(--lexx-shadow);
}

.career a {
  background: var(--lexx-light-gray);
  border-color: var(--lexx-accent-blue);
  color: var(--lexx-text);
}

.career:hover a {
  background: var(--lexx-accent-blue);
  color: var(--lexx-white);
}

.career .career__popup {
  background: var(--lexx-white);
  box-shadow: var(--lexx-shadow-hover);
}

.career .career__popup h5 {
  color: var(--lexx-accent-blue);
}

.career .career__popup ul h5 {
  color: var(--lexx-accent-orange);
}

/* Flex landing footer */
.footer--secondary {
  background: var(--lexx-light-gray);
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--lexx-border);
}

.footer--secondary .footer__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer--secondary .logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer--secondary .logo img {
  height: 60px;
  width: auto;
}

.footer--secondary .logo .label {
  display: none;
}

.footer--secondary ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--lexx-text);
}

.footer--secondary ul li {
  font-size: 14px;
  line-height: 1.6;
}

.footer--secondary p {
  margin: 0;
}

.footer--secondary p a {
  color: var(--lexx-accent-blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
}

.footer--secondary p a:hover {
  color: var(--lexx-accent-orange);
}

