/* Regular */
@font-face {
	font-family: 'opensans';
	src:
		url('opensans/opensans-regular.woff') format('woff');
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

/* SemiBold */
@font-face {
	font-family: 'opensans';
	src:
		url('opensans/opensans-semibold.woff') format('woff');
	font-style: normal;
	font-weight: 600;
	font-display: swap;
}

/* Bold */
@font-face {
	font-family: 'opensans';
	src:
		url('opensans/opensans-bold.woff') format('woff');
	font-style: normal;
	font-weight: 700;
	font-display: swap;
}
/* Light */
@font-face {
	font-family: 'opensanscondensed';
	src:
		url('opensanscondense/opensanscondensed-light.woff') format('woff');
	font-style: normal;
	font-weight: 300;
	font-display: swap;
}

/* Bold */
@font-face {
	font-family: 'opensanscondensed';
	src:
		url('opensanscondense/opensanscondensed-bold.woff') format('woff');
	font-style: normal;
	font-weight: 700;
	font-display: swap;
}
:root {
	--esl-blue: #204986;
	--esl-blue-rgb: 32,73,134;
	--esl-blue-dark: #173560;
	--esl-blue-light: #EAF0F8;

	--esl-dark: #10233E;
	--esl-soft: #F4F7FB;
	--esl-line: #D7E0EC;
	--esl-text: #172033;

	--esl-negative : #B12635;
}

/* --------------------------------------------------
   BASE
-------------------------------------------------- */

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'opensans', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.7;
	color: var(--esl-text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--esl-blue);
	text-decoration: none;
	transition: .2s ease;
}

a:hover {
	color: var(--esl-blue-dark);
}

/* --------------------------------------------------
   TYPOGRAPHY
-------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.navbar-brand,
.compare-head,
.benefit-card h3,
.blue-box h3,
.integration-card h3 {
	font-family: 'opensanscondensed', sans-serif;
	font-weight: 700;
	color: var(--esl-dark);
	margin-bottom: 1rem;
}

h1 span {
	display: block;
}

.hero h1 {
	font-family: 'opensanscondensed', sans-serif;
	font-weight: 700;
	font-size: clamp(2.3rem, 5vw, 4.4rem);
	line-height: 1.05;
	letter-spacing: -0.04em;
	color: var(--esl-blue);
}

.section-title {
	font-size: clamp(1.8rem, 3.5vw, 3.0rem);
	line-height: 1.05;
	letter-spacing: -0.03em;
	color: var(--esl-blue);
}

.section-lead {
	font-size: 1.15rem;
	line-height: 1.75;
	color: #49586d;
}

.text-primary {
	color: var(--esl-blue) !important;
}

/* --------------------------------------------------
   NAVIGATION
-------------------------------------------------- */

.navbar {
	background: rgba(255,255,255,.95);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(var(--esl-blue-rgb), .08);
	--bs-navbar-toggler-focus-width: 1px;
}
.navbar-brand {
	font-size: 1.4rem;
	letter-spacing: .08em;
	color: var(--esl-dark);
}
.nav-link {
	font-family: 'Open Sans', sans-serif;
	font-weight: normal;
	color: var(--esl-dark);
	position: relative;
	--bs-navbar-nav-link-padding-x: 1rem;
}
.nav-link:hover {
	color: var(--esl-blue);
}
.nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 18px;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, .28);
}
.nav-item:first-child .nav-link::before {
	display: none;
}
.navbar-toggler {
  border: 0;
  box-shadow: none !important;
}
span.navbar-toggler-icon {
	transition: all 0.3s ease;
	width: 2.0em;
	height: 2.0em;
}
.navbar button[aria-expanded="true"] span.navbar-toggler-icon {
	transform: scale(1.4);
	opacity: 0.8;
	--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(33,37,41,.75)' stroke-linecap='round' stroke-width='2' d='M7 7L23 23M23 7L7 23'/%3E%3C/svg%3E");
}


/* --------------------------------------------------
   BUTTONS
-------------------------------------------------- */

.btn-esl {
	background: var(--esl-blue);
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: .85rem 1.6rem;
	font-weight: 700;
	box-shadow: 0 15px 35px rgba(var(--esl-blue-rgb), .18);
	transition: .25s ease;
}

.btn-esl:hover {
	background: var(--esl-blue-dark);
	color: #fff;
	transform: translateY(-2px);
}

/* --------------------------------------------------
   SECTIONS
-------------------------------------------------- */

.section {
	padding: 6rem 0;
}

@media (max-width: 991px) {
	.section {
		padding: 4rem 0;
	}
}

/* --------------------------------------------------
   HERO
-------------------------------------------------- */

.hero {
	position: relative;
	min-height: 98vh;
	display: flex;
	align-items: center;
	overflow: hidden;

	background:
		linear-gradient(
			90deg,
			rgba(255,255,255,.98) 0%,
			rgba(255,255,255,.95) 40%,
			rgba(255,255,255,.70) 75%,
			rgba(255,255,255,.15) 100%
		),
		url('../assets/img/esl-hero.jpg');

	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

.hero-col {
	padding: 8rem 0.6rem 4rem;
}

.hero-subtitle {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--esl-dark);
	margin: 2rem 0;
}

