/**
 * DigiCompany Professional Design System
 * Fixes alignment, responsiveness, and provides consistent UI across all pages.
 */

:root {
  --dc-blue: #0c418e;
  --dc-blue-dark: #082d63;
  --dc-blue-light: #e8eef8;
  --dc-green: #209d5c;
  --dc-green-dark: #178048;
  --dc-green-light: #e6f5ed;
  --dc-navy: #0a2d5c;
  --dc-gray-50: #f8fafc;
  --dc-gray-100: #f1f5f9;
  --dc-gray-200: #e2e8f0;
  --dc-gray-400: #94a3b8;
  --dc-gray-600: #475569;
  --dc-gray-800: #1e293b;
  --dc-white: #ffffff;
  --dc-shadow-sm: 0 1px 3px rgba(12, 65, 142, 0.08);
  --dc-shadow-md: 0 8px 30px rgba(12, 65, 142, 0.12);
  --dc-shadow-lg: 0 20px 50px rgba(12, 65, 142, 0.15);
  --dc-radius: 12px;
  --dc-radius-lg: 20px;
  --dc-nav-height: 80px;
  --dc-section-py: 5rem;
  --dc-container-max: 1200px;
  --dc-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Critical layout fixes ─── */
.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
}

.container-fluid {
  padding-left: 15px !important;
  padding-right: 15px !important;
  max-width: 100% !important;
}

.site-main {
  overflow-x: hidden;
  padding-top: var(--dc-nav-height);
}

.dc-container {
  width: 100%;
  max-width: var(--dc-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ─── Typography ─── */
.dc-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dc-green);
  margin-bottom: 0.75rem;
}

.dc-section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--dc-blue);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.dc-section-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--dc-gray-600);
  line-height: 1.7;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.dc-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.dc-section {
  padding: var(--dc-section-py) 0;
}

/* ─── Buttons ─── */
.dc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  text-decoration: none !important;
  transition: all var(--dc-transition);
  cursor: pointer;
  white-space: nowrap;
}

.dc-btn-primary {
  background: var(--dc-blue);
  color: var(--dc-white) !important;
  border-color: var(--dc-blue);
}

.dc-btn-primary:hover {
  background: var(--dc-blue-dark);
  border-color: var(--dc-blue-dark);
  color: var(--dc-white) !important;
  transform: translateY(-2px);
  box-shadow: var(--dc-shadow-md);
}

.dc-btn-outline {
  background: transparent;
  color: var(--dc-blue) !important;
  border-color: var(--dc-blue);
}

.dc-btn-outline:hover {
  background: var(--dc-blue);
  color: var(--dc-white) !important;
  transform: translateY(-2px);
}

.dc-btn-green {
  background: var(--dc-green);
  color: var(--dc-white) !important;
  border-color: var(--dc-green);
}

.dc-btn-green:hover {
  background: var(--dc-green-dark);
  border-color: var(--dc-green-dark);
  color: var(--dc-white) !important;
  transform: translateY(-2px);
}

/* ─── Navbar ─── */
.dc-navbar {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--dc-shadow-sm);
  padding: 0.75rem 0 !important;
  transition: box-shadow var(--dc-transition);
  min-height: var(--dc-nav-height);
}

.dc-navbar.scrolled {
  box-shadow: var(--dc-shadow-md);
}

.dc-navbar .navbar-brand {
  flex-basis: auto !important;
  padding: 0 !important;
  margin-right: 2rem;
}

.dc-navbar .navbar-brand img {
  max-height: 48px;
  width: auto !important;
  padding-left: 0 !important;
  max-width: 200px;
}

.dc-navbar .nav-link {
  color: var(--dc-gray-800) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  border-radius: 6px;
  transition: color var(--dc-transition), background var(--dc-transition);
}

.dc-navbar .nav-link:hover,
.dc-navbar .nav-link.active {
  color: var(--dc-blue) !important;
  background: var(--dc-blue-light);
}

