/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

    /* ========== Colors ========== */
    --primary-color: #2563eb;
    --primary-color-alt: #1d4ed8;
    --secondary-color: #f8fafc;
    --title-color: #1e293b;
    --text-color: #64748b;
    --text-color-light: #94a3b8;
    --border-color: #e2e8f0;
    --white-color: #ffffff;
    --success-color: #10b981;
    --warning-color: #f59e0b;

    /* ========== Font and typography ========== */
    --body-font: 'Inter', sans-serif;
    --biggest-font-size: 2.75rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.75rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.8125rem;

    /* ========== Font weight ========== */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;

    /* ========== Margins Bottom ========== */
    --mb-0-25: 0.25rem;
    --mb-0-5: 0.5rem;
    --mb-0-75: 0.75rem;
    --mb-1: 1rem;
    --mb-1-25: 1.25rem;
    --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;

    /* ========== Shadows ========== */
    --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 10px 15px rgba(0, 0, 0, 0.1);

    /* ========== Border radius ========== */
    --border-radius-sm: 0.5rem;
    --border-radius-md: 0.75rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
}

/* Font size for large devices */
@media screen and (min-width: 968px) {
    :root {
        --biggest-font-size: 3.5rem;
        --h1-font-size: 2.75rem;
        --h2-font-size: 2rem;
        --h3-font-size: 1.5rem;
        --normal-font-size: 1.125rem;
        --small-font-size: 1rem;
        --smaller-font-size: 0.875rem;
    }
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
    line-height: 1.2;
}

ul {
    list-style: none;
}

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

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

button {
    cursor: pointer;
    border: none;
    outline: none;
}

/* ===== REUSABLE CSS CLASSES ===== */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--mb-1-5);
    padding-right: var(--mb-1-5);
}

.grid {
    display: grid;
}

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

.section__header {
    text-align: center;
    margin-bottom: var(--mb-3);
}

.section__title {
    font-size: var(--h2-font-size);
    margin-bottom: var(--mb-0-75);
    position: relative;
}

.section__title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -0.5rem;
    transform: translateX(-50%);
    width: 3rem;
    height: 0.25rem;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-color-alt));
    border-radius: 2rem;
}

.section__subtitle {
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 0.875rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-weight: var(--font-medium);
    font-size: var(--normal-font-size);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.button:hover {
    background-color: var(--primary-color-alt);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

.button--secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* ===== HEADER & NAV ===== */
.header {
    width: 100%;
    background-color: var(--white-color);
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    transition: box-shadow 0.3s ease;
}

.header.scroll-header {
    box-shadow: var(--shadow-light);
}

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

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
}

.logo {
    width: 2rem;
    height: 2rem;
}

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

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

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

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

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

.nav__toggle,
.nav__close {
    display: none;
}

/* ===== HOME ===== */
.home {
    padding: 5rem 0 4rem;
}

.home__container {
    gap: 1.5rem;
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
    min-height: 80vh;
    padding: 2rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.home__data {
    max-width: 500px;
    text-align: left;
}

.home__title {
    font-size: var(--biggest-font-size);
    font-weight: var(--font-bold);
    margin-bottom: var(--mb-1);
}

.home__title-accent {
    color: var(--primary-color);
}

.home__description {
    margin-bottom: var(--mb-2);
    font-size: var(--normal-font-size);
    line-height: 1.8;
}

.home__buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: var(--mb-2-5);
    flex-wrap: wrap;
}

.home__stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.home__stat {
    text-align: center;
}

.home__stat-number {
    display: block;
    font-size: var(--h2-font-size);
    font-weight: var(--font-bold);
    color: var(--primary-color);
}

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

.home__img {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home__img-bg {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-alt));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.home__img-bg::before {
    content: '';
    position: absolute;
    inset: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.home__icon {
    font-size: 6rem;
    color: var(--white-color);
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

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

/* ===== ABOUT ===== */
.about {
    padding: 4.5rem 0 2rem;
}

.about * {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.about__container {
    gap: 2rem;
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
    padding: 2rem 0;
    max-width: 900px;
    margin: 0 auto;
    display: grid !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.about__data {
    max-width: 500px;
    text-align: left;
    display: block;
    visibility: visible;
    opacity: 1 !important;
    transform: none !important;
}

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

.about__description {
    margin-bottom: var(--mb-2);
    line-height: 1.8;
}

.about__features {
    display: grid !important;
    gap: 1.5rem;
    visibility: visible !important;
    opacity: 1 !important;
}

.about__feature {
    display: flex !important;
    gap: 1rem;
    align-items: flex-start;
    visibility: visible !important;
    opacity: 1 !important;
}

.about__feature-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.1);
    padding: 0.75rem;
    border-radius: var(--border-radius-md);
    flex-shrink: 0;
}

.about__feature-title {
    font-size: var(--normal-font-size);
    font-weight: var(--font-semi-bold);
    margin-bottom: var(--mb-0-25);
}

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

.about__img {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about__img-bg {
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, var(--secondary-color), #e2e8f0);
    border-radius: var(--border-radius-xl);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.about__icon {
    font-size: 5rem;
    color: var(--primary-color);
    animation: pulse 2s ease-in-out infinite;
}

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

/* ===== REVIEWS ===== */
.reviews {
    background-color: var(--secondary-color);
}

.reviews__container {
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-bottom: var(--mb-3);
}

.review__card {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.review__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--mb-1);
}

.review__user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.review__name {
    font-size: var(--normal-font-size);
    font-weight: var(--font-semi-bold);
    margin-bottom: 0.25rem;
}

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

.review__rating {
    display: flex;
    gap: 0.25rem;
    color: #fbbf24;
}

.review__text {
    margin-bottom: var(--mb-1);
    line-height: 1.7;
    font-style: italic;
}

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

.reviews__summary {
    text-align: center;
}

.reviews__stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.reviews__stat {
    text-align: center;
}

.reviews__stat-number {
    display: block;
    font-size: var(--h1-font-size);
    font-weight: var(--font-bold);
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.reviews__stat-stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

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

/* ===== GALLERY ===== */
.gallery {
    background-color: var(--secondary-color);
}

.gallery__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery__item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    aspect-ratio: 4/3;
}


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

.gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery__item:hover .gallery__img {
    transform: scale(1.05);
}

.gallery__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: var(--white-color);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery__item:hover .gallery__overlay {
    transform: translateY(0);
}

.gallery__title {
    font-size: var(--h3-font-size);
    font-weight: var(--font-bold);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
    color: #ffffff;
}

.gallery__description {
    font-size: var(--normal-font-size);
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    font-weight: var(--font-medium);
}

/* Gallery responsive */
@media screen and (max-width: 768px) {
    .gallery__container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1rem;
    }
    
    .gallery__overlay {
        padding: 1.5rem 1rem 1rem;
    }
    
    .gallery__title {
        font-size: var(--normal-font-size);
    }
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
}

.lightbox__img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--border-radius);
}

.lightbox__close {
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: var(--white-color);
    color: var(--text-color);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-light);
    transition: background-color 0.3s ease;
    z-index: 10000;
}