.hero-points {
	display: grid;
	gap: 1rem;
}

.hero-point {
	display: flex;
	align-items: center;
	gap: .85rem;
	font-weight: 600;
}

.hero-point i {
	color: var(--esl-blue);
	font-size: 1.4rem;
}

/* --------------------------------------------------
   CARDS
-------------------------------------------------- */

.image-card,
.soft-box,
.integration-card,
.compare-card {
	border-radius: 24px;
	overflow: hidden;
}

.image-card {
	box-shadow: 0 20px 50px rgba(var(--esl-blue-rgb), .12);
}

.soft-box {
	background: var(--esl-blue-light);
	border: 1px solid var(--esl-line);
	padding: 2rem;
}

.blue-box {
	background: var(--esl-blue);
	color: #fff;
	border-radius: 24px;
	padding: 2rem;
	box-shadow: 0 15px 35px rgba(var(--esl-blue-rgb), .18);
}

.blue-box h3,
.blue-box .h3 {
	color: #fff;
}

.integration-center{
	width:220px;
	height:220px;
	border:3px solid var(--esl-blue);
	border-radius:50%;
	margin:0 auto 2rem;
	display:flex;
	align-items:center;
	justify-content:center;
	text-align:center;
	background:#fff;
	box-shadow:0 18px 50px rgba(var(--esl-blue-rgb),.12)
}
.integration-center small{
	width: 90%;
	line-height: 105%;
	display:block;
}

.integration-card {
	background: #fff;
	border: 1px solid var(--esl-line);
	padding: 1.5rem;
	transition: .2s ease;
}

.integration-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 35px rgba(var(--esl-blue-rgb), .12);
}

.integration-card i {
	font-size: 2rem;
	color: var(--esl-blue);
	margin-bottom: .75rem;
}

.integration-card h3 {
	font-size: 1.2rem;
	margin-bottom: .5rem;
}

/* --------------------------------------------------
   BENEFITS
-------------------------------------------------- */

.benefit-card {
	background: var(--esl-blue);
	color: #fff;
	border-radius: 24px;
	padding: 1.75rem;
	height: 100%;
	box-shadow: 0 15px 35px rgba(var(--esl-blue-rgb), .18);
}

.benefit-card h3 {
	color: #fff;
	font-size: 1.5rem;
	margin-bottom: .75rem;
}

.benefit-card p {
	margin: 0;
	line-height: 1.6;
}

/* --------------------------------------------------
   COMPARE
-------------------------------------------------- */

.compare-card {
	background: #fff;
	border: 1px solid var(--esl-line);
	height: 100%;
}

.compare-head {
	background: var(--esl-blue-light);
	padding: 1rem 1.25rem;
	font-size: 1.5rem;
	color: var(--esl-blue);
}

.compare-body {
	padding: 1.5rem;
}

.compare-row {
	display: flex;
	gap: .75rem;
	margin-bottom: .85rem;
}

.compare-row i {
	margin-top: .15rem;
}

.compare-card.positive i {
	color: var(--esl-blue);
}

.compare-card.negative i, .text-negative {
	color: var(--esl-negative);
}

.check-list {
	list-style: none;
}
.check-list li i::before {
	padding-right: 0.5rem;
}

/* --------------------------------------------------
   ICONS
-------------------------------------------------- */

.icon-blue {
	color: var(--esl-blue);
}

/* --------------------------------------------------
   FORMS
-------------------------------------------------- */

.form-control,
.form-select {
	border-radius: 14px;
	padding: .9rem 1rem;
	border: 1px solid var(--esl-line);
	font-family: 'Open Sans', sans-serif;
}

.form-control:focus,
.form-select:focus {
	border-color: var(--esl-blue);
	box-shadow: 0 0 0 .2rem rgba(var(--esl-blue-rgb), .15);
}

/* --------------------------------------------------
   CONTACT
-------------------------------------------------- */

.contact-section {
	background: var(--esl-dark);
	color: #fff;
}

.contact-card {
	background: rgba(255,255,255,.08);
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 24px;
	padding: 2rem;
}

.contact-section .section-title {
	color: #fff;
}

.contact-section a {
	color: #fff;
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */

.footer {
	background: #091628;
	color: rgba(255,255,255,.75);
	padding: 2rem 0;
	font-size: .95rem;
}

.footer a {
	color: rgba(255,255,255,.75);
}

/* --------------------------------------------------
   ANIMATIONS
-------------------------------------------------- */

.reveal {
	opacity: 0;
	transform: translateY(20px);
	transition:
		opacity .5s ease,
		transform .5s ease;
}

.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 991.98px) {
      .nav-link {
        padding: 14px 0 !important;
        font-size: 18px;
      }

      .nav-link::before {
        display: none;
      }
}


.modal-body {
	font-size: .95rem;
	line-height: 1.7;
}

.modal-body h1 {
	font-size: 2rem;
	margin-bottom: 1rem;
}

.modal-body h2 {
	font-size: 1.3rem;
	margin-top: 2rem;
}

.modal-dialog {
	max-width: 1000px;
}