/* ===== CSS VARIABLES ===== */
:root {
    --header-height: 3rem;

    /* Colors */
    --hue-color: 220;
    --first-color: hsl(var(--hue-color), 69%, 61%);
    --first-color-second: hsl(var(--hue-color), 69%, 61%);
    --first-color-alt: hsl(var(--hue-color), 57%, 53%);
    --first-color-lighter: hsl(var(--hue-color), 92%, 85%);
    --title-color: hsl(var(--hue-color), 8%, 15%);
    --text-color: hsl(var(--hue-color), 8%, 45%);
    --text-color-light: hsl(var(--hue-color), 8%, 65%);
    --input-color: hsl(var(--hue-color), 70%, 96%);
    --body-color: hsl(var(--hue-color), 60%, 99%);
    --container-color: #fff;
    --scroll-bar-color: hsl(var(--hue-color), 12%, 90%);
    --scroll-thumb-color: hsl(var(--hue-color), 12%, 80%);

    /* Gradient */
    --gradient: linear-gradient(135deg, var(--first-color) 0%, var(--first-color-alt) 100%);
    
    /* Font and typography */
    --body-font: 'Poppins', sans-serif;
    --big-font-size: 2rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1.125rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;

    /* Font weight */
    --font-medium: 500;
    --font-semi-bold: 600;

    /* Margins */
    --mb-0-25: .25rem;
    --mb-0-5: .5rem;
    --mb-0-75: .75rem;
    --mb-1: 1rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;
    --mb-3: 3rem;

    /* Z-index */
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;
}

/* Font size for large devices */
@media screen and (min-width: 968px) {
    :root {
        --big-font-size: 3rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem;
    }
}

/* ===== BASE ===== */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: var(--header-height) 0 0 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
}

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;
}

/* ===== REUSABLE CSS CLASSES ===== */
.section {
    padding: 2rem 0 4rem;
}

.section__title {
    font-size: var(--h1-font-size);
    color: var(--title-color);
    text-align: center;
    margin-bottom: var(--mb-0-5);
}

.section__subtitle {
    display: block;
    font-size: var(--small-font-size);
    color: var(--text-color);
    text-align: center;
    margin-bottom: var(--mb-2);
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.grid {
    display: grid;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--first-color);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: .5rem;
    font-weight: var(--font-medium);
    transition: .3s;
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover {
    background-color: var(--first-color-alt);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.btn--secondary {
    background-color: transparent;
    color: var(--first-color);
    border: 2px solid var(--first-color);
}

.btn--secondary:hover {
    background-color: var(--first-color);
    color: #fff;
}

.btn--large {
    padding: 1.25rem 2rem;
    font-size: var(--h3-font-size);
}

/* ===== HEADER & NAV ===== */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    background-color: var(--body-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, .15);
    transition: .3s;
}

.nav {
    max-width: 1200px;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    display: flex;
    align-items: center;
}

.nav__logo img {
    height: 5rem;
}

.nav__menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    background-color: var(--body-color);
    padding: 4rem 1.5rem 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .15);
    border-radius: 0 0 1.5rem 1.5rem;
    transition: .3s;
}

.nav__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: var(--small-font-size);
    color: var(--title-color);
    font-weight: var(--font-medium);
    transition: .3s;
}

.nav__link:hover {
    color: var(--first-color);
}

.nav__icon {
    font-size: 1.2rem;
}

.nav__close {
    position: absolute;
    right: 1.3rem;
    top: .5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--first-color);
}

.nav__close:hover {
    color: var(--first-color-alt);
}

.nav__actions {
    display: none;
    align-items: center;
    gap: 1rem;
}

.nav__phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--first-color);
    font-weight: var(--font-medium);
    font-size: var(--small-font-size);
}

.nav__phone:hover {
    color: var(--first-color-alt);
}

.nav__toggle {
    color: var(--title-color);
    font-weight: var(--font-medium);
    cursor: pointer;
}

.nav__toggle:hover {
    color: var(--first-color);
}

/* Show menu */
.show-menu {
    top: var(--header-height);
}

/* Active link */
.active-link {
    color: var(--first-color);
}

/* Change background header */
.scroll-header {
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}

