/* ========== Global ========== */

:root {
  --bs-primary: #0a58ca;
  --bs-primary-rgb: 10, 88, 202;
}


/* Primary button */
.btn.btn-primary {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  color: #fff !important;
}

.btn.btn-primary:hover {
  background-color: #084298 !important;
  border-color: #084298 !important;
}


/* Outline button */
.btn.btn-outline-primary {
  color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  background-color: transparent !important;
}
.btn.btn-outline-primary:hover {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  color: #fff !important;
}



body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 200;
  line-height: 1.2;
  color: #233387;;
}

/* Buttons */
.btn {
  font-weight: 500;
  line-height: 1.2;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
}

/* ========== Promo Banner ========== */
.promo-banner {
  background: 
    radial-gradient(circle, rgba(255,255,255,0.15) 2px, transparent 2px),
    radial-gradient(circle, rgba(255,255,255,0.15) 2px, transparent 2px),
    #3F51B5;
  background-position: 0 0, 20px 20px;
  background-size: 40px 40px;
  border-bottom: 4px solid #3F51B5;
  white-space: nowrap;
  overflow-x: auto;
}

.promo-banner h4 {
  font-size: 1.2rem;
}

.promo-banner small {
  opacity: 0.9;
  font-size: 0.85rem;
}

/*Demo Modal*/

/* Dark & bold labels */
.modal-content .form-label {
    font-weight: 600;
    color: #212529; /* Bootstrap dark */
}

/* Very light placeholder text */
.modal-content ::placeholder {
    color: #c5c5c5;
    opacity: 1; /* ensures same color in Firefox */
}

/* Optional: lighter placeholder on focus */
.modal-content input:focus::placeholder,
.modal-content textarea:focus::placeholder {
    color: #d6d6d6;
}


/* ========== Hero Section ========== */
.hero {
  min-height: calc(100vh - 120px); 
  display: flex;
  align-items: center;
  padding: 3rem 0;
  background: 
    radial-gradient(circle, rgba(220,53,69,0.12) 2px, transparent 2px),
    radial-gradient(circle, rgba(220,53,69,0.12) 2px, transparent 2px);
  background-position: 0 0, 20px 20px;
  background-size: 35px 35px;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  color: #233387;
}

.hero p {
  font-size: 1.1rem;
  color: #555;
  max-width: 500px;
}

.hero img {
  max-height: 450px;
  transform: rotate(-3deg);
  transition: transform 0.3s ease-in-out;
}

.hero img:hover {
  transform: rotate(0deg) scale(1.05);
}

.hero .btn {
  white-space: nowrap;
}

/* ========== Features & Screenshots ========== */
.feature-icon {
  font-size: 2rem;
  color: #f05454;
}

.screenshot {
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* ========== Nav Pills ========== */
.nav-pills .nav-link {
  color: #000;
  background-color: transparent;
  border: 1px solid #ccc;
  transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}


/* ========== Pricing Section ========== */
#pricing .row.flex-nowrap {
  scroll-snap-type: x mandatory;
}

#pricing .col-10 {
  scroll-snap-align: center;
  min-width: 85%;
}

@media (min-width: 768px) {
  #pricing .col-10 {
    min-width: auto;
  }
}

/* ========== Carousel ========== */
.carousel-item {
  padding: 3rem 1rem;
  min-height: 500px;
}

@media (min-width: 768px) {
  .carousel-item {
    padding: 5rem 3rem;
    min-height: 550px;
  }
}

/* ========== Download Section ========== */
section.download-section {
  padding: 100px 0;
}

/* ========== Testimonials ========== */
.testimonial {
  background: #f8f9fa;
  padding: 50px 0;
}

.testimonial .card {
  transition: transform .3s ease, box-shadow .3s ease;
}

.testimonial .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}


/* ========== Footer ========== */
footer {
  background: #222;
  color: #fff;
  padding: 30px 0;
}

/*loader*/


.loader-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

