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

img {
  max-width: 100%;
  height: auto;
}
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;  
  overflow-y: 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: 55px;
  font-weight: 700;
  color: white;
}

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

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

.faq-accordion {
  column-count: 2;
  column-gap: 20px;
}

.faq-box {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
}

.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: 100vw;
  min-height: 100px;
  font-size: 16px;
  font-weight: 600;
  overflow: hidden;
}

.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;
  width: 100%;
  background-color: #151515;
  border-top: #808080 0.5px solid;
}

.popover-content > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  align-items: center;
  height: 150px;
  gap:0;
}

/* Product links styling */
.popover-content a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 0px 20px;
  color: #626262;
  text-decoration: none;
  /* font-weight: 500; */
  transition:all 0.3s ease;
  position: relative;
  margin: 0px;
}

/* Hover effect */
.popover-content a:hover {
  /* background: #d9dffa; */
  /* color: #2254c5; */
  color: #ffffff;
  /* 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; */
  color: #ffffff !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;
  justify-content: center;
  align-items: center;
  padding: 80px;
  gap: 40px;
  height: calc(100vh - 95.6px);
}

.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: end;
}

.product-image img {
  width: 70%;
}
.product-wrapper {
  display: flex;
  align-items: end;
}

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

/* 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;
}

@media (max-width: 1430px) {
  .product-wrapper {
    display: flex;
    align-items: end;
    justify-content: end;
  }

  .product-wrapper img {
    width: 80%;
    max-width: 220px;
  }
}

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

  .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 */
  }
  .product-wrapper {
    display: flex;
    flex-direction: column;

    align-items: center;
  }

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

.device-section {
  position: relative;
  width: 100%;
  height: calc(100vh - 95px);
  overflow: hidden;
  background: #ffffff;
  display: flex;
}

/* =========================
   LEFT IMAGE
========================= */

.device-image {
  position: relative;
  width: 42%;
  height: 100%;
}

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

.device-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.199) 65%,
    rgba(255, 255, 255, 0.816) 85%,
    rgba(255, 255, 255, 0.936) 95%,
    rgb(255, 255, 255) 100%
  );
}

/* =========================
   LEFT TEXT
========================= */

.device-left-text {
  position: absolute;
  bottom: 70px;
  left: 50px;
  z-index: 2;
  color: rgb(0, 0, 0);
}

.tagline {
  color: #135699;
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 25px;
  font-weight: 700;
}

.device-left-text h1 {
  font-size: 42px;
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 25px;
}

.device-left-text h1 span {
  color: #1f8fff;
}

.sub-text {
  font-size: 22px;
  color: #000000;
}

/* =========================
   RIGHT FEATURES
========================= */

.device-features {
  width: 58%;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
} 

.feature-heading {
  margin-bottom: 40px;
}

.feature-heading-2 {
  margin-bottom: 40px;
}

.feature-heading h2 {
  color: rgb(0, 0, 0);
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 18px;
}

.feature-heading-2 h2 {
  color: rgb(0, 0, 0);
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 18px;
}

.feature-heading h2 span {
  color: #1f8fff;
}

.feature-heading-2 h2 span {
  color: #1f8fff;
}

.line {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #1f8fff, transparent);
}

/* =========================
   GRID
========================= */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

/* =========================
   CARD
========================= */

.feature-card {
  background: rgba(0, 0, 0, 0.03);
  /* border: 1px solid rgba(31,143,255,0.6); */
  border-radius: 24px;
  padding: 15px;
  display: flex;
  gap: 14px;
  transition: 0.3s ease;
  backdrop-filter: blur(10px);
  background-color: #ffffff;
  box-shadow: 0 0 25px rgba(196, 195, 195, 0.552);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgb(139, 139, 139);
  box-shadow: 0 0 25px rgb(125, 125, 125);
}

.feature-card-2 {
  background: rgba(0, 0, 0, 0.03);
  /* border: 1px solid rgba(31,143,255,0.6); */
  border-radius: 24px;
  padding: 15px;
  display: flex;
  gap: 14px;
  transition: 0.3s ease;
  backdrop-filter: blur(10px);
  background-color: #1f8fff;
  /* box-shadow: 0 0 25px rgba(31, 143, 255, 0.382); */
}

.feature-card-2:hover {
  transform: translateY(-5px);
  border-color: rgba(31,145,255,0.08);
  box-shadow: 0 0 25px rgba(31, 143, 255, 0.73);
}

/* =========================
   ICON
========================= */

.feature-icon {
  min-width: 70px;
  align-content: center;
}

.feature-icon i {
  font-size: 52px;
  color: #1f8fff;
}

/* =========================
   TEXT
========================= */

.feature-text h3 {
  color: #135699;
  font-size: 24px;
  margin-bottom: 8px;
  font-weight: 600;
}

.feature-text-2 h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 700;
}

.feature-text p {
  color: #333;
  line-height: 1.4;
  font-size: 17px;
}

.feature-text-2 p {
  color: #fff;
  line-height: 1.2;
  font-size: 16px;
}
/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px) {

  .device-left-text h1 {
    font-size: 55px;
  }

  .feature-grid {
    gap: 20px;
  }

  .feature-card {
    padding: 24px;
  }
}

@media (max-width: 992px) {

  .device-section {
    flex-direction: column;
    height: auto;
  }

  .device-image,
  .device-features {
    width: 100%;
  }

  .device-image {
    height: 650px;
  }

  .device-features {
    padding: 40px 25px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .device-left-text h1 {
    font-size: 48px;
  }
}

@media (max-width: 768px) {

  .device-image {
    height: 520px;
  }

  .device-left-text {
    left: 25px;
    bottom: 40px;
  }

  .device-left-text h1 {
    font-size: 38px;
  }

  .tagline {
    font-size: 15px;
  }

  .sub-text {
    font-size: 18px;
  }

  .feature-heading h2 {
    font-size: 30px;
  }

  .feature-card {
    flex-direction: column;
    gap: 15px;
  }

  .feature-icon i {
    font-size: 40px;
  }
}

@media (max-width: 576px) {

  .device-image {
    height: 450px;
  }

  .device-left-text h1 {
    font-size: 30px;
  }

  .feature-text h3 {
    font-size: 20px;
  }

  .feature-text p {
    font-size: 15px;
  }
}

/* ================= VIDEO SECTION ================= */

.product-video-section {
  height: calc(100vh - 95.6px);
  width: 100%;
  background: #000;
  overflow: hidden;
  position: relative;
}

.video-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: black;
  overflow: hidden;
}

.product-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: black;
}

/* 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;

  z-index: 2;
}

/* 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;
  }
  .product-wrapper {
    display: flex;
    flex-direction: column;

    align-items: center;
  }

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