/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap");

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
ul,
li {
  margin: 0;
  padding: 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */

*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/* Variables
--------------------------------------------- */

/* Mixins
--------------------------------------------- */

.sidebar {
  float: left;
}

[dir=rtl] .sidebar {
  float: right;
}

/* General
--------------------------------------------- */

body {
  font-family: "Montserrat", Arial, sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
}

body .services-flex {
  display: flex;
  flex-direction: column;
  gap: 70px;
}

body .service-row {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 0;
}

body .service-row .service-icon {
  flex: 0 0 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body .service-row .service-icon img {
  width: 250px;
  object-fit: contain;
  border-radius: 15px;
}

body .service-row .service-text {
  flex: 1 1 0;
  font-size: 1.1rem;
  color: #333;
  padding: 24px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

body .service-row .service-text .service-title {
  color: #0052cc;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 35px;
  display: block;
}

body .service-row .service-text .service-divider {
  width: 56px;
  height: 6px;
  background: #31d3cb;
  border-radius: 0.375rem;
  margin-bottom: 16px;
}

body .service-row .service-text .service-desc {
  color: #1b49ba;
  font-size: 1.1rem;
  font-weight: 400;
}

body .service-row.reverse {
  flex-direction: row-reverse;
}

body .service-row.reverse .service-text {
  text-align: left;
}

body .service-row .service-text.left {
  text-align: left;
}

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

.main-header {
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.3s;
}

.main-header .container.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}

.main-header .logo-area {
  display: flex;
  align-items: center;
}

.main-header .logo-area .logo-text {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  letter-spacing: 2px;
  text-decoration: none;
  padding: 12px 0;
}

.main-header .main-nav ul {
  list-style: none;
  display: flex;
  gap: 36px;
  margin: 0;
  padding: 0;
}

.main-header .main-nav ul li a {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.main-header .main-nav ul li a:hover {
  border-bottom: 2px solid #0052cc;
  color: #003e99;
}

.main-header.scrolled {
  background: #1c49ba;
  box-shadow: 0 4px 24px rgba(28, 73, 186, 0.18);
}

.main-header.scrolled .logo-text,
.main-header.scrolled .main-nav ul li a {
  color: #fff;
}

.main-header.scrolled .main-nav ul li a:hover {
  border-bottom: 2px solid #fff;
  color: #e0eaff;
}

.services {
  margin-bottom: 70px;
}

.services h2 {
  color: #0052cc;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

.services p,
.services li {
  font-size: 1.6rem;
  color: #1b49ba;
  margin-bottom: 16px;
}

.services ul {
  padding-left: 20px;
}

.contact {
  margin-bottom: 70px;
}

.contact h2 {
  color: #0052cc;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: left;
}

.contact .contact-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.contact .contact-flex .contact-info {
  background-color: #1997fc;
  color: white;
  line-height: 30px;
  font-size: 18px;
  padding: 24px;
  border-radius: 20px;
  flex: 0 0 500px;
}

.contact .contact-flex .contact-content {
  color: #1b49ba;
}

.contact .contact-flex .contact-content p {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact .contact-flex .contact-content a {
  color: #0052cc;
  text-decoration: none;
}

.contact .contact-flex .contact-content a:hover {
  text-decoration: underline;
}

.about {
  background: linear-gradient(45deg, #31d3cb 0%, #1997fc 100%);
  margin-top: -80px;
  padding-top: 70px;
  margin-bottom: 70px;
  color: #fff;
}

.about h1 {
  color: white;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.about p,
.about li {
  font-size: 1.1rem;
  line-height: 1.5;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.about .about-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.about .about-content {
  flex: 1 1 0;
}

.about .about-image {
  flex: 1 1 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.about .about-image img {
  max-width: 400px;
  width: 100%;
}

.main-footer {
  background: #f5f5f5;
  text-align: center;
  padding: 24px 0;
  color: #1a1a1a;
  font-size: 1rem;
  border-top: 1px solid #eaeaea;
}

.debt-collection {
  background: #f7f7f7;
  padding: 64px 0;
  color: #1b49ba;
  margin-bottom: 70px;
}

.debt-collection .debt-flex {
  display: flex;
  align-items: center;
  gap: 48px;
  justify-content: center;
}

.debt-collection .debt-icon {
  flex: 0 0 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.debt-collection .debt-icon img {
  max-width: 100%;
  border-radius: 15px;
}

.debt-collection .debt-content {
  flex: 1 1 0;
}

.debt-collection .debt-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.debt-collection .debt-content p {
  font-size: 1.1rem;
  margin-bottom: 16px;
  text-align: left;
}

.debt-collection .debt-content .debt-divider {
  margin: 0 auto 24px auto;
  display: block;
}

@media (max-width: 900px) {
  body .service-row {
    flex-direction: column !important;
    gap: 16px;
  }

  body .service-row .service-text {
    text-align: left !important;
    padding: 16px;
    align-items: flex-start;
  }

  body .service-row .service-icon {
    margin-bottom: 8px;
    flex: auto;
  }

  body .service-row .service-icon img {
    width: 100%;
  }

  .debt-collection .debt-flex {
    flex-direction: column;
    gap: 24px;
  }

  .debt-collection .debt-icon {
    flex: auto;
  }

  .debt-collection .debt-icon svg {
    width: 120px;
    height: 120px;
  }

  .debt-collection .debt-content h2 {
    font-size: 1.3rem;
  }
}

@media (max-width: 700px) {
  .contact .contact-flex {
    flex-direction: column;
  }

  .contact .contact-flex .contact-info {
    flex: auto;
  }

  .container {
    padding: 0 8px;
  }

  .main-header .container.header-flex {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 8px;
    padding-bottom: 20px;
    min-height: 60px;
  }

  .main-header .main-nav ul {
    gap: 16px;
    align-items: flex-start;
  }

  .main-header .logo-text {
    font-size: 1.3rem;
  }

  .about {
    padding-top: 165px;
    margin-top: -115px;
  }

  .about .about-flex {
    flex-direction: column;
    gap: 24px;
  }

  .about .about-image img {
    max-width: 100%;
    margin-top: 16px;
  }

  .about h2 {
    font-size: 1.3rem;
    text-align: center;
  }

  .services,
  .contact {
    padding: 24px 0;
    margin-bottom: 0;
  }

  .services h2,
  .contact h2 {
    font-size: 1.3rem;
  }
}