@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;500;600;700&display=swap');

:root {
  --primary-red: #E60611;
  --bg-cards: #ffffff;
  --bg-body: #F3F3F3;
  --text-dark: #020205;
  --text-muted: #6c757d;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
button,
input,
textarea,
.form-control {
  font-family: 'Comfortaa', system-ui, -apple-system, sans-serif !important;
  text-transform: none !important;
}

body {
  background-color: var(--bg-body) !important;
  color: var(--text-dark);
  margin: 0;
  padding: 0;
}

/* Custom Header */
.prov-header {
  padding: 40px 0 20px 0;
  text-align: center;
  background-color: transparent;
}

.prov-header img {
  height: 45px;
}

/* Hero Section */
.prov-hero {
  padding: 10px 20px 60px 20px;
  display: flex;
  justify-content: center;
}

.prov-hero-card {
  background-color: var(--bg-cards);
  border-radius: 40px;
  max-width: 1000px;
  width: 100%;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.prov-hero-content {
  flex: 1;
  padding-right: 20px;
}

.prov-hero-content h1 {
  font-size: 4.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.1;
  color: var(--text-dark);
  margin-top: 0;
}

.prov-hero-content p.subtitle {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 30px;
  line-height: 1.3;
}

.prov-hero-content p.desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: none;
  line-height: 1.5;
}

.prov-hero-media {
  flex: 1 1 380px;
  max-width: 380px;
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.prov-hero-video {
  width: 100%;
  min-height: 500px;
  object-fit: cover;
  border-radius: 40px;
  border: none;
  box-shadow: none;
  outline: none;
  background: #fff;
  display: block;
}

.prov-video-sound-btn {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(2, 2, 5, 0.45);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.prov-video-sound-btn i {
  font-size: 1rem;
}

.prov-video-sound-btn:hover {
  background: rgba(2, 2, 5, 0.62);
  transform: scale(1.04);
}

.prov-hero-buttons {
  display: flex;
  gap: 15px;
}

.btn-red {
  background-color: var(--primary-red);
  color: white;
  border: none;
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.05rem;
}

.btn-red:hover {
  background-color: #cc000a;
  color: white;
  transform: translateY(-2px);
}

.btn-light {
  background-color: var(--bg-body);
  color: var(--text-muted);
  border: none;
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.05rem;
}

.btn-light:hover {
  background-color: #e2e6ea;
  color: var(--text-dark);
}

.prov-hero-img {
  flex: 1;
  text-align: right;
  display: flex;
  justify-content: flex-end;
}

.prov-hero-img img {
  max-width: 110%;
  /* Image bleeds slightly right */
  height: auto;
  margin-right: -40px;
}

@media (max-width: 850px) {
  .prov-hero-card {
    flex-direction: column-reverse;
    padding: 40px 30px;
    text-align: center;
  }

  .prov-hero-content {
    padding-right: 0;
    margin-top: 30px;
  }

  .prov-hero-content p.desc {
    margin: 0 auto 30px auto;
  }

  .prov-hero-img img {
    margin-right: 0;
    max-width: 100%;
  }

  .prov-hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .prov-hero-content h1 {
    font-size: 2.8rem;
  }

  .prov-hero-video {
    min-height: 380px;
  }

  .prov-video-sound-btn {
    right: 12px;
    bottom: 12px;
    width: 40px;
    height: 40px;
  }
}

/* Section Titles */
.section-title {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 50px;
}

.section-title-wrapper {
  margin-bottom: 3rem !important;
  /* Forces the mb-5 spacing visibly */
}

.section-title h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
}

/* Steps Section */
.prov-steps {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.steps-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  position: relative;
  gap: 15px;
}



.step-card {
  background-color: var(--bg-cards);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  width: 19%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
  position: relative;
  z-index: 1;
  /* Above the line */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-number {
  background-color: var(--primary-red);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid var(--bg-body);
  /* Creates a cutout effect against the background */
}

.step-icon {
  font-size: 2rem;
  color: var(--primary-red);
  margin-top: 10px;
  margin-bottom: 5px;
}

.step-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
  min-height: 40px;
}

.step-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 992px) {
  .steps-container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .step-card {
    width: 45%;
    margin-bottom: 40px;
  }

  .steps-container::before {
    display: none;
  }
}

@media (max-width: 576px) {
  .step-card {
    width: 100%;
  }
}

/* Yellow Pill */
.yellow-pill-container {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 60px;
}

.yellow-pill {
  background-color: var(--bg-cards);
  color: var(--text-dark);
  display: inline-block;
  padding: 14px 35px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

/* Benefits Section */
.prov-benefits {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.benefit-card {
  background-color: var(--bg-cards);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
}

.benefit-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.benefit-icon {
  background-color: var(--primary-red);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  /* Rounded square */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.benefit-header h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  text-align: left;
}

.benefit-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
  text-align: left;
}

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* Trust Section */
.prov-trust {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px 100px 20px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-card {
  background-color: var(--bg-cards);
  border-radius: 20px;
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
}

.trust-icon {
  background-color: var(--primary-red);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  /* Circle */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 25px;
}

.trust-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.trust-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 850px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

/* Form Footer Section */
.prov-footer {
  background-color: var(--primary-red);
  color: white;
  padding: 80px 20px 0 20px;
  text-align: center;
}

.prov-footer-title {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.prov-footer-desc {
  font-size: 1.05rem;
  margin-bottom: 40px;
  opacity: 0.9;
  font-weight: 500;
  line-height: 1.5;
}

.prov-form-container {
  max-width: 500px;
  margin: 0 auto;
}

.prov-form-container .form-control {
  border-radius: 50px;
  padding: 16px 25px;
  border: none;
  background-color: white;
  color: var(--text-dark);
  font-size: 1rem;
  margin-bottom: 15px;
  box-shadow: none !important;
  width: 100%;
}

/* Optional: center text in inputs for a cleaner look or leave it left */
.prov-form-container .form-control::placeholder {
  color: #aaa;
  font-weight: 500;
}

.prov-form-container textarea.form-control {
  border-radius: 20px;
  resize: none;
}

.btn-submit-white {
  background-color: white;
  color: var(--primary-red);
  border: none;
  padding: 16px 50px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-submit-white:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
}

/* Stats Area in Footer */
.footer-divider {
  max-width: 600px;
  margin: 50px auto 30px auto;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-note {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 30px;
}

.footer-stats {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding-bottom: 60px;
}

.stat-item h3 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
  font-weight: 500;
}

@media (max-width: 576px) {
  .footer-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
  }

  .stat-item {
    width: 40%;
  }
}

/* Final Copyright */
.final-footer {
  background-color: var(--bg-body);
  padding: 40px 20px;
  text-align: center;
}

.final-footer img {
  height: 35px;
  margin-bottom: 15px;
}

.final-footer p {
  color: var(--text-dark);
  font-size: 0.85rem;
  font-weight: 500;
  margin: 3px 0;
}

/* Scroll Animations */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: opacity, transform;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Confirm Page Styles */
.confirm-wrapper {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.confirm-card {
  background-color: var(--bg-cards);
  border-radius: 40px;
  padding: 60px 40px;
  max-width: 600px;
  width: 100%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.confirm-icon {
  background-color: var(--primary-red);
  color: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.confirm-card h3 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.confirm-card p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.5;
}

/* AJAX Loader Styles */
#ajax-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
}

.loader-overlay {
  background-color: white;
  padding: 30px 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--bg-body);
  border-top: 4px solid var(--primary-red);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loader-overlay p {
  margin: 0;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1.05rem;
}

/* Toast Notification Styles */
#toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast-custom {
  padding: 15px 25px;
  border-radius: 12px;
  background-color: white;
  color: var(--text-dark);
  font-weight: 600;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  animation: slideInRight 0.3s ease forwards, fadeOut 0.3s ease 2.7s forwards;
  font-size: 0.95rem;
}

.toast-error {
  border-left: 5px solid #dc3545;
}

.toast-success {
  border-left: 5px solid #28a745;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}
