/* Custom Styles & Overrides */
body {
  font-family: "Poppins", sans-serif;
  color: #1a1a1a;
  background-color: #fcfcfc;
  /* Very light gray/white matching the background */
}

/* Brand Colors */
:root {
  --brand-red: #c10000;
}

.container {
  max-width: 1520px;
}

.text-brand {
  color: var(--brand-red) !important;
}

.bg-brand {
  background-color: var(--brand-red) !important;
}

.btn-brand {
  background-color: var(--brand-red);
  color: white;
  padding: 10px 24px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-brand:hover {
  background-color: #a00000;
  color: white;
}

.btn-outline-custom {
  border: 1px solid #ddd;
  color: #333;
  padding: 10px 24px;
  font-weight: 500;
  border-radius: 6px;
  background: white;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background-color: #f8f9fa;
}

/* Navigation */
.navbar-nav .nav-link {
  color: #333;
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0 10px;
}

.navbar-nav .nav-link.active {
  color: var(--brand-red);
  position: relative;
}

.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 25px;
  height: 2px;
  background-color: var(--brand-red);
}

/* Typography & Layout adjustments */
.hero-section {
  background-image: url(assets/img/bg-banner.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  background: white;
  border: 1px solid #eee;
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.pill-badge .dot {
  width: 8px;
  height: 8px;
  background-color: var(--brand-red);
  border-radius: 50%;
  margin-right: 8px;
}

/* Feature Icons */
.feature-icon-box {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
}

.feature-icon {
  color: var(--brand-red);
  font-size: 1.25rem;
}

/* Image Placholders & Floating Cards */
.hero-image-wrapper {
  position: relative;
  min-height: 500px;
  /* Adjust based on your actual images */
  width: 100%;
}

.floating-card {
  position: absolute;
  background: white;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

.floating-card i {
  color: var(--brand-red);
  font-size: 1.2rem;
  background: #fff4f4;
  padding: 10px;
  border-radius: 6px;
}

.floating-card-text p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
}

.floating-card-text span {
  font-size: 0.7rem;
  color: #777;
}

/* Positioning the floating cards (adjust these when real images are placed) */
.card-top-right {
  top: 10%;
  right: -5%;
}

.card-mid-right {
  top: 45%;
  right: -10%;
}

.card-bottom-right {
  bottom: 15%;
  right: -5%;
}

/* Logos Section */
.client-logos {
  border-top: 1px solid #eaeaea;
  padding-top: 30px;
}

.client-title {
  border-left: 3px solid var(--brand-red);
  padding-left: 15px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  line-height: 1.4;
}

/* --- Services Section Styles --- */
.services-section {
  background-image: url(assets/img/bg-portfolio.png);
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

/* Section Header */
.section-badge {
  display: inline-flex;
  align-items: center;
  background: #fff0f0;
  color: var(--brand-red);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.section-badge i {
  margin-right: 8px;
  font-size: 1.1rem;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 15px;
}

.section-divider {
  width: 45px;
  height: 3px;
  background-color: var(--brand-red);
  margin: 0 auto 20px auto;
}

.section-subtitle {
  color: #555;
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

/* Service Cards */
.service-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 40px 35px;
  height: 100%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.service-icon-box {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background-color: #fff0f0;
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 25px;
}

.service-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
}

.service-card-title.has-line::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--brand-red);
  margin-top: 12px;
}

.service-card-text {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.learn-more-link {
  color: var(--brand-red);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: gap 0.3s ease;
  gap: 8px;
}

.learn-more-link:hover {
  color: #a00000;
  gap: 12px;
}

/* Bottom CTA Banner */
.cta-banner {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 25px 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.02);
  margin-top: 60px;
}

.cta-icon-large {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background-color: var(--brand-red);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.cta-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.cta-subtitle {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.feature-mini {
  text-align: center;
}

.feature-mini i {
  color: var(--brand-red);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.feature-mini-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 2px;
}

.feature-mini-text {
  font-size: 0.8rem;
  color: #777;
}

.vertical-divider {
  width: 1px;
  height: 50px;
  background-color: #eaeaea;
}

@media (max-width: 991px) {
  .cta-banner-features {
    display: none !important;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .cta-banner .d-flex.align-items-center.gap-3 {
    flex-direction: column;
  }
}

/* --- Portfolio Section Styles --- */
.portfolio-section {
  background-image: url(assets/img/bg-service.png);
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
  position: relative;
}

/* Filter Buttons */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  color: var(--text-dark);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.filter-btn i {
  color: var(--brand-red);
  font-size: 1.1rem;
}

.filter-btn:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.filter-btn.active {
  background-color: var(--brand-red);
  border-color: var(--brand-red);
  color: #ffffff;
}

.filter-btn.active i {
  color: #ffffff;
}

/* Portfolio Cards */
.portfolio-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0f0f0;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.portfolio-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  /* Placeholder height */
  background-color: #f8f9fa;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 0.9rem;
  /* In production, replace the background color with your image using object-fit */
}

.portfolio-content {
  padding: 25px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-title {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 5px;
  color: var(--text-dark);
  text-align: center;
  padding-top: 20px;
}

.portfolio-category {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.case-study-link {
  color: var(--brand-red);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.case-study-link:hover {
  color: #a00000;
  gap: 10px;
}

/* View All Button */
.btn-outline-brand {
  border: 2px solid var(--brand-red);
  color: var(--brand-red);
  padding: 10px 30px;
  font-weight: 600;
  border-radius: 8px;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-brand:hover {
  background-color: var(--brand-red);
  color: white;
}

/* Stats & Trust Banner */
.stats-banner {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
  margin-top: 60px;
}

.trust-text-box {
  border-left: 3px solid var(--brand-red);
  padding-left: 20px;
  max-width: 250px;
}

.trust-text-box h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.trust-text-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.stat-block {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.stat-icon {
  color: var(--brand-red);
  font-size: 1.8rem;
  margin-top: 5px;
}

.stat-info h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0;
  line-height: 1;
  color: var(--text-dark);
}

.stat-info .stat-title {
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 5px;
  margin-bottom: 2px;
}

.stat-info .stat-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.cta-box-btn {
  background-color: var(--brand-red);
  color: white;
  border-radius: 8px;
  padding: 15px 25px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: background-color 0.3s ease;
}

.cta-box-btn:hover {
  background-color: #a30000;
  color: white;
}

.cta-box-btn i.main-icon {
  font-size: 1.5rem;
}

.cta-box-text span {
  display: block;
  font-size: 0.8rem;
  opacity: 0.9;
}

.cta-box-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 2px;
}

@media (max-width: 1200px) {
  .stats-banner {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .trust-text-box {
    border-left: none;
    border-bottom: 3px solid var(--brand-red);
    padding-left: 0;
    padding-bottom: 15px;
    max-width: 100%;
  }

  .stats-wrapper {
    flex-wrap: wrap;
    justify-content: left !important;
    gap: 30px;
  }
 
  .stat-block {
    text-align: left;
  }
}

/* --- Trust Section Styles --- */
.trust-section {
  background-color: white;
  position: relative;
  overflow: hidden;
}

/* Adjusting existing section titles for left-alignment */
.trust-section .section-title {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.1;
}

.trust-section .section-divider {
  margin: 0 0 25px 0;
  /* Left aligned */
}

.trust-section .section-subtitle {
  margin: 0 0 40px 0;
  /* Left aligned */
  font-size: 1.05rem;
  max-width: 90%;
}

/* Trust Stats */
.trust-stats-container {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 100px;
  position: relative;
}

/* Add right border to all but the last stat item on desktop */
@media (min-width: 768px) {
  .trust-stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: #e0e0e0;
  }
}

.trust-stat-icon {
  color: var(--brand-red);
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.trust-stat-number {
  color: var(--brand-red);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 5px;
}

.trust-stat-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.trust-stat-desc {
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* Feature Cards (Right Side) */
.feature-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 35px 25px;
  text-align: center;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  border: 1px solid #f4f4f4;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.feature-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #fff0f0;
  color: var(--brand-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.feature-card-line {
  width: 25px;
  height: 2px;
  background-color: var(--brand-red);
  margin: 0 auto 15px auto;
}

.feature-card-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Bottom Logos Banner (Re-styled for this section) */
.trust-logos-banner {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  border: 1px solid #f0f0f0;
  margin-top: 60px;
}

.trust-logos-title-box {
  border-left: 3px solid var(--brand-red);
  padding-left: 15px;
}

.trust-logos-title-box h6 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trust-logos-title-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* --- Process Section Styles --- */
.process-section {
  background-color: white;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #f4f4f4;
}

/* Centered Header Overrides for this section */
.process-section .section-title {
  font-size: 2.8rem;
  margin-bottom: 15px;
  text-align: center;
}

.process-section .section-divider {
  margin: 0 auto 20px auto;
}

.process-section .section-subtitle {
  margin: 0 auto 50px auto;
  text-align: center;
}

/* Process Steps */
.process-steps-wrapper {
  position: relative;
  padding-top: 15px;
}

/* The horizontal dashed line */
.process-line {
  position: absolute;
  top: 37px;
  /* Aligns with the center of the step numbers */
  left: 10%;
  right: 10%;
  border-top: 2px dashed #ffb3b3;
  z-index: 1;
}

.step-col {
  position: relative;
  z-index: 2;
}

/* Small arrows on the dashed line (desktop only) */
@media (min-width: 992px) {
  .step-col:not(:last-child)::after {
    content: "\f061";
    /* FontAwesome arrow-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 16px;
    right: -10px;
    color: var(--brand-red);
    background: #fdfdfd;
    /* hide the dashed line behind the arrow */
    padding: 0 5px;
    font-size: 0.85rem;
    z-index: 3;
  }
}

.step-number {
  width: 45px;
  height: 45px;
  background-color: var(--brand-red);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 auto 25px auto;
  box-shadow: 0 0 0 8px #fdfdfd;
  /* Creates a gap effect over the dashed line */
}

.process-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 35px 20px;
  text-align: center;
  height: 100%;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.03);
  border: 1px solid #f4f4f4;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.process-icon-box {
  width: 75px;
  height: 75px;
  background-color: #fff0f0;
  color: var(--brand-red);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
}

.process-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.process-card-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Process Bottom Banner */
.process-banner {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 25px 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.02);
  margin-top: 130px;
}

.process-banner-logo {
  width: 55px;
  height: 55px;
  background-color: #f8f9fa;
  border: 1px solid #eeeeee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-banner-logo img {
  max-width: 60%;
}

.process-banner-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--text-dark);
}

.process-banner-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.process-mini-feature {
  text-align: center;
}

.process-mini-feature i {
  color: var(--brand-red);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.process-mini-feature h6 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--text-dark);
}

.process-mini-feature p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

@media (max-width: 991px) {

    .hero-image-wrapper{
        min-height:auto;
    }
    
    .services-section{
        background:#fcfcfc;
        padding-bottom:20;
    }
    
    .portfolio-section{
        background:#fcfcfc;
    }
    
      .trust-section {
    background-color: #fcfcfc;
  }
  
  .trust-stats-container {
    display: grid;
  }
  
  .trust-stat-item{
      text-align:left;
      justify-content:left;
  }
  
  .clientimg{
      display: inline-grid !important;
  }
  
  .clientimg img{
      margin-bottom:20px;
  }
  
  .pricing-section{
      background: white!important;
  }
    
  .process-line {
    display: none;
  }

  .step-number {
    box-shadow: none;
    display:none;
  }

  .process-banner-features {
    display: none !important;
  }

  .process-banner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    margin-top:30px;
  }

  .process-banner .d-flex.align-items-center.gap-3 {
    flex-direction: column;
  }
}

/* --- Pricing Section Styles --- */
.pricing-section {
  background-image: url(assets/img/pricing-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #f4f4f4;
}

/* Center Header Overrides */
.pricing-section .section-title {
  font-size: 2.8rem;
  margin-bottom: 15px;
  text-align: center;
}

.pricing-section .section-divider {
  margin: 0 auto 20px auto;
}

.pricing-section .section-subtitle {
  margin: 0 auto 50px auto;
  text-align: center;
}

/* Pricing Cards */
.pricing-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 40px 35px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.03);
  border: 1px solid #f0f0f0;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.pricing-card.popular {
  border: 2px solid var(--brand-red);
  box-shadow: 0 10px 35px rgba(204, 0, 0, 0.08);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--brand-red);
  color: white;
  padding: 6px 20px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pricing-header-top {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.pricing-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #fff0f0;
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.pricing-plan-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--text-dark);
}

.pricing-plan-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.pricing-divider {
  width: 30px;
  height: 3px;
  background-color: var(--brand-red);
  margin-bottom: 25px;
}

.pricing-price-box {
  margin-bottom: 25px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pricing-currency {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.pricing-duration {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 35px 0;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.pricing-features li i {
  color: var(--brand-red);
  font-size: 0.9rem;
  margin-top: 4px;
}

/* Pricing Buttons */
.pricing-btn {
  width: 100%;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.pricing-btn-outline {
  border: 1px solid var(--brand-red);
  color: var(--brand-red);
  background-color: transparent;
}

.pricing-btn-outline:hover {
  background-color: var(--brand-red);
  color: white;
}

.pricing-btn-solid {
  background-color: var(--brand-red);
  border: 1px solid var(--brand-red);
  color: white;
}

.pricing-btn-solid:hover {
  background-color: #a30000;
  border-color: #a30000;
  color: white;
}

/* Bottom Pricing Banner */
.pricing-bottom-banner {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0f0f0;
  margin-top: 60px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.pricing-features-row {
  display: flex;
  flex-wrap: wrap;
  padding: 30px;
  gap: 20px;
  flex-grow: 1;
  justify-content: space-around;
}

.p-feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  min-width: 170px;
}

.p-feature-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #fff0f0;
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.p-feature-text h6 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--text-dark);
}

.p-feature-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Custom Solution Box */
.custom-solution-box {
  background-color: #aa0000;
  /* Darker red */
  color: white;
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 320px;
}

.custom-solution-top {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
}

.custom-solution-top i {
  font-size: 1.8rem;
  opacity: 0.9;
}

.custom-solution-box h5 {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0;
}

.custom-solution-box p {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-bottom: 15px;
  margin-left: 45px;
  /* Aligns with text next to icon */
}

.custom-solution-link {
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 45px;
}

.custom-solution-link:hover {
  color: #fff0f0;
}

/* Guarantee Section below banner */
.guarantee-section {
  text-align: center;
  margin-top: 30px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.guarantee-section i {
  color: var(--brand-red);
  font-size: 1.3rem;
}

.guarantee-divider {
  width: 1px;
  height: 15px;
  background-color: #ccc;
}

@media (max-width: 1200px) {
  .pricing-bottom-banner {
    flex-direction: column;
  }

  .custom-solution-box {
    min-width: 100%;
    align-items: center;
    text-align: center;
  }

  .custom-solution-top {
    justify-content: center;
  }

  .custom-solution-box p,
  .custom-solution-link {
    margin-left: 0;
  }
}

/* --- Testimonial Section Styles --- */
.testimonial-section {
  background-color: white;
  /* Light background */
  position: relative;
  overflow: hidden;
  padding-bottom: 80px;
}

/* Testimonial Header Overrides */
.testimonial-section .section-title {
  font-size: 2.8rem;
  margin-bottom: 15px;
  text-align: center;
}

.testimonial-section .section-divider {
  margin: 0 auto 20px auto;
}

.testimonial-section .section-subtitle {
  margin: 0 auto 50px auto;
  text-align: center;
  max-width: 700px;
}

/* Testimonial Cards */
.testimonial-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.03);
  border: 1px solid #f0f0f0;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.quote-icon {
  font-size: 2.5rem;
  color: var(--brand-red);
  margin-bottom: 20px;
  line-height: 1;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 30px;
  flex-grow: 1;
}

.testimonial-card-divider {
  width: 35px;
  height: 3px;
  background-color: var(--brand-red);
  margin-bottom: 25px;
}

.client-info-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.client-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.client-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.client-details h6 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: black;
}

.client-details p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.3;
}

