/* hero */
.hero-img img{
  width: 100%;
}
  /* @media (min-width: 768px) {
    .hero-sec{
    margin-top: 2%; 
    height: 100%;
  }
  .hero-img{
    margin-top: 0%; 
  }
} */
  @media (max-width: 767px) {
    .hero-sec{
    padding-top: 45%; 
    height: 100%;
  }
  .hero-sec h1{
    font-size: 16px;
  }
  .hero-sec p{
    font-size: 14px;
    margin-top: 5px;
  }
  .hero-img{
    margin-top: 10%; 
    width: 100%;
  }
}
@media (min-width: 768px) and (max-width: 1367px) {
  .hero-img{
    margin-top: 0%; 
    width: 100%;
  }
   .hero-sec h1{
    font-size: 32px;
  }
}
@media (min-width: 1368px) and (max-width: 1799px) {
  .hero-img{
    margin-top: 5%; 
    width: 140%;
  }
   .hero-sec h1{
    font-size: 32px;
  }
}

    
  @media (min-width: 1800px) {
    .hero-sec{
    margin-top: 5%; 
    height: 100%;
  }
  .hero-sec h1{
    font-size: 32px;
  }
  .hero-img{
    margin-top: 5%; 
    width: 170%;
  }
}
.feature-title {
  display: inline-block;
  background: linear-gradient(90deg, #1952fb 0%, #9808dc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* features section starts */
.feature-section {
  width: 100%;
  height:100%;
  padding: 40px 20px;
  background: #ffffff;
}

.feature-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  height: 40%;
}

.feature-card {
  flex: 1;
  min-width: 250px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  border-radius: 12px;
  transition: 0.3s ease;
  cursor: pointer;
}
/* 
.feature-card:hover {
  background: #f6f6f6;
  transform: translateY(-3px);
} */

/* .dark .feature-card:hover h3 {
  color: #000000;
} */
.feature-icon {
  width: 110px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
}
.feature-icon img{
  width: 50%;
  height: 50%;
}
.pink {
  background: #ff4f87;
}

.green {
  background: #29c76f;
}

.orange {
  background: #ff9f43;
}

.feature-content h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #222;
}

.feature-content p {
  font-size: 16px;
  color: #777;
  line-height: 1.4;
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .feature-container {
    flex-direction: column;
  }

  .feature-card {
    width: 100%;
  }
}
/* features section ends */

/* mobile screens starts */

.app-screens-section {
  width: 100%;
  padding: 60px 20px;
 
}

.app-screens-container {
  max-width: 1200px;
  height: 100%;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

/* Mobile screenshot card */
.phone-card {
  width: 180px;
  transition: 0.3s ease;
  cursor: pointer;
}

.phone-card img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.35);
}

/* Hover effect */
.phone-card:hover {
  transform: translateY(-10px) scale(1.03);
}

/* Highlight center screens (like your design) */
/* .phone-card:nth-child(3) {
  transform: scale(1.1);
}

.phone-card:nth-child(3):hover {
  transform: scale(1.15) translateY(-10px);
} */

/* ✅ Responsive */
@media (min-width: 769px) {
 
.app-screens-section {
  height:65%;
}
 
}
@media (max-width: 768px) {
  .phone-card {
    width: 150px;
  }
.app-screens-section {
  height:50%;
}
  /* .phone-card:nth-child(3) {
    transform: scale(1);
  } */
}

@media (max-width: 480px) {
  .app-screens-container {
    gap: 15px;
  }
.app-screens-section {
  height:auto;
}
  .phone-card {
    width: 130px;
  }
}



/* mobile screens ends */



/* metrics section */

.stats-section {
  width: 100%;
  max-width: 100%;
  margin: auto;
  /* padding: 40px 20px; */
  /* height:0%; */
  /* background: #f2f5f8; */
  position: relative;
  overflow: hidden;
}

 

