/* Reset & Base */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f5f7;
  color: #2c2c2c;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Hero Section */
.heroContainer {
  padding: 100px 20px;
  text-align: center;
  background-color: #ffffff;
  background-image: url('/uploads/herobg.webp');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  animation: fadeInSection 1s ease-in-out;
}

.heroTitle {
  font-size: 48px;
  font-weight: 700;
  color: #007acc;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.heroSubtitle {
  font-size: 18px;
  font-weight: 300;
  color: #555;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.ctaButton {
  background-color: #ff6b6b;
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 18px;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.ctaButton:hover {
  background-color: #e85c5c;
  transform: scale(1.05);
}

/* Service Card Hover Effects */
.card {
  transition: transform 0.3s ease;
  border-radius: 20px;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid #ddd;
}

.card:hover {
  transform: scale(1.03);
  border-color: #007acc;
}

.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-bottom: 1px solid #ddd;
  display: block;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

textarea.is-valid {
  border-color: #28a745;
}

textarea.is-invalid {
  border-color: #dc3545;
}

/* Workflow Section */
.workflowContainer {
  padding: 80px 20px;
  background-color: #ffffff;
  border-radius: 20px;
}

.workflowTitle {
  font-size: 42px;
  font-weight: 700;
  color: #007acc;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-align: center;
}

.workflowIntro {
  font-size: 16px;
  font-weight: 300;
  color: #555;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.6;
  text-align: center;
}

.workflowStep {
  text-align: center;
  margin-bottom: 40px;
  animation: fadeInStep 0.8s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

.stepIcon {
  font-size: 36px;
  color: #007acc;
  margin-bottom: 12px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.stepIcon:hover {
  transform: scale(1.3);
  color: #2c2c2c;
}

.stepLabel {
  font-size: 14px;
  font-weight: 300;
  color: #666;
  padding: 0 10px;
}

/* Keyframe Animations */
@keyframes fadeInSection {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInStep {
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Grid */
@media (max-width: 768px) {
  .heroTitle {
    font-size: 36px;
  }
  .workflowStep {
    margin-bottom: 30px;
  }
}

/* Service Description & Important Points Image Fix */
.br20 {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  transition: transform 0.3s ease;
}

.br20:hover {
  transform: scale(1.03);
}

.imageBox {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #f4f5f7;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fullFitImage {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 20px;
}

/* Floating Actions */
.floatingActions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
  animation: fadeInFloat 0.8s ease-out;
}

.floatingBtn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #007acc;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: transform 0.3s ease;
  text-decoration: none;
  position: relative;
}

.floatingBtn:hover {
  transform: scale(1.15);
}

.floatingBtn::after {
  content: attr(title);
  position: absolute;
  right: 65px;
  background-color: #ffffff;
  color: #2c2c2c;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.floatingBtn:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.callBtn {
  background-color: #ff6b6b;
}

.whatsappBtn {
  background-color: #25d366;
}

@keyframes fadeInFloat {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}