:root {
  /* Blue shades */
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-600: #2563eb;

  /* Green shades */
  --green-100: #d1fae5;
  --green-200: #a7f3d0;
  --green-600: #16a34a;

  /* Purple shades */
  --purple-100: #f3e8ff;
  --purple-200: #e9d5ff;
  --purple-600: #7c3aed;

  /* Orange shades */
  --orange-100: #ffedd5;
  --orange-200: #fed7aa;
  --orange-600: #ea580c;

  /* Primary Colors */
  --primary-blue: #1e40af;
  --primary-blue-light: #3b82f6;
  --primary-blue-dark: #1d4ed8;
  --primary-blue-50: #eff6ff;
  --primary-blue-100: #dbeafe;
  --primary-blue-200: #bfdbfe;

  /* Secondary Colors */
  --secondary-green: #10b981;
  --secondary-green-light: #34d399;
  --secondary-green-100: #dcfce7;
  --secondary-green-600: #059669;
  --secondary-green-800: #166534;

  /* Accent Colors */
  --accent-purple: #8b5cf6;
  --accent-purple-100: #ede9fe;
  --accent-orange: #f59e0b;
  --accent-orange-100: #fef3c7;
  --accent-cyan: #06b6d4;
  --accent-cyan-100: #cffafe;
  --accent-pink: #ec4899;
  --accent-red: #ef4444;
  --accent-yellow: #fbbf24;

  /* Neutral Colors */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Text Colors */
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --text-white: #ffffff;

  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-dark: #1f2937;
  --bg-gradient-start: #f8fafc;
  --bg-gradient-end: #e2e8f0;

  /* Border Colors */
  --border-light: #e5e7eb;
  --border-medium: #d1d5db;
  --border-dark: #374151;

  /* Shadow Colors */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Animation Variables */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.6s ease;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;

  /* ring colours */
  --ring-flat-color: #93e0ff;
  --ring-flat-shadow: 0 0 50px -12px #38c5fc;

  --ring-tilt-color: #04b8ff;
  --ring-tilt-color2: #7bdaff;
  --ring-tilt-shadow: none;

  /* pill (gradient bar) */
  --pill-gradient: linear-gradient(90deg,
      rgb(2, 157, 218) 0%,
      rgb(185, 235, 255) 23%,
      rgb(2, 157, 218) 34%,
      rgb(2, 157, 218) 61%,
      rgb(185, 235, 255) 80%,
      rgb(2, 157, 218) 100%);
  --pill-border-color: #029dda;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  position: relative;
}

/* container for all shapes */
.section-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  perspective: 650px;
}

/* --- flat ring via ::before --- */
.section-bg-shapes::before {
  content: "";
  position: absolute;
  top: 45%;
  left: 50%;
  width: 680px;
  height: 680px;
  transform: translate(-50%, -50%);
  border: 3px solid var(--ring-flat-color);
  border-radius: 50%;
  background-color: transparent;
  box-shadow: var(--ring-flat-shadow);
}

/* --- tilted ring via ::after --- */
.section-bg-shapes::after {
  content: "";
  position: absolute;
  top: 82%;
  left: 50.2%;
  width: 610px;
  height: 680px;
  transform: translate(-50%, -50%) rotateX(120deg);
  transform-style: preserve-3d;
  border: 4px solid transparent;
  border-radius: 50%;
  background: linear-gradient(170deg, var(--ring-tilt-color) 50%, var(--ring-tilt-color2));
  box-shadow: var(--ring-tilt-shadow);
}

/* --- gradient pill as a sibling div --- */
.section-bg-pill {
  position: absolute;
  top: 84.5%;
  left: 50.2%;
  width: 730px;
  height: 110px;
  transform: translate(-50%, -50%);
  border-radius: 50px 50px 60% 60%;
  background: var(--pill-gradient);
  border: 4px solid var(--pill-border-color);
  pointer-events: none;
}

main {
  width: 100%;
  position: relative;
}

.image-container {
  position: fixed;
  bottom: -70%;
  right: -10%;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 599;
  opacity: 0;
}

.image-container.active {
  position: absolute !important;
  bottom: 130px !important;
  right: 50%;
  transform: translateX(50%) translateY(-20px) !important;
  width: fit-content;
  height: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 599;
}