.client-details .client-company-text {
  color: var(--brand-red);
  font-weight: 500;
}

.client-divider-vertical {
  width: 1px;
  height: 35px;
  background-color: #e0e0e0;
  margin: 0 15px;
}

.client-company-logo {
  max-height: 35px;
  max-width: 100px;
  object-fit: contain;
}

/* Rating Summary */
.rating-summary-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.rating-score {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 700;
}

.rating-score .fa-star {
  color: #00b67a;
  /* Trustpilot green style, matching image */
  font-size: 1.1rem;
}

.rating-stars {
  display: flex;
  gap: 4px;
}

.rating-stars .fa-star {
  color: var(--brand-red);
  font-size: 1.1rem;
}

.rating-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.rating-divider {
  width: 1px;
  height: 20px;
  background-color: #dcdcdc;
}

.google-logo {
  height: 25px;
  object-fit: contain;
}

/* Bottom CTA Banner */
.testimonial-bottom-banner {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0f0f0;
  margin-top: 60px;
  padding: 15px;
  display: flex;
  align-items: center;
}

.t-banner-left {
  padding: 20px 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-right: 1px solid #f0f0f0;
}

.t-banner-icon-box {
  width: 60px;
  height: 60px;
  background-color: #fff0f0;
  color: var(--brand-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.t-banner-text h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.t-banner-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.t-banner-logos {
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-grow: 1;
  flex-wrap: wrap;
  gap: 15px;
}

.t-banner-logos img {
  max-height: 25px;
  opacity: 0.7;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.t-banner-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.t-banner-cta-box {
  border-radius: 12px;
  padding: 30px 40px;
  text-align: center;

  min-width: 300px;
}

.t-banner-cta-box h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.t-banner-cta-box p {
  font-size: 0.85rem;
  margin-bottom: 20px;
  opacity: 0.95;
}

.btn-white {
  background-color: #c70d0d;
  color: whitesmoke;
  padding: 10px 24px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s ease;
  font-size: 0.9rem;
}

.btn-white:hover {
  background-color: #dd1414;
  color: hsl(0, 17%, 98%);
}

@media (max-width: 1200px) {
  .testimonial-bottom-banner {
    flex-direction: column;
    padding: 30px;
    gap: 30px;
  }

  .t-banner-left {
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 30px;
    width: 100%;
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }

  .t-banner-logos {
    width: 100%;
    justify-content: center;
  }

  .t-banner-cta-box {
    width: 100%;
  }
}

/* --- CTA Section Styles --- */
.cta-section {
  background-image: url(assets/img/lead-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  border-top: 1px solid #f4f4f4;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

/* Left Side Content */
.cta-section .section-title {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

.cta-section .section-divider {
  margin: 0 0 20px 0;
}

.cta-section .section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 90%;
}

/* Feature List */
.cta-feature-list {
  margin-bottom: 40px;
}

.cta-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 25px;
}

.cta-feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #fff0f0;
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.cta-feature-text h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.cta-feature-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

/* Contact Box */
.cta-contact-box {
  background-color: #b30000;
  border-radius: 12px;
  padding: 25px 30px;
  display: flex;
  align-items: center;
  gap: 25px;
  color: white;
  box-shadow: 0 10px 30px rgba(179, 0, 0, 0.15);
  max-width: 95%;
}

.cta-contact-left {
  display: flex;
  align-items: center;
  gap: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  padding-right: 25px;
}

.cta-contact-icon {
  width: 50px;
  height: 50px;
  background-color: white;
  color: #b30000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.cta-contact-left-text span {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.9;
}

.cta-contact-left-text p {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.8;
}

.cta-contact-right h4 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}

.cta-contact-right p {
  font-size: 0.8rem;
  margin: 0;
  opacity: 0.85;
}

/* Right Side Form Card */
.cta-form-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.02);
  position: relative;
}

.cta-form-header {
  margin-bottom: 30px;
  position: relative;
}

.cta-form-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.cta-form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.free-tag {
  position: absolute;
  top: -10px;
  right: 0;
  color: var(--brand-red);
  font-family: "Comic Sans MS", cursive, sans-serif;
  /* Fallback for handwritten style */
  font-size: 1.2rem;
  transform: rotate(-10deg);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.free-tag svg {
  width: 30px;
  margin-top: 5px;
  fill: none;
  stroke: var(--brand-red);
  stroke-width: 2;
}

/* Form Inputs */
.cta-form label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.cta-form .input-group-text {
  background-color: transparent;
  border-right: none;
  color: #999;
  padding-left: 15px;
}

.cta-form .form-control,
.cta-form .form-select {
  border-left: none;
  padding: 12px 15px 12px 0;
  font-size: 0.9rem;
  color: var(--text-dark);
  box-shadow: none !important;
}

.cta-form .form-control:focus,
.cta-form .form-select:focus {
  border-color: #dee2e6;
}

/* Style for inputs without prepend icons */
.cta-form .form-control.no-icon,
.cta-form .form-select.no-icon {
  border-left: 1px solid #dee2e6;
  padding-left: 15px;
}

.cta-form .input-group {
  border: 1px solid #dee2e6;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 20px;
  transition: border-color 0.3s;
}

.cta-form .input-group:focus-within {
  border-color: var(--brand-red);
}

.cta-form textarea.form-control {
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 15px;
  min-height: 100px;
}

.cta-form textarea.form-control:focus {
  border-color: var(--brand-red);
}

.cta-submit-btn {
  background-color: #b30000;
  color: white;
  border: none;
  width: 100%;
  padding: 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

.cta-submit-btn:hover {
  background-color: #8c0000;
  color: white;
}

.cta-form-footer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

@media (max-width: 991px) {
  .cta-contact-box {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 30px;
    max-width: 100%;
  }

  .cta-contact-left {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 0;
    padding-bottom: 15px;
    flex-direction: column;
  }

  .free-tag {
    display: none;
  }
}

/* --- Pre-Footer Banner Styles --- */
.pre-footer-wrapper {
  position: relative;
  z-index: 10;
  margin-bottom: -60px;
  /* Overlaps the dark footer */
}

.pre-footer-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px 40px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.pf-item {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  min-width: 200px;
  position: relative;
}

/* Add vertical dividers on desktop */
@media (min-width: 992px) {
  .pf-item:not(:nth-last-child(2))::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: #f0f0f0;
  }
}

.pf-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #fff0f0;
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.pf-text h6 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.pf-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.pf-text .pf-highlight {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-red);
  display: block;
  margin-bottom: 2px;
}

.pf-cta {
  flex-shrink: 0;
}

/* --- Footer Styles --- */
.site-footer {
  background-color: #0b1017;
  /* Dark navy/black */
  color: #9ba1a8;
  /* Light gray text */
  padding-top: 120px;
  /* Extra padding to account for overlapping pre-footer */
  font-size: 0.9rem;
}

/* Footer Typography & Links */
.footer-heading {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-divider {
  width: 30px;
  height: 2px;
  background-color: var(--brand-red);
  margin-bottom: 25px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-list a {
  color: #9ba1a8;
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-list a:hover {
  color: var(--brand-red);
}

.footer-list i.fa-chevron-right {
  color: var(--brand-red);
  font-size: 0.65rem;
  margin-top: 5px;
}

.footer-list i.industry-icon {
  color: var(--brand-red);
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
  margin-top: 2px;
}

/* Footer Column 1 */
.footer-logo {
  margin-bottom: 25px;
}

.footer-tagline {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 15px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 25px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background-color: var(--brand-red);
  color: #ffffff;
}

/* Contact Info List */
.contact-info-list li {
  margin-bottom: 15px;
}

.contact-info-list i {
  color: var(--brand-red);
  font-size: 1.1rem;
  margin-top: 3px;
}

.contact-info-list strong {
  color: #ffffff;
  font-weight: 600;
  display: block;
  margin-bottom: 3px;
}

/* Newsletter Row */
.footer-newsletter-row {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 0;
  margin-top: 40px;
}

.newsletter-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.newsletter-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.newsletter-text h5 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.newsletter-text p {
  margin-bottom: 0;
  font-size: 0.85rem;
}

.newsletter-form .input-group {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
  padding: 4px;
}

.newsletter-form .form-control {
  background-color: transparent;
  border: none;
  color: #ffffff;
  padding-left: 15px;
  box-shadow: none;
}

.newsletter-form .form-control::placeholder {
  color: #6c757d;
}

.newsletter-form .form-control:focus {
  background-color: transparent;
  color: #ffffff;
}

.newsletter-btn {
  background-color: var(--brand-red);
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
  background-color: #a30000;
}

/* Bottom Bar */
.footer-bottom {
  padding: 25px 0;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-bottom-links li {
  position: relative;
}

.footer-bottom-links li:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -10px;
  color: rgba(255, 255, 255, 0.2);
}

.footer-bottom-links a {
  color: #9ba1a8;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

.made-with-love {
  text-align: right;
}

@media (max-width: 991px) {
  .pre-footer-card {
    flex-direction: column;
    text-align: center;
  }

  .pf-item {
    flex-direction: column;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
  }

  .pf-item:last-of-type {
    border-bottom: none;
  }

  .footer-bottom,
  .made-with-love,
  .footer-bottom-links {
    text-align: center;
    justify-content: center;
  }

  .made-with-love {
    margin-top: 15px;
  }

  .footer-newsletter-row {
    text-align: center;
  }

  .newsletter-info {
    flex-direction: column;
    margin-bottom: 20px;
  }
}

/* --- FAQ Section General Styles --- */
.faq-section {
  background-color: #fbfbfb;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #f4f4f4;
}

/* FAQ Header Overrides */
.faq-section .section-title {
  font-size: 2.8rem;
  margin-bottom: 15px;
  text-align: center;
}

.faq-section .section-divider {
  margin: 0 auto 20px auto;
}

.faq-section .section-subtitle {
  margin: 0 auto 50px auto;
  text-align: center;
}

/* --- FAQ Left Contact Card --- */
.faq-left-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 45px 35px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0f0f0;
  text-align: center;
  height: 100%;
}

.faq-card-icon-wrapper {
  width: 160px;
  height: 160px;
  background-color: #fff0f0;
  color: var(--brand-red);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 25px;
}

.faq-card-icon-wrapper i {
  font-size: 60px;
}

.faq-card-title {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.3;
  color: var(--text-dark);
}

.faq-card-divider {
  width: 35px;
  height: 3px;
  background-color: var(--brand-red);
  margin: 0 auto 20px auto;
}

.faq-card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 35px;
  line-height: 1.6;
}

.btn-outline-brand-wide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--brand-red);
  color: var(--brand-red);
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline-brand-wide:hover {
  background-color: var(--brand-red);
  color: #ffffff;
}

/* --- FAQ Right Accordion --- */
.custom-accordion .accordion-item {
  background-color: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  overflow: hidden;
}

/* Remove default bootstrap borders */
.custom-accordion .accordion-item:first-of-type,
.custom-accordion .accordion-item:last-of-type {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.custom-accordion .accordion-header {
  margin: 0;
}

.custom-accordion .accordion-button {
  background-color: #ffffff;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 20px 25px;
  box-shadow: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Hide the default Bootstrap accordion arrow */
.custom-accordion .accordion-button::after {
  display: none;
}

.faq-num-badge {
  background-color: var(--brand-red);
  color: #ffffff;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.custom-chevron {
  margin-left: auto;
  color: var(--text-dark);
  transition:
    transform 0.3s ease,
    color 0.3s ease;
  font-size: 0.9rem;
}

/* Styles for when the accordion is OPEN */
.custom-accordion .accordion-button:not(.collapsed) {
  color: var(--text-dark);
  background-color: #ffffff;
  box-shadow: none;
}

.custom-accordion .accordion-button:not(.collapsed) .custom-chevron {
  transform: rotate(180deg);
  color: var(--brand-red);
}

.custom-accordion .accordion-body {
  padding: 0 25px 25px 72px;
  /* 72px aligns the text with the title (32px badge + 15px gap + 25px padding) */
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: none;
}

/* --- FAQ Bottom Banner --- */
.faq-bottom-banner {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0f0f0;
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.faq-bb-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.faq-bb-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #fff0f0;
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.faq-bb-text h6 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--text-dark);
}

.faq-bb-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.4;
}

.faq-bb-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 2px;
}

.faq-bb-text a {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-red);
  text-decoration: none;
  transition: color 0.3s;
}