.dc-navbar .dropdown-menu {
  border: 1px solid var(--dc-gray-200);
  border-radius: var(--dc-radius);
  box-shadow: var(--dc-shadow-md);
  padding: 0.5rem;
  margin-top: 0.25rem !important;
  min-width: 260px;
}

.dc-navbar .dropdown-item {
  border-radius: 6px;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  color: var(--dc-gray-800);
  white-space: normal;
  transition: background var(--dc-transition);
}

.dc-navbar .dropdown-item:hover {
  background: var(--dc-blue-light);
  color: var(--dc-blue);
}

.dc-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1rem;
}

.dc-nav-actions .dc-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.dc-nav-actions .btn-outline-primary {
  border: 2px solid var(--dc-blue) !important;
  color: var(--dc-blue) !important;
  background: transparent !important;
  border-radius: 8px !important;
  font-weight: 600;
  padding: 0.5rem 1.25rem !important;
  font-size: 0.875rem !important;
}

.dc-nav-actions .btn-outline-primary:hover {
  background: var(--dc-blue) !important;
  color: white !important;
}

/* ─── Hero Section ─── */
.dc-hero {
  position: relative;
  padding: 4rem 0 5rem;
  background: linear-gradient(135deg, var(--dc-gray-50) 0%, var(--dc-blue-light) 50%, var(--dc-green-light) 100%);
  overflow: hidden;
}

.dc-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(32, 157, 92, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.dc-hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(12, 65, 142, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.dc-hero-content {
  position: relative;
  z-index: 2;
}

.dc-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--dc-blue);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.dc-hero-lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--dc-gray-600);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.dc-hero-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.dc-hero-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: var(--dc-gray-800);
}

.dc-hero-benefits li i {
  color: var(--dc-green);
  margin-top: 3px;
  flex-shrink: 0;
}

.dc-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.dc-hero-visual {
  position: relative;
  z-index: 2;
  text-align: center;
}

.dc-hero-image-wrap {
  position: relative;
  display: inline-block;
}

.dc-hero-image-wrap img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(12, 65, 142, 0.2));
  animation: dc-float 6s ease-in-out infinite;
}

.dc-hero-badge {
  position: absolute;
  background: var(--dc-white);
  border-radius: var(--dc-radius);
  padding: 0.75rem 1rem;
  box-shadow: var(--dc-shadow-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dc-blue);
  animation: dc-float 4s ease-in-out infinite;
}

.dc-hero-badge--top {
  top: 10%;
  right: -5%;
  animation-delay: -1s;
}

.dc-hero-badge--bottom {
  bottom: 15%;
  left: -5%;
  animation-delay: -2.5s;
}

.dc-hero-badge i {
  color: var(--dc-green);
  font-size: 1.25rem;
}

@keyframes dc-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ─── Feature Cards ─── */
.dc-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.dc-feature-card {
  background: var(--dc-white);
  border: 1px solid var(--dc-gray-200);
  border-radius: var(--dc-radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--dc-transition);
  height: 100%;
}

.dc-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--dc-shadow-lg);
  border-color: var(--dc-green);
}

.dc-feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--dc-blue-light), var(--dc-green-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--dc-blue);
  transition: transform var(--dc-transition);
}

.dc-feature-card:hover .dc-feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.dc-feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dc-blue);
  margin-bottom: 0.75rem;
}

.dc-feature-card p {
  font-size: 0.95rem;
  color: var(--dc-gray-600);
  line-height: 1.6;
  margin: 0;
}

/* ─── Compliance Showcase ─── */
.dc-compliance-section {
  background: linear-gradient(180deg, var(--dc-navy) 0%, var(--dc-blue-dark) 100%);
  color: var(--dc-white);
  position: relative;
  overflow: hidden;
}

.dc-compliance-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.dc-compliance-section .dc-section-title {
  color: var(--dc-white);
}

.dc-compliance-section .dc-section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.dc-compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.dc-compliance-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--dc-radius-lg);
  padding: 1.75rem;
  transition: all var(--dc-transition);
}

.dc-compliance-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
  border-color: var(--dc-green);
}

