/*==================== VARIABLES CSS ====================*/
:root {
    /* Colors */
    --header-height: 4.5rem;
    
    /* Brand Colors - Panorama BI */
    --first-color: #5CB85C;        /* Verde mais escuro para melhor contraste */
    --first-color-alt: #7FCF7F;    /* Verde médio */
    --first-color-light: #E8F5E8;  /* Verde-lima muito claro */
    --title-color: #2C3E50;        /* Cinza escuro */
    --text-color: #5A6C7D;         /* Cinza médio */
    --text-color-light: #8B9AAB;   /* Cinza claro */
    --body-color: #FFFFFF;          /* Branco */
    --container-color: #F8F9FA;    /* Cinza muito claro */
    
    /* Typography */
    --body-font: 'Inter', sans-serif;
    --biggest-font-size: 3.5rem;
    --h1-font-size: 2.5rem;
    --h2-font-size: 2rem;
    --h3-font-size: 1.5rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
    
    /* Font Weight */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;
    --font-extra-bold: 800;
    
    /* Z Index */
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;
    
    /* Spacing */
    --mb-0-25: 0.25rem;
    --mb-0-5: 0.5rem;
    --mb-0-75: 0.75rem;
    --mb-1: 1rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;
    --mb-3: 3rem;
}

/*==================== BASE ====================*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

h1, h2, h3, h4 {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

p, span, div, h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

a, button {
    word-wrap: normal;
    overflow-wrap: normal;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
}

/*==================== REUSABLE CSS CLASSES ====================*/
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.section {
    padding: 5rem 0 2rem;
}

.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__subtitle {
    display: block;
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
    color: var(--first-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--mb-0-5);
}

.section__title {
    font-size: var(--h2-font-size);
    font-weight: var(--font-bold);
    color: var(--title-color);
    margin-bottom: var(--mb-1);
}

.section__title-highlight {
    color: var(--first-color);
}

/*==================== HEADER & NAV ====================*/
.header {
    width: 100%;
    max-width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    background-color: var(--body-color);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow-x: hidden;
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.nav__logo {
    display: flex;
    align-items: center;
    transition: opacity 0.3s;
}

.nav__logo:hover {
    opacity: 0.8;
}

.nav__logo-img {
    height: 40px;
    width: auto;
    transition: transform 0.3s;
}

.nav__logo:hover .nav__logo-img {
    transform: scale(1.05);
}

.nav__toggle,
.nav__close {
    color: var(--title-color);
    font-size: 1.5rem;
    cursor: pointer;
}

.nav__toggle {
    display: none; /* Escondido no desktop */
}

.nav__close {
    display: none;
}

.nav__list {
    display: flex;
    column-gap: 2.5rem;
}

.nav__link {
    color: var(--text-color);
    font-weight: var(--font-medium);
    transition: color 0.3s;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--first-color);
    transition: width 0.3s;
}

.nav__link:hover,
.nav__link.active-link {
    color: var(--first-color);
}

.nav__link.active-link::after,
.nav__link:hover::after {
    width: 100%;
}

/*==================== BUTTON ====================*/
.button {
    display: inline-flex;
    align-items: center;
    column-gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: var(--font-medium);
    transition: all 0.3s;
    font-size: var(--normal-font-size);
}

.button--primary {
    background-color: var(--first-color);
    color: var(--body-color);
}

.button--primary:hover {
    background-color: var(--title-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(92, 184, 92, 0.3);
}

.button--secondary {
    background-color: transparent;
    color: var(--title-color);
    border: 2px solid var(--first-color);
}

.button--secondary:hover {
    background-color: var(--first-color);
    color: var(--body-color);
}

/*==================== MAIN ====================*/
.main {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

/*==================== HOME ====================*/
.home {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.home__container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    width: 100%;
    max-width: 100%;
}

.home__data {
    z-index: 1;
}

.home__subtitle {
    font-size: var(--normal-font-size);
    color: var(--first-color);
    font-weight: var(--font-medium);
    margin-bottom: var(--mb-0-75);
    display: block;
}

.home__title {
    font-size: var(--biggest-font-size);
    font-weight: var(--font-extra-bold);
    line-height: 1.2;
    margin-bottom: var(--mb-1-5);
    color: var(--title-color);
}

.home__title-highlight {
    color: var(--first-color);
    position: relative;
}

.home__title-highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--first-color), transparent);
    opacity: 0.3;
    z-index: -1;
}

.home__description {
    font-size: var(--normal-font-size);
    color: var(--text-color);
    margin-bottom: var(--mb-2-5);
    line-height: 1.8;
}

.home__buttons {
    display: flex;
    column-gap: 1rem;
    flex-wrap: wrap;
}

