:root {
  --bg-navy: #050C1A;
  --bg-navy-light: #0A1428;
  --accent-red: #e0002b;
  --accent-red-hover: #c40026;
  --text-light: #F8F9FA;
  --text-muted: #A0AEC0;
  --card-bg-white: #FFFFFF;
  --text-dark: #0A1428;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-navy);
  color: var(--text-light);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Glassmorphic Navbar */
.navbar {
  background: rgba(5, 12, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-smooth);
}

.nav-link {
  font-weight: 500;
  color: var(--text-light) !important;
  position: relative;
  padding: 0.5rem 1rem;
  transition: var(--transition-smooth);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 10%;
  background-color: var(--accent-red);
  transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.nav-link:hover {
  color: var(--accent-red) !important;
}

/* Buttons Style */
.btn-danger-custom {
  background-color: var(--accent-red);
  border: 1px solid var(--accent-red);
  color: white;
  font-weight: 600;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(224, 0, 43, 0.3);
}

.btn-danger-custom:hover {
  background-color: var(--accent-red-hover);
  border-color: var(--accent-red-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 0, 43, 0.5);
}

.btn-outline-custom {
  color: var(--text-light);
  border: 2px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
  transition: var(--transition-smooth);
}

.btn-outline-custom:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--text-light);
  color: var(--text-light);
  transform: translateY(-2px);
}

/* Animations */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Hero Styling */
.hero-section {
  padding-top: 170px;
  padding-bottom: 90px;
  position: relative;
  background: linear-gradient(135deg, rgba(12, 35, 66, 0.92) 0%, rgba(12, 35, 66, 0.80) 50%, rgba(12, 35, 66, 0.94) 100%), url('../notary-hero-bg.jpg') center center / cover no-repeat;
  overflow: hidden;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(224, 0, 43, 0.12) 0%, rgba(5, 12, 26, 0) 70%);
  top: 10%;
  right: 5%;
  z-index: 1;
  pointer-events: none;
}

/* Stats Bar Custom */
.stats-bar-wrapper {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.75rem 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.stats-bar-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--accent-red);
}

.stat-item {
  position: relative;
  padding: 0.5rem 1.25rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Subtle white border between stat blocks */
.stat-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

/* First and last stat blocks are slightly faded */
.stat-item:first-child,
.stat-item:last-child {
  opacity: 0.6;
}

.stat-item:first-child:hover,
.stat-item:last-child:hover {
  opacity: 1;
}

.stat-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 12px;
  background: rgba(224, 0, 43, 0.1);
  color: var(--accent-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  border: 1px solid rgba(224, 0, 43, 0.2);
  transition: var(--transition-smooth);
}

.stat-item:hover .stat-icon {
  background: var(--accent-red);
  color: #ffffff;
  transform: scale(1.05);
}

.stat-number {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--accent-red);
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .stat-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
  }
}

/* Section Spacing & Titles */
.section-padding {
  padding: 100px 0;
}

.section-title-tag {
  color: var(--accent-red);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

/* About Section */
#about {
  background-color: #ffffff !important;
  color: #1a202c;
}

#about .section-title {
  color: #0A1428 !important;
}

#about p.about-desc,
#about p.text-muted {
  color: #4b5563 !important;
  line-height: 1.8;
}

.about-image-wrapper {
  position: relative;
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid var(--accent-red);
  border-radius: var(--bs-border-radius-lg);
  top: 20px;
  left: -20px;
  z-index: -1;
  transition: var(--transition-smooth);
}

.about-image-wrapper:hover::after {
  top: 10px;
  left: -10px;
}

/* About Feature Box (Light Gray Border & Rich Aesthetics) */
.about-feature-box {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1rem 1.15rem;
  transition: var(--transition-smooth);
  height: 100%;
}

.about-feature-box:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(224, 0, 43, 0.08);
  color: var(--accent-red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.about-feature-box:hover .about-feature-icon {
  background: var(--accent-red);
  color: #ffffff;
}

.about-feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0A1428;
  margin-bottom: 2px;
}

.about-feature-desc {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.4;
  margin-bottom: 0;
}

/* Notary Services Section & Red Cards */
#notary-services {
  background-color: #ffffff !important;
  color: #1a202c;
}

#notary-services .section-title {
  color: #0A1428 !important;
}