/* ===== HOME ===== */
.home {
    background: linear-gradient(135deg, var(--body-color) 0%, var(--first-color-lighter) 100%);
    padding: 6rem 0 4rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.home__container {
    gap: 2rem;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.home__data {
    text-align: center;
    order: 2;
}

.home__title {
    font-size: var(--big-font-size);
    margin-bottom: var(--mb-0-75);
    line-height: 1.2;
}

.home__description {
    margin-bottom: var(--mb-2);
    color: var(--text-color);
    line-height: 1.6;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.home__buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    width: 100%;
}

.home__img {
    display: flex;
    justify-content: center;
    align-items: center;
    order: 1;
    margin-bottom: 2rem;
}

/* New illustration styles */
.home__illustration {
    position: relative;
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.illustration__center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
    animation: pulse-center 2s infinite;
}

.illustration__card {
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--first-color-lighter);
    animation: float 3s ease-in-out infinite;
}

.illustration__card i {
    font-size: 1.2rem;
    color: var(--first-color);
}

.illustration__card span {
    font-size: 0.6rem;
    font-weight: var(--font-medium);
    color: var(--title-color);
}

.illustration__card--1 {
    top: 10px;
    right: 30px;
    animation-delay: 0s;
}

.illustration__card--2 {
    bottom: 40px;
    left: 10px;
    animation-delay: 1s;
}

.illustration__card--3 {
    top: 40px;
    left: 30px;
    animation-delay: 2s;
}

@keyframes pulse-center {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ===== SERVICES SNAPSHOT ===== */
.services-snapshot {
    background-color: var(--container-color);
}

.services-snapshot__container {
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.services-snapshot__card {
    background-color: var(--body-color);
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 25px rgba(0, 0, 0, .1);
    text-align: center;
    transition: .3s;
}

.services-snapshot__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, .15);
}

.services-snapshot__icon {
    font-size: 2.5rem;
    color: var(--first-color);
    margin-bottom: var(--mb-1);
}

.services-snapshot__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-5);
}

.services-snapshot__description {
    color: var(--text-color);
    line-height: 1.5;
}

/* ===== WHY CHOOSE US ===== */
.why-choose {
    background: linear-gradient(135deg, var(--first-color-lighter) 0%, var(--body-color) 100%);
}

.why-choose__container {
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.why-choose__card {
    background-color: var(--container-color);
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 25px rgba(0, 0, 0, .1);
    text-align: center;
    transition: .3s;
}

.why-choose__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .15);
}

.why-choose__icon {
    font-size: 3rem;
    color: var(--first-color);
    margin-bottom: var(--mb-1);
}

.why-choose__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-1);
}

.why-choose__description {
    color: var(--text-color);
    line-height: 1.6;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    background-color: var(--container-color);
}

.how-it-works__container {
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.how-it-works__step {
    text-align: center;
    position: relative;
    padding: 2rem 1.5rem;
}

.how-it-works__number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: #fff;
    font-size: var(--h2-font-size);
    font-weight: var(--font-semi-bold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--mb-1);
}

.how-it-works__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-75);
}

.how-it-works__description {
    color: var(--text-color);
    line-height: 1.5;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: linear-gradient(135deg, var(--body-color) 0%, var(--first-color-lighter) 100%);
}

.testimonials__container {
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.testimonials__card {
    background-color: var(--container-color);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 25px rgba(0, 0, 0, .1);
    transition: .3s;
}

.testimonials__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, .15);
}

.testimonials__stars {
    color: #ffd700;
    margin-bottom: var(--mb-1);
    font-size: 1.2rem;
}

.testimonials__text {
    color: var(--text-color);
    margin-bottom: var(--mb-1-5);
    line-height: 1.6;
    font-style: italic;
}

.testimonials__author h4 {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-25);
}

.testimonials__author span {
    color: var(--text-color-light);
    font-size: var(--small-font-size);
}

/* ===== SERVICES ===== */
.services {
    background-color: var(--container-color);
    padding: 4rem 0;
}

.services__container {
    gap: 2rem;
}

.services__item {
    margin-bottom: 2rem;
}

.services__content {
    background: linear-gradient(135deg, var(--body-color) 0%, var(--first-color-lighter) 100%);
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .08);
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
    transition: all .3s ease;
    border: 1px solid rgba(0, 123, 255, 0.1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.services__content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform .3s ease;
}

.services__content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 123, 255, .15);
}

.services__content:hover::before {
    transform: scaleX(1);
}

.services__icon {
    font-size: 2.5rem;
    color: var(--first-color);
    background: linear-gradient(135deg, var(--first-color-lighter) 0%, rgba(255,255,255,0.8) 100%);
    padding: 1rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
    transition: all .3s ease;
    margin: 0 auto;
}

.services__content:hover .services__icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 123, 255, 0.3);
}

.services__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-1);
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
}

