/* ========================================
   VERTICAL CAROUSEL INDICATORS
   ======================================== */

.carousel-indicators {
  position: fixed;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 9999;
  padding: 20px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.carousel-indicators.visible {
  opacity: 1;
  visibility: visible;
}

.carousel-indicators .indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(149, 0, 222, 0.6);
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  will-change: transform;
}

.carousel-indicators .indicator::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 78, 221, 0.8), transparent);
  transition: all 0.2s ease;
}

.carousel-indicators .indicator:hover {
  background: rgba(149, 0, 222, 0.7);
  border-color: #9d4edd;
  transform: scale(1.2);
  box-shadow: 0 4px 16px rgba(149, 0, 222, 0.4);
}

.carousel-indicators .indicator:hover::before {
  width: 26px;
  height: 26px;
}

.carousel-indicators .indicator.active {
  background: linear-gradient(135deg, #7b2cbf, #9d4edd);
  border-color: #dcadf8;
  width: 12px;
  height: 12px;
  box-shadow: 0 0 16px rgba(149, 0, 222, 0.7), 0 0 30px rgba(157, 78, 221, 0.3),
    inset 0 0 8px rgba(255, 255, 255, 0.3);
}

.carousel-indicators .indicator.active::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(220, 173, 248, 0.4);
  animation: gentleRipple 2.5s ease-out infinite;
}

/* Gentle ripple animation for active indicator */
@keyframes gentleRipple {
  0% {
    width: 22px;
    height: 22px;
    opacity: 0.8;
  }
  100% {
    width: 32px;
    height: 32px;
    opacity: 0;
  }
}

/* Tooltip on hover */
.carousel-indicators .indicator[title]:hover::after {
  content: attr(title);
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #7b2cbf, #9d4edd);
  color: white;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: fadeInRight 0.3s ease;
  z-index: 10000;
  pointer-events: none;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .carousel-indicators {
    right: 20px;
    gap: 14px;
  }

  .carousel-indicators .indicator {
    width: 8px;
    height: 8px;
  }

  .carousel-indicators .indicator.active {
    width: 10px;
    height: 10px;
  }

  .carousel-indicators .indicator[title]:hover::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .carousel-indicators {
    right: 10px;
    gap: 12px;
  }

  .carousel-indicators .indicator {
    width: 7px;
    height: 7px;
  }

  .carousel-indicators .indicator.active {
    width: 9px;
    height: 9px;
  }
}

/* ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Mulish", sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.6;
}

/* for preload images fast */