.notary-service-card {
  background: linear-gradient(145deg, #f51d45 0%, #e0002b 45%, #8c001b 100%);
  color: #ffffff;
  border-radius: 22px;
  padding: 2.75rem 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  transition: var(--transition-smooth);
  box-shadow: 0 12px 35px rgba(224, 0, 43, 0.28);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.notary-service-card:hover {
  background: linear-gradient(145deg, #ff2e55 0%, #e0002b 45%, #780017 100%);
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(224, 0, 43, 0.45);
}

.notary-service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 1.5rem;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
}

.notary-service-card:hover .notary-service-icon {
  background: #ffffff;
  color: var(--accent-red);
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.notary-service-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.notary-card-line {
  width: 36px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 2px;
  margin: 0 auto 1.25rem auto;
  transition: width 0.3s ease;
}

.notary-service-card:hover .notary-card-line {
  width: 60px;
}

.notary-service-desc {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notary-card-btn {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  padding: 0.6rem 1.6rem;
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 50px;
  margin: 0 auto;
  transition: var(--transition-smooth);
}

.notary-card-btn:hover {
  background: #ffffff;
  color: var(--accent-red);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.notary-card-btn i {
  transition: transform 0.3s ease;
}

.notary-card-btn:hover i {
  transform: translateX(4px);
}

/* ==========================================================================
   POA Services Dual Sliders (For Business & For Individual)
   ========================================================================== */
#notary-services {
  background-color: #ffffff !important;
  color: #1a202c;
  overflow: hidden;
  position: relative;
}

#notary-services .container {
  position: relative;
  overflow: visible;
}

.poa-slider-block {
  position: relative;
  width: 100%;
}

.poa-slider-block+.poa-slider-block {
  margin-top: 4.5rem;
  padding-top: 3.5rem;
  border-top: 1px dashed #e2e8f0;
}

.poa-slider-badge-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2.25rem;
}

.poa-slider-badge {
  background-color: #ffffff !important;
  color: var(--accent-red) !important;
  border: 2px solid var(--accent-red) !important;
  padding: 0.75rem 2.8rem;
  font-weight: 800;
  font-size: 1.15rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 20px rgba(224, 0, 43, 0.12);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
}

.poa-slider-badge:hover {
  background-color: var(--accent-red) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 25px rgba(224, 0, 43, 0.35);
  transform: translateY(-2px);
}

.poa-slider-wrapper {
  position: relative;
  width: 100%;
  padding: 0;
}

/* Swiper Viewport with shadow breathing room */
.poa-business-swiper,
.poa-individual-swiper {
  width: 100%;
  padding: 20px 6px 30px 6px !important;
  margin: -20px -6px -30px -6px !important;
  overflow: hidden !important;
}

/* Ensure swiper slides stretch full height */
.poa-business-swiper .swiper-slide,
.poa-individual-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.poa-business-swiper .swiper-slide .notary-service-card,
.poa-individual-swiper .swiper-slide .notary-service-card {
  width: 100%;
  height: 100%;
  min-height: 390px;
  margin-bottom: 0;
}

.poa-business-swiper .swiper-slide .notary-service-title,
.poa-individual-swiper .swiper-slide .notary-service-title {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.poa-business-swiper .swiper-slide .notary-service-desc,
.poa-individual-swiper .swiper-slide .notary-service-desc {
  min-height: 48px;
  margin-bottom: 1.75rem;
}

/* Overlapping Left and Right Arrows (Halfway on card, halfway outside) */
.poa-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  width: 52px;
  height: 52px;
  background-color: #ffffff !important;
  color: var(--accent-red) !important;
  border: 2px solid rgba(224, 0, 43, 0.25) !important;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16), 0 2px 6px rgba(224, 0, 43, 0.12);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  pointer-events: auto;
}

.poa-slider-arrow.poa-slider-prev {
  left: -26px;
}

.poa-slider-arrow.poa-slider-next {
  right: -26px;
}

.poa-slider-arrow:hover {
  background-color: var(--accent-red) !important;
  color: #ffffff !important;
  border-color: var(--accent-red) !important;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 12px 30px rgba(224, 0, 43, 0.45);
}

.poa-slider-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.poa-slider-arrow.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .poa-slider-arrow.poa-slider-prev {
    left: -16px;
  }

  .poa-slider-arrow.poa-slider-next {
    right: -16px;
  }
}

@media (max-width: 575.98px) {
  .poa-slider-badge {
    padding: 0.6rem 2rem;
    font-size: 1rem;
  }

  .poa-slider-arrow {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }

  .poa-slider-arrow.poa-slider-prev {
    left: -8px;
  }

  .poa-slider-arrow.poa-slider-next {
    right: -8px;
  }
}

/* Services Section Styling */
#services {
  background: linear-gradient(135deg, #0c2342 0%, #081a33 50%, #040c1a 100%);
  position: relative;
}

/* Notary 3-Column Services Cards */
.notary-service-grid-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.notary-service-grid-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(224, 0, 43, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.notary-service-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  /* White glow shadow downwards */
  box-shadow: 0 14px 28px rgba(255, 255, 255, 0.14), 0 6px 15px rgba(0, 0, 0, 0.3);
}

.notary-service-grid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.notary-service-grid-card:hover .notary-service-grid-img {
  transform: scale(1.06);
}

.notary-service-grid-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  text-align: left;
  margin-bottom: 1.2rem;
  line-height: 1.35;
}

.notary-service-grid-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  text-align: left;
}

.notary-service-grid-list li {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.notary-service-grid-list li i {
  color: var(--accent-red);
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.notary-service-grid-card:hover .notary-service-grid-list li i {
  transform: translateX(3px);
}

.notary-service-card-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1.25rem;
  width: 100%;
}

.notary-service-readmore-btn {
  background-color: var(--accent-red);
  border: 1px solid var(--accent-red);
  color: #ffffff;
  padding: 0.65rem 1.6rem;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  width: 100%;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(224, 0, 43, 0.3);
}

.notary-service-readmore-btn:hover {
  background-color: var(--accent-red-hover);
  border-color: var(--accent-red-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 0, 43, 0.5);
}

.notary-service-readmore-btn i {
  transition: transform 0.3s ease;
}

.notary-service-readmore-btn:hover i {
  transform: translateX(4px);
}

/* Notary Accordion Section Styling */
#notary-details {
  background-color: #ffffff !important;
  color: #1a202c;
}

#notary-details .section-title {
  color: #0A1428 !important;
}

