/* ==================== ОСНОВНІ СТИЛІ ==================== */

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #10b981;
    --accent-color: #f97316;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== НАВІГАЦІЯ ==================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.navbar__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo-icon {
    font-size: 2rem;
}

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

.navbar__menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.navbar__menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

.navbar__menu a:hover::after {
    width: 100%;
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
}

.navbar__toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.navbar__toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ==================== HERO БЛОК ==================== */

.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero__title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

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

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 500px;
}

.hero__image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==================== КНОПКИ ==================== */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* ==================== ЗАГОЛОВКИ СЕКЦІЙ ==================== */

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ==================== ПРО НАС ==================== */

.about {
    padding: 80px 0;
    background-color: var(--white);
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about__text h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.about__text p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.about__features {
    list-style: none;
    margin-top: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.about__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-weight: 500;
}

.check-mark {
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 700;
}

.about__image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(16, 185, 129, 0.05));
    border-radius: 15px;
    overflow: hidden;
}

.about__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==================== ПОСЛУГИ ==================== */

.services {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-top-color: var(--secondary-color);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.service-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ==================== ЧОМ ВИБРАТИ НАС ==================== */

.why-us {
    padding: 80px 0;
    background-color: var(--white);
}

.why-us__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-card {
    padding: 30px;
    background: linear-gradient(135deg, var(--light-bg), var(--white));
    border-radius: 12px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.why-card__number {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(37, 99, 235, 0.1);
    margin-bottom: 10px;
}

.why-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.why-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ==================== КОНТАКТИ ==================== */

.contacts {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1e3a8a 100%);
    color: var(--white);
}

.contacts .section-title {
    color: var(--white);
}

.contacts .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.contacts__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contacts__info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
}

/* ==================== FOOTER ==================== */

.footer {
    background-color: var(--dark-bg);
    color: rgba(255, 255, 255, 0.7);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__content p {
    margin: 5px 0;
    font-size: 0.95rem;
}

/* ==================== СТАТИСТИКА ==================== */

.statistics {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.statistics .section-title {
    color: var(--white);
}

.statistics .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.stat-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--white);
}

.stat-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* ==================== ПРОЦЕС РОБОТИ ==================== */

.process {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.process__timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
}

.process__timeline::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    z-index: 0;
}

.process-step {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-left-color: var(--secondary-color);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.process-step h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.process-step p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ==================== RESPONSIVE ДИЗАЙН ==================== */

@media (max-width: 768px) {
    .navbar__menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--white);
        padding: 20px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        gap: 0;
    }

    .navbar__menu.active {
        display: flex;
    }

    .navbar__menu li {
        border-bottom: 1px solid var(--border-color);
        padding: 10px 0;
    }

    .navbar__toggle {
        display: flex;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__image {
        min-height: 300px;
        order: -1;
    }

    .hero {
        min-height: auto;
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .about__content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about__features {
        grid-template-columns: 1fr;
    }

    .contacts__content {
        grid-template-columns: 1fr;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .why-us__grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.8rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .navbar__logo {
        font-size: 1.2rem;
    }

    .logo-icon {
        font-size: 1.5rem;
    }

    .about__text h3 {
        font-size: 1.5rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    section {
        padding: 40px 0;
    }
}