/* ---------- Root palette ---------- */
:root {
    --brand: #1769ff;
    --brand-dark: #004ec2;
    --brand-light: #edf3ff;
    --text-dark: #1a1a1a;
    --text-light: #555;
    --radius: 14px;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    --transition: 0.3s ease;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: "Poppins", sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

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

/* ---------- Header ---------- */
.header {
    position: fixed; top: 0; width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 1000;
}

.nav-content { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }
.logo img { height: 46px; }
.nav-menu { list-style: none; display: flex; gap: 40px; }

.nav-menu a {
    text-decoration: none; font-weight: 500; color: var(--text-dark);
    transition: color var(--transition);
}
.nav-menu a:hover { color: var(--brand); }

.menu-toggle { display: none; flex-direction: column; gap: 6px; border: 0; background: none; cursor: pointer; }
.menu-toggle span { width: 28px; height: 3px; background: var(--text-dark); transition: transform var(--transition); }

/* ---------- Hero ---------- */
.hero { background: var(--brand-light); padding: 140px 0 100px; text-align: center; }
.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800; letter-spacing: -0.5px; margin-bottom: 32px;
}
.accent { color: var(--brand); }
.cta-button {
    background: var(--brand); color: #fff; border: 0;
    padding: 18px 42px; font-size: 1rem; font-weight: 600;
    border-radius: var(--radius); cursor: pointer; transition: var(--transition);
}
.cta-button:hover { background: var(--brand-dark); transform: translateY(-3px); box-shadow: var(--shadow); }
.hero-description { max-width: 640px; margin: 40px auto 0; color: var(--text-light); }

/* ---------- Partners & Clients ---------- */
.partners-section, .clients-section { padding: 90px 0; text-align: center; }
.partners-section { background: #fff; }
.clients-section { background: #fafafa; }
.partners-section h2, .clients-section h2 { font-size: 2rem; font-weight: 700; margin-bottom: 56px; }
.partners-grid, .clients-grid {
    display: grid; gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    align-items: center; max-width: 1000px; margin: 0 auto;
}
.partners-grid img, .clients-grid img {
    width: 100%; height: 60px; object-fit: contain;
    filter: grayscale(100%); opacity: 0.7; transition: var(--transition);
}
.partners-grid img:hover, .clients-grid img:hover { filter: grayscale(0); opacity: 1; }

/* ---------- Cards ---------- */
.services-cards { background: var(--brand-light); padding: 90px 0; }
.cards-grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.service-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-8px); }
.service-card img { width: 100%; height: 230px; object-fit: cover; }
.card-content { padding: 32px; }
.card-content h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.card-content p { color: var(--text-light); margin-bottom: 28px; }
.card-button {
    background: var(--brand); color: #fff; border: 0;
    padding: 14px 28px; font-size: 0.9rem; font-weight: 600; border-radius: var(--radius);
    cursor: pointer; transition: var(--transition);
}
.card-button:hover { background: var(--brand-dark); transform: translateY(-2px); }

/* ---------- Testimonials ---------- */
.testimonials-section { background: #fff; padding: 90px 0; }
.testimonials-section h2 { font-size: 2.25rem; font-weight: 700; text-align: center; margin-bottom: 60px; }
.testimonials-grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.testimonial {
    background: var(--brand-light); padding: 40px 30px;
    border-left: 5px solid var(--brand); border-radius: var(--radius);
}
.testimonial p { font-style: italic; color: var(--text-light); margin-bottom: 24px; }
.testimonial-author strong { display: block; font-weight: 600; }
.testimonial-author span { font-size: 0.9rem; color: var(--text-light); }

/* ---------- Services list ---------- */
.services-list-section { background: #fafafa; padding: 100px 0; }
.services-content h2 { font-size: 2.2rem; text-align: center; margin-bottom: 60px; }
.services-list {
    display: grid; gap: 24px; max-width: 900px;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); margin: 0 auto;
}
.service-item {
    display: flex; align-items: center; gap: 16px;
    background: #fff; padding: 20px 24px; border-radius: var(--radius); box-shadow: var(--shadow);
    transition: transform var(--transition);
}
.service-item:hover { transform: translateX(8px); }
.check-icon { width: 28px; height: 28px; color: var(--brand); flex-shrink: 0; }
.check-icon svg { width: 100%; height: 100%; fill: currentColor; }
.service-item span { font-weight: 500; }

/* ---------- CTA ---------- */
.cta-section {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #fff; text-align: center; padding: 100px 0;
}
.cta-content h2 { font-size: 2.5rem; margin-bottom: 20px; }
.cta-content > p { max-width: 620px; margin: 0 auto 60px; }
.contact-info {
    display: grid; gap: 40px; margin-bottom: 50px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); text-align: left;
}
.contact-item { display: flex; gap: 18px; }
.contact-icon {
    width: 52px; height: 52px; background: rgba(255, 255, 255, 0.2);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 2; }
.cta-button-large {
    background: #fff; color: var(--brand); border: 0;
    padding: 20px 50px; font-size: 1rem; font-weight: 700; border-radius: var(--radius);
    cursor: pointer; transition: var(--transition);
}
.cta-button-large:hover { background: #f1f4ff; transform: translateY(-3px); box-shadow: var(--shadow); }

/* ---------- Footer ---------- */
.footer { background: #111; color: #fff; padding: 80px 0 30px; }
.footer-content {
    display: grid; gap: 50px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-bottom: 50px;
}
.footer-logo img { height: 52px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-section h3 { color: var(--brand); margin-bottom: 20px; font-size: 1.1rem; }
.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: 10px; }
.footer-section a { color: #ccc; text-decoration: none; transition: var(--transition); }
.footer-section a:hover { color: #fff; }
.social-links { display: flex; gap: 14px; margin-bottom: 26px; }
.social-links a {
    width: 42px; height: 42px; background: rgba(255, 255, 255, 0.12);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.social-links a:hover { background: var(--brand); }
.social-links svg { width: 20px; height: 20px; fill: currentColor; }
.footer-contact p { font-size: 0.9rem; }
.footer-bottom { text-align: center; border-top: 1px solid #222; padding-top: 28px; font-size: 0.85rem; color: #777; }

/* ---------- Animations ---------- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeInUp 0.8s ease-out; }

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
    .nav-menu {
        position: absolute; inset: 100% 0 auto 0; background: #fff; flex-direction: column;
        padding: 24px; gap: 24px; box-shadow: var(--shadow); display: none;
    }
    .nav-menu.show { display: flex; }
    .menu-toggle { display: flex; }
    .hero { padding: 140px 0 80px; }
}