.stats-container {
  position: relative;
  max-width:100vw;
  margin: auto;
  display: flex;
  justify-content: space-between;
  height: 20vh;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.stat-box {
  flex: 1;
  min-width: 160px;
  text-align: center;
}

.stat-box h2 {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.stat-box p {
  font-size: 20px;
  color: #ffffff;
}

/* Decorative shapes */
/* .shape {
  position: absolute;
  opacity: 0.9;
}

.triangle {
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 20px solid #ff4f87;
  left: 25px;
  bottom: 20px;
}

.circle {
  width: 22px;
  height: 22px;
  border: 3px solid #ffc107;
  border-radius: 50%;
  top: 15px;
  left: 45%;
}

.half-circle {
  width: 40px;
  height: 40px;
  background: #3f66ff;
  border-radius: 0 0 40px 40px;
  right: -10px;
  top: 0;
} */

/* Responsive */
@media (max-width: 768px) {
  .stats-container {
    justify-content: center;
    height: auto;
    padding: 40px 0;
  }

  .stat-box {
    min-width: 45%;
  }
}

@media (max-width: 480px) {
  .stat-box {
    min-width: 100%;
  }
}


/* metrics section ends */


/* testimonial */
.testimonial-section {
  width: 100%;
  padding: 80px 20px;
  /* background: linear-gradient(135deg, #f8fafc, #eef2ff); */
  position: relative;
  overflow: hidden;
}

/* Decorative blur circles */
/* .testimonial-section::before,
.testimonial-section::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  z-index: 0;
} */

.testimonial-section::before {
  background: #6366f1;
  top: -80px;
  left: -80px;
}

.testimonial-section::after {
  background: #22c55e;
  bottom: -80px;
  right: -80px;
}

.container {
  max-width: 1100px;
  margin: auto;
  position: relative;
  z-index: 1;
}

/* Heading */
.heading {
  text-align: center;
  margin-bottom: 45px;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.12);
  color: #4f46e5;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 12px;
}

.heading h2 {
  font-size: 30px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

.heading p {
  max-width: 680px;
  margin: auto;
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
}

/* Carousel */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.track {
  display: flex;
  transition: transform 0.55s ease;
}

/* Card */
.card {
  min-width: 100%;
  display: flex;
  gap: 28px;
  padding: 34px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0px 15px 40px rgba(15, 23, 42, 0.08);
  align-items: center;
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
}

/* Image */
.left img {
  width: 230px;
  height: 230px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0px 12px 25px rgba(0, 0, 0, 0.12);
}

/* Content */
.right {
  flex: 1;
}

.quote {
  font-size: 56px;
  color: rgba(99, 102, 241, 0.35);
  line-height: 1;
  margin-bottom: 8px;
}

.text {
  font-size: 14px;
  color: #334155;
  line-height: 1.8;
  margin-bottom: 18px;
  font-style: italic;
}

.user h4 {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.user span {
  font-size: 12px;
  color: #64748b;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
  font-size: 13px;
  color: #64748b;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4f46e5;
}

/* Nav Buttons */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 26px;
  color: #0f172a;
  transition: 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.05);
}

.prev {
  left: 12px;
}

.next {
  right: 12px;
}

/* Dots */
.dots {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(100, 116, 139, 0.35);
  cursor: pointer;
  transition: 0.3s ease;
}

.dot.active {
  background: #4f46e5;
  transform: scale(1.25);
}

/* Responsive */
@media (max-width: 768px) {
  .card {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  .left img {
    width: 180px;
    height: 180px;
  }

  .brand {
    justify-content: center;
  }

  .nav {
    display: none;
  }
}

/* testimonial ends */
.testimonial-01 .swiper-slide {
  width: 100% !important;
}


/* Slider wrapper */
.slide img{
  width: 70%;
}
.slider {
  height: 100px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slide-track {
  display: flex;
  width: calc(250px * 4); /* total slides */
  animation: scroll 30s linear infinite;
}

.slide {
  width: 250px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    /* move only HALF of total width */
    transform: translateX(calc(-250px * 4));
  }
}

/* floating elements */
.rotating-shape {
  position: absolute;
  opacity: 1;
  pointer-events: none;
  z-index: 1;
  animation: rotate360 20s linear infinite;
}
.non-rotating-shape{
  position: absolute;
  opacity: 1;
  pointer-events: none;
  z-index: 1;
}

.shape-one {
  bottom: 10%;
  left: 2%;
  width: 60px;
}

.shape-two {
  top: 0;
  left: 55%;
  width: 60px;
  animation-duration: 25s;
}
.shape-three {
  top: 10%;
  right: 2%;
  width: 80px;
  
}
@media (max-width: 768px) {
  .shape-two {
    left: 65%;
  }
  .shape-three {
  bottom: 0;
  right: 2%;
  width: 80px;
  
}
}



@keyframes rotate360 {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (min-width: 900px) {
 .brand-sec{
  height: 50vh;
}
}


/* ===== Carousel Wrapper ===== */
.about-carousel {
  position: relative;
  width: 300px;
  height: 520px;
  overflow: visible;
}

/* ===== Slide ===== */
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(40px) scale(0.97);
  transition: opacity 1.  5s ease, transform 1.95s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-slide.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  z-index: 2;
}


/* ===== Phone ===== */
.phone-wrapper {
  position: relative;
  width: 320px;
  margin: 0 auto;
}

.phone {
  width: 320px;
  height: auto;
  display: block;
  z-index: 1;
  animation: floatPhone 4s ease-in-out infinite;
}

/* ===== Popup ===== */
.popup {
  position: absolute;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s ease;
  z-index: 5;

  /* ⭐ Premium Drop Shadow */
  filter: drop-shadow(0px 18px 28px rgba(0,0,0,0.18));

  border-radius: 15px;
}

.carousel-slide.active .popup {
  opacity: 1;
  transform: scale(1);
}

/* ===== Slide 1 Popups ===== */
.popup-home-left {
  bottom: 150px;
  left: -150px;
  width: 230px;
  transition-delay: 1s;
}

.popup-home-right {
  top: 90px;
  right: -70px;
  width: 120px;
  transition-delay: 1.4s;
}

/* ===== Slide 2 Popup ===== */
.popup-cert-left {
  bottom: 100px;
  left: -160px;
  width: 260px;
  transition-delay: 1.2s;
}

/* ===== Slide 3 Popups ===== */
.popup-dash-top {
  top: 70px;
  right: -160px;
  width: 260px;
  transition-delay: 1s;
}

.popup-dash-bottom {
  bottom: 140px;
  right: -160px;
  width: 260px;
  transition-delay: 1.3s;
}

.popup-dash-left {
  top: 180px;
  left: -170px;
  width: 260px;
  transition-delay: 1.6s;
}

/* ===== Carousel Dots ===== */
.carousel-dots {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  transition: 0.4s;
}

.dot.active {
  background: #3b82f6;
  width: 24px;
  border-radius: 10px;
}

/* ===== Phone Floating Animation ===== */
@keyframes floatPhone {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {

  .about-carousel {
    width: 100%;
    height: 500px;
  }

  .phone-wrapper {
    width: 260px;
  }

  .phone {
    width: 260px;
  }

  /* Adjust Popup Positions */
  .popup-home-left {
    bottom: 130px;
    left: -60px;
    width: 180px;
  }

  .popup-home-right {
    top: 70px;
    right: -60px;
    width: 110px;
  }

  .popup-cert-left {
    bottom: 80px;
    left: -60px;
    width: 200px;
  }

  .popup-dash-top {
    top: 50px;
    right: -70px;
    width: 200px;
  }

  .popup-dash-bottom {
    bottom: 110px;
    right: -70px;
    width: 200px;
  }

  .popup-dash-left {
    top: 150px;
    left: -60px;
    width: 200px;
  }
}
