/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #29b57a;
  --primary-hover: #20856d;
  --secondary-color: #134b33;
  --text-dark: #000000;
  --text-light: #6b7280;
  --background: #ffffff;
  --background-light: #f9fbfc;
  --border-color: #e5e7eb;
  --success-color: #29b57a;
  --warning-color: #ff8a00;
  --font-family: "Inter", sans-serif;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background);
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-hover);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: white;
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Header */
.site-header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo h1 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--secondary-color);
}

.logo .tagline {
  font-size: 0.875rem;
  color: var(--text-light);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--primary-color);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dark);
  font-weight: 600;
}

.phone-link svg {
  color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  transition: all 0.3s ease;
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.mobile-nav ul {
  list-style: none;
}

.mobile-nav a {
  display: block;
  padding: 1rem 2rem;
  color: var(--text-dark);
  font-weight: 500;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-cta {
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #e8f5f0 0%, #f9fbfc 100%);
  padding: 80px 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-features {
  display: flex;
  gap: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-dark);
}

.feature-item svg {
  flex-shrink: 0;
}

.hero-card {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-card h3 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.check-list {
  list-style: none;
  margin-bottom: 2rem;
}

.check-list li {
  padding: 0.5rem 0;
  color: var(--text-dark);
}

/* Services Section */
.services-section {
  padding: 80px 0;
  background: var(--background-light);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  margin-bottom: 1.5rem;
}

.service-card h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-light);
}

/* How It Works Section */
.how-it-works-section {
  padding: 80px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.step-card h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.step-card p {
  color: var(--text-light);
}

/* About Section */
.about-section {
  padding: 80px 0;
  background: var(--background-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.about-feature h4 {
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.about-feature p {
  color: var(--text-light);
  font-size: 0.875rem;
}

.info-card {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3 {
  color: var(--secondary-color);
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-item svg {
  color: var(--primary-color);
  flex-shrink: 0;
}

.contact-item h4 {
  color: var(--secondary-color);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-item p {
  color: var(--text-light);
  margin: 0;
}

.contact-item a {
  color: var(--text-light);
}

.contact-map iframe {
  border-radius: 12px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    var(--primary-color) 100%
  );
  padding: 80px 0;
  text-align: center;
  color: white;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.cta-section .btn-secondary {
  background: white;
  color: var(--primary-color);
  border-color: white;
}

.cta-section .btn-secondary:hover {
  background: transparent;
  color: white;
}

/* Footer */
.site-footer {
  background: var(--secondary-color);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-info h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.footer-info p {
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.footer-contact p {
  margin: 0.5rem 0;
  opacity: 0.8;
}

.footer-contact a {
  color: white;
}

.footer-links h4,
.footer-legal h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer-links ul,
.footer-legal ul {
  list-style: none;
}

.footer-links li,
.footer-legal li {
  margin-bottom: 0.5rem;
}

.footer-links a,
.footer-legal a {
  color: white;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
  opacity: 1;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-features {
    flex-wrap: wrap;
  }

  .services-grid,
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
  }
}

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

  .section-header h2 {
    font-size: 1.75rem;
  }

  .header-cta {
    gap: 0.5rem;
  }

  .phone-link span {
    display: none;
  }
}

/* Loan Modal Styles */
.loan-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  background-color: #fefefe;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0;
  border: none;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow: hidden;
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-hover) 100%
  );
  color: white;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.close-modal {
  color: white;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
}

.close-modal:hover,
.close-modal:focus {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.modal-body {
  padding: 2rem;
  max-height: calc(90vh - 100px);
  overflow-y: auto;
}

#loan-form-container {
  width: 100%;
}

/* Modal responsive */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-height: 80vh;
  }

  .modal-header {
    padding: 1rem 1.5rem;
  }

  .modal-header h2 {
    font-size: 1.25rem;
  }

  .modal-body {
    padding: 1.5rem;
    max-height: calc(80vh - 80px);
  }
}

@media (max-width: 480px) {
  .modal-content {
    width: 95%;
    max-width: 350px;
    max-height: 85vh;
    border-radius: 12px;
  }

  .modal-body {
    max-height: calc(85vh - 80px);
  }
}

/* Disclaimer Page Styles */
.disclaimer-section {
  padding: 120px 0 80px;
  background: var(--background-light);
  min-height: 70vh;
}

.disclaimer-content {
  max-width: 800px;
  margin: 0 auto;
}

.disclaimer-content h1 {
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 3rem;
  font-size: 3rem;
}

.disclaimer-info h2 {
  color: var(--primary-color);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
}

.disclaimer-info h3 {
  color: var(--secondary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.disclaimer-info p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.responsible-lending,
.contact-info,
.legal-notice {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.responsible-lending ul {
  list-style: none;
  padding-left: 0;
}

.responsible-lending li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.responsible-lending li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.contact-details p {
  margin-bottom: 0.5rem;
}

.contact-details strong {
  color: var(--text-dark);
}

.legal-notice p {
  margin-bottom: 0.5rem;
}

.legal-notice strong {
  color: var(--text-dark);
  display: inline-block;
  min-width: 120px;
}

.back-to-home {
  text-align: center;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .disclaimer-section {
    padding: 100px 0 60px;
  }

  .disclaimer-content h1 {
    font-size: 2.5rem;
  }

  .responsible-lending,
  .contact-info,
  .legal-notice {
    padding: 1.5rem;
    margin: 1.5rem 0;
  }
}

@media (max-width: 480px) {
  .disclaimer-content h1 {
    font-size: 2rem;
  }

  .disclaimer-info h2 {
    font-size: 1.25rem;
  }

  .responsible-lending,
  .contact-info,
  .legal-notice {
    padding: 1rem;
  }
}

/* Loan Form Custom Styles for MAYS PAYDAY LOAN theme */
.nSvmdP {
  font-family: "Inter", sans-serif;
  color: #2d3e50;
  padding-top: 20px;
}

/* Hide unwanted elements */
.bCtTfA,
.GQzYIz,
.twYRqW,
.mqRKP8,
.Nhe1hF.wlGEBp,
.LoiREe,
.OlkNLo,
.nm6Dd6.EyXfmf.Sg0QCi.jbBCk9,
.AUTsFs.dHEuyX.icon.neo {
  display: none;
}

.NMlgkV {
  background: none;
}

/* Progress bar styling */
.mmsA5M::after {
  background: #29b57a;
}

/* Text colors */
.s4rMFf,
.yx0U1d,
.D2xhvZ,
.QeanVk .kZ09wa,
.L88NN5,
.DsTGwu,
.j7SaMC,
.aASH1p .ZIcEVS,
.PctJfY,
.I33RRS.xY2HyJ.RkK5Yc {
  color: #2d3e50;
}

/* Background colors */
.jbBCk9,
.Sg0QCi.jbBCk9 {
  background: #ffffff;
}

/* Input field styling */
.NR13zI .M4iQ5B:before {
  background: #ffffff;
  border-radius: 12px;
  border-color: #e5e7eb;
}
.NR13zI.aASH1p .M4iQ5B {
  background: #ffffff;
  border-radius: 12px;
  border-color: #e5e7eb;
}

.u1zPlE.u1zPlE.u1zPlE {
  border-radius: 12px;
  background: #ffffff;
  color: #2d3e50;
  border: 2px solid #e5e7eb;
  font-family: "Inter", sans-serif;
}
.u1zPlE.u1zPlE.u1zPlE:before {
  border-radius: 12px;
}
.u1zPlE.u1zPlE.u1zPlE.AXL6Qr {
  border-color: #29b57a;
  background: #ffffff;
}
.u1zPlE.u1zPlE.u1zPlE.AXL6Qr::before {
  border-color: #29b57a;
  background: #ffffff;
}

/* Button styling */
.le2xcM {
  background: #29b57a;
  color: #ffffff;
  font-weight: 600;
  font-family: "Inter", sans-serif;
}
.le2xcM.yJAeRs.kl4G3o.CGzC85.mAxrpj {
  background: #29b57a;
  color: #ffffff;
  border-radius: 12px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  border: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.le2xcM.yJAeRs.kl4G3o.CGzC85.mAxrpj:hover {
  background: #22a06b;
  color: #ffffff;
  border-radius: 12px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  transform: translateY(-1px);
  box-shadow: 0 6px 12px -2px rgba(0, 0, 0, 0.15);
}
.CGzC85 {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Link styling */
.j7SaMC:hover,
.I33RRS.xY2HyJ.RkK5Yc:hover {
  color: #29b57a;
}

/* Calendar styling */
.YvHXgE.YvHXgE.YvHXgE {
  background: rgba(41, 181, 122, 0.05);
}
.mq0INt .react-calendar__tile--active:after {
  box-shadow: inset 0 0 0 1px #29b57a;
}

/* Form container styling */
#_lg_form_ {
  font-family: "Inter", sans-serif;
}

/* Contact form styles */
#contactForm input:focus,
#contactForm select:focus,
#contactForm textarea:focus {
  outline: none;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px rgba(41, 181, 122, 0.1);
}

#contactForm button:hover {
  background: var(--primary-hover) !important;
  transform: translateY(-1px);
}