.services__description {
    color: var(--text-color);
    margin-bottom: var(--mb-1-5);
    line-height: 1.6;
    font-size: var(--normal-font-size);
}

.services__features {
    margin-bottom: var(--mb-2);
    padding: 0;
    text-align: left;
}

.services__features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--mb-0-5);
    color: var(--text-color);
    padding: 0.25rem 0;
    font-size: var(--small-font-size);
}

.services__features i {
    color: var(--first-color);
    font-size: var(--small-font-size);
    width: 16px;
    height: 16px;
    background-color: var(--first-color-lighter);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    flex-shrink: 0;
}

.services__data .btn {
    padding: 0.875rem 1.5rem;
    font-size: var(--small-font-size);
    border-radius: 2rem;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    transition: all .3s ease;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    display: block;
    text-align: center;
}

.services__data .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 123, 255, 0.4);
}

/* ===== ABOUT ===== */
.about {
    background: linear-gradient(135deg, var(--first-color-lighter) 0%, var(--body-color) 50%, var(--first-color-lighter) 100%);
    padding: 4rem 0;
}

.about__hero {
    display: grid;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, .1);
}

.about__hero-title {
    font-size: var(--h2-font-size);
    color: var(--title-color);
    margin-bottom: var(--mb-1);
    line-height: 1.3;
    text-align: center;
}

.about__hero-description {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: var(--mb-2);
    font-size: var(--normal-font-size);
    text-align: center;
}

.about__stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.about__stat {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, var(--first-color) 0%, var(--first-color-alt) 100%);
    border-radius: 1rem;
    color: white;
    transition: transform .3s ease;
}

.about__stat:hover {
    transform: translateY(-3px);
}

.about__stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: var(--font-semi-bold);
    margin-bottom: 0.25rem;
}

.about__stat-label {
    font-size: var(--small-font-size);
    opacity: 0.9;
}

.about__hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    order: -1;
}

.about__image-container {
    position: relative;
    width: 150px;
    height: 150px;
}

.about__image-bg {
    width: 100%;
    height: 100%;
    background: var(--gradient);
    border-radius: 50%;
    animation: pulse-bg 3s ease-in-out infinite;
}

.about__main-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
}

@keyframes pulse-bg {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.about__mission-vision {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.about__mission-card,
.about__vision-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    text-align: center;
    transition: all .3s ease;
    border-top: 4px solid var(--first-color);
}

.about__mission-card:hover,
.about__vision-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
}

.about__card-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--mb-1);
    color: white;
    font-size: 1.2rem;
}

.about__mission-card h4,
.about__vision-card h4 {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-75);
    color: var(--title-color);
}

.about__mission-card p,
.about__vision-card p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: var(--small-font-size);
}

.about__values {
    margin-bottom: 3rem;
}

.about__values-title {
    text-align: center;
    font-size: var(--h2-font-size);
    color: var(--title-color);
    margin-bottom: var(--mb-2);
}

.about__values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.about__value-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .1);
    text-align: center;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}

.about__value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.1), transparent);
    transition: left .5s ease;
}

.about__value-card:hover::before {
    left: 100%;
}

.about__value-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .15);
}

.about__value-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--mb-1);
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

.about__value-card h4 {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-75);
    color: var(--title-color);
}

.about__value-card p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: var(--small-font-size);
}

.about__cta {
    text-align: center;
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .1);
}

.about__cta h3 {
    font-size: var(--h2-font-size);
    color: var(--title-color);
    margin-bottom: var(--mb-1);
}

.about__cta p {
    color: var(--text-color);
    margin-bottom: var(--mb-2);
    font-size: var(--normal-font-size);
}

/* ===== FINAL CTA ===== */
.final-cta {
    background: var(--gradient);
    color: #fff;
    text-align: center;
}

.final-cta__container {
    padding: 3rem 2rem;
}

.final-cta__title {
    font-size: var(--h1-font-size);
    color: #fff;
    margin-bottom: var(--mb-1);
}

.final-cta__description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--mb-2);
    font-size: var(--h3-font-size);
}

.final-cta__phone {
    margin-bottom: var(--mb-2);
}

.final-cta__phone-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
    font-size: var(--h2-font-size);
    font-weight: var(--font-semi-bold);
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    border-radius: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: .3s;
}

.final-cta__phone-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.final-cta__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.final-cta__buttons .btn {
    background-color: #fff;
    color: var(--first-color);
}

.final-cta__buttons .btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
}