.image-container img {
  width: 700px;
  height: auto;
  position: relative;
}

.image-container:not(.active):after {
  content: "";
  position: absolute;
  bottom: 60px;
  /* Move it closer to the base of the machine */
  left: 50%;
  transform: translateX(-50%) scaleX(1.5);
  /* Center and flatten */
  width: 20%;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
      rgba(0, 0, 0, 0.25) 0%,
      transparent 70%);
  filter: blur(10px);
  z-index: 100;
}

/* Default: hide image on desktop */
.mobile-image-container {
  display: none;
}


.product-container {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  /* padding: 2rem; */
  position: relative;
}

.product-container>img {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero Section */
.hero-section {
  padding: 120px 0 80px;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: none;
}

/* Optional: overlay for better readability */
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-section .hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.85;
}

.hero-section .hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 4rem;
  align-items: center;
}

.hero-section .hero-content {
  text-align: left;
  width: 80%;
}

.hero-section .hero-badge {
  background: var(--white);
  padding: 10px 15px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  text-align: center;
  width: max-content;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 2rem;
}

.hero-section .hero-title {
  font-size: 5rem;
  font-weight: bold;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  text-shadow:
    2px 0 0 #fff,
    -2px 0 0 #fff,
    0 2px 0 #fff,
    0 -2px 0 #fff,
    1.5px 1.5px 0 #fff,
    -1.5px 1.5px 0 #fff,
    1.5px -1.5px 0 #fff,
    -1.5px -1.5px 0 #fff;
}

.hero-section .text-primary {
  color: var(--primary);
}

.hero-section .hero-subtitle {
  font-size: 1.25rem;
  color: var(--black);
  margin-bottom: 2rem;
  line-height: 1.6;
  width: 80%;
}

.hero-section .hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-section .btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 7px;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  transition: all .3s;
}

.hero-section .btn-primary {
  background: var(--primary);
  border: 2px solid var(--primary);
  color: var(--white);
}

.hero-section .btn-primary:hover {
  background: none;
  color: var(--primary);
}

.hero-section .btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: none;
}

.hero-section .btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* Section - 2 */
.power-section {
  width: 100%;
  height: auto;
  padding: 40px 0;
  position: relative;
  margin: 0 auto;
  min-height: 100vh;
  overflow-y: hidden;
}

.power-section .power-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.power-section .section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.power-section .section-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.power-section .section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Enhanced Section Badges */
.power-section .section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  background: linear-gradient(135deg,
      var(--primary),
      var(--secondary));
  color: var(--white);
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.power-section .power-content {
  position: relative;
  height: 600px;
  width: 100%;
}

.power-section .stats-grid {
  position: relative;
  height: 100%;
  width: 100%;
}

/* Enhanced Stat Cards */
.power-section .stat-card {
  position: absolute;
  padding: var(--spacing-sm);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  text-align: center;
  width: 200px;
  height: auto;
  /* height: 200px; */
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  backdrop-filter: blur(10px);
}

.power-section .stat-1 {
  top: 10%;
  left: 25%;
  background-color: var(--blue-100);
}

.power-section .stat-2 {
  top: 0%;
  right: 25%;
  background-color: var(--green-100);
}

.power-section .stat-3 {
  bottom: 10%;
  left: 15%;
  background-color: var(--purple-100);
}

.power-section .stat-4 {
  bottom: 34%;
  right: 13%;
  background-color: var(--orange-100);
}

.power-section .stat-5 {
  bottom: 2%;
  right: 25%;
  background-color: var(--blue-100);
}

.power-section .stat-card.stat-1:hover {
  border: 1px solid var(--blue-200);
  transform: scale(1.1);
}

.power-section .stat-card.stat-2:hover {
  border: 1px solid var(--green-200);
  transform: scale(1.1);
}

.power-section .stat-card.stat-3:hover {
  border: 1px solid var(--purple-200);
  transform: scale(1.1);
}

.power-section .stat-card.stat-4:hover {
  border: 1px solid var(--orange-200);
  transform: scale(1.1);
}

.power-section .stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.power-section .stat-1 .stat-icon {
  background: var(--blue-200);
}

.power-section .stat-2 .stat-icon {
  background: var(--green-200);
}

