body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #fff;
  color: #ffffff;
}
body.training-page .header{

  background:#fff;
  box-shadow: 0 .2rem .5rem rgba(0,0,0,.4);
}
body.training-page .header.active{
  background:#fff;
  box-shadow: 0 .2rem .5rem rgba(0,0,0,.4);
  color:#ff751f
}
.services {
  padding: 24px 60px;
  text-align: center;
}

.services h1 {
  font-size: 42px;
  margin-bottom: 12px;
  color:#ff751f;
}

.services p.subtitle {
  color: #ff751f;
  max-width: 800px;
  margin: 0 auto 20px;
  font-size: 18px;
}

.grids {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.cards {
  perspective: 1000px;
  height: 500px;
  cursor: pointer;
  background: #cc3d0b;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid transparent;   /* 👈 Add this */
  transition: all 0.4s ease; 
}
.cards:hover {
  cursor: pointer;
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid #cc3d0b ;/* Purple highlight */
  box-shadow: 0 0 20px rgba(204, 61, 11, 0.6);
}

.cards-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s ease;
}

.cards.flip .cards-inner {
  transform: rotateY(180deg);
}

.cards-face {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  background: #cc3d0b;
  padding: 28px;
  box-sizing: border-box;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.cards-face h3 {
  margin: 0 0 14px;
  font-size: 20px;
}

.cards-face p,
.cards-face li {
  color: #ffe9dd;
  font-size: 15px;
  line-height: 1.6;
}

.cards-face ul {
  padding-left: 18px;
  margin: 0;
}

.cards-face li {
  font-size: 14px;
  margin-bottom: 8px;
}

.learns,
.back-btns {
  color: #ffe9dd;
  cursor: pointer;
  font-size: 14px;
}

.learns {
  text-align: right;
}

.cards-back {
  transform: rotateY(180deg);
}

.cards-back .back-btns {
  margin-top: auto;
  text-align: center;
  background: #cc3d0b;
  padding-top: 6px;
}

@media (max-width: 1100px) {
  .grids {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grids {
    grid-template-columns: 1fr;
  }

 /* .cards {
    height: 500px;
  }

  .cards-face {
    padding: 20px;
  }

  .cards-face h3 {
    font-size: 18px;
    margin: 0 0 10px;
  }

  .cards-face p,
  .cards-face li {
    font-size: 13px;
    line-height: 1.45;
  }

  .cards-face li {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .learns,
  .back-btns {
    font-size: 12px;
  }*/
}

#Consultancy {
  padding-bottom: 0px;
}

#Training {
  padding-top: 0px;
}

