/* 

------ TYPOGRAPHY ------

FONT SIZES
12px / 16px / 20px / 24px / 32px / 48px / 62px

FONT WEIGHT
400 / 700

LINE HEIGHT
1.2 / 1.5

LETTER SPACING 
0 / -2PX

FONT FAMILY 
Poppins

------ COLORS ------

TEXT COLOR
#212529;

------ BORDER RADIUS ------
4px/ 8px / 20px 


------ SPACING SYSTEM ------
5px/ 10px/ 10px/ 20px/ 25px/ 30px/ 40px/ 50px/ 



*/
/* --------------- GLOBAL STYLES --------------- */

:root {
  /* FONT SIZE */
  --text-sm: 1.2rem;
  --text-base: 1.6rem;
  --text-paragraph: 2rem;
  --text-h5: 2.4rem;
  --text-h4: 3.2rem;
  --text-h3: 4rem;
  --text-h2: 4.8rem;
  --text-h1: 6.2rem;

  /* FONT WEIGHT */

  --font-weight-normal: 400;
  --font-weight-bold: 700;

  /* LINE HEIGHT */

  --line-height-tight: 1.2;
  --line-height-normal: 1.5;

  /* LETTER SPACING */
  --letter-spacing-tight: -2px;

  /* FONT FAMILY */
  --font-family: Poppins, sans-serif;

  /* COLORS */

  --primary-base: #339af0;
  --primary-tint: #d0ebff;
  --primary-shade: #1c7ed6;
  --seconadry-base: #9775fa;
  --seconadry-tint: #e5dbff;
  --seconadry-shade: #7048e8;
  --tertiary-base: #ff922b;
  --tertiary-tint: #ffe8cc;
  --tertiary-shade: #f76707;
  --grey-base: #495057;
  --grey-tint: #f1f3f5;
  --grey-shade: #212529;
  --white: #ffffff;
  --black: #000000;

  /* MISCELLANEOUS */
  --nav-height: 100px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  /* 10px / 16px = 62.5% */
}

body {
  font-family: var(--font-family);
  color: var(--grey-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 90%;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  color: var(--grey-shade);
}

h1 {
  font-size: var(--text-h1);
}

h2 {
  font-size: var(--text-h2);
}

h3 {
  font-weight: var(--font-weight-bold);
  font-size: 4rem;
}

h4 {
  font-size: var(--text-h4);
}

h5 {
  font-size: var(--text-h5);
}

p {
  line-height: var(--line-height-normal);
  font-size: var(--text-paragraph);
}

a {
  text-decoration: none;
  font-size: var(--text-base);
  display: inline-block;
}

a:link,
a:visited,
a:hover,
a:active {
  color: var(--grey-base);
}

ul {
  list-style: none;
}

span {
  display: inline-block;
}

.small-text {
  font-size: var(--text-sm);
}

/* --------------- COMPONENTS --------------- */

.btn {
  font-weight: var(--font-weight-normal);
  font-size: var(--text-base);
  padding: 1.5rem 3rem;
  border-radius: 8px;
  text-decoration: none;
}

.btn-primary:link,
.btn-primary:visited {
  color: var(--white);
  background-color: var(--primary-base);
  border: 2px solid var(--primary-base);
  transition: 0.5s;
}

.btn-primary:hover,
.btn-primary:active {
  color: var(--white);
  background-color: var(--primary-shade);
  border: 2px solid var(--primary-shade);
  transform: scale(1.05, 1.05);
  box-shadow: 0px 3px 6px 0px var(--grey-base);
}

.btn-primary-outline:link,
.btn-primary-outline:visited {
  color: var(--primary-base);
  background-color: var(--white);
  border: 2px solid var(--primary-base);
  transition: 0.5s;
}

.btn-primary-outline:hover,
.btn-primary-outline:active {
  color: var(--primary-base);
  background-color: var(--white);
  border: 2px solid var(--primary-base);
  box-shadow: 0px 3px 6px 0px var(--grey-base);
}

.btn-secondary:link,
.btn-secondary:visted {
  color: var(--white);
  background-color: var(--seconadry-base);
  border: 2px solid var(--seconadry-base);
  transition: 0.5s;
}

.btn-secondary:hover,
.btn-secondary:active {
  color: var(--white);
  background-color: var(--seconadry-shade);
  border: 2px solid var(--seconadry-shade);
  transform: scale(1.05, 1.05);
  box-shadow: 0px 3px 6px 0px var(--grey-base);
}

.highlight {
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.highlight-primary {
  background-color: var(--primary-base);
}

.highlight-secondary {
  background-color: var(--seconadry-base);
}

.highlight-tetiary {
  background-color: var(--tertiary-base);
}

.logo-md {
  width: 100px;
}

.logo-sml {
  width: 80px;
}

.beta {
  position: relative;
}

.beta::after {
  content: "beta";
  position: absolute;
  top: 0;
  right: 0;
  font-size: 1.2rem;
  background-color: var(--tertiary-base);
  padding: 0.5rem;
  border-radius: 4px;
  color: var(--white);
  transform: translate(70%, -70%);
}

/* --------------- SECTIONS --------------- */

/* ----- NAV BAR-----*/

.navbar {
  height: var(--nav-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-btn-container {
  display: flex;
  gap: 2rem;
}

/* ----- HERO SECTION -----*/

.hero-section {
  height: calc(100vh - var(--nav-height));
  min-height: 400px;
  margin-bottom: 10rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-heading {
  margin-bottom: 1rem;
  text-align: center;
}

.hero-paragraph {
  margin-bottom: 5rem;
  text-align: center;
}

.hero-btn-container {
  display: flex;
  gap: 2rem;
}

/* ----- FEATURE SECTION-----*/

.features-section {
  margin-bottom: 30rem;
}

.feature-img {
  text-align: center;
  max-width: 400px;
  width: 100%;
}

.features-main-heading {
  text-align: center;
  margin-bottom: 8rem;
}

.features-grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 15rem;
  column-gap: 5rem;
  justify-items: center;
  align-items: center;
}

.feature-img-swap-order {
  grid-row: 2 / 3;
  grid-column: 1 /2;
}

/* ----- CTA SECTION -----*/
.cta-section {
  margin-bottom: 30rem;
  display: flex;
  justify-content: center;
}

.cta-card {
  text-align: center;
  background-color: var(--primary-base);
  max-width: 1000px;
  width: 100%;
  padding: 10rem 20rem;
  border-radius: 20px;
}

.cta-heading {
  margin-bottom: 3rem;
  color: var(--white);
}

/* ----- FOOTER SECTION -----*/
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.social-icons {
  width: 20px;
}

.social-icons-container {
  display: flex;
  gap: 1.5rem;
}

.footer-links-container {
  display: flex;
  gap: 1rem;
}

.heart-icon {
  color: var(--seconadry-base);
}