.dc-compliance-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.dc-compliance-card-icon {
  width: 48px;
  height: 48px;
  background: var(--dc-green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  animation: dc-pulse 3s ease-in-out infinite;
}

.dc-compliance-card:nth-child(2) .dc-compliance-card-icon { animation-delay: -0.5s; }
.dc-compliance-card:nth-child(3) .dc-compliance-card-icon { animation-delay: -1s; }
.dc-compliance-card:nth-child(4) .dc-compliance-card-icon { animation-delay: -1.5s; }
.dc-compliance-card:nth-child(5) .dc-compliance-card-icon { animation-delay: -2s; }
.dc-compliance-card:nth-child(6) .dc-compliance-card-icon { animation-delay: -2.5s; }

@keyframes dc-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(32, 157, 92, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(32, 157, 92, 0); }
}

.dc-compliance-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: var(--dc-white);
}

.dc-compliance-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 1rem;
}

.dc-compliance-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dc-compliance-tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  background: rgba(32, 157, 92, 0.25);
  color: #7dffb0;
  border-radius: 4px;
}

/* ─── Stats Bar ─── */
.dc-stats-bar {
  background: var(--dc-green);
  padding: 3rem 0;
}

.dc-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  color: var(--dc-white);
}

.dc-stat-number {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.dc-stat-label {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.4;
}

/* ─── Product Cards Grid ─── */
.dc-products-section {
  background: var(--dc-gray-50);
}

.dc-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.dc-product-card {
  background: var(--dc-white);
  border-radius: var(--dc-radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--dc-gray-200);
  transition: all var(--dc-transition);
  text-decoration: none !important;
  display: block;
  height: 100%;
}

.dc-product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--dc-shadow-lg);
  border-color: var(--dc-blue);
}

.dc-product-card img {
  max-height: 100px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 1.25rem;
  transition: transform var(--dc-transition);
}

.dc-product-card:hover img {
  transform: scale(1.08);
}

.dc-product-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dc-blue);
  margin-bottom: 0.75rem;
}

.dc-product-card p {
  font-size: 0.875rem;
  color: var(--dc-gray-600);
  line-height: 1.6;
  margin: 0;
}

/* ─── Laws / Regulations Grid ─── */
.dc-laws-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.dc-law-card {
  background: var(--dc-white);
  border: 1px solid var(--dc-gray-200);
  border-radius: var(--dc-radius);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--dc-transition);
}

.dc-law-card:hover {
  border-color: var(--dc-green);
  box-shadow: var(--dc-shadow-md);
  transform: translateY(-4px);
}

.dc-law-card img {
  max-height: 80px;
  width: auto;
  margin-bottom: 1rem;
}

.dc-law-card h5 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dc-blue);
  margin: 0;
}

/* ─── Comparison Cards ─── */
.dc-comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.dc-comparison-card {
  border-radius: var(--dc-radius-lg);
  padding: 2rem;
  height: 100%;
}

.dc-comparison-card--before {
  background: #fff8e6;
  border-left: 4px solid #f0ad4e;
}

.dc-comparison-card--after {
  background: var(--dc-green-light);
  border-left: 4px solid var(--dc-green);
}

.dc-comparison-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.dc-comparison-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dc-comparison-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ─── AI Section ─── */
.dc-ai-section {
  background: var(--dc-gray-50);
}

.dc-ai-panel {
  background: linear-gradient(135deg, var(--dc-blue) 0%, var(--dc-green) 100%);
  border-radius: var(--dc-radius-lg);
  padding: 3rem 2rem;
  color: var(--dc-white);
  text-align: center;
}

.dc-ai-stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.dc-ai-stat-value {
  font-size: 2.5rem;
  font-weight: 700;
}

.dc-ai-stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

.dc-ai-feature-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.dc-ai-feature-item .dc-ai-icon {
  font-size: 1.75rem;
  color: var(--dc-green);
  flex-shrink: 0;
}

.dc-ai-feature-item h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dc-blue);
  margin-bottom: 0.35rem;
}