.home__visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.home__scroll-button {
    color: var(--first-color);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/*==================== DATA VISUALIZATION ANIMATIONS ====================*/
.data-visualization {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--container-color) 0%, var(--body-color) 100%);
    border-radius: 20px;
    padding: 2rem;
    overflow: hidden;
    box-sizing: border-box;
}

/* Chart Container */
.chart-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1rem;
    height: 300px;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 0.5rem;
}

.chart-bar {
    width: 50px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

.chart-bar-fill {
    width: 100%;
    height: var(--height);
    background: linear-gradient(180deg, var(--first-color) 0%, var(--first-color-alt) 100%);
    border-radius: 8px 8px 0 0;
    animation: growBar 1.5s ease-out forwards;
    animation-delay: var(--delay);
    opacity: 0;
    box-shadow: 0 4px 15px rgba(92, 184, 92, 0.3);
    position: relative;
    overflow: hidden;
}

.chart-bar-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
    animation-delay: var(--delay);
}

@keyframes growBar {
    0% {
        height: 0;
        opacity: 0;
    }
    100% {
        height: var(--height);
        opacity: 1;
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.chart-value {
    position: absolute;
    top: -25px;
    font-size: 0.75rem;
    font-weight: var(--font-bold);
    color: var(--first-color);
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
    animation-delay: calc(var(--delay) + 1s);
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Data Points */
.data-points {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 3;
}

.data-point {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%);
    animation: float 3s ease-in-out infinite;
    animation-delay: var(--delay);
}

.data-point-pulse {
    width: 12px;
    height: 12px;
    background-color: var(--first-color);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 0 0 rgba(92, 184, 92, 0.7);
    animation: pulse 2s infinite;
}

.data-point-pulse::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--first-color);
    animation: ripple 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(92, 184, 92, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(92, 184, 92, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(92, 184, 92, 0);
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-20px);
    }
}

.data-point span {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.7rem;
    font-weight: var(--font-bold);
    color: var(--first-color);
    background-color: var(--body-color);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Network Lines */
.network-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.4;
}

.network-svg {
    width: 100%;
    height: 100%;
}

.network-line {
    fill: none;
    stroke: url(#lineGradient);
    stroke-width: 2;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 3s ease-in-out infinite;
}

.network-line:nth-child(1) {
    animation-delay: 0s;
}

.network-line:nth-child(2) {
    animation-delay: 1s;
}

.network-line:nth-child(3) {
    animation-delay: 2s;
}

@keyframes drawLine {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0.6;
    }
}

/*==================== ABOUT ====================*/
.about {
    background-color: var(--container-color);
}

.about__container {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__logo-group {
    margin-bottom: var(--mb-2);
}

.about__logo-grupo {
    height: 60px;
    width: auto;
}

.about__description {
    margin-bottom: var(--mb-1-5);
    line-height: 1.8;
    color: var(--text-color);
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: var(--mb-3);
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--body-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card__icon {
    font-size: 2rem;
    color: var(--first-color);
    margin-bottom: var(--mb-0-5);
}

.stat-card__number {
    font-size: 2rem;
    font-weight: var(--font-bold);
    color: var(--title-color);
    margin-bottom: var(--mb-0-25);
}

.stat-card__label {
    font-size: var(--small-font-size);
    color: var(--text-color-light);
}

.about__visual {
    display: grid;
    gap: 1.5rem;
}

.about__card {
    background-color: var(--body-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border-left: 4px solid var(--first-color);
}

.about__card:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(92, 184, 92, 0.2);
}

.about__card-icon {
    font-size: 2.5rem;
    color: var(--first-color);
    margin-bottom: var(--mb-1);
}

.about__card-title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-75);
    color: var(--title-color);
}

.about__card-description {
    color: var(--text-color);
    line-height: 1.6;
}

/*==================== SERVICES ====================*/
.services__container {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.services__card {
    background-color: var(--body-color);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border-top: 3px solid transparent;
}

.services__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(92, 184, 92, 0.15);
    border-top-color: var(--first-color);
}

.services__card-header {
    margin-bottom: var(--mb-1-5);
}

.services__card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--mb-1);
    font-size: 1.5rem;
    color: var(--body-color);
}

.services__card-title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-1);
    color: var(--title-color);
}

.services__card-description {
    color: var(--text-color);
    margin-bottom: var(--mb-1-5);
    line-height: 1.7;
}

.services__card-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.services__card-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: var(--small-font-size);
}

.services__card-list i {
    color: var(--first-color);
    font-size: 0.875rem;
}

/*==================== SOLUTIONS ====================*/
.solutions {
    background-color: var(--container-color);
}

.solutions__container {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.solutions__item {
    text-align: center;
    padding: 2rem;
    background-color: var(--body-color);
    border-radius: 12px;
    transition: all 0.3s;
}

.solutions__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(127, 207, 127, 0.15);
}