.power-section .stat-3 .stat-icon {
  background: var(--purple-200);
}

.power-section .stat-4 .stat-icon {
  background: var(--orange-200);
}

.power-section .stat-icon i {
  font-size: 2rem;
}

.power-section .stat-1 .stat-icon i {
  color: var(--blue-600);
}

.power-section .stat-2 .stat-icon i {
  color: var(--green-600);
}

.power-section .stat-3 .stat-icon i {
  color: var(--purple-600);
}

.power-section .stat-4 .stat-icon i {
  color: var(--orange-600);
}

.power-section .stat-number {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: var(--spacing-xs);
  font-family: "Courier New", monospace;
  display: inline-block;
}

.power-section .dteclaser .stat-number {
  font-size: 1.5rem;
}

.power-section .stat-1 .stat-number {
  color: var(--blue-600);
}

.power-section .stat-2 .stat-number {
  color: var(--green-600);
}

.power-section .stat-3 .stat-number {
  color: var(--purple-600);
}

.power-section .stat-4 .stat-number {
  color: var(--orange-600);
}

.power-section .stat-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.ripple-container {
  position: absolute;
  bottom: -40%;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--primary-blue-light);
  background: transparent;
  width: 100px;
  height: 100px;
  transform: scale(0);
  animation: ripple-animation 5s linear;
}

@keyframes ripple-animation {
  to {
    transform: scale(10);
    border: 1px solid rgba(21, 32, 119, 0.1);
    opacity: 0;
  }
}

/* Section 3 features */
.updates-section {
  align-items: start;
  min-height: 100vh;
  position: relative;
  width: 100%;
}

.updates-section {
  background-image: repeating-linear-gradient(135deg,
      rgba(255, 255, 255, 0.04) 0px,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px,
      transparent 40px);
  background-size: cover;
}

.updates-section .content-container {
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 2rem;
}

.updates-section .content-container .col-1,
.updates-section .content-container .col-2 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.updates-section .content-container .feature-card .feature-icon img {
  width: 43px;
  height: auto;
}

.updates-section .content-container .col-1 .feature-card,
.updates-section .content-container .col-2 .feature-card {
  padding: 0.5rem 1rem;
  border-radius: var(--spacing-sm);
  min-height: 150px;
  max-width: 500px;
  min-width: 300px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  border: 2px solid var(--border-light);
  backdrop-filter: blur(20px);
  background: white;
}

.updates-section .content-container .col-1 .feature-card .feature-content,
.updates-section .content-container .col-2 .feature-card .feature-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
}

.updates-section .content-container .col-1 .feature-card .feature-content h3,
.updates-section .content-container .col-2 .feature-card .feature-content h3 {
  font-size: 1.5rem;
}


/* Props - section */
.ab-stacking-container {
  position: relative;
  width: 100%;
}

.ab-project-page {
  height: 100vh;
  width: 100%;
  position: sticky;
  top: 129px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ab-project-layout {
  width: 100%;
  height: 100%;
  align-items: center;
}

.ab-project-image {
  width: 100%;
  /* height: calc(100vh - 130px); */
  height: auto;
}

.ab-project-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Tablet Landscape */
@media screen and (max-width: 1024px) and (min-width: 769px) {
  .power-section .section-header h2 {
    font-size: 2.1rem;
  }

  .power-section .section-header p {
    font-size: 1rem;
    max-width: 450px;
  }

  .power-section .power-content {
    height: 450px;
  }

  .power-section .stat-card {
    width: 140px;
    height: auto;
    /* height: 140px; */
    padding: 10px;
  }

  .power-section .stat-card .stat-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.6rem;
  }

  .power-section .stat-card .stat-icon i {
    font-size: 1.2rem;
  }

  .power-section .stat-number {
    font-size: 2rem;
  }

  .power-section .dteclaser .stat-number {
    font-size: 1rem;
  }

  .power-section .stat-label {
    font-size: 0.85rem;
  }

  .power-section .stat-1 {
    top: 10%;
    left: 12%;
  }

  .power-section .stat-2 {
    top: 8%;
    right: 12%;
  }

  .power-section .stat-3 {
    bottom: 18%;
    left: 8%;
  }

  .power-section .stat-4 {
    bottom: 28%;
    right: 10%;
  }

  .power-section .stat-5 {
    bottom: 8%;
    right: 18%;
  }
}