.notary-accordion .accordion-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px !important;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.notary-accordion .accordion-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.notary-accordion .accordion-button {
  background-color: #ffffff;
  color: #0A1428;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1.25rem 1.5rem;
  box-shadow: none !important;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.notary-accordion .accordion-button:not(.collapsed) {
  background-color: #f8fafc;
  color: #0A1428;
  border-bottom: 1px solid #f1f5f9;
}

/* Plus and Minus toggle styling */
.notary-accordion .accordion-button::after {
  content: '+';
  background-image: none !important;
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
  color: #0A1428;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: none !important;
  transition: var(--transition-smooth);
}

.notary-accordion .accordion-button:not(.collapsed)::after {
  content: '−';
  background-color: var(--accent-red);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(224, 0, 43, 0.3);
}

.notary-acc-num {
  color: var(--accent-red);
  font-weight: 800;
  font-size: 1.15rem;
  margin-right: 14px;
  flex-shrink: 0;
}

.notary-acc-title {
  color: #0A1428;
  font-weight: 700;
  flex-grow: 1;
  text-align: left;
}

.notary-accordion .accordion-body {
  color: #4b5563;
  line-height: 1.75;
  font-size: 0.95rem;
  padding: 1.25rem 1.75rem 1.5rem 3.5rem;
  background-color: #ffffff;
}

@media (max-width: 768px) {
  .notary-accordion .accordion-body {
    padding-left: 1.5rem;
  }
}

/* Notary Government Authorities & Judicial Partners Section */
#notary-authorities {
  background: linear-gradient(135deg, rgba(12, 35, 66, 0.94) 0%, rgba(12, 35, 66, 0.85) 50%, rgba(10, 20, 40, 0.96) 100%), url('../notary-hero-bg.jpg') center center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.notary-gov-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.08), 0 4px 15px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

.notary-gov-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(255, 255, 255, 0.16), 0 8px 25px rgba(0, 0, 0, 0.4);
}

.notary-gov-logo-box {
  width: 90px;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: var(--transition-smooth);
}

.notary-gov-card:hover .notary-gov-logo-box {
  transform: scale(1.08);
}

.notary-gov-line {
  width: 36px;
  height: 3px;
  background-color: var(--accent-red);
  border-radius: 2px;
  margin: 0 auto 1.15rem auto;
  transition: width 0.3s ease;
}

.notary-gov-card:hover .notary-gov-line {
  width: 55px;
}

.notary-gov-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.notary-gov-desc {
  color: #e2e8f0;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
  opacity: 0.95;
}

/* ==========================================================================
   Notary Certified Stamped Documents Section (2x2 Grid)
   ========================================================================== */
#notary-certified-docs {
  background-color: #ffffff !important;
  position: relative;
}

.notary-doc-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.notary-doc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--accent-red);
  transition: height 0.35s ease;
  border-radius: 20px 0 0 20px;
}

.notary-doc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(224, 0, 43, 0.25);
  box-shadow: 0 18px 45px rgba(224, 0, 43, 0.08), 0 6px 18px rgba(0, 0, 0, 0.04);
}

.notary-doc-card:hover::before {
  height: 100%;
}

.notary-doc-card-left {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.notary-doc-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(224, 0, 43, 0.08);
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.15rem;
  transition: all 0.35s ease;
}

.notary-doc-card:hover .notary-doc-card-icon {
  background: var(--accent-red);
  color: #ffffff;
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 8px 20px rgba(224, 0, 43, 0.3);
}

.notary-doc-card-title {
  color: #0A1428;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0;
  letter-spacing: -0.01em;
}

.notary-doc-card-line {
  width: 42px;
  height: 3px;
  background-color: var(--accent-red);
  border-radius: 2px;
  margin: 0.85rem 0 1rem 0;
  transition: width 0.35s ease;
}

.notary-doc-card:hover .notary-doc-card-line {
  width: 65px;
}

.notary-doc-card-desc {
  color: #374151;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Right Side - Stamped Document Graphic */
.notary-doc-card-right {
  flex: 0 0 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease;
}

.notary-doc-card:hover .notary-doc-card-right {
  transform: scale(1.04) rotate(1.5deg);
}

.notary-doc-svg-wrapper {
  width: 140px;
  filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.1));
  transition: filter 0.35s ease;
}

.notary-doc-card:hover .notary-doc-svg-wrapper {
  filter: drop-shadow(0 16px 30px rgba(224, 0, 43, 0.15));
}

@media (max-width: 576px) {
  .notary-doc-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .notary-doc-card-right {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }
}

/* ==========================================================================
   Notary About 5-Row Vertical List Section
   ========================================================================== */
#notary-about-features {
  background-color: #ffffff !important;
  position: relative;
}

.notary-about-rows-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 1080px;
  margin: 0 auto;
}

.notary-about-row-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.6rem 2.2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
}

.notary-about-row-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--accent-red);
  transition: height 0.35s ease;
  border-radius: 18px 0 0 18px;
}

.notary-about-row-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(224, 0, 43, 0.05);
  transform: translateY(-3px) translateX(4px);
}

.notary-about-row-item:hover::before {
  height: 100%;
}

.notary-about-num {
  font-size: 1.85rem;
  font-weight: 900;
  color: #94a3b8;
  font-family: 'Inter', sans-serif;
  min-width: 48px;
  flex-shrink: 0;
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color 0.35s ease;
}

.notary-about-row-item:hover .notary-about-num {
  color: var(--accent-red);
}

.notary-about-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #f1f5f9;
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: all 0.35s ease;
  border: 1px solid #e2e8f0;
}

.notary-about-row-item:hover .notary-about-icon-circle {
  background-color: var(--accent-red);
  color: #ffffff;
  border-color: var(--accent-red);
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(224, 0, 43, 0.28);
}