.final-cta__buttons .btn--secondary {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.final-cta__buttons .btn--secondary:hover {
    background-color: #fff;
    color: var(--first-color);
}

/* ===== PULSATING ANIMATION ===== */
.pulsating {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* ===== CONTACT ===== */
.contact {
    background-color: var(--container-color);
}

.contact__container {
    gap: 3rem;
}

.contact__content {
    text-align: center;
}

.contact__info {
    display: grid;
    gap: 1.5rem;
    margin-bottom: var(--mb-2);
}

.contact__card {
    background-color: var(--body-color);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 25px rgba(0, 0, 0, .1);
    text-align: center;
    transition: .3s;
}

.contact__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, .15);
}

.contact__card-icon {
    font-size: 2rem;
    color: var(--first-color);
    margin-bottom: var(--mb-0-75);
}

.contact__card-title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-5);
}

.contact__card-data {
    display: block;
    margin-bottom: var(--mb-0-75);
    color: var(--text-color);
}

.contact__button {
    color: var(--first-color);
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: .3s;
}

.contact__button:hover {
    color: var(--first-color-alt);
    transform: translateX(0.25rem);
}

.contact__form {
    background-color: var(--body-color);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 25px rgba(0, 0, 0, .1);
}

.contact__form-div {
    position: relative;
    margin-bottom: var(--mb-2);
    height: 4rem;
}

.contact__form-area {
    height: 7rem;
}

.contact__form-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--text-color-light);
    background: none;
    color: var(--text-color);
    outline: none;
    border-radius: .75rem;
    padding: 1.5rem;
    z-index: 1;
    resize: none;
    font-family: var(--body-font);
    transition: .3s;
}

.contact__form-input:focus {
    border-color: var(--first-color);
}

.contact__form-tag {
    position: absolute;
    top: -.75rem;
    left: 1.25rem;
    font-size: var(--smaller-font-size);
    padding: .25rem;
    background-color: var(--body-color);
    z-index: 10;
    color: var(--title-color);
    font-weight: var(--font-medium);
}

.contact__form-button {
    width: 100%;
    justify-content: center;
}

/* ===== FOOTER ===== */
.footer {
    padding-top: 2rem;
    background-color: var(--title-color);
    color: #fff;
}

.footer__container {
    gap: 3rem;
}

.footer__logo img {
    height: 2rem;
    margin-bottom: var(--mb-0-75);
}

.footer__description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--mb-1-5);
    line-height: 1.6;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    transition: .3s;
}

.footer__social-link:hover {
    color: var(--first-color);
    transform: translateY(-2px);
}

.footer__title {
    color: #fff;
    margin-bottom: var(--mb-1);
}

.footer__links {
    display: grid;
    gap: 0.5rem;
}

.footer__link {
    color: rgba(255, 255, 255, 0.8);
    transition: .3s;
}

.footer__link:hover {
    color: var(--first-color);
}

