/* HERO BACKGROUND */
.hero-section {
  background: linear-gradient(to right,rgba(8, 15, 40, 0.75),
                    rgba(12, 20, 46, 0.75)),
                url("../images/surface_finishing/hero-bg.png");
  padding: 80px 0;
  overflow: hidden;
}

/* Badge */
.iso-badge {
  background: rgba(0, 123, 255, 0.15);
  color: #4da3ff;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 14px;
  border: 1px solid rgba(77, 163, 255, 0.4);
}

/* Title */
.hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
}

.hero-title span {
  color: #0d6efd;
}

/* Text */
.hero-text {
  color: #cfd6e1;
  font-size: 18px;
  line-height: 1.7;
  max-width: 520px;
}

/* Feature List */
.feature-list div {
  color: #cfd6e1;
  font-size: 15px;
}

/* Image Card */
.image-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.image-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* Image Overlay */
.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  color: #fff;
}

.image-overlay small {
  color: #9fb4d8;
  display: block;
  font-size: 12px;
}

.image-overlay span {
  color: #4da3ff;
  font-weight: 600;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 991px) {
  .hero-section {
    padding: 60px 0;
  }

  .hero-text {
    max-width: 100%;
  }
}

/* ========================= HERO SECTION ENDS HERE ================================ */
/* ========================= SURFACE ENGINNERING STARTS  HERE ============================*/
/* ===== SURFACE SECTION ===== */
.surface-section {
    min-height: 30vh;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.surface-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(30, 123, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* Button */
.capability-btn {
    font-size: 14px;
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid #1e7bff;
    color: #1e7bff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.capability-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 123, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.capability-btn:hover {
    background: #1e7bff;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 123, 255, 0.3);
}

.capability-btn:hover::before {
    left: 100%;
}

/* Title */
.surface-title {
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #000409;
    text-shadow: 0 2px 5px rgba(30, 123, 255, 0.2);
}

/* Text */
.surface-text {
    max-width: 700px;
    margin: 0 auto;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #6c757d;
    line-height: 1.7;
}

/* Animation */
.animate-up {
    opacity: 0;
    transform: translateY(-40px);
    animation: slideDown 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-40px) scale(0.95);
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive tweaks */
@media (max-width: 992px) {
    .surface-section {
        min-height: 60vh;
        padding: 60px 0;
    }
    .surface-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .surface-section {
        min-height: 50vh;
        padding: 50px 0;
    }
    .surface-title {
        font-size: 2rem;
    }
    .surface-text {
        font-size: 1rem;
    }
    .capability-btn {
        padding: 8px 20px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .surface-section {
        padding: 40px 15px;
        min-height: 40vh;
    }
    .surface-title {
        font-size: 1.8rem;
        letter-spacing: 0.5px;
    }
    .surface-text {
        font-size: 0.95rem;
    }
}


/* ========================= SURFACE ENGINNERING ENDS  HERE ============================*/


/* ====================== cards section csss here ==================== */
/* Card Base */
.finishing-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  transition: all 0.35s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

/* Hover Effect */
.finishing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Image Wrapper */
.card-img-wrapper {
  position: relative;
  overflow: hidden;
}

.card-img-wrapper img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Image Zoom */
.finishing-card:hover img {
  transform: scale(1.1);
}

/* Badge */
.badge-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.8);
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
}

/* Body */
.card-body {
  padding: 18px;
}

.card-body h5 {
  font-weight: 700;
  margin-bottom: 10px;
}

.card-body p {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.6;
}

/* Tags */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}

.tag-list span {
  background: #f1f3f5;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
}

/* Link */
.spec-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #0d6efd;
}

.spec-link:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 576px) {
  .card-img-wrapper img {
    height: 180px;
  }
}

/* ====================== cards section csss ends here ==================== */

/* here start css of why chose us  */
/* SECTION */
.pf-section {
  background: radial-gradient(circle at top, #0b1d35, #020617);
  padding: 80px 0;
  color: #e5e7eb;
}

/* LEFT CONTENT */
.pf-left-content {
  animation: pf-slide-left 1s ease forwards;
}

.pf-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.pf-title span {
  color: #2563eb;
}

.pf-description {
  color: #9ca3af;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.pf-feature {
  gap: 15px;
  margin-bottom: 1.5rem;
}

.pf-feature h5 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.pf-feature p {
  font-size: 0.9rem;
  color: #9ca3af;
  margin: 0;
}

/* ICON */
.pf-icon {
  background: rgba(37, 99, 235, 0.15);
  color: #3b82f6;
  padding: 12px;
  border-radius: 12px;
  height: fit-content;
  font-size: 18px;
}

/* CARDS */
.pf-card-group {
  animation: pf-slide-right 1s ease forwards;
}

.pf-card {
  background: linear-gradient(145deg, #0f172a, #020617);
  border-radius: 18px;
  padding: 40px 15px;
  text-align: center;
  transition: all 0.35s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.pf-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(37, 99, 235, 0.4);
}

.pf-card h3 {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.pf-card span {
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: #9ca3af;
}

/* ANIMATIONS */
@keyframes pf-slide-left {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pf-slide-right {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .pf-title {
    font-size: 2rem;
  }

  .pf-section {
    padding: 60px 0;
  }
}

/* ===============consult css starts here ==================== */
.ms-cta-section {
  background: linear-gradient(135deg, #2f5be7 0%, #1e4fd8 50%, #0d6efd 100%);
  color: #ffffff;
  overflow: hidden;
  position: relative;
  padding: 80px 0;
  animation: floatSection 6s ease-in-out infinite; /* Subtle floating effect */
}

.ms-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

@keyframes floatSection {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Title animation */
.ms-cta-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(-30px);
  animation: fadeSlideDown 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Subtitle animation */
.ms-cta-subtitle {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.4s;
}

/* Button styling */
.ms-cta-btn {
  background: linear-gradient(135deg, #ffffff, #f1f4ff);
  color: #2f5be7;
  font-weight: 600;
  padding: 12px 40px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: scale(0.8);
  animation: popIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.8s;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ms-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(47, 91, 231, 0.2), transparent);
  transition: left 0.5s ease;
}

.ms-cta-btn:hover::before {
  left: 100%;
}

/* Button hover */
.ms-cta-btn:hover {
  background: linear-gradient(135deg, #f1f4ff, #ffffff);
  color: #1e4fd8;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive tweaks */
@media (max-width: 1200px) {
  .ms-cta-section {
    padding: 70px 0;
  }
  .ms-cta-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 992px) {
  .ms-cta-section {
    padding: 60px 0;
  }
  .ms-cta-title {
    font-size: 2.2rem;
  }
  .ms-cta-subtitle {
    font-size: 1rem;
  }
  .ms-cta-btn {
    padding: 14px 32px;
  }
}

@media (max-width: 768px) {
  .ms-cta-section {
    padding: 50px 0;
  }
  .ms-cta-title {
    font-size: 1.8rem;
  }
  .ms-cta-subtitle {
    font-size: 0.95rem;
    max-width: 90%;
  }
  .ms-cta-btn {
    padding: 12px 28px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .ms-cta-section {
    padding: 40px 0;
  }
  .ms-cta-title {
    font-size: 1.5rem;
    letter-spacing: 0.5px;
  }
  .ms-cta-subtitle {
    font-size: 0.9rem;
  }
  .ms-cta-btn {
    width: 100%;
    max-width: 280px;
    padding: 14px 20px;
  }
}
