@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --color-white: white;
  --color-black: black;
  --primary-color: #173766;
  --secondary-color: #888888;
  --heading-text-color: #0A1423;
  --body-text-color: #464A51;
  --bg-1-color: #E2E8F0;
  --bg-2-color: #F1F1F1;
  --light-border-color: #4246522b;
  --font-poppins: "Poppins", sans-serif;
  --font-open-sans: "Open Sans", sans-serif;
}

/* texts css */

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-text-color);
  font-family: var(--font-poppins);
}

h1,
h2,
h3 {
  font-weight: 700;
}

h4,
h5,
h6 {
  font-weight: 500;
}

h1 {
  font-size: 52px;
  line-height: 60px;
}

h2 {
  font-size: 44px;
  line-height: 52px;
}

h3 {
  font-size: 44px;
  line-height: 52px;
}

h4 {
  font-size: 20px;
  line-height: 28px;
}

h5 {
  font-size: 18px;
  line-height: 26px;
}

h6 {
  font-size: 16px;
  line-height: 24px;
}

body {
  font-size: 18px;
  line-height: 26px;
  color: var(--body-text-color);
  font-family: var(--font-open-sans);
}

/* link css */

a {
  text-decoration: none;
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  color: var(--primary-color);
}

/* button css */

button {
  padding: 10px 30px;
  border: none;
  border-radius: 60px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-poppins);
}

.primary-btn {
  background-color: var(--primary-color);
  color: var(--color-white);
}

.primary-btn a {
  color: var(--color-white);
}

.secondary-btn {
  background-color: var(--color-white);
  color: var(--heading-text-color);
}

.secondary-btn a {
  color: var(--heading-text-color);
}


/* form css */

form label {
  display: block;
  font-size: 16px;
  line-height: 26px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--heading-text-color);
}

form input,
form textarea {
  padding: 10px 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  line-height: 26px;
  width: 100%;
  box-sizing: border-box;
}

form textarea {
  resize: vertical;
  min-height: 100px;
}

/* defined classes */

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.flex-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text-center {
  text-align: center;
}

.section-spacing {
  padding: 5% 0;
}


/* responsive css */

@media (max-width: 1200px) {
  .section-spacing {
    padding: 6% 5%; 
  }
}

@media (max-width: 770px) {
  h1 {
    font-size: 40px;
    line-height: 48px;
  }
  h2 {
    font-size: 34px;
    line-height: 42px;
  }
  h3 {
    font-size: 30px;
    line-height: 38px;
  }
  h4 {
    font-size: 20px;
    line-height: 28px;
  }
  h5 {
    font-size: 18px;
    line-height: 26px;
  }
  h6 {
    font-size: 16px;
    line-height: 24px;
  }

  .flex-row {
    flex-direction: column;
  }
  
  .section-spacing {
    padding: 8% 6%;
  }
}

@media (max-width: 425px) {
  h1 {
    font-size: 32px;
    line-height: 40px;
  }
  h2 {
    font-size: 26px;
    line-height: 34px;
  }
  h3 {
    font-size: 22px;
    line-height: 30px;
  }
  h4 {
    font-size: 18px;
    line-height: 26px;
  }
  h5 {
    font-size: 16px;
    line-height: 24px;
  }
  h6 {
    font-size: 14px;
    line-height: 20px;
  }

  body,
  a {
    font-size: 16px;
    line-height: 24px;
  }

  button {
    padding: 8px 24px;
    font-size: 16px;
  }

  .text-center {
    text-align: left;
  }

  .section-spacing {
    padding: 10% 5%;
  }
}