@media screen and (max-width: 1000px) {

  .image-container img {
    display: none;
  }

  .product-container>img {
    display: none;
  }

  .hero-section .hero-bg-video {
    display: none;
  }
}

@media screen and (max-width: 1200px) {
  .hero-section .hero-title {
    font-size: 2.4rem;
    margin-bottom: 1rem;
  }

  .hero-section .hero-subtitle {
    font-size: 1rem;
    width: 70%;
  }

  .updates-section .content-container .col-1 .feature-card,
  .updates-section .content-container .col-2 .feature-card {
    padding: 0.5rem 1rem;
    border-radius: var(--spacing-sm);
    min-height: 150px;
    /* max-width: 40%; */
    min-width: 30px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
  }

  /* Power Section Tablet Responsive */
  .power-section .section-header h2 {
    font-size: 2.2rem;
  }

  .power-section .section-header p {
    font-size: 1rem;
    max-width: 500px;
  }

  .power-section .power-content {
    height: 500px;
  }

  .power-section .stat-card {
    padding: 8px;
    width: 160px;
    height: auto;
    /* height: 160px; */
  }

  .power-section .stat-card .stat-icon {
    width: 45px;
    height: 45px;
    margin: 0 auto 0.8rem;
  }

  .power-section .stat-card .stat-icon i {
    font-size: 1.4rem;
  }

  .power-section .stat-number {
    font-size: 2.2rem;
    margin-bottom: 0.3rem;
  }

  .power-section .dteclaser .stat-number {
    font-size: 1rem;
  }

  .power-section .stat-label {
    font-size: 0.9rem;
  }

  .power-section .stat-1 {
    top: 8%;
    left: 15%;
  }

  .power-section .stat-2 {
    top: 5%;
    right: 15%;
  }

  .power-section .stat-3 {
    bottom: 15%;
    left: 10%;
  }

  .power-section .stat-4 {
    bottom: 25%;
    right: 8%;
  }

  .power-section .stat-5 {
    bottom: 5%;
    right: 20%;
  }
}

@media (max-width: 768px) {

  .ab-project-layout,
  .ab-project-layout.ab-reverse {
    grid-template-columns: 1fr;
  }

  .before-after .before-after-wrapper {
    flex-direction: column;
  }

  .before-after .before-after-wrapper .video-wrapper {
    aspect-ratio: 2 / 1;
  }

  .updates-section .content-container .feature-card .feature-icon {
    display: none;
  }

  .hero-section .hero-content {
    text-align: left;
    width: 90%;
  }

  .hero-section .hero-subtitle {
    font-size: 1rem;
    width: 100%;
  }

  .updates-section .content-container .col-1 .feature-card,
  .updates-section .content-container .col-2 .feature-card {
    max-width: none;
  }

  .updates-section .content-container .col-1 .feature-card .feature-content h3,
  .updates-section .content-container .col-2 .feature-card .feature-content h3 {
    font-size: 1.1rem;
  }

  .before-after .before-after-wrapper .video-wrapper iframe {
    height: auto !important;
  }

  .ab-project-image {
    height: auto;
  }

  .ab-project-page {
    height: auto;
    width: 100%;
  }

  /* Power Section Mobile Responsive */
  .power-section {
    padding: 20px 0;
    min-height: auto;
  }

  .power-section .power-container {
    padding: 0 15px;
  }

  .power-section .section-header {
    margin-bottom: 1.5rem;
  }

  .power-section .section-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }

  .power-section .section-header p {
    font-size: 0.95rem;
    max-width: 100%;
    padding: 0 10px;
  }

  .power-section .section-badge {
    font-size: 0.8rem;
    padding: 6px 12px;
    margin-bottom: 1rem;
  }

  .power-section .power-content {
    height: auto;
    margin-top: 1rem;
  }

  .power-section .stats-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 15px;
    padding: 20px;
    height: auto;
  }

  .power-section .stat-card {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: 120px;
    padding: 15px 10px;
    margin: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .power-section .stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }

  .power-section .stat-1 {
    grid-column: 1;
    grid-row: 1;
  }

  .power-section .stat-2 {
    grid-column: 2;
    grid-row: 1;
  }

  .power-section .stat-3 {
    grid-column: 1;
    grid-row: 2;
  }

  .power-section .stat-4 {
    grid-column: 2;
    grid-row: 2;
  }

  .power-section .stat-5 {
    grid-column: 1 / 3;
    grid-row: 3;
    max-width: 200px;
    margin: 0 auto;
  }

  .power-section .stat-card .stat-icon {
    width: 35px;
    height: 35px;
    margin: 0 auto 0.5rem;
  }

  .power-section .stat-card .stat-icon i {
    font-size: 1rem;
  }

  .power-section .stat-number {
    font-size: 1.6rem;
    margin-bottom: 0.2rem;
  }

  .power-section .dteclaser .stat-number {
    font-size: 1rem;
  }

  .power-section .stat-label {
    font-size: 0.85rem;
    line-height: 1.2;
  }

  .ripple-container {
    display: none;
  }
}

