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

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Updated header with flex layout for left/right split */
.header-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 40px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-left {
  flex: 1;
  z-index: 2;
}

.hero-right {
  flex: 0 0 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-wallet {
  width: 100%;
  height: auto;
  max-width: 450px;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.shield-logo {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  flex-shrink: 0;
}

.shield-logo .shine {
  mix-blend-mode: screen;
}

.header-logo h1 {
  font-size: 27px;
  font-weight: 700;
}

.hero-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 30px;
}

.trust-badges {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.trust-badge img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  padding: 5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  object-fit: contain;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-badge span {
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

.license-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  padding: 15px 30px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.license-badge img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: white;
  padding: 5px;
  object-fit: contain;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.license-badge span {
  font-size: 15px;
  font-weight: 600;
}

.hero-features-compact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-icon-small {
  font-size: 28px;
  flex-shrink: 0;
}

.feature-item strong {
  display: block;
  font-size: 15px;
  margin-bottom: 5px;
}

.feature-item p {
  font-size: 13px;
  opacity: 0.9;
  margin: 0;
}

/* Calculator */
.calculator {
  background: white;
  padding: 40px 0;
  text-align: center;
}

.calculator h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #667eea;
}

.slider-container {
  max-width: 600px;
  margin: 0 auto 30px;
  padding: 0 20px;
}

.loan-slider {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: #e5e7eb;
  outline: none;
  -webkit-appearance: none;
  margin-bottom: 20px;
}

.loan-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
  transition: transform 0.2s ease;
}

.loan-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.loan-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
  transition: transform 0.2s ease;
}

.loan-slider::-moz-range-thumb:hover {
  transform: scale(1.1);
}

.slider-value {
  font-size: 32px;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 20px;
}

.calculator-result {
  display: flex;
  justify-content: center;
  gap: 40px;
  font-size: 18px;
}

.calculator-result strong {
  color: #667eea;
  font-size: 24px;
}

/* MFO List */
.mfo-list {
  padding: 60px 0;
  background: #f8f9fa;
}

.mfo-list h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #1a1a1a;
}

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

.mfo-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.mfo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.badge {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 15px;
}

.mfo-logo {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 10px;
}

.mfo-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.mfo-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #667eea;
}

.mfo-details {
  margin-bottom: 20px;
}

.mfo-details p {
  margin-bottom: 8px;
  font-size: 14px;
  color: #4b5563;
}

.mfo-param {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px !important;
}

.param-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.btn-primary {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}


.best-mfo .btn-primary {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #66ea8d 0%, #5ba29b 100%);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


/* Best MFO */
.best-mfo {
  background: white;
  padding: 60px 0;
  text-align: center;
}

.best-mfo h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #667eea;
}

.best-mfo-card {
  max-width: 400px;
  margin: 0 auto;
  padding: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 20px;
}

.mfo-logo-large {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: white;
  border-radius: 12px;
  padding: 15px;
}

.mfo-logo-large img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.best-mfo-card h3 {
  font-size: 28px;
  margin-bottom: 15px;
}

/* Info Sections */
.info-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.info-block {
  background: white;
  padding: 40px;
  border-radius: 16px;
  margin-bottom: 30px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.info-block h2 {
  font-size: 28px;
  color: #667eea;
  margin-bottom: 20px;
}

.info-block h3 {
  font-size: 22px;
  color: #764ba2;
  margin-top: 20px;
  margin-bottom: 15px;
}

.info-block p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: #4b5563;
}

.info-block ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.info-block li {
  margin-bottom: 12px;
  line-height: 1.8;
  color: #4b5563;
}

/* Partners */
.partners {
  padding: 60px 0;
  background: white;
}

.partners h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #667eea;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
}

.partner-card {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid #667eea;
}

.partner-card h3 {
  font-size: 18px;
  color: #667eea;
  margin-bottom: 15px;
}

.partner-card p {
  font-size: 13px;
  margin-bottom: 8px;
  color: #4b5563;
}

/* Contact Form */
.contact-form {
  padding: 60px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.pdf-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.contact-form h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}

.contact-form form {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #1a1a1a;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
}

.upload-section {
  margin: 30px 0;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 12px;
}

.upload-section h3 {
  font-size: 20px;
  color: #667eea;
  margin-bottom: 15px;
}

.upload-section p {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 20px;
  line-height: 1.6;
}

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

.file-input {
  display: none;
}

.file-label {
  display: block;
  padding: 12px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 8px;
}

.file-label:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.file-name {
  display: block;
  font-size: 12px;
  color: #6b7280;
  text-align: center;
  font-style: italic;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-group label {
  cursor: pointer;
  color: #1a1a1a;
  margin-bottom: 0;
}

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Thank You Page */
.thank-you {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

.thank-you-card {
  background: white;
  padding: 60px 40px;
  border-radius: 20px;
  text-align: center;
  max-width: 600px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  font-size: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
}

.thank-you-card h1 {
  font-size: 32px;
  color: #667eea;
  margin-bottom: 20px;
}

.thank-you-card p {
  font-size: 18px;
  color: #4b5563;
  margin-bottom: 30px;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: white;
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-info h3,
.footer-contacts h4 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #667eea;
}

.footer-info p,
.footer-contacts p {
  font-size: 14px;
  margin-bottom: 8px;
  opacity: 0.9;
  line-height: 1.6;
}

.footer-contacts a,
.footer-legal a {
  color: #667eea;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-contacts a:hover,
.footer-legal a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.footer-legal {
  margin-top: 20px;
}

.footer-legal a {
  font-size: 14px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 13px;
  opacity: 0.7;
}

/* Updated responsive styles for new hero layout */
@media (max-width: 968px) {
  .hero-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .hero-right {
    flex: 0 0 auto;
    width: 100%;
    max-width: 350px;
  }

  .hero-wallet {
    max-width: 350px;
  }

  .mfo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title {
    font-size: 32px;
  }

  .license-badge {
    padding: 12px 20px;
  }

  .license-badge span {
    font-size: 14px;
  }

  .upload-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-wallet {
    max-width: 280px;
  }

  .hero-title {
    font-size: 28px;
  }

  .mfo-grid {
    grid-template-columns: 1fr;
  }

  .hero-features-compact {
    grid-template-columns: 1fr;
  }

  .calculator-result {
    flex-direction: column;
    gap: 15px;
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .contact-form form {
    padding: 30px 20px;
  }

  .header-logo {
    flex-direction: column;
    text-align: center;
  }

  .trust-badges {
    gap: 15px;
    justify-content: center;
  }

  .trust-badge img {
    width: 50px;
    height: 50px;
    padding: 10px;
  }

  .trust-badge span {
    font-size: 11px;
  }

  .license-badge {
    padding: 10px 15px;
    font-size: 13px;
  }

  .license-badge img {
    width: 24px;
    height: 24px;
  }

  .header-logo h1 {
    font-size: 24px;
  }

  .shield-logo {
    width: 50px;
    height: 50px;
  }

  .upload-section {
    padding: 20px 15px;
  }

  .upload-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}