.notary-about-content {
  flex: 1 1 auto;
  text-align: left;
}

.notary-about-title {
  color: #0A1428;
  font-size: 1.22rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  line-height: 1.35;
  transition: color 0.3s ease;
}

.notary-about-desc {
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .notary-about-row-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
  }
}

/* Services Slider Styling (Full-Height Background Image with Red Hover Border) */
.services-swiper {
  width: 100%;
  overflow: hidden;
  padding: 10px 4px 45px 4px;
}

.service-slide {
  position: relative;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.service-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.service-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(5, 12, 26, 0.15) 0%, rgba(5, 12, 26, 0.55) 45%, rgba(5, 12, 26, 0.95) 100%);
  z-index: 2;
  transition: var(--transition-smooth);
}

.service-slide-content {
  position: relative;
  z-index: 3;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-slide-badge {
  display: inline-block;
  background: rgba(224, 0, 43, 0.2);
  color: var(--accent-red);
  border: 1px solid rgba(224, 0, 43, 0.3);
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.service-slide-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.service-slide-desc {
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 0.55rem 1.35rem;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.service-slide-btn i {
  transition: transform 0.3s ease;
}

/* Red border on hover - Exactly as requested! */
.service-slide:hover {
  border-color: var(--accent-red) !important;
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(224, 0, 43, 0.3);
}

.service-slide:hover .service-slide-bg {
  transform: scale(1.08);
}

.service-slide:hover .service-slide-overlay {
  background: linear-gradient(180deg, rgba(5, 12, 26, 0.1) 0%, rgba(5, 12, 26, 0.45) 45%, rgba(5, 12, 26, 0.92) 100%);
}

.service-slide:hover .service-slide-btn {
  background-color: var(--accent-red);
  border-color: var(--accent-red);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(224, 0, 43, 0.4);
}

.service-slide:hover .service-slide-btn i {
  transform: translateX(4px);
}

/* Slider Nav Buttons & Pagination */
.services-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.services-nav-btn:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(224, 0, 43, 0.35);
}

.services-pagination .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.3);
  width: 10px;
  height: 10px;
  opacity: 1;
  transition: var(--transition-smooth);
}

.services-pagination .swiper-pagination-bullet-active {
  background: var(--accent-red);
  width: 28px;
  border-radius: 10px;
}

/* Why Choose Us Section (#whyus) - White Theme & Styled Blocks */
#whyus {
  background-color: #ffffff !important;
  color: #1a202c;
}

#whyus .section-title {
  color: #0A1428 !important;
}

#whyus p.text-muted {
  color: #4b5563 !important;
}

.whyus-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.whyus-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--accent-red);
  transition: width 0.35s ease;
}

.whyus-card:hover {
  border-color: rgba(224, 0, 43, 0.3);
  box-shadow: 0 16px 35px rgba(224, 0, 43, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  transform: translateY(-6px);
}

.whyus-card:hover::before {
  width: 100%;
}

.whyus-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(224, 0, 43, 0.08);
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
  transition: all 0.35s ease;
}

.whyus-card:hover .whyus-icon-box {
  background: var(--accent-red);
  color: #ffffff;
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 6px 16px rgba(224, 0, 43, 0.3);
}

.whyus-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: #0A1428;
  margin-bottom: 0;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.whyus-title-line {
  width: 36px;
  height: 3px;
  background-color: var(--accent-red);
  border-radius: 2px;
  margin-bottom: 1rem;
  transition: width 0.35s ease;
}

.whyus-card:hover .whyus-title-line {
  width: 60px;
}

.whyus-desc {
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Our Progress Section (#progress) */
#progress {
  background-color: #ffffff !important;
  color: #1a202c;
}

#progress .section-title {
  color: #0A1428 !important;
}

/* Progress Section (4 Inline Minimal Steps with Dotted Connectors) */
#progress {
  background-color: #ffffff !important;
  color: #1a202c;
}

#progress .section-title {
  color: #0A1428 !important;
}

.progress-section-subtitle {
  max-width: 700px;
  color: #4b5563 !important;
  font-size: 1.1rem;
  line-height: 1.75;
}

.notary-progress-wrapper {
  position: relative;
  padding: 25px 0 10px 0;
}

.notary-step-col {
  position: relative;
}

/* Dotted Connector with Centered Red Arrow (Desktop) */
.notary-step-connector {
  position: absolute;
  top: 45px;
  /* Aligned with center of the 90px icon circle */
  left: calc(50% + 52px);
  width: calc(100% - 104px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.notary-dotted-line {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  border-top: 3px dotted var(--accent-red);
  opacity: 0.55;
  transform: translateY(-50%);
  transition: var(--transition-smooth);
}

.notary-connector-arrow {
  position: relative;
  z-index: 2;
  background: var(--accent-red);
  color: #ffffff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid #ffffff;
  box-shadow: 0 2px 8px rgba(224, 0, 43, 0.35);
  transition: var(--transition-smooth);
}

.notary-step-col:hover .notary-dotted-line {
  opacity: 1;
  border-top-color: var(--accent-red);
}

.notary-step-col:hover .notary-connector-arrow {
  transform: scale(1.18);
  background: #c40026;
  box-shadow: 0 4px 14px rgba(224, 0, 43, 0.5);
}

.notary-step-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.75rem 0.75rem;
  background: transparent;
  border: none !important;
  box-shadow: none !important;
  transition: var(--transition-smooth);
  width: 100%;
}

.notary-step-item:hover {
  transform: translateY(-6px);
}

/* Circular Icon Box */
.notary-step-icon-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(224, 0, 43, 0.07);
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.35rem;
  margin-bottom: 1.35rem;
  position: relative;
  z-index: 2;
  border: 2px solid rgba(224, 0, 43, 0.12);
  transition: var(--transition-smooth);
}

