/* Global CTA card style for "READY TO UPGRADE YOUR PROPERTY?" sections */
.cfg-cta-card {
  background-color: #b9782f !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  padding: 2rem !important;
}

.cfg-cta-card .btn.btn-light.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 12px;
  background: transparent;
  color: #fff !important;
}

.cfg-cta-card .btn.btn-light.btn-outline:hover {
  background: #fff !important;
  color: #1f2c27 !important;
}

.cfg-cta-card .feature-box-icon i {
  color: #fff !important;
}

.cfg-cta-card .text-4.opacity-7 {
  opacity: 0.88 !important;
}

@media (max-width: 991.98px) {
  .cfg-cta-card {
    border-radius: 12px;
    padding: 1.5rem !important;
  }
}

@media (min-width: 992px) {
  .col-lg-20 {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

.fence-category-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fence-category-card:hover {
  transform: scale(1.02);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15) !important;
}

.fence-category-card .card-img-top {
  height: 170px;
  object-fit: cover;
}

.process-glass-section {
  position: relative;
  background-image: url("../canton-fence-company/images/wood-install.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.process-glass-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 22, 20, 0.28), rgba(18, 35, 31, 0.2));
}

.process-glass-section .container {
  position: relative;
  z-index: 1;
}

.process-glass-card {
  height: 100%;
  border-radius: 16px;
  padding: 1.4rem 1.2rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.process-step-badge {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  margin-bottom: 0.75rem;
}

.process-glass-title {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
}

.process-glass-copy {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.96rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.process-glass-heading {
  color: #fff;
}

.process-glass-sub {
  color: rgba(255, 255, 255, 0.9);
}

/* Keep Porto's native dropdown caret behavior; avoid injecting a second chevron. */

/* Desktop: level-2 submenu items should show only one chevron (theme :after arrow). */
@media (min-width: 992px) {
  #header .header-nav-main nav > ul > li.dropdown .dropdown-menu li.dropdown-submenu > a.dropdown-toggle::after {
    border: 0 !important;
  }

  #header .header-nav-main nav > ul > li.dropdown .dropdown-menu li.dropdown-submenu > a.dropdown-toggle .fa-chevron-down,
  #header .header-nav-main nav > ul > li.dropdown .dropdown-menu li.dropdown-submenu > a.dropdown-toggle .fa-angle-down,
  #header .header-nav-main nav > ul > li.dropdown .dropdown-menu li.dropdown-submenu > a.dropdown-toggle .fa-caret-down {
    display: none !important;
  }
}