.dc-ai-feature-item p {
  font-size: 0.95rem;
  color: var(--dc-gray-600);
  margin: 0;
}

.dc-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--dc-blue);
  color: var(--dc-white);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

/* ─── Clients Carousel ─── */
.dc-clients-section {
  padding: 4rem 0;
}

.dc-clients-section .client-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  min-height: 100px;
}

.dc-clients-section .client-logo {
  max-width: 180px;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.85;
  transition: all var(--dc-transition);
}

.dc-clients-section .client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ─── Corporate Success (value props) ─── */
.dc-value-props {
  background: var(--dc-green);
  color: var(--dc-white);
}

.dc-value-props-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  text-align: center;
}

.dc-value-prop-item img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 1rem;
  animation: dc-float 5s ease-in-out infinite;
}

.dc-value-prop-item:nth-child(2) img { animation-delay: -1.25s; }
.dc-value-prop-item:nth-child(3) img { animation-delay: -2.5s; }
.dc-value-prop-item:nth-child(4) img { animation-delay: -3.75s; }

.dc-value-prop-item h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.dc-value-prop-item p {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.6;
  margin: 0;
}

/* ─── Product Page Hero ─── */
.dc-product-hero {
  padding: 3rem 0;
  background: linear-gradient(135deg, var(--dc-gray-50), var(--dc-blue-light));
}

.dc-product-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--dc-blue);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.dc-product-hero .product-icon {
  max-width: 120px;
  margin-bottom: 1rem;
}

/* ─── Footer ─── */
.dc-footer {
  background: var(--dc-gray-800);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 4rem;
}

.dc-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.dc-footer-brand img {
  max-width: 180px;
  margin-bottom: 1rem;
}

.dc-footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

.dc-footer h5 {
  color: var(--dc-white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.dc-footer h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--dc-green);
}

.dc-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dc-footer ul li {
  margin-bottom: 0.6rem;
}

.dc-footer ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--dc-transition);
}

.dc-footer ul li a:hover {
  color: var(--dc-green);
}

.dc-footer-contact p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.dc-footer-contact a {
  color: var(--dc-green);
  text-decoration: none;
}

.dc-footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
}

.dc-footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dc-white);
  transition: all var(--dc-transition);
}

.dc-footer-social a:hover {
  background: var(--dc-green);
  transform: translateY(-3px);
}

.dc-footer-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.dc-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ─── Trust Bar (compact, all pages) ─── */
.dc-trust-bar {
  background: var(--dc-blue-light);
  padding: 1.25rem 0;
  border-top: 1px solid var(--dc-gray-200);
}

.dc-trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.dc-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dc-blue);
}

.dc-trust-item i {
  color: var(--dc-green);
}

/* ─── Video Section ─── */
.company-intro-video-section,
.dc-video-section {
  padding: 4rem 0;
  background: var(--dc-white);
}

.intro-video-wrapper,
.dc-video-wrapper {
  position: relative;
  border-radius: var(--dc-radius-lg);
  overflow: hidden;
  box-shadow: var(--dc-shadow-lg);
}

.intro-video,
.dc-video-wrapper video {
  width: 100%;
  display: block;
  border-radius: var(--dc-radius-lg);
}

/* ─── Forms ─── */
.dc-form-card {
  background: var(--dc-white);
  border: 1px solid var(--dc-gray-200);
  border-radius: var(--dc-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--dc-shadow-md);
}

