body {
  font-family: "Segoe UI", sans-serif;
}

section {
  scroll-margin-top: 70px;
}

#brands .card img {
  height: 200px;
  object-fit: cover;
}

footer {
  margin-top: 40px;
}

.service-img {
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #ddd;
}

.hover-shadow:hover {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
  transform: scale(1.02);
  transition: all 0.3s ease-in-out;
}

.flip-card {
  background-color: transparent;
  width: 100%;
  height: 350px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;  /* aligns content to top */
  padding: 0;                   /* remove extra spacing */
  margin: 0;                    /* ensure no margin */
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);  
}

.flip-card-front h5 {
  margin-top: 0.5rem;
}

.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.flip-card-front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.flip-card-back {
  transform: rotateY(180deg);
  padding: 1rem;
  text-align: left;
  overflow-y: auto;
  background-color: #f8f9fa;
}

.flip-card-back ul {
  padding-left: 20px;
}

.flip-card-back li {
  margin-bottom: 8px;
}

.service-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.flip-card {
  cursor: pointer;
}


.founder-section {
  background-color: #f9f9f9;
  padding: 60px 0;
}

.founder-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.founder-img-container {
  flex: 1 1 300px;
  max-width: 350px;
  height: 350px;
  background-color: #f1eee9;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.founder-img-container img {
  width: 100%;
  border-radius: 8px;
}

.founder-info {
  flex: 2;
  padding: 30px;
}

.founder-info h2 {
  font-weight: 700;
}

.founder-info p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.founder-name {
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 20px;
}

.linkedin-icon {
  font-size: 1.2rem;
  color: #0a66c2;
  margin-left: 10px;
}

@media (max-width: 768px) {
  .founder-card {
    flex-direction: column;
  }

  .founder-info {
    padding: 20px;
  }
}


