/* ================= GLOBAL FIX ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

section {
  width: 100%;
}

.activeproduct {
        color: #ffffff !important;
        font-weight: bold;
        position: relative;
         }
.activeproduct::after {
  content: "";
  position: absolute;
  left: 15px;
  bottom: 24px;   /* distance from text */
  width: 30%;
  height: 2px;    /* thickness of underline */
  background-color: #ffffff; /* underline color */
  border-radius: 2px;
}

/* ================= HERO SECTION ================= */
.hero-section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-size: cover;
  background-position: center;
}

.hero-inner1 h1 {
  font-size: 60px;
  font-weight: 700;
  color: white;
}

.hero-inner1 p {
  font-size: 20px;
  color: white;
}

.faq-section {
  padding: 80px 0;
  background: #fff;
}

.faq-heading h2 {
  /* font-size: 55px; */
  font-weight: 700;
}

.faq-heading p {
  /* font-size: 20px; */
  margin-top: 15px;
  /* color: #333; */
  margin-bottom: 0px;
}

.faq-heading a {
  color: #2254c5;
  font-weight: 400;
}

/* Layout */
.faq-wrapper {
  margin-top: 40px !important;
  align-items: center;
}

/* Left Image */
.faq-image img {
  width: 100%;
  border-radius: 25px;
  height: 450px;
  object-fit: cover;
}

/* FAQ Boxes */
.faq-box {
  background: #f3f8ff;
  border-radius: 20px;
  padding: 25px 30px;
  margin-bottom: 25px;
  overflow: hidden;
  cursor: pointer;
  transition: 0.3s;
}

.faq-box:hover {
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.12);
}

/* Question Row */
.faq-question {
  font-size: 22px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Answer */
.faq-answer {
  margin-top: 10px;
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  display: none;
}
.faq-box.active .faq-answer {
  display: block;
}
.faq-box .icon img {
  font-size: 18px;
  transition: 0.3s;
}
.faq-box.active .icon img {
  transform: rotate(180deg);
}

/* Hide FAQs after 5 */
.hidden-faq {
  display: none;
}

/* Load More Button */
.faq-load-btn {
  background: #ffffff;
  color: rgb(0, 0, 0);
  border: 2px gainsboro solid;
  border-bottom: 3px gainsboro solid;
  padding: 14px 40px;
  margin-top: 30px;
  font-size: 18px;
  transition: 0.3s;
}

.faq-load-btn:hover {
  background: #e6ecf1;
  border: 2px gainsboro solid;
  border-bottom: 3px gainsboro solid;
  transform: translateY(-10px);
}

/* Load More Button */
.faq-less-btn {
  background: #ffffff;
  color: rgb(0, 0, 0);
  border: 2px gainsboro solid;
  border-bottom: 3px gainsboro solid;
  padding: 14px 40px;
  margin-top: 30px;
  font-size: 18px;
  transition: 0.3s;
}

.faq-less-btn:hover {
  background: #e6ecf1;
  border: 2px gainsboro solid;
  border-bottom: 3px gainsboro solid;
  transform: translateY(-10px);
}

.figma-product-footer {
  background: #edecec5d;
  padding: 80px 60px 30px;
  font-family: Arial, sans-serif;
}

.product-footer-container {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  flex-wrap: wrap;
}

/* LEFT SIDE */
.product-footer-left {
  max-width: 330px;
}

.product-footer-logo {
  line-height: 110px;
  padding: 0px;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  margin: 0;
  position: relative;
  font-family: Nunito Sans;
  letter-spacing: 4px;
}

.product-footer-desc {
  font-size: 18px;
  line-height: 32px;
  color: #000;
  margin-bottom: 40px;
}
#submit {
  border-radius: 15px;
  height: 50px;
}

/* SOCIAL ICONS */
.product-footer-socials {
  display: flex;
  gap: 20px;
}

.product-footer-social {
  width: 45px;
  height: 45px;
  display: flex !important;
  background-color: #efefef;
  justify-content: center;
  align-items: center;
  font-size: 19px;
  color: #000;
  transition: 0.3s;
  border-radius: 50%;
}

.product-footer-social:hover {
  border-color: #2254e5;
  background-color: #e8eaec;
  transform: translateY(-10px);
}

/* QUICK LINKS */
.product-footer-links h3,
.product-footer-contact h3 {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 30px;
}

.product-footer-links a {
  display: block;
  font-size: 20px;
  margin-bottom: 22px;
  color: #000;
  text-decoration: none;
}

.about-item {
  background-color: #e4eaf72e;
  padding-left: 30px;
  padding-top: 30px;
  border-radius: 30px 0px 0px 30px;
}

.product-footer-links a:hover {
  color: #2254e5;
}