.lightbox__close:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.lightbox__caption {
    text-align: center;
    color: var(--white-color);
    font-size: var(--h3-font-size);
    font-weight: var(--font-medium);
    margin-top: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.5); }
    to { transform: scale(1); }
}

/* Lightbox responsive */
@media screen and (max-width: 768px) {
    .lightbox__content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .lightbox__img {
        max-height: 70vh;
    }
    
    .lightbox__close {
        width: 35px;
        height: 35px;
        font-size: 20px;
        top: -10px;
        right: -10px;
    }
    
    .lightbox__caption {
        font-size: var(--normal-font-size);
    }
}

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

.service__card {
    background-color: var(--white-color);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-color-alt));
}

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

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

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

.service__description {
    margin-bottom: var(--mb-1-5);
    line-height: 1.7;
}

.service__features {
    text-align: left;
    max-width: 200px;
    margin: 0 auto;
}

.service__features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: var(--small-font-size);
}

.service__features i {
    color: var(--success-color);
    font-size: 0.875rem;
}

/* ===== FAQ ===== */
.faq {
    background-color: var(--secondary-color);
}

.faq__container {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    background-color: var(--white-color);
    border-radius: var(--border-radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.faq__question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq__question:hover {
    background-color: var(--secondary-color);
}

.faq__question h3 {
    font-size: var(--normal-font-size);
    font-weight: var(--font-medium);
}

.faq__icon {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq__item.active .faq__icon {
    transform: rotate(180deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq__item.active .faq__answer {
    max-height: 200px;
}

.faq__answer p {
    padding: 0 2rem 1.5rem;
    line-height: 1.7;
}

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

.blog__card {
    background-color: var(--white-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog__img {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-alt));
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.blog__img-icon {
    font-size: 3rem;
    color: var(--white-color);
}

.blog__content {
    padding: 1.5rem;
}

.blog__date {
    font-size: var(--small-font-size);
    color: var(--text-color-light);
    margin-bottom: 0.5rem;
}

.blog__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-75);
    line-height: 1.3;
}

.blog__description {
    margin-bottom: var(--mb-1);
    line-height: 1.7;
}

.blog__link {
    color: var(--primary-color);
    font-weight: var(--font-medium);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.blog__link:hover {
    gap: 0.75rem;
}

/* ===== CONTACT ===== */
.contact__container {
    gap: 2rem;
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
    padding: 2rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.contact__data {
    max-width: 500px;
    text-align: left;
}

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

.contact__description {
    margin-bottom: var(--mb-2);
    line-height: 1.8;
}

.contact__info {
    margin-bottom: var(--mb-2-5);
}

.contact__info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact__info-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.1);
    padding: 0.75rem;
    border-radius: var(--border-radius-md);
    flex-shrink: 0;
}

.contact__info-title {
    font-size: var(--normal-font-size);
    font-weight: var(--font-semi-bold);
    margin-bottom: var(--mb-0-25);
}

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

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

.contact__phone {
    color: var(--primary-color);
    font-weight: var(--font-medium);
    transition: color 0.3s ease;
    font-size: var(--small-font-size);
}

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

.contact__img {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact__img-bg {
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-alt));
    border-radius: var(--border-radius-xl);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.contact__icon {
    font-size: 5rem;
    color: var(--white-color);
    animation: ring 2s ease-in-out infinite;
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(10deg); }
    20% { transform: rotate(-10deg); }
    40%, 60% { transform: rotate(8deg); }
    50% { transform: rotate(-8deg); }
    70%, 90% { transform: rotate(5deg); }
    80% { transform: rotate(-5deg); }
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--title-color);
    color: var(--white-color);
    padding: 3rem 0 2rem;
}

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

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: var(--font-semi-bold);
    margin-bottom: var(--mb-1);
}

.footer__logo .logo {
    filter: brightness(0) invert(1);
}

.footer__description {
    line-height: 1.7;
    margin-bottom: var(--mb-1);
}

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

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

.footer__link {
    color: #cbd5e1;
    transition: color 0.3s ease;
}

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

.footer__contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #cbd5e1;
    transition: color 0.3s ease;
}

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

