/* ===========================================
   HERO SECTION (तेरा original code)
=========================================== */

.hero-section {
    padding: 150px 0px 80px 66px;
    overflow: hidden;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 0 1px 0 rgba(0, 0, 0, 0.2);
    margin-top: -5%;
    position: relative;
}
video.hero-bg-video {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: -100;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}
.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.hero-title .highlight {
  color: #002d72;
}

.hero-subtitle {
  font-size: 20px;
  color: #333;
  margin-top: 30px;
  line-height: 40px;
}

/* ================================
   GRAPH AREA (NEW FIXED VERSION)
================================ */

.containers {
  position: relative;
  width: min(520px, 36vw);
  height: min(520px, 36vw);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-top-left-radius: 400px;
  border-bottom-left-radius: 400px;
  gap: 20px;
  padding-left: 4em;
  box-shadow: 0px 2px 8px #0000001c;
}

.circle-graph {
    position: relative;
    width: min(300px, 90vw); /* responsive width */
    aspect-ratio: 1 / 1;   /* always perfect circle */
    margin: auto;
    border-radius: 50%;
}

.ring {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  border: 1px dashed #7a7979;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
}

/* sizes */
.ring.r1 { width: 25%; }
.ring.r2 { width: 45%; }
.ring.r3 { width: 70%; }
.ring.r4 { width: 95%; }


/* FULLY FIXED: Bars always rotate from center */
.bar {
  position: absolute;
  width: 6px;
  height: 48%;
  top: 50%;
  left: 50%;
  transform-origin: bottom center;
  transform: translate(-50%, -100%) rotate(var(--angle));
  border-radius: 5px;
  box-shadow: 0 2px 4px #0000005e;
  transition: background 0.3s ease;
}

/* Colors */
.bar.protect { background: #4ba7b9; }
.bar.innovate { background: #929292; }
.bar.monetize { background: #5e5e5e; }
.bar.grow { background: #d5d5d5; }

/* Dots in center */
.dots {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  box-shadow: 0 4px 3px #0000003b;
}

/* ===============================
   TEXT LIST RIGHT SIDE
================================ */

.text-lists {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  float: right;
}

.text-items {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: right;
  gap: 10px;
  text-align: end;
  padding: 10px;;
}

.text-items span {
  font-weight: bold;
}

.dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 4px 3px #0000003b;
}

/* Dot colors */
.text-items[data-target="protect"] .dot { background: #4ba7b9; }
.text-items[data-target="innovate"] .dot { background: #929292; }
.text-items[data-target="monetize"] .dot { background: #5e5e5e; }
.text-items[data-target="grow"] .dot { background: #d5d5d5; }

/* ===============================
   LARGE SCREEN FIX (1920px+)
================================ */

@media (min-width: 1600px) {
  .containers {
    width: 600px;
    height: 600px;
  }
}

@media (min-width: 2000px) {
  .containers {
    width: 700px;
    height: 700px;
  }
}

@media (min-width: 2600px) {
  .containers {
    width: 900px;
    height: 900px;
  }
}

/* ===============================
   MOBILE VIEW
================================ */

@media (max-width: 780px) {
  .containers {
    display: none;
  }
  .graphic-box img.hero-mbbg {
    display: block !important;
    width: 100%;
  }
  h1.hero-title.scroll-left.shows {
    font-size: 26px;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding: 80px 0px 80px 0px !important;
  }
  .text-items { width: 100%; text-align: end; }
  .text-lists { width: 100% !important; }
}

#rotate-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

#rotate-word.slide-up {
  opacity: 1;
  transform: translateY(0);
}
/* rotate animation on hover */
.bar.spin {
    animation: barRotate 1s ease-out 1;
}

@keyframes barRotate {
    0% { transform: translate(-50%, -100%) rotate(calc(var(--angle) - 360deg)); }
    100% { transform: translate(-50%, -100%) rotate(var(--angle)); }
}
.text-items div {
    font-size: 13px !important;
}
.text-items div span {
    font-size: 18px !important;
}


.text-items:first-child .dot {
    width: 53px !important;
    height: 38px !important;
    border-radius: 50%;
    box-shadow: 0 4px 3px #0000003b;
}
.text-items:nth-child(2) .dot {
    width: 46px !important;
    height: 40px !important;
    border-radius: 50%;
    box-shadow: 0 4px 3px #0000003b;
}
.bar.protect {
    background: #4ba7b9 !important;
    width: 64%;
    top: 50%;
    z-index: 1;
}
.text-lists .text-items:hover {
    box-shadow: 0 3px 8px #0000002b;
    border-radius: 15px;
}

.circle-graph {
  position: relative;
      width: 550px;
    height: 400px;
  margin: auto;
}

.circle-graph .bar {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180px;         /* total length */
  height: 12px;         /* thickness */
  border-radius: 6px;
  transform-origin: center center !important;  /* IMPORTANT */
  transform: translate(-50%, -50%) rotate(var(--angle));
  transition: 0.4s ease;
}



.circle-graph .bar.spin {
  transform: translate(-50%, -50%) rotate(calc(var(--angle) + 360deg));
}
.bar.monetize {
    background: #5e5e5e !important;
}
bar.grow {
    background: #d5d5d5 !important;
    top: 51% !important;
    width: 30% !important;
}
