* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.btn-warning {
  background-color: #ff5722 !important;
  border-color: #ff5722 !important;
  color: #fff !important;
}

.btn-warning:hover {
  background-color: rgb(243, 71, 19) !important;
  border-color: rgb(243, 71, 19) !important;
  color: #fff !important;
}

/* Hero Section with Background Image */
.hero-section {
  height: 100vh;
  background-image: url('/static/img/hero.jpg');
  /* Replace with your image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dark overlay for better text readability */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  /* Dark overlay */
  z-index: 1;
}

/* Navigation Bar */
.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: transparent !important;
  padding: 20px 0;
}

.navbar-brand {
  color: #4fc3f7 !important;
  font-size: 1.8rem;
  font-weight: bold;
  z-index: 2;
  position: relative;
}

.btn-open-account {
  background-color: #28a745;
  border-color: #28a745;
  color: white;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 500;
  transition: all 0.3s ease;
  z-index: 2;
  position: relative;
}

.btn-open-account:hover {
  background-color: #218838;
  border-color: #1e7e34;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
}

/* Hero Content */
.hero-content {
  text-align: center;
  z-index: 100;
  position: relative;
  max-width: 900px;
  padding: 0 20px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  color: white;
  margin-bottom: 30px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 50px;
  font-weight: 300;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.btn-get-started {
  background: #4285f4;
  border: none;
  color: white;
  padding: 18px 45px;
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(66, 133, 244, 0.4);
  transition: all 0.3s ease;
  text-transform: none;
}

.btn-get-started:hover {
  background: #3367d6;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(66, 133, 244, 0.5);
}

.btn-get-started:active {
  transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
  }

  .btn-get-started {
    padding: 15px 35px;
    font-size: 1.1rem;
  }

  .navbar-brand {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .btn-get-started {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

/* Alternative: If you want to use a placeholder background */
.placeholder-bg {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

/* Add some subtle animation */
.hero-content {
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

.footer-section {
  background: #dbe9fe;
  padding: 80px 0 40px 0;
}

.qfs-logo {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1a237e;
  margin-bottom: 20px;
}

.qfs-logo .q {
  color: #000;
}

.qfs-logo .f {
  color: #2196f3;
}

.qfs-logo .s {
  color: #000;
}

.company-description {
  color: #424242;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.footer-title {
  color: #1a237e;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 25px;
}

.footer-link {
  color: #424242;
  text-decoration: none;
  font-size: 1.1rem;
  margin-bottom: 15px;
  display: block;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #2196f3;
  text-decoration: none;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  color: #424242;
}

.contact-icon {
  background: #2196f3;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 1.1rem;
}

.contact-text {
  font-size: 1rem;
  line-height: 1.4;
}

.contact-text strong {
  color: #1a237e;
  font-weight: 600;
}

.risk-warning {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

.risk-warning strong {
  color: #1a237e;
}

.risk-link {
  color: #dc3545;
  text-decoration: none;
  font-weight: 500;
}

.risk-link:hover {
  color: #c82333;
  text-decoration: underline;
}

.copyright-section {
  background-color: #f8f9fa;
  padding: 20px 0;
  border-top: 1px solid #dee2e6;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
}

.awards-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.award-badge {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #666;
  text-align: center;
  font-weight: 500;
}

.document-preview {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.document-preview img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
}

@media (max-width: 768px) {
  .footer-section {
    padding: 40px 0 20px 0;
  }

  .qfs-logo {
    font-size: 2rem;
    text-align: center;
  }

  .footer-title {
    font-size: 1.3rem;
    margin-top: 30px;
  }

  .awards-section {
    gap: 15px;
  }

  .award-badge {
    width: 60px;
    height: 60px;
    font-size: 0.7rem;
  }
}

.qfs-section {
  position: relative;
  background-image: url('/static/assets/0x0.webp');
  background-size: cover;
  background-position: center;
  z-index: 1;
  overflow: hidden;
}

.qfs-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(98, 60, 178, 0.7); /* purple overlay with opacity */
  z-index: -1;
}

.support-option {
  padding-left: 1rem;
  border-left: 3px solid #0d6efd;
}

.card {
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.bg-dark {
  background-color: #212529 !important;
}

.btn-primary {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.btn-light {
  background-color: #f8f9fa;
  color: #212529;
}

.mgm {
  border-radius: 7px;
  position: fixed;
  z-index: 90;
  bottom: 45%;
  right: 50px;
  background: #fff;
  padding: 10px 27px;
  box-shadow: 0px 5px 13px 0px rgba(0, 0, 0, .3);
}

.mgm a {
  font-weight: 700;
  display: block;
  color: #f3023e;
}

.mgm a,
.mgm a:active {
  transition: all .2s ease;
  color: #f3023e;
}

.o-video {
  width: 100%;
  height: 0;
  position: relative;
  padding-top: 56.25%;
  /* 9 / 16 * 100 */
}

.o-video > iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border: 0;
}