.footer__copy {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #475569;
    color: #cbd5e1;
    font-size: var(--small-font-size);
}

/* ===== CHAT WIDGET ===== */
.chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: var(--z-tooltip);
}

.chat-widget__button {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-alt));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white-color);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.chat-widget__button:hover {
    transform: scale(1.1);
}

.chat-widget__window {
    position: absolute;
    bottom: 4rem;
    right: 0;
    width: 300px;
    background-color: var(--white-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-heavy);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.chat-widget__window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-widget__header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-alt));
    color: var(--white-color);
    padding: 1rem;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-widget__close {
    background: transparent;
    color: var(--white-color);
    font-size: 1.2rem;
}

.chat-widget__content {
    padding: 1.5rem;
}

.chat-widget__message {
    background-color: var(--secondary-color);
    padding: 0.75rem;
    border-radius: var(--border-radius-md);
    margin-bottom: 1rem;
}

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

.chat-option {
    background-color: transparent;
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.chat-option:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

/* ===== SCROLL UP ===== */
.scrollup {
    position: fixed;
    right: 1.5rem;
    bottom: 6rem;
    background-color: var(--primary-color);
    opacity: 0.8;
    padding: 0.5rem;
    border-radius: var(--border-radius-md);
    z-index: var(--z-tooltip);
    transition: all 0.3s ease;
    visibility: hidden;
    opacity: 0;
}

.scrollup:hover {
    background-color: var(--primary-color-alt);
    transform: translateY(-3px);
}

.scrollup__icon {
    font-size: 1.25rem;
    color: var(--white-color);
}

.show-scroll {
    visibility: visible;
    opacity: 0.8;
}

/* ===== MEDIA QUERIES ===== */
/* For large devices */
@media screen and (max-width: 992px) {
    .container {
        padding-left: var(--mb-1-5);
        padding-right: var(--mb-1-5);
    }
    
    .home__container,
    .about__container,
    .contact__container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .home__data,
    .about__data,
    .contact__data {
        max-width: 100%;
        text-align: center;
    }
    
    .home__img,
    .about__img,
    .contact__img {
        order: -1;
    }
    
    .home__img-bg,
    .about__img-bg,
    .contact__img-bg {
        width: 200px;
        height: 200px;
    }
}

/* For medium devices */
@media screen and (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--white-color);
        transition: left 0.3s ease;
        box-shadow: var(--shadow-light);
    }
    
    .nav__menu.show-menu {
        left: 0;
    }
    
    .nav__list {
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }
    
    .nav__close,
    .nav__toggle {
        display: block;
        font-size: 1.5rem;
        color: var(--title-color);
        cursor: pointer;
    }
    
    .nav__close {
        position: absolute;
        top: 1rem;
        right: 1.5rem;
    }
    
    .home {
        padding: 4rem 0 2rem;
    }
    
    .home__stats {
        justify-content: center;
        gap: 2rem;
        text-align: center;
    }
    
    .home__buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .button {
        min-width: 200px;
        justify-content: center;
    }
    
    .reviews__stats {
        gap: 2rem;
    }
    
    .chat-widget {
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .chat-widget__window {
        width: 280px;
    }
    
    .scrollup {
        bottom: 5rem;
    }
}

/* For small devices */
@media screen and (max-width: 350px) {
    .container {
        padding-left: var(--mb-1);
        padding-right: var(--mb-1);
    }
    
    .home__title {
        font-size: 2rem;
    }
    
    .home__buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .home__stats {
        gap: 1rem;
    }
    
    .reviews__stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .chat-widget__window {
        width: 250px;
        right: -25px;
    }
}

/* ===== ANIMATIONS ===== */
.animate-fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.animate-fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.animate-slide-left {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.6s ease;
}

.animate-slide-left.active {
    opacity: 1;
    transform: translateX(0);
}

.animate-slide-right {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.6s ease;
}

.animate-slide-right.active {
    opacity: 1;
    transform: translateX(0);
}
