/* Base Variables and Setup */
:root {
  --primary-color: #0C4FBC;
  --secondary-color: #19A33E;
  --dark-blue: #043E9D;
  --darker-blue: #01307C;
  --darkest-blue: #00296B;
  --mid-blue: #2B61B9;
  --mid-dark-blue: #4881DD;
  --light-blue: #F3F8FF;
  --lighter-blue: #E1EDFF;
  --lightest-blue: #B5D1FF;
  --light-green: #1AC748;
  --white: #FFFFFF;
  --black: #000000;
  --text-color: #31383D;
  --text-light-color: #F0F7FF;
  --card-bg: linear-gradient(145deg, #0C4CB3, #0944A4);
  --box-shadow-light: 0px 4px 14px 0px rgba(0, 30, 77, 0.30);
  --box-shadow-mid: 0px 4px 25px 0px rgba(0, 30, 77, 0.40);
  --font-family-primary: "Montserrat", sans-serif;
  --font-size-base: 20px;
  --font-size-mobile-base: 18px;
  --font-size-heading: 2.4rem;
  --font-size-subheading: 1.8rem;
  --font-size-paragraph: 1rem;
}

* {
  margin: 0;
  padding: 0;
  font-size: var(--font-size-base);
  font-family: var(--font-family-primary);
}

/*** COMMON CSS ****/
section {
  padding: 60px 0px;
}

.divider {
  background-color: var(--mid-dark-blue) !important;
  display: inline-block;
  align-self: stretch;
  width: 1px;
  min-height: 1em;
  opacity: .25;
}

.primary-btn {
  background: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  color: var(--white);
  cursor: pointer;
  text-transform: capitalize;
  box-shadow: var(--box-shadow);
  white-space: nowrap;
  transition: 0.4s all ease-in-out;
  font-family: var(--font-family-primary);
  display: inline-block;
  font-weight: 700;
  font-size: 1.0rem;
}

.primary-btn:hover {
  background: var(--light-green);
  border: 1px solid varvar(--light-green);
  font-size: 1.0.1rem;
}

.max-ch-72 {
  margin: 0 auto;
  max-width: 72ch;
}

.max-ch-60 {
  margin: 0 auto;
  max-width: 60ch
}
.max-width-20{
  max-width: 20ch;
}

/**** LOGO ****/
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.telliant-logo {
  width: 100% !important;
}

/**** HERO ****/
.hero-wrapper {
  background-color: var(--darkest-blue) !important;
  background-image: url(../img/hero-section-bg.webp);
  background-size: cover;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  position: relative;
}

.head-wrap {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
}

.hero {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  /* min-height: 670px; */
  max-width: 980px;
  padding-top: 0;
}

.hero-content button a {
  color: var(--white);
  text-decoration: none;
}

.hero-wrapper {
  background: var(--darkest-blue) url(../img/hero-section-bg.webp) no-repeat center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-wrapper .container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stats-placeholder {
  height: 100px;
}

.stats-wrapper {
  margin-top: -60px;
}

/**** STATS ****/
.stats-wrapper {
  margin-top: -80px;
  z-index: 2;
}

.stats-container {
  background: var(--card-bg) !important;
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 12px;
  box-shadow: var(--box-shadow-mid) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stats-container h2 {
  margin-bottom: 0px;
  font-weight: 700;
}

.stats-container span {
  color: var(--lightest-blue);
  font-weight: 500;
  font-size: 1.05rem;
  margin: 0;
}

/**** BUSINESS CHALLENGES ****/
.business-challenges {
  background: var(--card-bg);
  color: var(--white);
  text-align: center;
}

.card.challenges {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 250px;
  position: relative;
  color: white;
  padding: 20px;
  border-radius: 10px;
  z-index: 1;
  overflow: hidden;
  transition: background-color 0.5s ease, transform 0.3s ease;
  background: var(--darker-blue);
  border: 0;
}

.card.challenges {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Default image */
.card.challenges::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../img/hover-state-before.svg') center/cover no-repeat;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.5s ease;
}

/* Hover image (starts hidden) */
.card.challenges::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../img/hover-state-after.svg') center/cover no-repeat;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Content stays on top */
.card.challenges * {
  position: relative;
  z-index: 3;
}

/* On hover: fade in hover image */
.card.challenges:hover::after {
  opacity: 1;
}

.card.challenges:hover {
  transform: translateY(-5px);
}

/**** QUOTE ****/
.quote {
  background-color: #E1EDFF;
  padding: 60px 100px;
  text-align: center;
  font-family: Montserrat, sans-serif;
  position: relative;
}

.quote-box {
  position: relative;
  display: inline-block;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 30px;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 4px 14px rgba(0, 30, 77, 0.15);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--h4-color);
  line-height: 1.6;
}

.quote-symbol {
  font-size: 3rem;
  font-family: serif;
  position: absolute;
  z-index: 1;
  opacity: 0.6;
}

.left-quote {
  top: -10px;
  left: 0px;
}

.right-quote {
  bottom: -10px;
  right: 0px;
}

/**** SOLUTION HIGHLIGHTS ****/
.solutions {
  position: relative !important;
  overflow: hidden;
}

.solutions .row {
  position: relative;
  z-index: 1;
}

.solutions-card {
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 280px;
  position: relative;
  color: white;
  padding: 20px;
  border-radius: 10px;
  z-index: 1;
  overflow: hidden;
  transition: background-color 0.9s ease, transform 0.9s ease;
  background: var(--dark-blue);
  border: 0;
}

.solutions-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../img/hover-state-before.svg') center/cover no-repeat;
  z-index: 1;
  opacity: 0.7;
  transition: background-image 0.9s ease;
}

.solutions-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--darker-blue);
  z-index: 0;
  transition: background-color 0.9s ease;
}