input[name="phone"] {
  caret-color: black;
}


  .modern-modal .modal-content {
    border-radius: 18px;
    overflow: hidden;
    border: none;
    box-shadow: 0 20px 50px rgba(0,0,0,.15);
  }

  .modal-hero {
    height: 160px;
    background-image: url("https://images.unsplash.com/photo-1601597111158-2fceff292cdc?q=80&w=1200&auto=format&fit=crop");
    background-size: cover;
    background-position: center;
    position: relative;
  }

  .modal-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,.25),
      rgba(0,0,0,.6)
    );
  }

  .modal-hero h5 {
    position: absolute;
    bottom: 16px;
    left: 20px;
    right: 20px;
    color: #fff;
    z-index: 1;
    font-weight: 600;
  }

  .modern-modal .modal-body {
    padding: 24px;
  }

  .phone-input {
    display: flex;
    align-items: center;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
  }

  .phone-prefix {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    background: #f8f9fa;
    border-right: 1px solid #dee2e6;
    font-weight: 500;
    white-space: nowrap;
  }

  .phone-prefix img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
  }

  .phone-input input {
    border: none;
    box-shadow: none;
    padding: 12px;
  }

  .phone-input input:focus {
    outline: none;
    box-shadow: none;
  }

  .modern-modal .btn-primary {
    border-radius: 12px;
    padding: 12px;
    font-weight: 600;
  }

  .success-modal .modal-content {
    border-radius: 18px;
    border: none;
    box-shadow: 0 20px 50px rgba(0,0,0,.15);
  }

.modal-header {
  position: relative;
}

.modal-header .btn-close {
  z-index: 1056; /* higher than modal content */
}


/* Product Card Styling */
.product-card {
  background-color: #f8f9fa;
  border-radius: 16px;
  transition: transform 0.3s ease-in-out;
}

.product-card:hover {
  transform: translateY(-10px);
}

.product-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.product-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

.product-card p {
  font-size: 1rem;
  color: #6c757d;
}

/* On small devices */
@media (max-width: 576px) {
  .product-card {
    padding: 2rem;
  }

  .product-card h3 {
    font-size: 1.25rem;
  }

  .product-card p {
    font-size: 0.9rem;
  }
}

@media (min-width: 576px) {
  .product-card {
    padding: 3rem;
  }
}


.video-hero {
    min-height: 100vh;
    width: 100%;
    background-image: url("../img/video-cover.jpg") !important;
    position: relative;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0, 0, 0, 0.6),
        rgba(0, 0, 0, 0.85)
    );
    z-index: 1;
}

.play-btn {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #ff2c2c;
    border: none;
    color: #fff;
    font-size: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 0 0 rgba(255, 44, 44, 0.7);
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 44, 44, 0.8);
}

.play-btn i {
    margin-left: 5px;
}

.pulse-ring {
    position: absolute;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: rgba(255, 44, 44, 0.4);
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}