.faq-bb-text a:hover {
  color: #a00000;
}

.faq-bb-divider {
  width: 1px;
  height: 40px;
  background-color: #eaeaea;
}

/* --- Responsive Adjustments --- */
@media (max-width: 991px) {
  .faq-bottom-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .faq-bb-divider {
    display: none;
  }

  .faq-bottom-banner .btn-brand {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }
}

@media (max-width: 576px) {
  .custom-accordion .accordion-body {
    padding-left: 25px;
    /* Removes the deep indent on very small mobile screens */
  }

  .custom-accordion .accordion-button {
    padding: 15px;
  }
}

/* --- Page Header Banner --- */
.page-header {
  background-color: #0b1017;
  padding: 80px 0 60px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-bottom: 5px solid var(--brand-red);
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at right,
    rgba(204, 0, 0, 0.1) 0%,
    rgba(11, 16, 23, 1) 50%
  );
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-title {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-subtitle {
  color: #9ba1a8;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.last-updated {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 20px;
}

/* --- Legal Content Section --- */
.legal-section {
  padding: 80px 0;
}

.legal-content-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.legal-text {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

.legal-text h3 {
  color: var(--text-dark);
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}

.legal-text h3:first-child {
  margin-top: 0;
}

.legal-text h4 {
  color: var(--text-dark);
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 10px;
}

.legal-text p {
  margin-bottom: 20px;
}

.legal-text ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.legal-text li {
  margin-bottom: 10px;
}

/* Sidebar Navigation */
.legal-sidebar {
  position: sticky;
  top: 30px;
}

.sidebar-menu {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.02);
  border: 1px solid #f0f0f0;
}

.sidebar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--brand-red-light);
}

