/**
 * Invizo Hero Widget CSS
 * Pixel-perfect match with reference design
 */

/* CSS Variables */
.tp-hero-spacing {
  --tp-theme-primary: #c4ee18;
  --tp-common-black: #030303;
  --tp-common-white: #ffffff;
  --tp-text-grey-1: #5c5c5c;
  --tp-border-1: #eeeeee;
  --tp-ff-heading: "DM Sans", sans-serif;
}

/* Container utilities */
.container-1800 {
  max-width: 1800px;
}

.containers {
  padding-left: 15px;
  padding-right: 15px;
}


@media (max-width: 991px) {
  .tp-hero-spacing {
    padding-top: 150px;
  }
}

/* Social Sidebar - Vertical Layout */
.tp-hero-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

/* Follow Us text - stays horizontal */
.tp-hero-social .tp-el-social-text {
  font-family: var(--tp-ff-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--tp-common-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.tp-hero-social .tp-el-social-text svg {
  margin-top: 15px;
}

/* Social icons - stacked vertically */
.tp-hero-social a.tp-el-social {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border: 1px solid var(--tp-border-1);
  border-radius: 100px;
  transition: all 0.4s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--tp-common-black);
  text-decoration: none;
}

.tp-hero-social a.tp-el-social:hover {
  background: var(--tp-common-black);
  color: var(--tp-common-white);
  border-color: var(--tp-common-black);
}

.social-icon {
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.social-icon i {
  font-size: 14px;
}

/* Hero Title */
.tp-hero-title {
  font-weight: 700;
  font-size: 100px;
  line-height: 105%;
  text-transform: uppercase;
  color: var(--tp-common-black);
  margin: 0;
}

@media (max-width: 1399px) {
  .tp-hero-title {
    font-size: 80px;
  }
}

@media (max-width: 1199px) {
  .tp-hero-title {
    font-size: 70px;
  }
}

@media (max-width: 991px) {
  .tp-hero-title {
    font-size: 60px;
  }
}

@media (max-width: 767px) {
  .tp-hero-title {
    font-size: 50px;
  }
}

/* Badge "We're" pill */
.tp-hero-title-sm {
  font-weight: 700;
  padding: 11px 39px;
  font-size: 25px;
  line-height: 70%;
  text-transform: uppercase;
  border-radius: 100px;
  width: 151px;
  height: 65px;
  background: var(--tp-theme-primary);
  text-align: center;
  transform: translateY(-13px);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

@media (max-width: 1199px) {
  .tp-hero-title-sm {
    font-size: 20px;
  }
}

@media (max-width: 991px) {
  .tp-hero-title-sm {
    height: 55px;
    transform: translateY(-1px);
  }
}

@media (max-width: 575px) {
  .tp-hero-title-sm {
    margin-bottom: 10px;
  }
}

.tp-hero-title-sm span {
  display: block;
  line-height: 1;
}

/* Hero Content */
.tp-hero-content {
  margin-left: 75px;
}

@media (max-width: 1399px) {
  .tp-hero-content {
    margin-left: 0;
  }
}

.ml-75 {
  margin-left: 75px;
}

@media (max-width: 1399px) {
  .ml-75 {
    margin-left: 0;
  }
}

/* Hero Bottom Content */
.tp-hero-bottom-content {
  margin-top: -35px;
}

@media (max-width: 991px) {
  .tp-hero-bottom-content {
    margin-top: 20px;
  }
}

/* Customer Section */
.tp-hero-customer {
  gap: 0;
}

.tp-hero-customer span {
  line-height: 0;
}

.tp-hero-customer img {
  border-radius: 50%;
  width: auto;
  height: auto;
  max-width: 100%;
}

.tp-el-customer-text {
  font-weight: 500;
  font-size: 16px;
  color: var(--tp-text-grey-1);
  line-height: 130%;
}

.tp-el-customer-text b,
.tp-text-common-black {
  color: var(--tp-common-black);
  font-weight: 700;
}

/* Customer Text Section */
.tp-hero-customer-text {
  margin-left: 20px;
  margin-right: 58px;
}

@media (max-width: 1399px) {
  .tp-hero-customer-text {
    margin-right: 0;
    margin-left: 0;
  }
}

/* Video Button with Popup */
.tp-hero-video-btn {
  width: 70px;
  height: 70px;
  display: inline-flex;
  background: var(--tp-common-black);
  text-align: center;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  color: var(--tp-common-white);
  transition: all 0.4s ease;
  text-decoration: none;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.tp-hero-video-btn:hover {
  background: var(--tp-theme-primary);
  color: var(--tp-common-black);
  transform: scale(1.05);
}

.tp-hero-video-btn span {
  line-height: 0;
}

/* Pulse animation for video button */
.tp-hero-video-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--tp-common-black);
  transform: translate(-50%, -50%);
  z-index: -1;
  animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
  opacity: 0;
}

.tp-hero-video-btn:hover::before {
  animation: none;
  opacity: 0;
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.4;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

.tp-hero-video {
  gap: 0;
}

.tp-el-video-text {
  font-family: var(--tp-ff-heading);
  line-height: 110%;
  font-weight: 700;
  font-size: 18px;
  color: var(--tp-common-black);
}

/* Content Paragraph */
.tp-el-content {
  font-size: 20px;
  line-height: 28px;
  color: var(--tp-text-grey-1);
}

/* Right Content */
.tp-hero-right-content {
  margin-left: 80px;
  padding-top: 15px;
}

@media (max-width: 1799px) {
  .tp-hero-right-content {
    margin-left: 0;
  }
}

.ml-80 {
  margin-left: 80px;
}

@media (max-width: 1799px) {
  .ml-80 {
    margin-left: 0;
  }
}

.tp-el-right-text {
  font-weight: 500;
  font-size: 25px;
  color: var(--tp-common-black);
  line-height: 1.3;
  font-style: italic;
  font-family: "Playfair Display", serif;
}

.tp-hero-right-content .svg {
  width: 100%;
}

/* Half Moon Shapes */
.tp-hero-right-shape {
  display: flex;
  gap: 0;
}

@media (max-width: 991px) {
  .tp-hero-right-shape {
    padding-top: 0;
  }
}

.tp-hero-right-shape .shape-1 {
  transform: translateY(0);
  display: inline-block;
}

.tp-hero-right-shape .shape-2 {
  display: inline-block;
}

/* Bounce Animation */
.tp-btn-bounce {
  animation: tp-bounce 3s ease-in-out infinite;
}

@keyframes tp-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Utility Classes */
.d-flex {
  display: flex !important;
}

.d-inline-block {
  display: inline-block !important;
}

.d-none {
  display: none !important;
}

.d-block {
  display: block !important;
}

.align-items-center {
  align-items: center !important;
}

.flex-column {
  flex-direction: column !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-10 {
  margin-bottom: 10px !important;
}

.mb-30 {
  margin-bottom: 30px !important;
}

.mb-50 {
  margin-bottom: 50px !important;
}

.mb-55 {
  margin-bottom: 55px !important;
}

.mb-60 {
  margin-bottom: 60px !important;
}

.mb-100 {
  margin-bottom: 100px !important;
}

.mr-20 {
  margin-right: 20px !important;
}

.mt-15 {
  margin-top: 15px !important;
}

.mt-20 {
  margin-top: 20px !important;
}

.pt-15 {
  padding-top: 15px !important;
}

.fw-500 {
  font-weight: 500 !important;
}

.fw-700 {
  font-weight: 700 !important;
}

.fs-16 {
  font-size: 16px !important;
}

.fs-18 {
  font-size: 18px !important;
}

.fs-20 {
  font-size: 20px !important;
}

.fs-25 {
  font-size: 25px !important;
}

.lh-28 {
  line-height: 28px !important;
}

.lh-110-per {
  line-height: 110% !important;
}

.lh-130-per {
  line-height: 130% !important;
}

/* Responsive Display */
@media (min-width: 768px) {
  .d-md-block {
    display: block !important;
  }
}

@media (min-width: 992px) {
  .d-lg-block {
    display: block !important;
  }
}

/* Bootstrap-like Grid System (fallback if not loaded) */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.row > * {
  padding-left: 15px;
  padding-right: 15px;
}

.col-lg-1,
.col-lg-2,
.col-lg-5,
.col-lg-6,
.col-lg-9,
.col-lg-10,
.col-md-1,
.col-md-11,
.col-md-12 {
  position: relative;
  width: 100%;
}

@media (min-width: 768px) {
  .col-md-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
  }
  .col-md-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
  }
  .col-md-12 {
    flex: 0 0 auto;
    width: 100%;
  }
}

@media (min-width: 992px) {
  .col-lg-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
  }
  .col-lg-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-lg-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }
  .col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .col-lg-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  .col-lg-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }
}

/* Container fluid */
.container-fluid {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

/* Video Popup Lightbox (Fallback) */
.invizo-video-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

.invizo-video-popup.active {
  visibility: visible;
  opacity: 1;
}

.invizo-video-popup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.invizo-video-popup__container {
  position: relative;
  width: 90%;
  max-width: 900px;
  z-index: 1;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.invizo-video-popup.active .invizo-video-popup__container {
  transform: scale(1);
}

.invizo-video-popup__close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
}

.invizo-video-popup__close:hover {
  transform: rotate(90deg);
  color: var(--tp-theme-primary, #c4ee18);
}

.invizo-video-popup__content {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.invizo-video-popup__content iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