.solutions__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--mb-1-5);
    background: linear-gradient(135deg, var(--first-color-light), var(--first-color-alt));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--first-color);
}

.solutions__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-75);
    color: var(--title-color);
}

.solutions__description {
    color: var(--text-color);
    font-size: var(--small-font-size);
    line-height: 1.6;
}

/*==================== CONTACT ====================*/
.contact__container {
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact__card {
    background-color: var(--container-color);
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s;
}

.contact__card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(92, 184, 92, 0.1);
}

.contact__card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--first-color), var(--first-color-alt));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--mb-1);
    font-size: 1.25rem;
    color: var(--body-color);
}

.contact__card-title {
    font-size: var(--normal-font-size);
    font-weight: var(--font-semi-bold);
    margin-bottom: var(--mb-0-5);
    color: var(--title-color);
}

.contact__card-data {
    color: var(--text-color);
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
    line-height: 1.6;
}

.contact__form {
    display: grid;
    gap: 1.5rem;
}

.contact__form-div {
    position: relative;
}

.contact__form-tag {
    display: block;
    margin-bottom: var(--mb-0-5);
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
    letter-spacing: 0.3px;
}

.contact__form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #E1E8ED;
    border-radius: 8px;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    color: var(--title-color);
    background-color: #FFFFFF;
    transition: all 0.3s;
    font-weight: var(--font-regular);
    line-height: 1.5;
}

.contact__form-input::placeholder {
    color: var(--text-color-light);
    opacity: 0.7;
}

.contact__form-input:focus {
    outline: none;
    border-color: var(--first-color);
    box-shadow: 0 0 0 3px rgba(92, 184, 92, 0.15);
    background-color: #FFFFFF;
}

.contact__form-input.is-invalid {
    border-color: #f44336;
}

.contact__form-area {
    height: 200px;
}

.contact__form-area .contact__form-input {
    resize: none;
    height: 100%;
}

.contact__form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: var(--small-font-size);
    color: var(--text-color);
}

.contact__form-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    cursor: pointer;
    accent-color: var(--first-color);
}

.contact__form-checkbox.is-invalid {
    color: #f44336;
}

.contact__form-button {
    width: 100%;
    justify-content: center;
}

.contact__form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: var(--small-font-size);
}

.contact__form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    font-weight: var(--font-medium);
    line-height: 1.6;
}

.contact__form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    font-weight: var(--font-medium);
    line-height: 1.6;
}

/*==================== FOOTER ====================*/
.footer {
    background-color: var(--title-color);
    color: var(--body-color);
    padding: 4rem 0 2rem;
}

.footer__container {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.footer__logo {
    display: inline-block;
    transition: opacity 0.3s;
}

.footer__logo:hover {
    opacity: 0.8;
}

.footer__logo img {
    height: 40px;
    margin-bottom: var(--mb-1);
    transition: transform 0.3s;
}

.footer__logo:hover img {
    transform: scale(1.05);
}

.footer__description {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--small-font-size);
    line-height: 1.6;
    margin-bottom: var(--mb-1-5);
}

.footer__social {
    display: flex;
    column-gap: 1rem;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--body-color);
    transition: all 0.3s;
}

.footer__social-link:hover {
    background-color: var(--first-color);
    transform: translateY(-3px);
}

.footer__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-1);
    color: var(--body-color);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__link {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
    font-size: var(--small-font-size);
}

.footer__link:hover {
    color: var(--first-color);
}

.footer__newsletter {
    display: flex;
    gap: 0.5rem;
    margin-top: var(--mb-1);
}

.footer__newsletter-input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-family: var(--body-font);
    font-size: var(--small-font-size);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--body-color);
}

.footer__newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer__newsletter-button {
    width: 45px;
    height: 45px;
    background-color: var(--first-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--body-color);
    transition: all 0.3s;
}

.footer__newsletter-button:hover {
    background-color: var(--first-color-alt);
    transform: scale(1.1);
}

.footer__newsletter-message {
    margin-top: var(--mb-1);
    padding: 0.75rem;
    border-radius: 8px;
    font-size: var(--smaller-font-size);
}

.footer__newsletter-message.success {
    background-color: rgba(212, 237, 218, 0.2);
    color: #d4edda;
}

.footer__newsletter-message.error {
    background-color: rgba(248, 215, 218, 0.2);
    color: #f8d7da;
}

.footer__copy {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--small-font-size);
}

/*==================== SCROLL UP ====================*/
.scrollup {
    position: fixed;
    right: 2rem;
    bottom: -20%;
    background-color: var(--first-color);
    opacity: 0.8;
    padding: 0.75rem;
    border-radius: 50%;
    z-index: var(--z-tooltip);
    transition: all 0.4s;
    color: var(--body-color);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
}