.footer__contact {
    display: grid;
    gap: 0.75rem;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer__contact-item i {
    color: var(--first-color);
}

.footer__contact-item a {
    color: rgba(255, 255, 255, 0.8);
    transition: .3s;
}

.footer__contact-item a:hover {
    color: var(--first-color);
}

.footer__copy {
    text-align: center;
    font-size: var(--smaller-font-size);
    color: rgba(255, 255, 255, 0.6);
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== SCROLL UP ===== */
.scrollup {
    position: fixed;
    right: 1rem;
    bottom: -20%;
    background-color: var(--first-color);
    opacity: .8;
    padding: 0 .3rem;
    border-radius: .4rem;
    z-index: var(--z-tooltip);
    transition: .4s;
}

.scrollup:hover {
    background-color: var(--first-color-alt);
    opacity: 1;
}

.scrollup__icon {
    font-size: 1.5rem;
    color: #fff;
}

/* Show scroll */
.show-scroll {
    bottom: 5rem;
}

/* ===== SCROLL BAR ===== */
::-webkit-scrollbar {
    width: .60rem;
    background-color: var(--scroll-bar-color);
    border-radius: .5rem;
}

::-webkit-scrollbar-thumb {
    background-color: var(--scroll-thumb-color);
    border-radius: .5rem;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--text-color-light);
}

/* ===== MEDIA QUERIES ===== */
/* For small devices */
@media screen and (max-width: 350px) {
    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .nav__menu {
        padding: 2rem 0.5rem 4rem;
    }

    .nav__list {
        column-gap: 0;
    }

    .home__buttons {
        flex-direction: column;
        width: 100%;
    }

    .home__buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .services__content {
        padding: 1.5rem 1rem;
    }

    .about__hero {
        padding: 1.5rem 1rem;
    }

    .home__illustration {
        width: 200px;
        height: 200px;
    }

    .illustration__card {
        width: 50px;
        height: 50px;
    }

    .illustration__card i {
        font-size: 1rem;
    }

    .illustration__card span {
        font-size: 0.5rem;
    }

    .illustration__center {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .final-cta__buttons {
        flex-direction: column;
        align-items: center;
    }

    .final-cta__buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* For medium devices */
@media screen and (min-width: 568px) {
    .home__container {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 2rem;
        text-align: left;
    }

    .home__data {
        text-align: left;
        order: 1;
    }

    .home__img {
        order: 2;
        justify-self: center;
        margin-bottom: 0;
    }

    .home__buttons {
        flex-direction: row;
        justify-content: flex-start;
        width: auto;
    }

    .home__illustration {
        width: 280px;
        height: 280px;
    }

    .illustration__card {
        width: 70px;
        height: 70px;
    }

    .illustration__card i {
        font-size: 1.3rem;
    }

    .illustration__center {
        width: 70px;
        height: 70px;
        font-size: 1.7rem;
    }

    .about__hero {
        grid-template-columns: 2fr 1fr;
        gap: 3rem;
        align-items: center;
    }

    .about__hero-content {
        text-align: left;
    }

    .about__hero-title,
    .about__hero-description {
        text-align: left;
    }

    .about__hero-image {
        order: 0;
    }

    .about__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .about__mission-vision {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .about__values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .services__content {
        grid-template-columns: auto 1fr;
        gap: 2rem;
        text-align: left;
    }

    .services__icon {
        margin: 0;
    }

    .services__features {
        text-align: left;
    }

    .services__data .btn {
        width: auto;
        margin: 0;
        display: inline-block;
    }

    .contact__container {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 768px) {
    .container {
        margin-left: auto;
        margin-right: auto;
    }

    body {
        margin: 0;
    }

    .section {
        padding: 6rem 0 2rem;
    }

    .section__subtitle {
        margin-bottom: 4rem;
    }

    .header {
        top: 0;
        bottom: initial;
    }

    .header,
    .main,
    .footer__container {
        padding: 0 1rem;
    }

    .nav {
        height: calc(var(--header-height) + 1.5rem);
        column-gap: 1rem;
    }

    .nav__icon,
    .nav__close,
    .nav__toggle {
        display: none;
    }

    .nav__list {
        display: flex;
        column-gap: 2rem;
    }

    .nav__menu {
        margin-left: auto;
        position: static;
        background-color: transparent;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
    }

    .nav__actions {
        display: flex;
    }

    .change-theme {
        margin: 0;
    }

    .home__container {
        row-gap: 5rem;
    }

    .home__buttons {
        flex-direction: row;
        justify-content: flex-start;
    }

    .home__data {
        width: 468px;
    }

    .home__img {
        width: 400px;
    }

    .footer__container {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer__bg {
        padding: 3rem 0 3.5rem;
    }
}

/* For large devices */
@media screen and (min-width: 1024px) {
    .header,
    .main,
    .footer__container {
        padding: 0;
    }

    .container {
        max-width: 1200px;
    }

    .home__illustration {
        width: 350px;
        height: 350px;
    }

    .illustration__card {
        width: 90px;
        height: 90px;
    }

    .illustration__card i {
        font-size: 1.8rem;
    }

    .illustration__card span {
        font-size: 0.8rem;
    }

    .illustration__center {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .services__content {
        grid-template-columns: auto 1fr;
        gap: 3rem;
        padding: 3rem 2.5rem;
    }

    .services__icon {
        width: 120px;
        height: 120px;
        font-size: 3.5rem;
        padding: 1.5rem;
    }

    .about__hero {
        padding: 4rem 3rem;
        grid-template-columns: 2fr 1fr;
        gap: 4rem;
    }

    .about__hero-title {
        font-size: var(--h1-font-size);
    }

    .about__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .about__values-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .about__value-icon {
        width: 80px;
        height: 80px;
        font-size: 2.2rem;
    }

    .about__image-container {
        width: 250px;
        height: 250px;
    }

    .about__main-icon {
        font-size: 5rem;
    }

    .contact__form {
        width: 460px;
    }

    .contact__inputs {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.home__img {
    animation: float 3s ease-in-out infinite;
}

.about__img {
    animation: float 3s ease-in-out infinite 1.5s;
}