.notary-step-item:hover .notary-step-icon-circle {
  background: rgba(224, 0, 43, 0.14);
  border-color: var(--accent-red);
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(224, 0, 43, 0.18);
}

/* Number 01, 02, 03, 04 */
.notary-step-number {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--accent-red);
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  line-height: 1;
}

/* Title in Black */
.notary-step-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0A1428;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

/* Description in Black/Dark */
.notary-step-desc {
  color: #1e293b;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
  max-width: 320px;
}

/* High-contrast clarity for ALL text and paragraphs on dark backgrounds */
.hero-section p,
.hero-section .text-muted,
.hero-section .lead,
#services p,
#services .text-muted,
#contact p,
#contact .text-muted,
#contact label,
.contact-form-card p,
.contact-form-card .text-muted,
footer,
footer p,
footer .text-muted,
footer span,
footer li {
  color: #CBD5E1 !important;
}

.hero-section .lead,
.service-slide-desc {
  color: #E2E8F0 !important;
}

#contact .small.text-muted {
  color: #94A3B8 !important;
}

/* FAQ Section (White Background & Full-Width Custom Aesthetics) */
#faq {
  background-color: #ffffff !important;
  color: #1a202c;
  position: relative;
}

#faq .section-title {
  color: #0A1428 !important;
}

#faq .faq-subtitle {
  color: #4b5563 !important;
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* FAQ Tabs (Pills) */
#faq .nav-pills {
  gap: 10px;
  border: none;
}

#faq .nav-pills .nav-link {
  background: #f1f5f9;
  color: #475569 !important;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  padding: 0.65rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  position: relative;
}

#faq .nav-pills .nav-link::after {
  display: none !important;
}

#faq .nav-pills .nav-link:hover {
  background: #e2e8f0;
  color: #0A1428 !important;
  transform: translateY(-1px);
}

#faq .nav-pills .nav-link.active {
  background-color: var(--accent-red) !important;
  color: #ffffff !important;
  border-color: var(--accent-red) !important;
  box-shadow: 0 4px 15px rgba(224, 0, 43, 0.35);
  transform: translateY(-1px);
}

/* FAQ Accordion on White Background */
#faq .accordion {
  max-width: 1000px;
  margin: 0 auto;
}

#faq .accordion-item {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  margin-bottom: 1rem;
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
}

#faq .accordion-item:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

#faq .accordion-button {
  background-color: #ffffff !important;
  color: #0A1428 !important;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 1.25rem 1.5rem;
  box-shadow: none !important;
  border: none;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

#faq .accordion-button:not(.collapsed) {
  background-color: #fafafa !important;
  color: var(--accent-red) !important;
  border-bottom: 1px solid #f1f5f9;
}

#faq .accordion-button::after {
  filter: none !important;
}

/* Question Mark in Red Circle */
.faq-q-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: rgba(224, 0, 43, 0.08);
  color: var(--accent-red);
  border: 1.5px solid var(--accent-red);
  font-weight: 700;
  font-size: 0.95rem;
  margin-right: 14px;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

#faq .accordion-button:not(.collapsed) .faq-q-circle {
  background: var(--accent-red);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(224, 0, 43, 0.35);
}

#faq .accordion-body {
  color: #4b5563 !important;
  line-height: 1.7;
  font-size: 0.98rem;
  background-color: #ffffff !important;
  padding: 1.25rem 1.75rem 1.5rem 4.5rem;
}

@media (max-width: 768px) {
  #faq .accordion-body {
    padding-left: 1.5rem;
  }
}

