/* =========================================
   PRESTIGE SERVICES - DESKTOP 
========================================= */

.services-scroll-section {
  min-height: 100vh;
  height: 100vh; /* Force exact viewport height */
  width: 100%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 40px; /* Balanced top padding */
  padding-bottom: 40px; /* Balanced bottom padding */
  box-sizing: border-box;
  overflow: hidden;
}

.services-wrapper {
  max-width: 1400px; /* Kept wide enough for text to sit nicely */
  width: 100%;
  padding: 0 20px;
  transform: translateY(30px);
}

.services-header-box {
  margin-bottom: 25px !important; /* Reduced space below title */
}

.section-tag-gold {
  gap: 12px;
  font-family: "Lato", sans-serif;
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #888;
}

.dot-gold {
  width: 8px;
  height: 8px;
  background: #d4af37;
  border-radius: 50%;
}

.services-main-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 45px);
  line-height: 1.1;
  color: #0c1c35;
  font-weight: 600;
}

.blue-accent {
  color: #0056b3;
}

/* Force exactly 3 columns per row using CSS Grid */
.services-convergence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px !important; /* Perfect middle-ground gap */
  margin: 0;
  padding: 0;
}

/* Remove Bootstrap column widths that conflict with CSS Grid */
.services-convergence-grid > div {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  padding: 0 !important;
}

/* Elegant Card Styling - Reduced padding to fix excessive gaps */
.service-box {
  background: #ffffff;
  padding: 22px 25px 28px 25px; /* Sweet spot padding */
  height: 100%;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  box-shadow:
    0 10px 25px rgba(12, 28, 53, 0.1),
    0 2px 6px rgba(12, 28, 53, 0.06);
  transition:
    box-shadow 0.4s ease,
    transform 0.4s ease;
  opacity: 0;
  border: 1px solid #e5e7eb;
}

.service-box:hover {
  box-shadow:
    0 16px 40px rgba(12, 28, 53, 0.14),
    0 4px 10px rgba(12, 28, 53, 0.08);
  transform: translateY(-4px);
}

.service-idx {
  font-family: "Playfair Display", serif;
  font-size: 14px;
  font-weight: 700;
  color: #d4af37;
  margin-bottom: 6px; /* Tighter gap */
}

.service-box h4 {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  color: #0c1c35;
  margin-bottom: 10px; /* Tighter gap */
  line-height: 1.2;
}

.service-box p {
  font-family: "Lato", sans-serif;
  font-size: 14px;
  color: #555;
  line-height: 1.5; /* Balanced line height */
  margin: 0;
  margin-bottom: 15px; /* Clear but reduced space before the view more link */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* View More Link Styling */
.view-more-link {
  display: inline-block;
  font-family: "Lato", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #0056b3;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  margin-top: auto !important; /* Pushes the link to the bottom evenly */
  margin-bottom: 0px;
}

.view-more-link i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.view-more-link:hover {
  color: #d4af37;
}

.view-more-link:hover i {
  transform: translateX(5px);
}

.service-accent {
  position: absolute;
  bottom: 0;
  left: 25px; /* Matches the new 25px internal padding */
  width: 45px;
  height: 4px;
  background: #d4af37;
  border-radius: 2px 2px 0 0;
}

/* =========================================
 MOBILE SERVICES SECTION - FINAL POLISHED
========================================= */

@media screen and (max-width: 991px) {

.services-scroll-section {
  height: 85vh;
  min-height: 85vh;

  /* Balanced spacing */
  padding: 40px 0;

  display: flex;
  flex-direction: column;

  /* 🔥 PERFECT CENTER ALIGNMENT */
  justify-content: center;
  align-items: center;

  overflow: hidden;
}

.services-wrapper {
  width: 100%;
  padding: 0 !important;

  /* 🔥 ENSURES PROPER VERTICAL BALANCE */
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

/* HEADER */
.services-header-box {
  margin-bottom: 15px !important;
  padding: 0 15px;
  text-align: center;
}

.section-tag-gold {
  justify-content: center;
}

/* 🔥 MATCH ABOUT SECTION HEADING */
.services-main-title {
  font-size: 24px !important;
  line-height: 1.2;
  text-align: center;
}

/* SLIDER */
.services-convergence-grid {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  width: 100%;
  padding: 0 !important;
  gap: 0 !important;
}

.services-convergence-grid > div {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  padding: 0 15px !important;
  box-sizing: border-box;
}

/* CARD */
.service-box {
  opacity: 1 !important;
  transform: none !important;
  height: 100%;

  padding: 28px 22px 32px 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;

  box-shadow: 0 8px 18px rgba(12, 28, 53, 0.1);
}

.service-box h4 {
  font-size: 20px;
  margin-bottom: 10px;
  font-family: "Playfair Display", serif;
}

.service-box p {
  font-size: 14px;
  line-height: 1.5;

  -webkit-line-clamp: 4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.view-more-link {
  font-size: 13px;
  margin-top: 18px !important;
}

.service-accent {
  left: 22px;
}

/* CONTROLS */
.mobile-service-controls {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.service-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #d4af37;
  background: white;
  color: #0c1c35;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-nav-btn:hover {
  background: #0c1c35;
  color: white;
  transform: scale(1.05);
}
}