.solutions-card * {
  position: relative;
  z-index: 2;
}

.solutions-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../img/hover-state-before.svg') center/cover no-repeat;
  /* normal image */
  z-index: 1;
  opacity: 0.7;
  transition: background-image 0.9s ease, opacity 0.9s ease;
}

.solutions-card:hover::before {
  background: url('../img/hover-state-after.svg') center/cover no-repeat;
  /* hover image */
  opacity: 0.75;
}


.solutions-card:hover {
  transform: translateY(-5px);
}

.dots-left,
.dots-right {
  position: absolute;
  z-index: 0;
  width: 300px;
  height: auto;
}

.dots-left {
  bottom: -40px;
  left: 0;
}

.dots-right {
  bottom: -40px;
  right: 0;
}

/**** RESULTS ****/
.results {
  background-color: var(--light-blue);
}

.results-list img.check-icon {
  width: 20px;
  margin-top: 10px;
  margin-right: 10px;
}

.technologies-used .technologies-used-section {
  background-color: #fff;
  border-radius: 10px;
  border: 1px solid #dbdbdb;
  padding: 40px 30px 40px;
}

.technologies-used .section-header h3 {
  color: #c5273c;
  font-size: 30px;
  font-weight: 600;
}

.technologies-used ul li {
  background: #fff4f4;
  padding: 10px;
  flex-flow: column;
  display: flex;
  ;
  justify-content: center;
  align-items: center;
  border: 11px solid #fff;
  border-radius: 20px;
}

.technologies-used ul li img {
  width: 130px !important;
}

.tech-list .technologies-used-section {
  padding: 40px;
}

.tech-list .technologies-used-section .last-section {
  padding-top: 30px;
}

.tech-list .technologies-used-section h3 {
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 24px;
}

.orange-head-text {
  color: #fe5b3e;
}

/**** MEDIA QUERIES ****/

@media (max-width: 767px) {
  * {
    font-size: var(--font-size-mobile-base);
  }

  .container {
    padding: 0 1.6rem;
  }

  .telliant-logo {
    width: 100% !important;
  }

  .max-ch-27 {
    margin: 0 auto;
    max-width: 27ch;
  }

  .hero-content {
    justify-content: center;
    /* min-height: 50vh; */
  }

  .stats-container h2 {
    font-weight: bold;
    font-size: 1.4rem;
  }

  .stats-container span {
    font-size: 0.9rem;
  }

  .solutions-card {
    height: 300px;
    padding: 20px;
  }

  .tech-list .technologies-used-section {
    padding: 40px;
  }

  .tech-list .technologies-used-section .last-section {
    padding-top: 30px;
  }

  .tech-list .technologies-used-section h3 {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 24px;
  }

  .technologies-used ul li {
    margin-bottom: 0px !important;
    padding-left: 0px !important;
  }

  .technologies-used ul li img {
    width: 80px !important;
  }

  .max-250 {
    max-width: 250ch;
    margin: 0 auto;
  }

}

@media screen and (max-width: 1024px) and (orientation: landscape) {
  .primary-btn {
    font-size: 0.8rem;
  }

  .telliant-logo {
    width: 110% !important;
  }

  .hero-content {
    font-size: 1.3rem;
  }

  .hero-content h1 {
    font-size: 1.3rem;
  }

  .stats-wrapper {
    margin-top: -40px;
    z-index: 2;
  }

  .solutions-card {
    height: 340px !important;
  }

  .card.challenges {
    height: 300px !important;

  }
}

@media screen and (max-width: 1180px) and (orientation: landscape) {
  .solutions-card {
    height: 350px !important;
  }

  .card.challenges {
    height: 320px !important;

  }

  .telliant-logo {
    width: 110% !important;
  }

}

@media screen and (min-width: 1280px) and (max-width: 1440px) {


  .hero-content h1 {
    font-size: 2rem !important;
  }
}
@media screen and (min-width: 1920px) and (max-width: 2000px) {
  .telliant-logo{
    width: 160% !important;
  }
}