/* Still Have Questions Box (Complementary Section under FAQ) */
.faq-still-box {
  max-width: 1000px;
  margin: 3.5rem auto 0;
  border: 2px solid var(--accent-red);
  background: linear-gradient(135deg, #FFF5F5 0%, #FFF9F9 100%);
  border-radius: 24px;
  padding: 3rem 2rem;
  box-shadow: 0 10px 30px rgba(224, 0, 43, 0.08);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.faq-still-box::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(224, 0, 43, 0.12) 0%, rgba(224, 0, 43, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.faq-still-title {
  color: #0A1428;
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.faq-still-desc {
  color: #4b5563 !important;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 2rem;
}

/* Form & Maps Styling */
.contact-form-card {
  background: linear-gradient(135deg, var(--bg-navy-light) 0%, rgba(10, 20, 40, 0.4) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.form-control,
.form-select {
  background-color: rgba(5, 12, 26, 0.6) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.15) !important;
  color: var(--text-light) !important;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  transition: var(--transition-smooth);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--accent-red) !important;
  box-shadow: 0 0 0 4px rgba(224, 0, 43, 0.15) !important;
}

.form-control::placeholder {
  color: #6B7280;
}

.map-container {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  height: 100%;
  min-height: 450px;
}

/* Footer Styling */
footer {
  background-color: #030710;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 80px 0 30px 0;
}

.footer-logo-text {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-light);
}

.footer-links-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-links-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 30px;
  height: 2px;
  background-color: var(--accent-red);
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
  display: block;
  margin-bottom: 0.75rem;
}

.footer-link:hover {
  color: var(--accent-red);
  transform: translateX(3px);
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-icon-btn:hover {
  background: var(--accent-red);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(224, 0, 43, 0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  margin-top: 50px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Attestation Page Specific Styles (Isolated)
   ========================================================================== */
.attestation-page #notary-services .container {
  max-width: 1440px;
}

.attestation-services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  width: 100%;
  margin-top: 1rem;
}

.attestation-page #notary-services .notary-service-card {
  background: linear-gradient(145deg, #f51d45 0%, #e0002b 45%, #8c001b 100%) !important;
  color: #ffffff !important;
  border-radius: 18px;
  padding: 1.35rem 0.85rem 1.25rem 0.85rem !important;
  height: 100%;
  min-height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: center !important;
  text-align: center !important;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(224, 0, 43, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.attestation-page #notary-services .notary-service-card:hover {
  background: linear-gradient(145deg, #ff2e55 0%, #e0002b 45%, #780017 100%) !important;
  transform: translateY(-7px);
  box-shadow: 0 16px 40px rgba(224, 0, 43, 0.42) !important;
}

.attestation-page #notary-services .notary-service-icon {
  width: 44px;
  height: 44px;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
}

.attestation-page #notary-services .notary-service-card:hover .notary-service-icon {
  background: #ffffff;
  color: var(--accent-red);
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.attestation-page #notary-services .notary-service-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff !important;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.attestation-page #notary-services .notary-card-line {
  margin: 0 auto 0.65rem auto;
  width: 24px;
  height: 2.5px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.attestation-page #notary-services .notary-service-card:hover .notary-card-line {
  width: 40px;
}

.attestation-page #notary-services .notary-service-desc {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 0.8rem;
  line-height: 1.45;
  margin-bottom: 1rem;
  min-height: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.attestation-page #notary-services .notary-card-btn {
  margin-top: auto;
  background: transparent;
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
  padding: 0.38rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.attestation-page #notary-services .notary-card-btn:hover {
  background: #ffffff !important;
  color: var(--accent-red) !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1200px) {
  .attestation-services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .attestation-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .attestation-services-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Testimonials Section (Ported from Home Page)
   ========================================================================== */
#testimonials {
  background-color: var(--bg-navy) !important;
  position: relative;
  overflow: hidden;
}

#testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 560px;
  background-image: url('../rating visual -.png');
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.9) 30%, rgba(0, 0, 0, 0) 65%),
    linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.85) 60%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-composite: destination-in;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.9) 30%, rgba(0, 0, 0, 0) 65%),
    linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.85) 60%, rgba(0, 0, 0, 0) 100%);
  mask-composite: intersect;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 991.98px) {
  #testimonials::before {
    height: 380px;
    opacity: 0.3;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
  }
}

#testimonials p,
#testimonials .text-muted,
#testimonials div.text-muted {
  color: #CBD5E1 !important;
}

#testimonials p {
  color: #E2E8F0 !important;
}

#testimonials .small.text-muted {
  color: #94A3B8 !important;
}

.google-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 1.1rem 1.4rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
}

.google-review-badge:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4);
}

.google-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.testimonials-swiper {
  width: 100%;
  overflow: hidden;
  padding: 10px 4px 45px 4px;
}

.review-slide-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  height: 100%;
  min-height: 280px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.review-slide-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 59, 63, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(255, 59, 63, 0.15);
}

.review-google-tag {
  font-size: 0.78rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  font-weight: 500;
}

.review-slide-text {
  color: #e2e8f0;
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.star-rating {
  color: #FFB000;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent-red), #b91c1c);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonials-pagination .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.3);
  width: 10px;
  height: 10px;
  opacity: 1;
  transition: var(--transition-smooth);
}

.testimonials-pagination .swiper-pagination-bullet-active {
  background: var(--accent-red);
  width: 28px;
  border-radius: 10px;
}

/* ==========================================================================
   Country Attestation Cards Staggered Layout (5 on top, 4 on bottom)
   ========================================================================== */
.country-cards-row-5 {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 16px !important;
  width: 100% !important;
  justify-content: space-between !important;
  margin-bottom: 16px !important;
}

.country-cards-row-4 {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 16px !important;
  width: calc(80% + 3.2px) !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  justify-content: space-between !important;
}

.country-attest-card {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 18px !important;
  padding: 1.4rem 0.9rem !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.07), 0 4px 15px rgba(0, 0, 0, 0.25) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
}