.dc-form-card .form-control {
  border-radius: 8px;
  border: 1px solid var(--dc-gray-200);
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

.dc-form-card .form-control:focus {
  border-color: var(--dc-blue);
  box-shadow: 0 0 0 3px rgba(12, 65, 142, 0.15);
}

/* ─── Breadcrumbs ─── */
.breadcrumb-nav {
  padding: 1rem 0;
  background: var(--dc-gray-50);
  border-bottom: 1px solid var(--dc-gray-200);
}

/* ─── FAQ ─── */
.dc-faq-item {
  border: 1px solid var(--dc-gray-200);
  border-radius: var(--dc-radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.dc-faq-question {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  color: var(--dc-blue);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--dc-white);
  transition: background var(--dc-transition);
}

.dc-faq-question:hover {
  background: var(--dc-gray-50);
}

/* ─── Override legacy conflicting styles ─── */
.top {
  height: 0 !important;
  display: none;
}

.banner .row,
.container-corporate-success .row,
.container-info .row,
.container-info-2 .row,
.laws-container .d-flex {
  padding: 0 !important;
}

.footer-logo {
  padding-left: 0 !important;
}

h2 {
  padding: 0 !important;
}

.product-demo-section {
  background: var(--dc-gray-50) !important;
  border-radius: var(--dc-radius-lg) !important;
  border: 1px solid var(--dc-gray-200);
}

/* Mobile app popup refinement */
.mobile-app-popup {
  border-radius: var(--dc-radius-lg);
  box-shadow: var(--dc-shadow-lg);
}

/* ─── Responsive ─── */
@media (max-width: 991px) {
  .dc-navbar .navbar-nav ul {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100%;
    padding: 1rem 0 !important;
  }

  .dc-nav-actions {
    flex-direction: column;
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
  }

  .dc-nav-actions .dc-btn,
  .dc-nav-actions a {
    width: 100%;
    text-align: center;
  }

  .dc-navbar .dropdown-menu {
    position: static !important;
    float: none !important;
    width: 100% !important;
    box-shadow: none;
    border: none;
    background: var(--dc-gray-50);
    margin-top: 0.5rem !important;
  }

  .dc-hero-badge--top,
  .dc-hero-badge--bottom {
    display: none;
  }

  .dc-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .dc-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dc-hero {
    padding: 2.5rem 0 3rem;
  }

  .dc-section {
    padding: 3rem 0;
  }
}

@media (max-width: 767px) {
  .dc-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dc-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .dc-trust-items {
    gap: 1rem;
  }

  .dc-trust-item {
    font-size: 0.8rem;
  }

  .dc-comparison-grid {
    grid-template-columns: 1fr;
  }

  .laws .d-flex {
    flex-direction: column !important;
    align-items: center !important;
  }

  .laws .card {
    width: 100% !important;
    max-width: 320px;
    margin: 0.75rem 0 !important;
  }
}

@media (max-width: 480px) {
  .dc-stats-grid {
    grid-template-columns: 1fr;
  }

  .dc-hero-cta {
    flex-direction: column;
  }

  .dc-hero-cta .dc-btn {
    width: 100%;
    text-align: center;
  }
}

/* ─── Legacy product page banner → professional hero ─── */
.banner,
.dc-product-hero {
  padding: 3rem 0;
  background: linear-gradient(135deg, var(--dc-gray-50), var(--dc-blue-light));
}

.banner .container,
.banner .container-fluid {
  max-width: var(--dc-container-max);
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.banner h1,
.dc-product-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--dc-blue);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.banner .row {
  align-items: center;
}

.banner img.img-fluid {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 30px rgba(12, 65, 142, 0.15));
}

/* Testimonials section cleanup */
.container-testimonials .testimonials h1,
.container-testimonials h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
  font-weight: 700 !important;
  color: var(--dc-blue) !important;
  margin-top: 0 !important;
  margin-bottom: 2rem !important;
}

.company-testimonies {
  border-radius: var(--dc-radius-lg) !important;
  border: 1px solid var(--dc-gray-200) !important;
  box-shadow: var(--dc-shadow-sm) !important;
}

/* Contact & demo forms */
.contact-video-banner,
.dc-form-card {
  margin-bottom: 2rem;
}

.container-testimonials {
  padding: 4rem 0;
}