@media (max-width: 480px) {

  .ab-project-layout,
  .ab-project-layout.ab-reverse {
    grid-template-columns: 1fr;
  }

  .hero-section .hero-content {
    text-align: left;
    width: 97%;
  }

  .hero-section .hero-badge {
    padding: 8px 10px;
    font-size: 12px;
  }

  .updates-section .content-container .col-1 .feature-card,
  .updates-section .content-container .col-2 .feature-card {
    max-width: 90%;
    width: 100%;
  }

  .product-container {
    height: auto;
    padding: 20px 0;
  }

  .updates-section .content-container {
    gap: 1rem;
    flex-direction: column;
  }

  .updates-section .content-container .col-1,
  .updates-section .content-container .col-2 {
    gap: 1rem;
    width: 100%;
    align-items: center;
  }

  /* Power Section Small Mobile Responsive */
  .power-section .section-header h2 {
    font-size: 1.5rem;
  }

  .power-section .section-header p {
    font-size: 0.9rem;
    padding: 0 5px;
  }

  .power-section .section-badge {
    font-size: 0.75rem;
    padding: 5px 10px;
  }

  .power-section .stats-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, auto);
    gap: 10px;
    padding: 10px 5px;
  }

  .power-section .stat-card {
    min-height: 100px;
    padding: 12px 8px;
  }

  .power-section .stat-1,
  .power-section .stat-2,
  .power-section .stat-3,
  .power-section .stat-4,
  .power-section .stat-5 {
    grid-column: 1;
  }

  .power-section .stat-1 {
    grid-row: 1;
  }

  .power-section .stat-2 {
    grid-row: 2;
  }

  .power-section .stat-3 {
    grid-row: 3;
  }

  .power-section .stat-4 {
    grid-row: 4;
  }

  .power-section .stat-5 {
    grid-row: 5;
    max-width: 100%;
  }

  .power-section .stat-card .stat-icon {
    width: 30px;
    height: 30px;
    margin: 0 auto 0.4rem;
  }

  .power-section .stat-card .stat-icon i {
    font-size: 0.9rem;
  }

  .power-section .stat-number {
    font-size: 1.4rem;
    margin-bottom: 0.1rem;
  }

  .power-section .dteclaser .stat-number {
    font-size: 1rem;
  }

  .power-section .stat-label {
    font-size: 0.8rem;
  }
}


/* === Brochure Section === */
.brochure-section {
  position: relative;
  text-align: center;
  color: var(--black);
  padding: 70px 0;
  background: url('https://www.wingderm.com/wp-content/themes/wingderm/images-products/inner-bownload-bg.jpg') center/cover no-repeat;
}

.brochure-section .brochure-title {
  font-size: 2.2rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.brochure-section .brochure-title span {
  border-bottom: 2px solid var(--primary);
}

.brochure-section .bg-text {
  position: absolute;
  top: 54px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 50px;
  color: rgba(0, 0, 0, 0.1);
  z-index: 0;
  pointer-events: none;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.3);
  font-weight: 800 !important;
  line-height: 1 !important;
}

.brochure-section .brochure-text {
  font-style: italic;
  font-weight: 500;
  margin-top: 30px;
  size: 18px;
  margin-bottom: 0;
}

