/* ----- hero section ----- */
/* --- SERVICE HERO SECTION --- */
.service-hero {
  position: relative;
  height: 100vh;
  height: 100svh; /* Mobile browser bottom bar issue fix */
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-color: #081428;
}

.hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-background picture,
.hero-background picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.bg1 {
  z-index: 1;
  opacity: 1;
  will-change: opacity, transform; /* Performance boost */
}

.bg2 {
  z-index: 2;
  opacity: 0;
  transform: scale(1.1);
  will-change: opacity, transform; /* Performance boost */
}

.gradient-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(0, 0, 0, 0.2);
}

.hero-content {
  position: relative;
  z-index: 20;
  max-width: 1000px;
  padding: 50px 40px;
  background: rgba(0, 0, 0, 0.75); /* Explicit alpha for better rendering */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 48px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
  transform: translateZ(0); /* Hardware acceleration */
}

/* --- TITLE & WAVE ANIMATION --- */
.animated-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: 100%;
  min-height: 150px;
}

.animated-title h1 {
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  white-space: nowrap;
  font-weight: 800;
  letter-spacing: 2px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(3.5rem, 8vw, 4.5rem);
  width: 100%;
  text-align: center;
}

.animated-title h1:nth-child(1) {
  color: transparent;
  -webkit-text-stroke: clamp(1px, 0.3vw, 4px) #ffac1c;
  /* Standard property for broader compatibility */
  paint-order: stroke fill;
  z-index: 1;
}

.animated-title h1:nth-child(2) {
  background: linear-gradient(135deg, #a5d8ff 0%, #2196f3 55%, #a5d8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: waveAnimation 4s ease-in-out infinite;
  z-index: 2;
  text-shadow: 0 0 30px rgba(255, 172, 28, 0.3);
  will-change: clip-path; /* Smooth wave */
}

@keyframes waveAnimation {
  0%, 100% { 
    clip-path: polygon(0% 55%, 8% 50%, 16% 52%, 24% 60%, 32% 65%, 40% 60%, 48% 52%, 56% 50%, 64% 55%, 72% 62%, 80% 66%, 88% 60%, 96% 52%, 100% 55%, 100% 100%, 0% 100%); 
  }
  50% { 
    clip-path: polygon(0% 60%, 8% 65%, 16% 63%, 24% 55%, 32% 50%, 40% 55%, 48% 63%, 56% 65%, 64% 60%, 72% 52%, 80% 48%, 88% 52%, 96% 60%, 100% 60%, 100% 100%, 0% 100%); 
  }
}

.hero-content p {
  font-size: 1.35rem;
  line-height: 1.7;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.96);
  max-width: 700px;
  margin: 0 auto;
}

/* --- MEDIA QUERIES --- */
@media (max-width: 1366px) {
  .hero-content {
    max-width: 850px;
    padding: 40px;
  }
  .animated-title h1 { font-size: 3.5rem; }
  .hero-content p { font-size: 1.2rem; }
}

@media (max-width: 1024px) {
  .hero-content { width: 90%; padding: 40px 30px; }
}

@media (max-width: 768px) {
  .animated-title { min-height: 120px; }
  .animated-title h1 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
    white-space: normal;
    line-height: 1.1;
  }
  
  /* Performance: Mobile par second image load nahi hogi bandwidth bachane ke liye */
  .bg2 { display: none !important; }
  .bg1 { opacity: 1 !important; transform: none !important; }

  .animated-title h1:nth-child(2) {
    animation: waveAnimationMobile 4s ease-in-out infinite;
  }
  .hero-content { border-radius: 32px; padding: 40px 25px; width: 92%; }
}

@media (max-width: 480px) {
  .hero-content { max-width: 90%; padding: 30px 20px; border-radius: 24px; }
  .animated-title { min-height: 100px; }
  .animated-title h1 { font-size: 30px; }
  .hero-content p { font-size: 1rem; }
}

@keyframes waveAnimationMobile {
  0%, 100% { clip-path: polygon(0% 65%, 12% 62%, 25% 65%, 38% 72%, 50% 75%, 62% 72%, 75% 65%, 88% 62%, 100% 65%, 100% 100%, 0% 100%); }
  50% { clip-path: polygon(0% 72%, 12% 75%, 25% 72%, 38% 65%, 50% 62%, 62% 65%, 75% 72%, 88% 75%, 100% 72%, 100% 100%, 0% 100%); }
}
/* Service-supply */
.srt-service-supply-service {
  background-color: #081428;
  margin: 0;
  padding: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #fff;
}