.container-testimonials .dc-container,
.container-testimonials > .container-fluid {
  max-width: var(--dc-container-max);
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* About page cards */
.aboutus .cards {
  box-shadow: var(--dc-shadow-md) !important;
  border-radius: var(--dc-radius-lg) !important;
  height: auto !important;
  width: 100% !important;
  margin-left: 0 !important;
  transition: transform var(--dc-transition);
}

.aboutus .cards:hover {
  transform: translateY(-6px) !important;
}

.dc-hero--compact {
  padding: 2.5rem 0 3rem;
}

/* ─── About page ─── */
.dc-about-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.dc-about-vision-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--dc-radius-lg);
  box-shadow: var(--dc-shadow-md);
}

.dc-about-card {
  background: var(--dc-white);
  border: 1px solid var(--dc-gray-200);
  border-radius: var(--dc-radius-lg);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--dc-shadow-sm);
  transition: all var(--dc-transition);
}

.dc-about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--dc-shadow-md);
  border-color: var(--dc-green);
}

.dc-about-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dc-green);
  text-align: center;
  margin-bottom: 1rem;
}

.dc-about-card p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--dc-gray-600);
  margin: 0;
}

.dc-content-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.dc-content-split--reverse {
  grid-template-columns: 1.2fr 1fr;
}

.dc-content-split--reverse .dc-split-image {
  order: 2;
}

.dc-content-split--reverse .dc-split-text {
  order: 1;
}

.dc-split-image img {
  width: 100%;
  border-radius: var(--dc-radius-lg);
  box-shadow: var(--dc-shadow-md);
}

.dc-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dc-feature-list li {
  margin-bottom: 1.75rem;
}

.dc-feature-list li:last-child {
  margin-bottom: 0;
}

.dc-feature-list h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dc-green);
  margin-bottom: 0.5rem;
}

.dc-feature-list p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dc-gray-600);
  margin: 0;
}

.dc-feature-list li p.large {
  font-size: 1.15rem;
  line-height: 1.75;
}

/* ─── Team page ─── */
.dc-team-section {
  padding: 3rem 0;
}

.dc-team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.dc-team-grid .modal {
  position: fixed;
  flex: none;
  width: auto;
}

.modal-content {
  border-radius: var(--dc-radius-lg);
  border: none;
  box-shadow: var(--dc-shadow-lg);
}

.modal-header {
  border-bottom: 1px solid var(--dc-gray-200);
}

.modal-body {
  padding: 2rem;
}

.dc-team-card {
  width: 18rem;
  background: var(--dc-white);
  border: 1px solid var(--dc-gray-200) !important;
  border-radius: var(--dc-radius-lg) !important;
  box-shadow: var(--dc-shadow-sm);
  cursor: pointer;
  transition: all var(--dc-transition);
  overflow: hidden;
}

.dc-team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--dc-shadow-lg);
  border-color: var(--dc-blue) !important;
}

.dc-team-card .card-body {
  padding: 1.5rem;
}

.dc-team-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 3px solid var(--dc-blue-light);
}

.dc-team-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.dc-team-card .card-text {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.founders-heading h1,
.dc-team-heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--dc-blue);
  margin-bottom: 2rem;
}

/* ─── Contact page ─── */
.dc-contact-video {
  padding: 3rem 0;
  background: var(--dc-gray-50);
}

.dc-contact-video .video-container-box {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--dc-radius-lg);
  overflow: hidden;
  box-shadow: var(--dc-shadow-lg);
  position: relative;
}

.dc-contact-video video {
  width: 100%;
  display: block;
}

.dc-contact-section {
  padding: 4rem 0;
}

.dc-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.dc-contact-info-card {
  background: var(--dc-white);
  border: 1px solid var(--dc-gray-200);
  border-radius: var(--dc-radius-lg);
  padding: 2.5rem;
  height: 100%;
  box-shadow: var(--dc-shadow-sm);
}

.dc-contact-info-card h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dc-green);
  text-align: center;
  margin-bottom: 2rem;
}

.dc-contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dc-gray-800);
}

.dc-contact-detail i {
  color: var(--dc-green);
  font-size: 1.25rem;
  margin-top: 3px;
  flex-shrink: 0;
  width: 24px;
}