img {
  /* GPU acceleration for fast rendering */
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Priority loading for critical images */
.main-text img,
.key-highlights img,
.key-highlights1 img,
.ai-features-header img {
  content-visibility: auto;
}

/* hero section */

nav {
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  padding: 20px 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  z-index: 1000;
}

.nav-logo {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0px;
  font-family: Inter;
  color: white;
  flex-shrink: 0;
}

.nav-links-center {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  font-family: Inter;

  letter-spacing: 1px;
  transition: opacity 0.3s;
}

.nav-links a:hover {
  opacity: 0.8;
}

.guru-button {
  height: 70px;
  width: auto;
  transition: opacity 0.3s, transform 0.3s;
  cursor: pointer;
}

.guru-button:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

/* Hero Section */
.hero {
  background: url("assets/Hero Section BG.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  justify-content: center;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.scroll-button {
  display: inline-flex;
  align-items: center;
  backdrop-filter: blur(10px);
  color: white;
  padding: 16px 32px;
  border-radius: 100px;
  border: 2px thick #dcadf8;
  background: rgba(134, 56, 180, 0.5);
  font-size: 24px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.5px;
  text-decoration: none;
  z-index: 2;
  gap: 14px;
  margin-bottom: 60px;
}

.scroll-button:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(2px);
}

.scroll-button svg {
  width: 40px;
  height: 30px;
}

/* Slide Scroll Button */
.slide-scroll-button {
  margin-top: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.slide-scroll-button img {
  width: 80px;
  height: auto;
  transition: transform 0.3s ease;
}

.slide-scroll-button:hover img {
  transform: translateY(5px);
}

/* Media query for large screens (T7 and similar) */
@media (min-width: 1920px) {
  nav {
    padding: 20px 170px;
  }

  .nav-links-center {
    gap: 80px;
  }

  .hero {
    min-height: 100vh;
    height: 100vh; /* Maintain full height */
  }

  .main-text {
    min-height: 550px;
    padding: 0 160px;
  }

  .main-text img {
    min-width: 800px;
    max-width: 1500px;
  }
}

.key-highlights {
  padding: 100px 150px;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 100vh;
}

.key-highlights div {
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

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

.key-highlights.with-lines {
  position: relative;
}

.key-highlights.with-lines::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 24%;
  transform: translateY(-50%);
  width: 250px;
  height: 350px;
  background-image: url("assets/lines.svg");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

/* Sections with decorative lines on the right (inverted) */
.key-highlights.with-lines-right {
  position: relative;
}

.key-highlights.with-lines-right::after {
  content: "";
  position: absolute;
  right: 0px;
  top: 24%;
  transform: translateY(-50%) scaleX(-1);
  width: 250px;
  height: 350px;
  background-image: url("assets/lines.svg");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

/* Key Highlights Section */
.key-highlights1 {
  padding: 100px 80px;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  position: relative;
}

.key-highlights1 div {
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
}

.key-highlights1 img {
  max-width: 85%;
  height: auto;
}

/* Main Text */
.main-text {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 60px;
  min-height: 500px;
  width: 100%;
  margin: auto 0;
}

.main-text div {
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  max-width: 1400px; /* NEW: Constrain maximum width */
  margin: 0 auto;
}

.main-text img {
  max-width: 100%;
  height: auto;
  min-width: 700px;
  object-fit: contain;
}

/* My OneScreen Grid Section */
.myonescreen-grid-section {
  min-height: 100vh;
}

.myonescreen-grid-section .myonescreen-grid {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.myonescreen-grid-section .myonescreen-header {
  width: 100%;
  max-width: 1000px;
  display: flex;
  justify-content: center;
}

.myonescreen-grid-section .myonescreen-header img {
  max-width: 100%;
  height: auto;
}

.myonescreen-grid-section .myonescreen-content-grid {
  width: 100%;
  max-width: 1400px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: stretch;
}

.myonescreen-grid-section .myonescreen-instant,
.myonescreen-grid-section .myonescreen-support-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  height: 100%;
}

.myonescreen-grid-section .myonescreen-instant img {
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Support Cards Animation Container */
.myonescreen-grid-section .myonescreen-support-cards {
  position: relative;
  width: 100%;
  height: 100%;
}

.myonescreen-grid-section .support-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.myonescreen-grid-section .support-card.active {
  opacity: 1;
}

.myonescreen-grid-section .support-card img {
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* AI Features Section - Matching other sections */
.ai-features-section {
  padding: 100px 200px;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 100vh;
}

.ai-features-grid {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
}

.ai-features-header {
  width: 100%;
  max-width: 1000px;
  display: flex;
  justify-content: center;
}

.ai-features-header img {
  max-width: 100%;
  height: auto;
}

.ai-features-content {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.feature-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
}

.corner-svg {
  position: absolute;
  top: 0;
  left: -160px;
  width: 250px;
  height: 300px;
  z-index: 1;
}

.corner-svg svg {
  width: 100%;
  height: 100%;
}

.feature-header {
  display: flex;
  justify-content: center;
  margin-bottom: 90px;
  position: relative;
  z-index: 2;
}

.feature-title {
  text-align: center;
  margin-bottom: 60px;
}

.feature-title h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 12px;
}

.feature-title p {
  font-size: 1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

.feature-content {
  display: flex;
  gap: 150px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.feature-list {
  color: #9500de;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 500px;
  margin-top: 10px;
  align-items: stretch;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid #9500de;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #ffffff;
}

.feature-item.active {
  background: linear-gradient(135deg, #7b2cbf, #9d4edd);
  color: white;
  border-color: #7b2cbf;
}

.feature-item:not(.active) {
  color: #7b2cbf;
}

.feature-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.feature-item h3 {
  margin: 0 0 8px 0;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: left;
}

.feature-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.95;
  text-align: left;
}

.feature-image-wrapper {
  flex: 0 0 380px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

.feature-svg {
  position: absolute;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-svg.active {
  opacity: 1;
}

@media (max-width: 968px) {
  .feature-content {
    flex-direction: column;
    gap: 40px;
  }

  .feature-list {
    max-width: 100%;
  }

  .feature-image-wrapper {
    flex: 0 0 auto;
    max-width: 100%;
    margin: 0 auto;
  }

  .corner-svg {
    left: 0;
    width: 100px;
    height: 100px;
  }
}

/* Footer */
.footer-section {
  width: 100%;
  padding: 80px 100px;
  margin: 0 auto;
  position: relative;
  background: linear-gradient(135deg, #6b3d8f 0%, #4a1d6b 100%);
  border-top-left-radius: 80px;
  border-top-right-radius: 80px;
  overflow: hidden;
  font-family: "Inter", sans-serif;
  color: #ffffff;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 200px;
  background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='grid' x='0' y='0' width='50' height='50' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 50 0 L 0 0 0 50' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23grid)' /%3E%3C/svg%3E"),
    linear-gradient(135deg, #6b3d8f 0%, #4a1d6b 100%);
}

/* Footer Left Section */
.footer-left {
  flex: 1;
  align-self: flex-end;
  z-index: 2;
  text-align: left;
  padding-left: 20px;
}

.footer-title {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 4px 0;
  font-family: "Inter", sans-serif;
  color: #ffffff;
}

.footer-subtitle {
  font-size: 20px;
  font-weight: 400;
  margin: 0;
  font-family: "Inter", sans-serif;
  color: #ffffff;
  opacity: 0.9;
}

/* Footer Center Section - Guru Button */
.footer-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
  align-self: flex-start;
}

.footer-guru-icon {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
}

.guru-description {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  font-family: "Inter", sans-serif;
  margin: 0;
  opacity: 0.6;
}

/* Footer Right Section */
.footer-right {
  flex: 1;
  text-align: center;
  align-self: flex-end;
  z-index: 2;
  padding-right: 20px;
}

/* Support button wrapper with gradient border */
.support-button-wrapper {
  display: inline-block;
  padding: 2px;
  background: linear-gradient(180deg, #dcadf8 0%, #52226f 100%);
  border-radius: 100px;
  margin-top: 8px;
}

.support-button-new {
  width: 250px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;

  /* Using RGBA with 70% opacity */
  background: rgba(134, 51, 180, 0.7);

  border-radius: 100px;
  border: none;

  font-family: "Inter", Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1;

  color: #ffffff;
  text-decoration: none;

  cursor: pointer;
  transition: opacity 0.3s ease;
}

.support-button-new:hover {
  opacity: 0.9;
}

/* Responsive Footer */
@media (max-width: 968px) {
  .footer-section {
    flex-direction: column;
    padding: 60px 40px;
    gap: 40px;
    text-align: center;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    flex: none;
    width: 100%;
    text-align: center;
  }

  .footer-title {
    font-size: 32px;
  }

  .footer-subtitle {
    font-size: 20px;
  }

  .footer-guru-icon {
    width: 100px;
  }

  .footer-right {
    text-align: center;
  }

  .support-button-wrapper {
    display: inline-block;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 15px 20px;
    flex-direction: column;
    gap: 20px;
    top: 10px;
  }

  .nav-logo {
    font-size: 22px;
  }

  .nav-links-center {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .nav-links a {
    font-size: 16px;
  }

  .guru-button {
    height: 35px;
  }

  .hero {
    padding: 0;
    background-attachment: scroll;
  }

  .main-text {
    padding: 0 20px;
    min-height: 300px; /* 🔥 ADD THIS LINE */
  }

  .main-text img {
    min-width: 300px; /* 🔥 ADD THIS LINE */
    width: 90%;
  }

  .scroll-button {
    margin-bottom: 40px;
    font-size: 20px;
    padding: 14px 28px;
  }

  .myonescreen-grid-section .myonescreen-content-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