.srt-service-section-container {
  display: flex;
  min-height: 100vh;
}

.srt-service-section-left-panel {
  flex: 1;
  height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 60px;
  background: #0a192f;
  z-index: 10;
}

.srt-service-section-left-panel h2 {
  color: #ffac1c;
  margin-bottom: 30px;
  text-align: center;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
}

.word1 {
  background: linear-gradient(135deg, #ffac1c 0%, #ffac1c 55%, #a5d8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.srt-service-section-badge {
  color: #ff6c0c;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 20px;
  justify-content: flex-start;
}

.srt-service-section-square {
  width: 10px;
  height: 10px;
  background: #ff5722;
}

.srt-service-section-hero-mask {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  border-radius: 20px;
}

.srt-service-section-right-panel {
  flex: 1.2;
  padding: 60px 30px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.srt-service-section-card {
  position: sticky;
  background: #112240;
  border-radius: 24px;
  padding: 45px;
  display: flex;
  align-items: center;
  gap: 35px;
  min-height: 280px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid #ffac1c;
  transition: transform 0.3s ease;
}

/* Desktop Stacking logic */
.srt-service-section-card:nth-child(1) { top: 60px; }
.srt-service-section-card:nth-child(2) { top: 85px; }
.srt-service-section-card:nth-child(3) { top: 110px; }
.srt-service-section-card:nth-child(4) { top: 135px; }
.srt-service-section-card:nth-child(5) { top: 160px; }
.srt-service-section-card:nth-child(6) { top: 185px; }

.srt-service-section-card-content h3 {
  font-size: 30px;
  margin: 0 0 15px 0;
  color: #f8e659;
}

.srt-service-section-card-content p {
  font-size: 16px;
  color: #fff;
  line-height: 1.7;
  margin-bottom: 25px;
}

.srt-service-section-card-img img {
  width: 220px;
  height: 190px;
  object-fit: cover;
  border-radius: 16px;
  opacity: 0.9;
}

.srt-service-section-btn {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 15px;
  border: 1px solid #ff5722;
  padding: 8px 20px;
  border-radius: 4px;
  transition: 0.3s ease;
  background: #ff5722;
}

.srt-mobile-nav { display: none; }

/* MEDIA QUERIES */
@media (max-width: 1024px) {
  .srt-service-supply-service { padding: 30px 0; background-color: #061020; }
  .srt-service-section-container { flex-direction: column; min-height: 0; }
  
  .srt-service-section-left-panel {
    position: relative;
    height: auto;
    padding: 0 20px;
    width: 100%;
    background: none;
  }
  
  .srt-service-section-hero-mask { display: none; }
  .srt-service-section-left-panel h2 { font-size: 1.8rem !important; }
  .srt-service-section-badge { justify-content: center; }

  .srt-service-section-right-panel {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px;
    gap: 20px;
    scrollbar-width: none;
  }
  .srt-service-section-right-panel::-webkit-scrollbar { display: none; }

  .srt-service-section-card {
    position: relative;
    top: 0 !important;
    flex: 0 0 100%;
    scroll-snap-align: center;
    flex-direction: column-reverse;
    padding: 25px;
    text-align: center;
    height: auto;
    min-height: 490px;
  }
  
  .srt-service-section-card-img img { width: 100%; height: 160px; }
  .srt-mobile-nav { display: flex; justify-content: center; gap: 20px; padding: 10px 0; background-color: #061020; }
  
  .srt-nav-icon {
    background: #ffac1c;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .srt-service-section-card-content h3 { font-size: 20px; }
}

@media (max-width: 320px) {
  .srt-service-section-card-img img { height: 100px !important; width: auto; object-fit: contain; }
}

/* Solution Section */
.solution-circle-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #081428;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #ffffff;
  overflow: hidden;
  padding-bottom: 80px;
  min-height: 100vh;
}

.cosmic-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, #00bcd4 0%, #020617 100%);
  z-index: 0;
}

.solution-heading {
  color: #ffac1c;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-top: 30px;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  z-index: 5;
  letter-spacing: -0.02em;
}

.solution-heading .word1 {
  background: linear-gradient(135deg, #ffac1c 0%, #ffac1c 55%, #a5d8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.circle-wrapper {
  position: relative;
  width: 100%;
  max-width: 984px;
  height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-container {
  position: relative;
  z-index: 10;
}

.center-circle {
  width: 390px;
  height: 390px;
  border-radius: 50%;
  position: relative;
  padding: 10px;
  background: linear-gradient(135deg, #ffac1c, #2dd4bf);
  box-shadow: 0 0 50px rgba(255, 172, 28, 0.3);
}

.center-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border: 1px solid #ffac1c;
  border-radius: 50%;
  pointer-events: none;
}

.info-box {
  position: absolute;
  width: 280px;
  height: 280px;
  background: rgba(8, 20, 40, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 30px;
  border-radius: 24px;
  border: 1px solid rgba(255, 172, 28, 0.15);
  transition: border-color 0.3s ease;
  z-index: 20;
  opacity: 0;
}

.icon-box {
  width: 48px;
  height: 48px;
  background: rgba(255, 172, 28, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #ffac1c;
  font-size: 1.5rem;
  font-weight: 800;
}

.info-box h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffeb3b;
}
.info-box p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #b0c4de;
}

.pos-1 {
  top: 0;
  left: 4%;
}
.pos-2 {
  top: 0;
  right: 4%;
}
.pos-3 {
  bottom: 0;
  left: 4%;
}
.pos-4 {
  bottom: 0;
  right: 4%;
}

.connections {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* ===== MOBILE ADAPTATION ===== */
@media (max-width: 900px) {
  .solution-circle-section {
    min-height: 0;
    padding-bottom: 0;
    padding: 30px 0;
  }
  .info-box h3 {
    font-size: 1rem;
  }
  .solution-heading {
    font-size: 1.8rem;
    margin-top: 0;
  }
  .hub-container,
  .connections {
    display: none !important;
  }

  .circle-wrapper {
    height: auto;
    display: flex;
    overflow: hidden;
    width: 100%;
    padding: 0 0;
  }

  .info-box-container {
    display: flex;
    gap: 20px;
    padding: 0 20px;
  }

  .info-box {
    position: relative !important;
    width: 80vw !important;
    max-width: 320px;
    opacity: 1 !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    flex-shrink: 0;
    transform: none !important;
  }
}

/* CTA Section */
.service-page-why-cta {
  position: relative;
  width: 100%;
  background: #0a1929;
  color: #fff;
  padding: 30px 0;
  overflow: hidden;
}
.spwc-container {
  width: 95%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}
.spwc-container h2 {
  color: #ffac1c;
  margin-bottom: 15px;
  text-align: center;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
}
.word1 {
  background: linear-gradient(135deg, #ffac1c 0%, #ffac1c 55%, #a5d8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.spwc-description {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 70px;
  font-size: 18px;
  line-height: 1.8;
  color: #e6edf3;
}
.spwc-wave-container {
  position: relative;
  width: 100%;
  margin-top: 50px;
}
.spwc-wave-path {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 300px;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}
.spwc-wave-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
#wavePath {
  fill: none;
  stroke: #03a9f4;
  stroke-width: 3;
  stroke-dasharray: 2500;
  stroke-dashoffset: 2500;
}
.spwc-wave-steps {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.spwc-wave-step {
  height: auto;
  flex: 1;
  min-width: 160px;
  background: #631e81;
  border: 1px solid rgba(255, 172, 28, 0.2);
  border-radius: 15px;
  padding: 40px 15px 25px;
  text-align: center;
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(30px);
  position: relative;
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}
.spwc-wave-step:hover {
  background: #7a2a9e;
  transform: translateY(-10px) !important;
  border-color: #ffac1c;
}
.spwc-step-number {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.spwc-step-number img {
  height: 100%;
  width: auto;
  filter: drop-shadow(0 5px 15px rgba(255, 172, 28, 0.3));
}
.spwc-step-title {
  color: #ffeb3b;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 10px 0;
}
.spwc-step-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}
.spwc-cta-section {
  margin-top: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.spwc-cta-button {
  position: relative;
  display: inline-block;
  cursor: pointer;
  transition:
    transform 1.5s cubic-bezier(0.77, 0, 0.18, 1),
    opacity 1.5s ease;
}
.spwc-cta-button-inner {
  animation: spwcPulse 2s ease-in-out infinite;
}
.spwc-cta-button.slide-out {
  transform: translateX(120%);
  opacity: 0;
}
.spwc-btn-text {
  position: absolute;
  top: 50%;
  transform: translate(-180%, -80%);
  color: #3f51b5;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  pointer-events: none;
}

.spwc-mobile-nav {
  display: none;
}

@keyframes spwcPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
@media (max-width: 1260px) {
  .spwc-wave-step {
    height: 225px;
  }
}
@media (max-width: 1100px) {
  .spwc-wave-path {
    display: none;
  }
  .spwc-wave-steps {
    flex-wrap: wrap;
    justify-content: center;
    gap: 80px 20px;
    margin-top: 50px;
  }
  .spwc-wave-step {
    width: calc(33% - 20px);
    flex: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 768px) {
  .service-page-why-cta {
    padding: 30px 0;
  }
  .spwc-container h2 {
    font-size: 1.8rem;
  }
  .spwc-wave-path {
    display: none !important;
  }
  .spwc-description {
    margin: 0 auto 0;
    font-size: 14px;
  }
  .spwc-wave-container {
    overflow: hidden;
    padding: 0 0;
    margin-top: 10px;
  }
  .spwc-cta-button-inner img {
    width: 50%;
  }

  .spwc-btn-text {
    font-size: 12px;
  }

  .spwc-wave-steps {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
  }

  .spwc-wave-step {
    min-width: calc(100vw - 40px);
    width: calc(100vw - 40px);
    flex: 0 0 auto;
    opacity: 1 !important;
    transform: none !important;
    box-sizing: border-box;
  }

  .spwc-mobile-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
  }

  .spwc-nav-btn {
    background: #ffac1c;
    border: none;
    color: #0a1929;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 800;
    cursor: pointer;
    font-family: "Plus Jakarta Sans";
    font-size: 14px;
    transition: 0.3s ease;
  }

  .spwc-nav-btn:disabled {
    background: #374151;
    color: #9ca3af;
    cursor: not-allowed;
  }
}

/* FAQ Section */
.srt-service-section-FAQ {
  padding: 30px 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: #081428;
  color: #fff;
}

.srt-service-section-FAQ-container {
  max-width: 1365px;
  margin: 0 auto;
  padding: 20px 5%;
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(14, 165, 233, 0.15);
  backdrop-filter: blur(10px);
}

.srt-service-section-faq-side,
.srt-service-section-features-side {
  flex: 1;
  min-width: 350px;
}

.srt-service-section-main-heading {
  color: #ffac1c;
  margin-bottom: 25px;
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.2;
}

.srt-word-gradient {
  background: linear-gradient(135deg, #ffac1c 0%, #ffac1c 55%, #a5d8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.srt-service-section-acc-item {
  background: #112240;
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.srt-service-section-acc-trigger {
  padding: 22px 25px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 17px;
  font-weight: 600;
  color: #e6f1ff;
  text-align: left;
  transition: 0.3s ease;
  font-family: inherit;
}

.srt-service-section-acc-trigger.srt-service-section-active {
  color: #ffc107;
  background: rgba(255, 172, 28, 0.05);
}

.srt-service-section-acc-content {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: #b0c4de;
  line-height: 1.7;
  font-size: 15px;
}

.srt-service-section-acc-content.srt-service-section-show {
  max-height: 300px;
  padding-bottom: 25px;
}

.srt-service-section-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.srt-service-section-feature-box {
  background: #631e81;
  padding: 26px;
  border-radius: 15px;
  transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-top: 3px solid #ff9800;
}

.srt-service-section-feature-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-top-color: #ff6c0c;
}

.srt-service-section-feature-box h3 {
  font-size: 18px;
  color: #ffeb3b;
  font-weight: 700;
}

.srt-service-section-feature-box p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

@media (max-width: 991px) {
  .srt-service-section-FAQ-container {
    flex-direction: column;
    gap: 40px;
    padding: 40px 20px;
  }
  .srt-service-section-faq-side,
  .srt-service-section-features-side {
    min-width: 100%;
  }
}

@media (max-width: 768px) {
  .srt-service-section-main-heading {
    font-size: 1.4rem;
  }
  .srt-service-section-FAQ {
    padding: 30px 0;
  }
  .srt-service-section-features-grid {
    grid-template-columns: 1fr;
  }
  .srt-service-section-acc-trigger {
    font-size: 15px;
    padding: 18px 20px;
  }
}