.country-attest-card:hover {
  border-color: rgba(255, 255, 255, 0.45) !important;
  transform: translateY(-5px) !important;
  box-shadow: 0 14px 35px rgba(255, 255, 255, 0.14), 0 6px 20px rgba(0, 0, 0, 0.35) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

.country-flag-box {
  width: 58px !important;
  height: 40px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  margin-bottom: 0.85rem !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #000 !important;
}

.country-flag-box svg {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.country-card-name {
  color: #ffffff !important;
  font-size: 0.98rem !important;
  font-weight: 700 !important;
  margin-bottom: 0 !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  width: 100% !important;
}

@media (max-width: 991px) {

  .country-cards-row-5,
  .country-cards-row-4 {
    flex-wrap: wrap !important;
    width: 100% !important;
    gap: 12px !important;
  }

  .country-cards-row-5 .country-attest-card,
  .country-cards-row-4 .country-attest-card {
    flex: 0 0 calc(33.333% - 8px) !important;
  }
}

@media (max-width: 767px) {

  .country-cards-row-5 .country-attest-card,
  .country-cards-row-4 .country-attest-card {
    flex: 0 0 calc(50% - 6px) !important;
  }
}

@media (max-width: 480px) {

  .country-cards-row-5 .country-attest-card,
  .country-cards-row-4 .country-attest-card {
    flex: 0 0 100% !important;
  }
}

/* ==========================================================================
   Progress Flow Section (4-Step / Multi-Step)
   ========================================================================== */
.progress-section-subtitle {
  max-width: 650px;
  color: #1a202c !important;
  font-size: 1.05rem;
  line-height: 1.7;
}

.progress-flow-container {
  position: relative;
  padding: 20px 0;
}

/* Entrance line on the left of Step 1 */
.progress-start-indicator {
  position: absolute;
  top: 100px;
  left: -20px;
  display: flex;
  align-items: center;
  z-index: 10;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(224, 0, 43, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(224, 0, 43, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(224, 0, 43, 0);
  }
}

.progress-pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-red, #e0002b);
  box-shadow: 0 0 0 4px rgba(224, 0, 43, 0.25);
  animation: pulse-dot 2s infinite;
}

.progress-line-track {
  width: 32px;
  height: 4px;
  background: var(--accent-red, #e0002b);
}

/* Progress Card */
.progress-card {
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.85rem 1.15rem 1.75rem 1.15rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  max-width: 88%;
  margin: 0 auto;
}

.progress-card:hover {
  border-color: var(--accent-red, #e0002b);
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(224, 0, 43, 0.15);
}

/* 1. Number centered on top border */
.progress-step-circle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent-red, #e0002b);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3.5px solid #ffffff;
  box-shadow: 0 4px 14px rgba(224, 0, 43, 0.4);
  z-index: 6;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-card:hover .progress-step-circle {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 6px 20px rgba(224, 0, 43, 0.6);
}

/* 2. Icon box */
.progress-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(224, 0, 43, 0.08);
  border: 1px solid rgba(224, 0, 43, 0.15);
  color: var(--accent-red, #e0002b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 1.15rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-card:hover .progress-icon-box {
  background: var(--accent-red, #e0002b);
  color: #ffffff;
  transform: scale(1.05);
}

/* 3. Title */
.progress-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #0A1428;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

/* 4. Description */
.progress-desc {
  color: #4b5563;
  font-size: 0.85rem;
  line-height: 1.55;
  margin-bottom: 0;
}

/* Thick red line connector between cards with centered arrow */
.progress-line-connector {
  position: absolute;
  top: 50%;
  right: -36px;
  width: 72px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.progress-connector-bar {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-red, #e0002b);
  transform: translateY(-50%);
  border-radius: 2px;
}

.progress-connector-arrow {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-red, #e0002b);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 10px rgba(224, 0, 43, 0.35);
  z-index: 2;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-card:hover+.progress-line-connector .progress-connector-arrow {
  transform: scale(1.15);
  background: #c40026;
}

.progress-finish-connector .progress-connector-arrow {
  background: #28a745;
  border-color: #ffffff;
  box-shadow: 0 4px 10px rgba(40, 167, 69, 0.35);
}

@media (max-width: 991px) {
  .progress-card {
    max-width: 100% !important;
    margin-bottom: 1.5rem;
  }
}

/* ==========================================================================
   Wills Solutions 2-Column Section Styles
   ========================================================================== */
.wills-feature-box {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.5rem 2.2rem;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.wills-feature-box:hover {
  transform: translateY(-6px);
  border-color: rgba(224, 0, 43, 0.35);
  box-shadow: 0 18px 45px rgba(224, 0, 43, 0.1);
}

.wills-feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #e0002b 0%, #ff4b6e 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.wills-feature-box:hover::before {
  opacity: 1;
}

.wills-box-header {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #edf2f7;
}

.wills-box-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: rgba(224, 0, 43, 0.08);
  border: 1.5px solid rgba(224, 0, 43, 0.2);
  color: #e0002b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
  transition: all 0.35s ease;
}

.wills-feature-box:hover .wills-box-icon {
  background: #e0002b;
  color: #ffffff;
  transform: scale(1.06);
  box-shadow: 0 8px 22px rgba(224, 0, 43, 0.35);
}

.wills-box-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0A1428;
  margin-bottom: 0;
  line-height: 1.3;
}

.wills-items-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.wills-list-item {
  display: flex;
  align-items: flex-start;
  gap: 1.35rem;
}

.wills-item-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(224, 0, 43, 0.06);
  border: 1.5px solid rgba(224, 0, 43, 0.14);
  color: #e0002b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.3s ease;
}

.wills-feature-box:hover .wills-list-item:hover .wills-item-icon {
  background: #e0002b;
  color: #ffffff;
  border-color: #e0002b;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(224, 0, 43, 0.25);
}

.wills-item-content {
  flex: 1;
}

.wills-item-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0A1428;
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.wills-item-desc {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ==========================================================================
   Interactive Wills Assessment Section (Dark Brand Theme)
   ========================================================================== */
.wills-quiz-section {
  background: radial-gradient(circle at 15% 20%, rgba(224, 0, 43, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(13, 30, 61, 0.8) 0%, transparent 55%),
    #070d18;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding: 95px 0 110px;
}

.wills-quiz-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.6;
  pointer-events: none;
}

.wills-quiz-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(224, 0, 43, 0.15);
  border: 1px solid rgba(224, 0, 43, 0.35);
  color: #ff4b6e;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.wills-quiz-title {
  color: #ffffff;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.wills-quiz-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  max-width: 620px;
  margin: 1rem auto 0;
  line-height: 1.65;
}

.wills-quiz-card {
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 3.25rem 2.5rem;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 576px) {
  .wills-quiz-card {
    padding: 2.25rem 1.5rem;
    min-height: auto;
  }
}

.wills-quiz-step {
  display: none;
  animation: quizFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.wills-quiz-step.active {
  display: block;
}

@keyframes quizFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

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

.wills-quiz-step-title {
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 0.75rem;
  line-height: 1.25;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.wills-quiz-step-hint {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.98rem;
  text-align: center;
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

.wills-quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 580px;
  margin: 0 auto;
}

@media (max-width: 576px) {
  .wills-quiz-options-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

.wills-quiz-opt-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  min-height: 130px;
  width: 100%;
  backdrop-filter: blur(10px);
}

.wills-quiz-opt-btn i {
  font-size: 1.75rem;
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.25s ease;
}

.wills-quiz-opt-btn span {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.wills-quiz-opt-btn:hover {
  background: rgba(224, 0, 43, 0.22);
  border-color: #e0002b;
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(224, 0, 43, 0.3);
}

.wills-quiz-opt-btn:hover i {
  color: #ffffff;
  transform: scale(1.15);
}

.wills-quiz-opt-btn.selected {
  background: #e0002b;
  border-color: #e0002b;
  color: #ffffff;
  transform: scale(0.98);
  box-shadow: 0 8px 24px rgba(224, 0, 43, 0.5);
}

.wills-quiz-opt-btn.selected i {
  color: #ffffff;
}

/* Progress Indicators */
.wills-quiz-progress-track {
  display: flex;
  gap: 0.5rem;
  margin-top: 2.75rem;
  width: 100%;
}

.wills-quiz-progress-bar {
  height: 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  flex: 1;
  transition: all 0.4s ease;
}

.wills-quiz-progress-bar.active,
.wills-quiz-progress-bar.completed {
  background: #e0002b;
  box-shadow: 0 0 10px rgba(224, 0, 43, 0.8);
}

/* Navigation Controls */
.wills-quiz-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.75rem;
}

.wills-quiz-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.wills-quiz-nav-btn:hover:not(:disabled) {
  background: rgba(224, 0, 43, 0.3);
  border-color: #e0002b;
  color: #ffffff;
  transform: scale(1.08);
}

.wills-quiz-nav-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
}

.wills-quiz-step-counter {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.5px;
}

/* Result Box Styles */
.wills-result-wrapper {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.wills-result-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.wills-result-title {
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.75rem;
}

.wills-answers-summary-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.75rem;
  text-align: left;
}

.wills-answer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.98rem;
}

.wills-answer-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.wills-answer-row .q-label {
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.wills-answer-row .q-label i {
  color: #ff4b6e;
  font-size: 1.1rem;
}

.wills-answer-row .q-val {
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.wills-answer-row .q-val.val-yes {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.wills-answer-row .q-val.val-no {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.wills-rec-box {
  background: rgba(224, 0, 43, 0.12);
  border: 1.5px solid rgba(224, 0, 43, 0.35);
  border-radius: 16px;
  padding: 1.35rem 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
}

.wills-rec-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ff6b8b;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wills-rec-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.5;
}

.wills-result-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.wills-whatsapp-btn {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 0.95rem 2rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  border: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wills-whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.wills-whatsapp-btn i {
  font-size: 1.45rem;
}

.wills-retake-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.95rem 1.6rem;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
}

.wills-retake-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

/* ==========================================================================
   Wills Insights & Articles Slider Section
   ========================================================================== */
.wills-slider-section {
  padding: 95px 0 105px;
  background-color: #ffffff;
  position: relative;
}

.wills-slider-container {
  position: relative;
  padding: 0 10px;
}

.wills-slider-card {
  background: #ffffff;
  border: 1.5px solid #edf2f7;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.wills-slider-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.09);
  border-color: rgba(224, 0, 43, 0.3);
}

.wills-slide-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: #f1f5f9;
}

.wills-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.wills-slider-card:hover .wills-slide-img {
  transform: scale(1.07);
}

.wills-slide-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10, 20, 40, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  padding: 4px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.wills-slide-body {
  padding: 1.85rem 1.65rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.wills-slide-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0A1428;
  margin-bottom: 0.75rem;
  line-height: 1.35;
  transition: color 0.25s ease;
}

.wills-slider-card:hover .wills-slide-title {
  color: #e0002b;
}

.wills-slide-desc {
  font-size: 0.94rem;
  color: #4b5563;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.wills-readmore-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #e0002b;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
  align-self: flex-start;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.wills-readmore-btn i {
  transition: transform 0.25s ease;
}

.wills-readmore-btn:hover {
  color: #b00022;
  border-color: #e0002b;
}

.wills-readmore-btn:hover i {
  transform: translateX(5px);
}

.wills-swiper-pagination {
  position: relative;
  margin-top: 2.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.wills-swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #cbd5e1;
  opacity: 1;
  border-radius: 50%;
  transition: all 0.3s ease;
  margin: 0 !important;
  cursor: pointer;
}

.wills-swiper-pagination .swiper-pagination-bullet-active {
  width: 32px;
  border-radius: 8px;
  background: #e0002b;
  box-shadow: 0 2px 8px rgba(224, 0, 43, 0.4);
}

.wills-swiper-nav-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wills-swiper-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  color: #0A1428;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}

.wills-swiper-nav-btn:hover {
  background: #e0002b;
  border-color: #e0002b;
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(224, 0, 43, 0.3);
}