.services-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

.services-section h2 {
  font-family: DM Sans, sans-serif;
  font-size: 2.5rem;
  color: #031b4e;
  margin-bottom: 10px;
}

.services-section .subtitle {
  max-width: 600px;
  margin: 0 auto 40px;
  color: #aaa;
}

/*.services-grid {*/
/*  display: grid;*/
/*  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));*/
/*  gap: 30px;*/
/*}*/

.service-card {
  background: white;
  border-radius: 12px; /* Slightly rounded corners for a modern feel */
 padding: 20px 20px; /* Adjusted padding for more space inside the card */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Light shadow for depth */
  transition: transform 0.3s ease;
  max-width: 280px; /* Increased width for more space */
  margin: 0 auto; /* Centers the card */
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 60px; /* Slightly larger image size */
  margin-bottom: 18px; /* Adjusted margin for better spacing */
}

.service-card h3 {
  font-family: DM Sans, sans-serif;
  font-size: 1.1rem; /* Slightly larger font for headings */
  color: #222;
  margin-bottom: 8px; /* Slightly reduced margin */
}

.service-card p {
  font-size: 0.9rem; /* Slightly increased paragraph font size */
  color: #777;
}

.service-card img {
  display: block;
  margin: 0 auto 20px;
  width: 60px;
}

.sclineheight
{
    line-height:25px;
}

.flip-card {
    background-color: transparent;
    width: 100%;
    height: 250px;
    perspective: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden; /* Prevent content spill */
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    border-radius: 10px;
    overflow: hidden;
    box-sizing: border-box;
    padding: 20px; /* Ensures text doesn't touch edges */
}

.flip-card {
  background-color: transparent;
  width: 100%;
  height: 250px;
  perspective: 1000px;
  position: relative;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.flip-card-front {
  background-color: #3498db;
  z-index: 2;
  overflow: hidden;
}

.flip-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  z-index: 1;
}

.flip-text {
  position: relative;
  z-index: 2;
  font-weight: bold;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.flip-card-back {
  background-color: white;
  color: #031b4e;
  transform: rotateY(180deg);
  z-index: 1;
  border: 2px solid #007aff;
  line-height: 1.5;
}


.bootstrap-advantages-container {
  max-width: 1000px;
  margin: 80px auto;
  text-align: center;
  position: relative;
}

.title-card {
  background: white;
  display: inline-block;
  padding: 10px 30px;
  border-radius: 10px;
  font-size: 28px;
  color: #031b4e;
  font-weight: 500;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
  position: relative;
  z-index: 2;
}

.advantages {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  flex-wrap: wrap;
  position: relative;
}

[class^="advantage-"] {
  width: 18%;
  position: relative;
}

.circle {
  width: 100px;
  height: 100px;
  background-color: #007aff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  z-index: 2;
  position: relative;
}

.circle img {
  width: 50%;
  height: auto;
  filter: brightness(0) invert(1);
}

[class^="advantage-"] p {
  margin-top: 20px;
  font-size: 16px;
  color: #333;
}

.line {
  width: 2px;
  height: 100px;
  background-color: #8a4fc4;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.advantage-responsive .line,
.advantage-time .line,
.advantage-cross .line {
  margin-bottom: 15px;
}

.advantage-docs,
.advantage-aesthetic {
  margin-top: 80px;
}

/* Optional: nice spacing on small screens */
@media screen and (max-width: 768px) {
  .advantages {
    flex-direction: column;
    align-items: center;
  }
  [class^="advantage-"] {
    width: 80%;
    margin-bottom: 40px;
  }
}


.main-container {
  display: flex;
  padding: 60px 80px;
  gap: 60px;
  align-items: flex-start;
}

.left {
  flex: 1;
  max-width: 480px;
}

.about {
  letter-spacing: 2px;
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
}

.title {
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 20px;
  line-height: 1.3;
  color: #111;
}

.desc {
  font-size: 15px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 30px;
}

.learn-more {
  background-color: #527af2;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.right {
  display: grid;
  grid-template-columns: repeat(2, 220px);
  grid-template-rows: repeat(2, auto);
  gap: 20px 40px;
}

.info-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.icon img {
  width: 20px;
  height: 20px;
}



.info-card p {
  font-size: 13px;
  color: #666;
  margin: 0;
}

.blue {
  background-color: #527af2;
}

.green {
  background-color: #3cc269;
}

.pink {
  background-color: #e84a71;
}

.purple {
  background-color: #8d4aec;
}

.card1 { transform: translateY(20px); }
.card2 { transform: translateY(-20px); }
.card3 { transform: translateY(20px); }
.card4 { transform: translateY(-20px); }