.lead-section{
  width:100%;
  min-height:100vh;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;

  background: linear-gradient(135deg,#f8fafc,#e9f2ff);
  background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
  background-size: 18px 18px;
}

.lead-card{
  width:100%;
  max-width:520px;
  background:#fff;
  padding:40px;
  border-radius:20px;
  box-shadow:0 20px 50px rgba(0,0,0,0.08);
  position:relative;
}

.step{
  display:none;
  animation:fadeSlide .4s ease;
}

.step.active{
  display:block;
}

@keyframes fadeSlide{
  from{opacity:0;transform:translateX(20px);}
  to{opacity:1;transform:translateX(0);}
}

.progress{
  height:8px;
  border-radius:20px;
}

.progress-bar{
  transition:width .4s ease;
}

.lead-loader{
  position:fixed;
  inset:0;
  background:rgba(255,255,255,0.6);
  backdrop-filter:blur(6px);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.lead-loader.d-none{
  display:none;
}

.step{
  display:none;
  animation:slideFade .35s ease;
}

.step.active{
  display:block;
}

.next-btn,
.back-btn{
  padding:6px 14px;
  font-size:0.85rem;
  border-radius:8px;
}

@keyframes slideFade{
  from{opacity:0; transform:translateX(25px);}
  to{opacity:1; transform:translateX(0);}
}

/* Premium soft placeholder style */
.form-control::placeholder,
.form-select::placeholder {
    font-size: 0.85rem;     /* slightly smaller */
    color: #9aa0a6;         /* soft grey */
    opacity: 1;             /* prevent browser default fade */
    font-weight: 400;
}

/* For better consistency across browsers */
.form-control::-webkit-input-placeholder {
    font-size: 0.85rem;
    color: #9aa0a6;
}

.form-control::-moz-placeholder {
    font-size: 0.85rem;
    color: #9aa0a6;
}

.form-control:-ms-input-placeholder {
    font-size: 0.85rem;
    color: #9aa0a6;
}


/* Smaller dropdown text */
.form-select {
    font-size: 0.95rem;
    padding: 0.6rem 0.75rem;
}

/* Default option light grey */
.form-select:invalid {
    color: #b5b5b5;
}

/* When user selects real value */
.form-select option {
    color: #000;
}

.lead-section{
  width:100%;
  min-height:100vh;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;

  background: linear-gradient(135deg,#f8fafc,#e9f2ff);
  background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
  background-size: 18px 18px;
}

@media (max-width:768px){

  .lead-section{
    padding:0;
    align-items:flex-start;
  }

  .lead-section .container{
    padding:20px;
  }

  .lead-card{
    max-width:100%;
    width:100%;
    border-radius:16px;
    padding:25px 20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.06);
  }

  .lead-section h1{
    font-size:1.6rem;
  }

  .lead-section p{
    font-size:0.95rem;
  }
}

.lead-section .container{
  max-width:100%;
  width:100%;
  padding-left:5%;
  padding-right:5%;
}


.testimonial-section {
  background: #f8fafc;
  overflow: hidden;
}

.rating-summary {
  color: #555;
}

.rating-score {
  font-size: 22px;
  font-weight: 600;
  margin-right: 8px;
}

.stars {
  color: #ffc107;
  margin-right: 6px;
}

/* Wrapper */
.review-wrapper {
  overflow: hidden;
  position: relative;
}

/* Track */
.review-track {
  display: flex;
  gap: 20px;
  animation: scroll 35s linear infinite;
}

/* Card */
.review-card {
  flex: 0 0 20%; /* 5 per row */
}

.card-inner {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  text-align: center;
  height: 100%;
  transition: 0.3s ease;
}

.card-inner:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.review-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

.review-message {
  font-size: 14px;
  color: #666;
  font-style: italic;
  min-height: 70px;
}

.review-stars {
  color: #ffc107;
  margin-bottom: 8px;
}

.review-card h6 {
  margin-bottom: 0;
  font-weight: 600;
}

.review-card span {
  font-size: 13px;
  color: #888;
}

/* Infinite Animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Tablet */
@media (max-width: 992px) {
  .review-card {
    flex: 0 0 33.33%;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .review-card {
    flex: 0 0 50%; /* 2 per screen */
  }

  .review-track {
    animation: scroll 35s linear infinite;
  }
}

/*.review-wrapper:hover .review-track {*/
/*  animation-play-state: paused;*/
/*}*/

.review-wrapper {
  overflow: hidden;
  position: relative;
  cursor: grab;
}

.review-wrapper:active {
  cursor: grabbing;
}

.review-track {
  display: flex;
  gap: 20px;
  will-change: transform;
  user-select: none;
}

.review-card {
  flex: 0 0 20%; /* 5 on desktop */
}

@media (max-width: 992px) {
  .review-card {
    flex: 0 0 33.33%;
  }
}

@media (max-width: 576px) {
  .review-card {
    flex: 0 0 50%; /* 2 on phone */
  }
}


/* ========== Responsive Fixes ========== */
@media (max-width: 768px) {
  .promo-banner { font-size: 0.9rem; }
  .promo-banner h4 { font-size: 1rem; }
  .promo-banner small { font-size: 0.75rem; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }
}
