* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

:root {
  --primary: #1e9bb4;
  --accent: #148a9a;
  --muted: #f6f6f6;
  --glass: rgba(255, 255, 255, 0.06);
  --focus: 3px rgba(21, 96, 255, 0.18);
}

body {
  font-family: 'Poppins', sans-serif;
}









/* Focus styles for accessibility */
a:focus,
button:focus,
.brand-btn:focus {
  outline: none;
  box-shadow: 0 0 0 6px var(--focus);
  border-radius: 8px;
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--primary), #117b87);
  color: white;
  box-shadow: 0 10px 20px rgba(2, 18, 34, 0.18);
  cursor: pointer;
  z-index: 3000;
  transform: translateY(16px);
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
}

.back-to-top.visible {
  opacity: 1;
  transform: none
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important
  }
}












html {
  scroll-behavior: smooth;
}





/* =========== Business hero ==========*/
.business-hero {
  min-height: 480px;
  padding-top: 90px;
  padding-bottom: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.business-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.65;
  pointer-events: none;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 31, 38, 0.78), rgba(8, 31, 38, 0.45));
  z-index: 2;
}

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

.hero-content h1 {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 20px;
  max-width: 600px;
  margin: auto;
  line-height: 1.5;
  opacity: 0.9;
}

@media(max-width:992px) {
  .hero-content h1 {
    font-size: 42px;
  }

  .hero-content p {
    font-size: 18px;
  }
}

@media(max-width:600px) {
  .business-hero {
    min-height: 360px;
    padding-top: 85px;
    padding-bottom: 15px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 16px;
    padding: 0 15px;
  }
}

.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: all .8s ease;
}

.scroll-animate.active {
  opacity: 1;
  transform: translateY(0);
}

.brands-section {
  display: flex;
  justify-content: center;
  padding: 100px 8%;
  background: #f6f4ee;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.section-title {
  text-align: center;
  font-family: 'Fraunces', serif;
  font-size: 38px;
  font-weight: 600;
  margin-bottom: 70px;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 60px;
}

.brand-image img {
  width: 100%;
  max-width: 520px;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.brand-content {
  max-width: 520px;
}

.brand-title {
  font-size: 32px;
  color: #1f3aa8;
  margin-bottom: 15px;
}

.brand-desc {
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}

.brand-tags {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.brand-tags span {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 30px;
    background: rgba(30, 155, 180, 0.07);
    border: 1px solid rgba(30, 155, 180, 0.16);
    color: var(--teal-deep);
    font-size: 12px;
    font-weight: 500;
}

.brand-stats {
  display: flex;
  gap: 25px;
  margin-bottom: 20px;
  font-size: 15px;
}

.brand-btn {
  display: inline-block;
  background: #1a9aaa;
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.brand-btn:hover {
  background: #117b87;
}

@media(max-width:992px) {
  .brand-row {
    flex-direction: column;
    text-align: center;
  }
  .brand-tags {
    justify-content: center;
  }
  .brand-stats {
    justify-content: center;
  }
}

@media(max-width:600px) {
  .section-title {
    font-size: 26px;
  }
  .brand-title {
    font-size: 24px;
  }
}

.brand-row.reverse {
  flex-direction: row-reverse;
}

.cadpoint-title {
  color: #e53935;
}

.cadpoint-tags span {
    background: rgba(229, 57, 53, 0.06);
    border-color: rgba(229, 57, 53, 0.18);
    color: #c62828;
}

.cadpoint-btn {
  background: #e53935;
}

.cadpoint-btn:hover {
  background: #c62828;
}

@media(max-width:992px) {
  .brand-row.reverse {
    flex-direction: column;
  }
}

.cadpoint-section {
    background: #ffffff;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.brand-content {
  flex: 1;
}

.brand-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}

.brand-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 20px;
}

.brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.brand-stats {
  display: flex;
  gap: 25px;
  margin-bottom: 25px;
  font-size: 14px;
}

.brand-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #1f8fa3;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.brand-btn:hover {
  background: #166f7f;
}

.brand-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.brand-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  object-fit: cover;
}

.reverse {
  flex-direction: row-reverse;
}

@media (max-width:992px) {

  .brand-row {
    flex-direction: column;
    text-align: center;
  }
  .brand-image {
    order: -1;
  }
  .brand-stats {
    justify-content: center;
  }
  .brand-tags {
    justify-content: center;
  }

}



/* Advanced UI: counters, tilt, buttons, modal */

.brand-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
}

.brand-btn.secondary {
  background: transparent;
  color: #1f3aa8;
  border: 2px solid rgba(31, 58, 168, 0.12);
  padding: 8px 14px;
}

.brand-btn.secondary:hover {
  transform: translateY(-3px) scale(1.02);
  background: #eef6ff;
}

.counter {
  font-weight: 700;
  color: #0f4c5c;
  display: inline-block;
  min-width: 36px;
}

/* Tilt on images */
.brand-image {
  perspective: 1000px;
}

.brand-image .tilt {
  transform-style: preserve-3d;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
  border-radius: 12px;
}

.brand-image .tilt:hover {
  box-shadow: 0 20px 40px rgba(2, 18, 34, 0.12);
}

/* Modal for details */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: white;
  width: min(920px, 94%);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(2, 18, 34, 0.25);
}

.modal .close {
  background: transparent;
  border: none;
  font-size: 20px;
  position: absolute;
  right: 18px;
  top: 12px;
  cursor: pointer;
}

/* Hero subtle parallax */
.business-hero[data-parallax="true"] .hero-content {
  transition: transform .2s ease-out;
}

/* Simple keyframe */
@keyframes floatUp {
  from {
    transform: translateY(8px);
    opacity: 0
  }

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

.brand-content,
.brand-image {
  animation: floatUp .6s ease both;
}

/* Responsive tweaks */
@media (max-width:768px) {
  .brand-actions {
    flex-direction: column;
    gap: 8px
  }
}