/* privacy-policy */
.product-footer-privacy-policy p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #000;
  line-height: 28px;
}

.product-footer-privacy-policy i {
  margin-right: 12px;
  font-size: 20px;
  color: #000;
}

/* BOTTOM ROW */
.product-footer-bottom {
  border-top: 1px solid #ddd;
  margin-top: 60px;
  padding-top: 25px;

  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.product-footer-bottom p {
  color: #000;
  font-size: 18px;
  font-weight: 500;
}

.product-footer-bottom span {
  color: #2254c5;
  font-weight: 400;
}

.bottom-links {
  display: flex;
  gap: 40px;
}

.bottom-links a {
  font-size: 18px;
  color: #000;
  text-decoration: none;
}

.bottom-links a:hover {
  color: #2254e5;
}

.product-footer-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 18px;
  color: black;
}

.product-footer-info img {
  width: 25px;
  margin-top: 5px;
}

/* Modern Popover Style */
.popover {
  border-radius: 0px;
  border: none;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  padding: 0px 0px;
  min-width: 100px;
  font-size: 16px;
  font-weight: 600;
}

.header-popover {
  margin-top: 0px !important;
  position: fixed;
}

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

/* Remove default arrow */
.popover .arrow {
  display: none;
}

/* Remove title space */
.popover-title {
  display: none;
}

/* Style content */
.popover-content {
  padding: 0;
}

/* Product links styling */
.popover-content a {
  display: block;
  padding: 5px 20px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  margin: 0px;
}

/* Hover effect */
.popover-content a:hover {
  background: #f5f7ff;
  color: #2254c5;
  /* padding-left: 15px; */
}
/* Cursor only on text */
.trigger-text {
  cursor: pointer;
}
/* Active product style - YOUR COLOR HERE */
.popover a.active-product {
  background: #024d94;  /* Change this to your desired color */
  color: white !important;
}

.popover a.active-product:hover {
  background: #2254e5;  /* Darker shade for hover */
  color: white !important;
}

/* Optional: Add an indicator */
.popover a.active-product::before {
  content: "";
  font-weight: bold;
}
/* Footer specific adjustment */
#footerProductsPopover + .popover {
  margin-bottom: -8px !important;
}

/* Responsive Hero */
@media (max-width: 768px) {
  .hero-inner1 h1 {
    font-size: 36px;
  }

  .hero-inner1 p {
    font-size: 16px;
  }
}

/* ================= PRODUCT INTRO SECTION ================= */
.product-intro {
  background: rgb(230, 240, 247);
  display: grid;
  grid-template-columns: 2fr 2fr;
  align-items: center;
  padding: 80px;
  gap: 40px;
}

.product-intro h1 {
  font-size: 60px;
  font-weight: bold;
  color: black;
}

.product-intro p {
  max-width: 450px;
  /* font-size: 20px; */
  line-height: 1.6;
}

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

.product-image img {
  width: 70%;
}
.product-wrapper {
  display: flex;
  justify-content: center;
}

.product-wrapper img {
  width: 100%;
  max-width: 350px;
}

/* Device Circle Images */
.product-views {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 30px;
}

.product-views div {
  text-align: center;
}

.product-views img {
  width: 80px;
}

/* Responsive Intro */
@media (max-width: 992px) {
  .product-intro {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 50px 20px;
  }

  .product-intro p {
    margin: auto;
  }

  .product-views {
    justify-content: center;
  }
  .product-intro > div:first-child {
        order: 2;   /* Text goes second */
  }

  .product-intro > div:last-child {
        order: 1;   /* Image comes first */
  }
}

/* ================= DEVICE SECTION ================= */
.device-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #edf6f9;
  /* min-height: 500px; */
  overflow: hidden;
}

.device-image {
  flex: 1;
}

.device-image img {
  width: 100%;
  object-fit: cover;
}

/* Responsive Device Section */
@media (max-width: 992px) {
  .device-section {
    flex-direction: column;
  }

  .device-image img {
    height: auto;
  }
}

/* ================= VIDEO SECTION ================= */
.product-video-section {
  width: 100%;
  background: #000;
}

.video-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.product-video {
  width: 100%;
  height: auto;
  /* max-height: 600px; */
  /* object-fit: cover; */
  display: block;
}

/* Overlay */
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  cursor: pointer;
}

/* Play Button */
.play-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid white;
  color: white;
  font-size: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.watch-btn {
  background: white;
  border: none;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
}

/* Responsive Video */
@media (max-width: 768px) {
  .product-video {
    height: 60vh;
  }
  .play-icon {
    width: 65px;
    height: 65px;
    font-size: 28px;
  }

  .watch-btn {
    font-size: 14px;
    padding: 10px 20px;
  }
}