.scrollup:hover {
    background-color: var(--title-color);
    opacity: 1;
    transform: translateY(-5px);
}

.show-scroll {
    bottom: 3rem;
}

/*==================== ANIMATIONS ====================*/
.animate-fade-up {
    animation: fadeUp 0.8s ease-out forwards;
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/*==================== RESPONSIVE ====================*/
@media screen and (max-width: 992px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
        margin-left: 0;
        margin-right: 0;
    }

    .home__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .home__visual {
        order: -1;
        height: 400px;
    }

    .about__container {
        grid-template-columns: 1fr;
    }

    .services__container {
        grid-template-columns: repeat(2, 1fr);
    }

    .solutions__container {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact__container {
        grid-template-columns: 1fr;
    }

    .footer__container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    :root {
        --biggest-font-size: 2.5rem;
        --h1-font-size: 2rem;
        --h2-font-size: 1.75rem;
        --h3-font-size: 1.25rem;
    }

    html, body {
        overflow-x: hidden;
        max-width: 100vw;
        position: relative;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
        max-width: 100%;
        width: 100%;
    }

    .section {
        padding: 3rem 0 1rem;
        overflow-x: hidden;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--body-color);
        padding: 5rem 0 0 2.5rem;
        transition: right 0.3s ease-in-out;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
        z-index: var(--z-modal);
        overflow-y: auto;
        overflow-x: hidden;
    }

    .nav__menu.show-menu {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        row-gap: 2.5rem;
    }

    .nav__link {
        font-size: 1.125rem;
        font-weight: var(--font-medium);
        padding: 0.5rem 0;
    }

    .nav__close {
        display: block;
        position: absolute;
        top: 1.75rem;
        right: 1.75rem;
        font-size: 1.75rem;
        color: var(--title-color);
        transition: transform 0.3s;
    }

    .nav__close:hover {
        transform: rotate(90deg);
    }

    .nav__toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 8px;
        background-color: var(--container-color);
        transition: all 0.3s;
    }

    .nav__toggle:hover {
        background-color: var(--first-color-light);
    }

    .home {
        padding-top: calc(var(--header-height) + 2rem);
        padding-bottom: 3rem;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .home__container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .home__title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: var(--mb-1-5);
    }

    .home__description {
        font-size: 0.9375rem;
        line-height: 1.7;
        margin-bottom: var(--mb-2);
    }

    .home__buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .home__buttons .button {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 0.9375rem;
    }

    .about__container {
        gap: 3rem;
        width: 100%;
        max-width: 100%;
    }

    .about__stats {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .services__container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
        max-width: 100%;
    }

    .services__card {
        padding: 2rem;
    }

    .solutions__container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
        max-width: 100%;
    }

    .contact__container {
        gap: 2.5rem;
        width: 100%;
        max-width: 100%;
    }

    .contact__card {
        padding: 1.25rem;
    }

    .contact__form {
        gap: 1.25rem;
    }

    .contact__form-input {
        padding: 0.875rem;
        font-size: 0.9375rem;
    }

    .footer__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .footer__social {
        justify-content: center;
    }

    .footer__newsletter {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer__newsletter-input {
        width: 100%;
    }

    .footer__newsletter-button {
        width: 100%;
    }
}

@media screen and (max-width: 576px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
        width: 100%;
        max-width: 100%;
    }

    .home__visual {
        height: 280px;
        margin-bottom: 2rem;
        width: 100%;
        max-width: 100%;
        padding: 0.75rem;
        box-sizing: border-box;
    }

    .home__data {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .data-visualization {
        padding: 1rem;
        border-radius: 12px;
    }

    .chart-container {
        height: 180px;
        gap: 0.5rem;
        padding: 0 0.25rem;
    }

    .chart-bar {
        width: 30px;
        min-width: 30px;
        max-width: 30px;
    }

    .chart-value {
        font-size: 0.65rem;
        top: -20px;
    }

    .stat-card__number {
        font-size: 1.5rem;
    }

    .section {
        padding: 3.5rem 0 1.5rem;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .section__header {
        margin-bottom: 3rem;
        padding: 0;
    }

    .section__title {
        font-size: 1.5rem;
        line-height: 1.3;
        word-wrap: break-word;
    }

    .home__title {
        font-size: 1.75rem;
        word-wrap: break-word;
        hyphens: auto;
    }

    .home__description {
        font-size: 0.875rem;
        word-wrap: break-word;
    }

    .home__buttons .button {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .grid {
        width: 100%;
        max-width: 100%;
    }

    .footer {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
}

/*==================== NO SCROLL ====================*/
.no-scroll {
    overflow: hidden;
}

