:root {
    /* Colors */
    --primary: #0f6a3c;
    --primary-dark: #3a5549;
    --primary-light: #14ae5c;
    --secondary: #f27e4c;
    --surface: #fafcfb;
    --surface-dark: #2c2c2c;
    --surface-subtle: #e6f0eb;
    --text: #1f2d26;
    --text-light: #ffffff;
    --text-subtle: #5f6f67;

    /* Font families */
    --font-sans: "IBM Plex Sans", system-ui, sans-serif;

    /* Type scale */
    --text-h1-size: 80px;
    --text-h2-size: 40px;
    --text-h3-size: 36px;

    --text-heading-line: 1.2;
    --text-heading-weight: 500;

    --text-lead-size: 24px;
    --text-body1-size: 22px;
    --text-body2-size: 16px;
    --text-caption-size: 14px;

    --text-line: 1.5;
    --text-weight: 400;

    --text-button-big-size: 20px;
    --text-button-small-size: 16px;

    --text-button-line: 1.2;
    --text-button-weight: 500;
}

body {
    font-family: var(--font-sans);
    background-color: var(--surface);
    color: #1f2d26;
    scroll-behavior: smooth;
}

/* ELEMENTS */

h1 {
    font-size: var(--text-h1-size);
    font-weight: var(--text-heading-weight);
    line-height: var(--text-heading-line);
}

h2 {
    font-size: var(--text-h2-size);
    font-weight: var(--text-heading-weight);
    line-height: var(--text-heading-line);
}

h3 {
    font-size: var(--text-h3-size);
    font-weight: var(--text-heading-weight);
    line-height: var(--text-heading-line);
}


p {
    font-size: var(--text-body1-size);
    font-weight: var(--text-weight);
    line-height: var(--text-line);
}

p.lead {
    font-size: var(--text-lead-size);
    color: var(--text-subtle);
}

p.caption {
    font-size: var(--text-caption-size);
    color: var(--text-subtle);
}

p.small {
    font-size: var(--text-body2-size);
    color: var(--text-subtle);
}


.btn {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    border-radius: 100px;
    color: var(--text-light);
    font-size: var(--text-button-small-size);
    font-weight: var(--text-button-weight);
    line-height: var(--text-button-line);
    padding: 0.5rem 1rem;
}

.btn:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--text-light);
}

.btn.outline {
    background-color: transparent;
    color: var(--text);
}

.btn.outline:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--text-light);
}

.btn.big {
    font-size: var(--text-button-big-size);
    padding: 1rem 1.5rem;
}

input {
    flex: 1;
    border-radius: 2rem;
    padding: 1rem 1.5rem;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

form input:focus {
    border-color: #0d6efd;
    /* primary color on focus */
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15);
    outline: none;
}

/* SECTIONS */

.navbar {
    background-color: var(--surface);
}

.navbar::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--surface-subtle);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.navbar.is-scrolled::after {
    opacity: 1;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem;
    width: 2rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none;
}

.navbar-toggler .icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary-light);
}

header,
section {
    padding: 6rem 0;
}

header {
    min-height: 95svh;
    display: flex;
    align-items: center;
}

footer {
    background-color: #1f1f1f;
    color: #bdbdbd;
}


.bg-subtle {
    background-color: var(--surface-subtle);
}

.bg-dark {
    background-color: var(--surface-dark);
}

.bg-dark-green {
    background-color: var(--primary-dark);
    color: var(--text-light);
}

/* UTILS */

.img-wrapper {
    width: 100%;
    padding-top: 75%;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.round-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.round-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.icon {
    flex: 0 0 auto;
    display: inline;
    margin-right: 0.5rem;
    color: var(--text-subtle);
    height: 1rem;
    width: 1rem;
}

.icon.large {
    height: 2rem !important;
    width: 2rem !important;
    margin-right: 1rem;
}

.accent {
    color: var(--secondary);
}

.light {
    color: var(--text-light) !important;
}

.primary {
    color: var(--primary) !important;
}

.mb-6 {
    margin-bottom: 4rem;
}

.gx-6 {
    column-gap: 4rem;
}