/* GLOBAL RESETS AND VARIABLES */
:root {
    --color-primary-dark-blue: #00125C;
    --color-primary-yellow: #F6C946;
    --color-primary-orange: #E9963E;
    --color-white: #FFFFFF;
    --color-text: #00125C;
    --color-background: #FFFFFF;
    --font-family-main: 'Noto Sans', sans-serif;
    --container-width: 1478px;
    --container-padding: 20px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-main);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
    letter-spacing: -0.5px;
    position: relative;
}

body:before {
    content:'';
    width: 100%;
    height: 100%;
    background-image: url(../img/bg-body.png);
    background-size: auto;
    background-position: top;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

footer:before {
    content: '';
    width: 100%;
    height: 100%;
    background-image: url(../img/bg-footer.png);
    background-size: auto;
    background-position: top;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 0;
    left: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    max-width: calc(var(--container-width) + var(--container-padding) * 2);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    position: relative;
}

.btn {
    display: inline-block;
    padding: 16px 44px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    border-radius: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn--yellow {
    background-color: var(--color-primary-yellow);
    color: var(--color-primary-dark-blue);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.8s ease; /* Gentle animation duration */
}

.btn--yellow::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary-yellow) 0%, var(--color-primary-orange) 100%);
    opacity: 0;
    transition: opacity 0.8s ease; /* Matches parent transition */
    z-index: -1;
    border-radius: inherit;
}

.btn--yellow:hover {
    /* opacity: 0.9; Removed default hover opacity */
}

.btn--yellow:hover::before {
    opacity: 1;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 5px solid var(--color-primary-dark-blue);
    margin-bottom: 24px;
}

.section-header--fullwidth {
    width: 100%;
}

.section-header__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-white);
    background-color: var(--color-primary-dark-blue);
    padding: 10px 15px;
    border-radius: 10px 10px 0 0;
    line-height: 1.2;
}

.section-header__button {
    width: 40px;
    height: 40px;
    background-color: var(--color-primary-yellow);
    color: var(--color-primary-dark-blue);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.8s ease; /* Gentle animation duration */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.section-header__button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary-yellow) 0%, var(--color-primary-orange) 100%);
    opacity: 0;
    transition: opacity 0.8s ease; /* Matches parent transition */
    z-index: -1;
}

.section-header__button:hover {
    /* opacity: 0.9; Removed default hover opacity */
}

.section-header__button:hover::before {
    opacity: 1;
}

.section-header__button i {
    width: 24px;
    height: 24px;
}

main {
    gap: 120px;
    display: flex;
    flex-direction: column;
}

main:not(.front-page) {
    gap: 0;
}

html {
    overflow-x: hidden;
}
