/* ===== CSS VARIABLES ===== */
:root {
    /* Colors */
    --primary-color: #007bff;
    --primary-dark: #0056b3;
    --secondary-color: #6c757d;
    --accent-color: #17a2b8;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;

    /* Backgrounds */
    --bg-color: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-dark: #343a40;

    /* Text colors */
    --text-color: #2c3e50;
    --text-light: #6c757d;
    --text-white: #ffffff;

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Poppins', sans-serif;

    /* Font sizes */
    --h1-font-size: 3.5rem;
    --h2-font-size: 2.5rem;
    --h3-font-size: 1.75rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.75rem;

    /* Font weights */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    /* Spacing */
    --header-height: 4rem;
    --section-padding: 5rem 0;
    --container-margin: 0 1.5rem;

    /* Borders & Shadows */
    --border-radius: 12px;
    --border-radius-small: 8px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: var(--normal-font-size);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-secondary);
    font-weight: var(--font-semibold);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: var(--h1-font-size);
}

h2 {
    font-size: var(--h2-font-size);
}

h3 {
    font-size: var(--h3-font-size);
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-padding);
}

.section--bg {
    background-color: var(--bg-secondary);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: var(--border-radius-small);
    font-family: var(--font-primary);
    font-size: var(--normal-font-size);
    font-weight: var(--font-medium);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-white);
    box-shadow: var(--box-shadow);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

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

.btn--outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

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

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

.nav__logo-text {
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    font-weight: var(--font-bold);
    color: var(--primary-color);
}

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

.nav__link {
    font-weight: var(--font-medium);
    color: var(--text-color);
    position: relative;
}

.nav__link:hover,
.nav__link.active-link {
    color: var(--primary-color);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav__link:hover::after,
.nav__link.active-link::after {
    width: 100%;
}

.nav__toggle,
.nav__close {
    display: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--text-color);
}

/* ===== HERO SECTION ===== */
.hero {
    padding-top: calc(var(--header-height) + 2rem);
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(23, 162, 184, 0.05));
}

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

.hero__title {
    font-size: 3.5rem;
    font-weight: var(--font-bold);
    margin-bottom: 1.5rem;
}

.hero__description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero__stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat__number {
    display: block;
    font-size: 2rem;
    font-weight: var(--font-bold);
    color: var(--primary-color);
}

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

.hero__visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.hero__flag-container {
    display: flex;
    gap: 2rem;
}

.flag {
    font-size: 4rem;
    animation: float 3s ease-in-out infinite;
}

.flag--canada {
    animation-delay: -1.5s;
}

.hero__success-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--success-color);
    color: white;
    border-radius: 50px;
    font-weight: var(--font-medium);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ===== SECTIONS ===== */
.section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.section__subtitle {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
    margin-bottom: 1rem;
}

.section__title {
    margin-bottom: 1rem;
}

.section__description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1.125rem;
}

/* ===== SERVICES SECTION ===== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service__card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.service__card--featured {
    border: 2px solid var(--primary-color);
}

.service__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: var(--smaller-font-size);
    font-weight: var(--font-medium);
}

.service__icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.service__title {
    margin-bottom: 1rem;
}

.service__description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service__features {
    text-align: left;
}

.service__features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.service__features i {
    color: var(--success-color);
}

/* ===== PROCESS SECTION ===== */
.process__timeline {
    max-width: 800px;
    margin: 0 auto;
}

.process__step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: center;
}

.process__number {
    width: 4rem;
    height: 4rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: var(--font-bold);
}

.process__title {
    margin-bottom: 0.5rem;
}

.process__description {
    color: var(--text-light);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial__card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.testimonial__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.testimonial__stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    color: var(--warning-color);
}

.testimonial__text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial__avatar {
    width: 3rem;
    height: 3rem;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.testimonial__name {
    font-size: var(--normal-font-size);
    font-weight: var(--font-semibold);
    margin-bottom: 0.25rem;
}

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

/* ===== CONTACT SECTION ===== */
.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact__card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact__card-icon {
    width: 3rem;
    height: 3rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.25rem;
}

.contact__card-title {
    margin-bottom: 0.5rem;
}

.contact__card-text {
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.contact__form-wrapper {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form__group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form__input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius-small);
    font-size: var(--normal-font-size);
    transition: var(--transition);
    background: white;
}

.form__input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__label {
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    background: white;
    padding: 0 0.5rem;
    font-size: var(--small-font-size);
    color: var(--text-light);
    font-weight: var(--font-medium);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 3rem 0 1rem;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__logo-text {
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    font-weight: var(--font-bold);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer__description {
    color: #adb5bd;
    margin-bottom: 1.5rem;
}

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

.footer__social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer__social-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.footer__title {
    color: white;
    margin-bottom: 1rem;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__link {
    color: #adb5bd;
    transition: var(--transition);
}

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

.footer__contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #adb5bd;
    margin-bottom: 0.5rem;
}

.footer__contact i {
    color: var(--primary-color);
    width: 1rem;
}

.footer__bottom {
    border-top: 1px solid #495057;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__copy {
    color: #adb5bd;
}

.footer__links {
    display: flex;
    gap: 2rem;
}

/* ===== WHATSAPP FLOAT BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25d366;
    color: white;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--box-shadow-hover);
}

.whatsapp-float__tooltip {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: var(--bg-dark);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-small);
    font-size: var(--small-font-size);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: var(--primary-color);
    color: white;
    width: 3rem;
    height: 3rem;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}