.brochure-section .brochure-text2 {
  font-size: 2rem;
  margin-top: 0;
  font-style: italic;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.55;
}

.brochure-section .btn-primary {
  background-color: var(--primary);
  border: 2px solid var(--primary);
  padding: 12px 30px;
  margin-top: 20px;
  border-radius: 50px;
  color: var(--white);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.brochure-section .btn-primary:hover {
  background-color: transparent;
  color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
  .brochure-section .brochure-title {
    font-size: 1.8rem;
  }

  .brochure-section .bg-text {
    font-size: 2.5rem;
  }

  .brochure-section .bg-text {
    top: 20px;
    font-size: 40px;
  }

  .brochure-section .brochure-text2 {
    font-size: 1.5rem;
  }
}

/* === Modal Styles === */
.brochure-section .brochure-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.brochure-section .brochure-modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 30px 20px;
  max-width: 400px;
  width: 90%;
  box-shadow: var(--shadow-2xl);
  position: relative;
}

.brochure-section .brochure-modal-content h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--gray-800);
}

.brochure-section .brochure-modal .close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
}

.brochure-section .brochure-modal .form-group {
  margin-bottom: 10px;
  text-align: left;
}

.brochure-section .brochure-modal .form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 5px;
  font-size: 15px;
  color: var(--gray-800);
}

.brochure-section .brochure-modal .form-group input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--gray-300);
  outline: none;
  font-size: 14px;
  font-weight: 500;
  transition: border 0.3s;
}

.brochure-section .brochure-modal .form-group input:focus {
  border-color: var(--primary-blue);
}

.brochure-section .brochure-modal .btn-primary {
  width: 100%;
  margin-top: 10px;
}

/* Button Loading */
.brochure-section .brochure-modal .btn-primary.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.9;
  color: transparent;
}

.brochure-section .brochure-modal .btn-primary.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: spin 0.8s linear infinite;
  will-change: transform;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Before After Section */
.before-after {
  padding: 50px 1rem;
  text-align: center;
}

.before-after .before-after-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.before-after .before-after-wrapper {
  display: flex;
  justify-content: center;
  align-items: stretch;
  min-height: 50vh;
  gap: 30px;
}


.before-after .before-after-wrapper .video-wrapper {
  flex: 0 0 30%;
  display: flex;
  align-items: stretch;
}

.before-after .before-after-wrapper .video-wrapper iframe {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.before-after .before-after-wrapper .slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  /* max-width: 800px; */
  aspect-ratio: 2 / 1;
  border-radius: 0.7rem;
  overflow: hidden;
  margin: 0 auto;
}

.before-after .before-after-wrapper .before-image,
.before-after .before-after-wrapper .after-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.before-after .before-after-wrapper .before-image img,
.before-after .before-after-wrapper .after-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.before-after .before-after-wrapper .after-image {
  clip-path: inset(0 50% 0 0);
}

.before-after .before-after-wrapper .slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 0px;
  height: 100%;
  background-color: #fff;
  cursor: pointer;
  z-index: 3;
}

.before-after .before-after-wrapper .slider-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 0px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  z-index: 2;
}

.before-after .before-after-wrapper .pulse-container {
  position: relative;
  display: inline-block;
}

.before-after .before-after-wrapper .pulse-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #ffffff;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0;
  }
}

.before-after .before-after-wrapper .slider-line svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  cursor: e-resize;
}

.before-after .before-after-wrapper .slider-container,
.before-after .before-after-wrapper .before-image img,
.before-after .before-after-wrapper .after-image img {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.before-after .before-after-wrapper .slider-handle,
.before-after .before-after-wrapper .slider-line {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* MOBILE VIEW */
@media (max-width: 768px) {
  .mobile-image-container {
    display: block;
    position: relative;
    width: 100%;
    height: 45vh;
    margin-top: 240px;
    margin-bottom: 24px;
    z-index: 1;
  }

  .hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(157, 157, 157, 0.3);
    z-index: 1;
  }

  .mobile-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }
}

@media (max-width: 660px) {
  .mobile-image-container {
    display: block;
    position: relative;
    width: 100%;
    height: 45vh;
    margin-top: 120px;
    margin-bottom: 24px;
    z-index: 1;
  }
}