 /* General Theme */
    html {
      scroll-behavior: smooth;
    }
    body {
      font-family: 'Poppins', sans-serif;
      background-color: #fff7f9;
      color: #333;
    }
    nav.navbar {
      background-color: #fff;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    .navbar-brand {
      font-weight: 700;
      color: #D1B48D !important;
      /* font-size: 1.5rem; */
    }
    .logo{
      width: 120px;
    }
    /* Hero Section */
    .hero {
      /* background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
                  url('https://images.unsplash.com/photo-1607082349566-187342175e2f?auto=format&fit=crop&w=1200&q=60') center/cover no-repeat; */
      background: linear-gradient(rgba(0, 0, 0, 0.69), rgba(0, 0, 0, 0.66)),
                  url('../img/nikkah.jpg') center/cover no-repeat;
      color: white;
      height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 0 20px;
    }
    .hero h1 {
      font-size: 3rem;
      font-weight: 700;
    }
    .hero p {
      font-size: 1.2rem;
      max-width: 600px;
      margin: 20px auto;
      color: #f8f9fa;
    }
    .btn-primary-custom {
      background-color: #D1B48D;
      border: none;
      border-radius: 50px;
      padding: 12px 30px;
      font-size: 1.1rem;
    }
    .btn-primary-custom:hover {
      background-color: #B89A6F;
    }

    /* Override Bootstrap danger classes with theme color */
    .btn-danger {
      background-color: #D1B48D !important;
      border-color: #D1B48D !important;
    }
    .btn-danger:hover {
      background-color: #B89A6F !important;
      border-color: #B89A6F !important;
    }
    .text-danger {
      color: #D1B48D !important;
    }

    /* How it Works Section */
    #how-it-works {
      background-image: url('https://images.unsplash.com/photo-1529333166437-7750a6dd5a70?auto=format&fit=crop&w=1200&q=60');
      background-size: cover;
      background-position: center;
      background-blend-mode: overlay;
      background-color: rgba(255,255,255,0.9);
      scroll-margin-top: 80px; /* Offset for fixed navbar */
    }
    .animate-step {
      transition: transform 0.4s ease, box-shadow 0.4s ease;
      border-radius: 1rem;
    }
    .animate-step:hover {
      transform: translateY(-8px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }

    /* Face Verification Section - scroll offset for fixed navbar */
    #face-verification {
      scroll-margin-top: 80px;
    }

    /* Footer */
    footer {
      background-color: #D1B48D;
      color: white;
      padding: 40px 0;
    }
    footer a {
      color: #ffecec;
      text-decoration: none;
    }
    footer a:hover {
      text-decoration: underline;
    }
  
    /* Scanner Box Animation */
#scanner-box {
  position: relative;
  width: 440px;
  height: 260px;
  border-radius: 15px;
  overflow: hidden;
  border: 3px solid #D1B48D;
  box-shadow: 0 0 25px rgba(209, 180, 141, 0.5);
  margin: 0 auto;
  animation: glow 2s infinite alternate;
}

@keyframes glow {
  from { box-shadow: 0 0 20px rgba(209, 180, 141, 0.4); }
  to { box-shadow: 0 0 40px rgba(209, 180, 141, 0.8); }
}

#face-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

#overlay-text {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
  color: white;
  font-weight: 600;
  text-shadow: 0 0 10px black;
  font-size: 1.1rem;
  transition: 0.5s ease;
}

.success-text {
  color: #00ff90 !important;
  text-shadow: 0 0 20px #00ff90;
}

.fail-text {
  color: #ff4444 !important;
  text-shadow: 0 0 20px #ff0000;
}

/* Progress bar for scan */
#progressBar {
  transition: width 0.3s ease;
}

/* Mobile Responsive */
@media (max-width: 600px) {
  #scanner-box {
    width: 90vw;
    height: 60vw;
  }
  /* #face-video {
    width: 100%;
    height: 100%;
  } */
  #overlay-text {
    font-size: 0.95rem;
  }
  .progress {
    width: 90%;
  }
}


/* For all mobile devices */
@media only screen and (max-width: 767px) {
  .hero .text-center{
    margin-top: 100px;
  }
}