.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav li {
  margin-bottom: 12px;
}

.sidebar-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.sidebar-nav a i {
  color: var(--brand-red);
  font-size: 0.7rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: var(--brand-red);
}

.sidebar-nav a:hover i,
.sidebar-nav a.active i {
  opacity: 1;
  transform: translateX(0);
}

/* --- Portfolio: 2-row limit / View All / Mobile responsive toggle --- */
.portfolio-item {
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.portfolio-item.pf-hide {
  display: none !important;
}

.portfolio-item.pf-fade-in {
  animation: pfFadeIn 0.4s ease both;
}

@keyframes pfFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#viewAllProjectsBtn {
  cursor: pointer;
}

#viewAllProjectsBtn i {
  transition: transform 0.3s ease;
}

#viewAllProjectsBtn.is-expanded i {
  transform: rotate(90deg);
}

/* On small mobile screens, only 1 project shows initially (handled via JS),
   but let's also make the card a bit more compact so it doesn't look too tall */
@media (max-width: 575px) {
  .portfolio-img-wrapper {
    height: 190px;
  }
}

.client-link {
  text-decoration: none;
  color: inherit;
}

.client-link:hover {
  text-decoration: none;
}

.content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/*==============================
Toast Notification
==============================*/

.dw-toast {
  position: fixed;
  top: 30px;
  right: 30px;
  width: 420px;
  max-width: calc(100% - 40px);
  background: #fff;
  border-radius: 18px;
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.12);
  overflow: hidden;
  z-index: 999999;

  transform: translateX(130%);
  opacity: 0;
  visibility: hidden;

  transition: 0.45s ease;
}

.dw-toast.show {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.dw-toast-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ecfdf5;
}

.dw-toast-icon i {
  font-size: 28px;
  color: #22c55e;
}

.dw-toast-content {
  flex: 1;
}

.dw-toast-content h4 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 700;
  color: #111827;
}

.dw-toast-content p {
  margin: 0;
  color: #6b7280;
  line-height: 1.6;
  font-size: 14px;
}

.dw-toast-close {
  border: none;
  background: none;
  cursor: pointer;
  color: #9ca3af;
  font-size: 18px;
  padding: 0;
  transition: 0.3s;
}

.dw-toast-close:hover {
  color: #111827;
}

.dw-toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #2563eb;
  transform-origin: left;
  animation: toastProgress 5s linear forwards;
  animation-play-state: paused;
}

.dw-toast.show .dw-toast-progress {
  animation-play-state: running;
}

@keyframes toastProgress {
  from {
    transform: scaleX(1);
  }

  to {
    transform: scaleX(0);
  }
}

@media (max-width: 576px) {
  .dw-toast {
    top: 15px;
    right: 15px;
    left: 15px;
    width: auto;
  }
}