.dc-contact-social {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.dc-contact-social a {
  width: 48px;
  height: 48px;
  background: var(--dc-blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dc-blue);
  font-size: 1.25rem;
  transition: all var(--dc-transition);
}

.dc-contact-social a:hover {
  background: var(--dc-blue);
  color: var(--dc-white);
  transform: translateY(-3px);
}

.dc-form-card h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dc-green);
  text-align: center;
  margin-bottom: 1.5rem;
}

.dc-form-card label {
  font-weight: 500;
  color: var(--dc-gray-800);
  font-size: 0.9rem;
}

.dc-form-card .btn-primary {
  background: var(--dc-blue);
  border-color: var(--dc-blue);
  border-radius: 8px;
  padding: 0.75rem 2rem;
  font-weight: 600;
}

/* ─── Cart page ─── */
.dc-cart-section {
  padding: 3rem 0 5rem;
  background: var(--dc-gray-50);
}

.dc-cart-section .cart-page {
  padding: 0;
  background: transparent;
  min-height: auto;
}

.dc-cart-section .product-card {
  border: 1px solid var(--dc-gray-200);
  border-radius: var(--dc-radius-lg);
  box-shadow: var(--dc-shadow-sm);
}

.dc-cart-section .product-card:hover {
  border-color: var(--dc-blue);
  box-shadow: var(--dc-shadow-lg);
}

.dc-cart-section .cart-summary {
  background: var(--dc-white);
  border: 1px solid var(--dc-gray-200);
  border-radius: var(--dc-radius-lg);
  padding: 2rem;
  box-shadow: var(--dc-shadow-md);
}

.dc-cart-section .add-to-cart-btn {
  background: var(--dc-blue);
  border-color: var(--dc-blue);
  border-radius: 8px;
  font-weight: 600;
  width: 100%;
}

.dc-cart-section #checkoutBtn {
  background: var(--dc-green);
  border-color: var(--dc-green);
  border-radius: 8px;
  font-weight: 600;
  padding: 0.875rem 2.5rem;
}

@media (max-width: 991px) {
  .dc-about-vision-grid {
    grid-template-columns: 1fr;
  }

  .dc-content-split,
  .dc-content-split--reverse {
    grid-template-columns: 1fr;
  }

  .dc-content-split--reverse .dc-split-image,
  .dc-content-split--reverse .dc-split-text {
    order: unset;
  }

  .dc-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .dc-team-card {
    width: 100%;
    max-width: 320px;
  }
}

.team-section .card:hover {
  transform: translateY(-4px);
  box-shadow: var(--dc-shadow-md);
}

.dc-footer-cta-group .dc-btn-outline:hover {
  background: var(--dc-green) !important;
  border-color: var(--dc-green) !important;
  color: var(--dc-white) !important;
}

/* Other products legacy boxes fallback */
.row.justify-content-around .custom-col.bg-light {
  border-radius: var(--dc-radius-lg) !important;
  height: auto !important;
  min-height: 120px !important;
  width: auto !important;
  max-width: 100% !important;
  padding: 1.5rem !important;
  border: 1px solid var(--dc-gray-200) !important;
  transition: all var(--dc-transition);
}

.row.justify-content-around .custom-col.bg-light:hover {
  transform: translateY(-4px);
  box-shadow: var(--dc-shadow-md);
  border-color: var(--dc-blue) !important;
}
[data-aos] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-aos="fade-up"] {
  transform: translateY(30px);
}

[data-aos="fade-right"] {
  transform: translateX(-30px);
}

[data-aos="fade-left"] {
  transform: translateX(30px);
}

[data-aos="zoom-in"] {
  transform: scale(0.92);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}

/* FAQ accordion */
.dc-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.5rem;
  color: var(--dc-gray-600);
  line-height: 1.7;
}

.dc-faq-item.open .dc-faq-answer {
  padding-bottom: 1.25rem;
}

.dc-faq-item.open .dc-faq-question i {
  transform: rotate(180deg);
}

.dc-faq-question i {
  transition: transform 0.3s ease;
}
