:root {
    --primary: #2563EB;
    --primary-light: #60A5FA;
    --secondary: #7C3AED;
    --accent: #06B6D4;
    --dark: #0F172A;
    --light: #F8FAFC;
    --gray-text: #64748B;
    --border: #E7EAF3;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 65%, var(--accent) 120%);
    --gradient-flat: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-soft: linear-gradient(135deg, rgba(37,99,235,.10), rgba(124,58,237,.08));
    --radius: 20px;
    --radius-sm: 14px;
    --shadow-card: 0 1px 2px rgba(15,23,42,.04), 0 16px 32px -12px rgba(15,23,42,.10);
    --shadow-card-hover: 0 24px 48px -16px rgba(37,99,235,.28);
}

* { box-sizing: border-box; }

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: #1E293B;
    background: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-weight: 800; letter-spacing: -0.02em; }

a { text-decoration: none; }

.text-muted-light { color: #94A3B8; }
.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section { padding: 6.5rem 0; position: relative; }
.section-sm { padding: 4rem 0; position: relative; }
.bg-light-soft { background: var(--light); }
.bg-dark-soft { background: var(--dark); color: #E2E8F0; }

/* Soft decorative color blobs for light sections — pure CSS, no image assets */
.bg-blobs { position: relative; isolation: isolate; }
.bg-blobs::before, .bg-blobs::after {
    content: ""; position: absolute; z-index: -1; border-radius: 50%;
    filter: blur(60px); opacity: .35; pointer-events: none;
}
.bg-blobs::before { width: 420px; height: 420px; top: -120px; left: -160px; background: radial-gradient(circle, var(--primary), transparent 70%); }
.bg-blobs::after { width: 380px; height: 380px; bottom: -140px; right: -140px; background: radial-gradient(circle, var(--secondary), transparent 70%); }

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: var(--gradient-soft);
    color: var(--primary);
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .02em;
    padding: .45rem 1.1rem;
    border-radius: 50px;
    margin-bottom: 1.1rem;
    border: 1px solid rgba(37,99,235,.12);
}

.section-title { font-size: clamp(1.9rem, 3.2vw, 2.75rem); margin-bottom: .85rem; line-height: 1.15; }
.section-subtitle { color: var(--gray-text); font-size: 1.08rem; max-width: 640px; }

/* ---------- Buttons ---------- */
.btn-primary-gradient {
    background: var(--gradient-flat);
    border: none;
    color: #fff;
    font-weight: 700;
    padding: .75rem 1.75rem;
    border-radius: 50px;
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 8px 20px -6px rgba(37,99,235,.45);
}
.btn-primary-gradient:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 16px 32px -8px rgba(37,99,235,.5);
}
.btn-primary-gradient:active { transform: translateY(-1px); }

.btn-outline-light-2 {
    border: 1.5px solid rgba(255,255,255,.45);
    color: #fff;
    font-weight: 700;
    padding: .7rem 1.75rem;
    border-radius: 50px;
    transition: all .25s ease;
    backdrop-filter: blur(6px);
}
.btn-outline-light-2:hover { background: #fff; color: var(--dark); border-color: #fff; transform: translateY(-3px); }

.btn-outline-primary {
    border-radius: 50px; font-weight: 700; border-width: 1.5px;
}
.btn-light { border-radius: 50px; font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
    background: rgba(255,255,255,.78);
    backdrop-filter: saturate(180%) blur(14px);
    box-shadow: 0 1px 0 rgba(15,23,42,.06);
    z-index: 1030;
}
.navbar { padding: .85rem 0; }
.navbar-brand {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--dark) !important;
    display: flex;
    align-items: center;
    gap: .6rem;
}
.brand-mark {
    width: 38px; height: 38px;
    border-radius: 11px;
    background: var(--gradient);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px -4px rgba(37,99,235,.5);
}
.nav-link { font-weight: 600; color: #334155 !important; padding: .55rem 1.05rem !important; border-radius: 50px; transition: all .2s ease; }
.nav-link.active, .nav-link:hover { color: var(--primary) !important; background: rgba(37,99,235,.06); }

.mega-menu { min-width: 580px; padding: 1.4rem; border-radius: var(--radius); border: 1px solid var(--border); }
.mega-menu-item { display: flex; gap: .85rem; padding: .7rem; border-radius: var(--radius-sm); color: #1E293B; transition: background .2s ease; }
.mega-menu-item:hover { background: var(--light); }
.mega-menu-icon {
    width: 44px; height: 44px; flex: none;
    border-radius: 12px;
    background: var(--gradient);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 6px 14px -4px rgba(37,99,235,.45);
}
.mega-menu-title { display: block; font-weight: 700; font-size: .92rem; }
.mega-menu-desc { display: block; font-size: .78rem; color: var(--gray-text); }

/* ---------- Hero ---------- */
.hero {
    background: var(--dark);
    color: #fff;
    position: relative;
    padding: 8rem 0 7rem;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(circle at 12% 18%, rgba(37,99,235,.45), transparent 42%),
                radial-gradient(circle at 88% 78%, rgba(124,58,237,.38), transparent 48%),
                radial-gradient(circle at 60% 0%, rgba(6,182,212,.22), transparent 40%);
}
.hero::after {
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 70%);
    opacity: .5;
}
.hero-content { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); line-height: 1.12; }
.hero p.lead { color: #CBD5E1; font-size: 1.15rem; max-width: 560px; }
.hero-badges { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.75rem; }
.hero-badge {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-sm);
    padding: .85rem 1.25rem;
    backdrop-filter: blur(8px);
}
.hero-badge strong { display: block; font-size: 1.6rem; background: linear-gradient(135deg,#fff,#A5B4FC); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-badge span { color: #94A3B8; font-size: .82rem; font-weight: 600; }
.hero-visual { position: relative; z-index: 1; }
.hero-visual::before {
    content: ""; position: absolute; inset: -10%; z-index: -1; border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,.35), transparent 65%);
    filter: blur(30px);
}

/* ---------- Why choose us / Process / FAQ ---------- */
.feature-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.25rem 1.75rem;
    height: 100%;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    background: #fff;
    box-shadow: var(--shadow-card);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card-hover); border-color: transparent; }
.feature-icon, .icon-badge {
    width: 58px; height: 58px;
    border-radius: 16px;
    background: var(--gradient);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 1.4rem;
    box-shadow: 0 12px 24px -8px rgba(37,99,235,.45);
    transition: transform .3s ease;
}
.feature-card:hover .feature-icon,
.feature-card:hover .icon-badge { transform: rotate(-6deg) scale(1.08); }
.icon-badge-1 { background: linear-gradient(135deg, var(--primary), var(--accent)); box-shadow: 0 12px 24px -8px rgba(6,182,212,.4); }
.icon-badge-2 { background: linear-gradient(135deg, var(--secondary), var(--primary)); box-shadow: 0 12px 24px -8px rgba(124,58,237,.4); }
.icon-badge-0 { background: var(--gradient); }

.process-step { text-align: center; position: relative; }
.process-num {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.25rem;
    margin: 0 auto 1.1rem;
    box-shadow: 0 12px 24px -8px rgba(37,99,235,.45);
    position: relative; z-index: 2;
}
.process-row { position: relative; }
.process-row::before {
    content: "";
    position: absolute; top: 32px; left: 8%; right: 8%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--border) 0, var(--border) 8px, transparent 8px, transparent 16px);
    z-index: 1;
    display: none;
}
@media (min-width: 992px) { .process-row::before { display: block; } }

.accordion-item { border-radius: var(--radius-sm) !important; }
.accordion-button:not(.collapsed) { color: var(--primary); background: var(--gradient-soft); }
.accordion-button:focus { box-shadow: none; border-color: rgba(37,99,235,.2); }

/* ---------- Portfolio ---------- */
.portfolio-card {
    border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--border);
    height: 100%; box-shadow: var(--shadow-card); transition: transform .3s ease, box-shadow .3s ease;
}
.portfolio-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card-hover); }
.portfolio-thumb {
    height: 210px;
    background: var(--gradient);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 1.1rem; text-align: center; padding: 1rem;
    position: relative; overflow: hidden;
}
.portfolio-thumb::after {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.18) 1.5px, transparent 1.5px);
    background-size: 18px 18px;
}
.portfolio-thumb img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); font-weight: 800; }

/* ---------- Testimonials ---------- */
.testimonial-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 2rem; height: 100%; position: relative; box-shadow: var(--shadow-card);
    transition: transform .3s ease, box-shadow .3s ease;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.testimonial-card::before {
    content: "\201C"; position: absolute; top: 1rem; right: 1.5rem;
    font-size: 3.5rem; font-weight: 800; line-height: 1; color: rgba(37,99,235,.10); font-family: Georgia, serif;
}
.avatar-circle {
    width: 50px; height: 50px; border-radius: 50%;
    background: var(--gradient); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 700;
    box-shadow: 0 8px 18px -6px rgba(37,99,235,.45);
}
.rating-stars { color: #F59E0B; }

/* ---------- Pricing ---------- */
.pricing-card {
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 2.25rem; height: 100%; background: #fff; position: relative;
    transition: transform .3s ease, box-shadow .3s ease;
    box-shadow: var(--shadow-card);
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.pricing-card.popular { border: 2px solid transparent; background: linear-gradient(#fff,#fff) padding-box, var(--gradient) border-box; box-shadow: 0 20px 45px -14px rgba(37,99,235,.35); }
.pricing-badge {
    position: absolute; top: -15px; right: 1.75rem;
    background: var(--gradient); color: #fff; font-size: .75rem; font-weight: 800;
    padding: .35rem 1rem; border-radius: 50px;
    box-shadow: 0 8px 16px -4px rgba(37,99,235,.5);
}
.pricing-price { font-size: 2.5rem; font-weight: 800; }
.pricing-price small { font-size: 1rem; font-weight: 600; color: var(--gray-text); }
.pricing-features { list-style: none; padding: 0; margin: 1.5rem 0; }
.pricing-features li { padding: .45rem 0; display: flex; gap: .6rem; align-items: flex-start; }
.pricing-features li i { color: #16A34A; margin-top: .2rem; }

.nav-pills .nav-link { font-weight: 700; border-radius: 50px; padding: .6rem 1.4rem; color: #334155 !important; background: var(--light); }
.nav-pills .nav-link:hover { color: var(--primary) !important; }
.nav-pills .nav-link.active { background: var(--gradient-flat); color: #fff !important; box-shadow: 0 10px 22px -8px rgba(37,99,235,.5); }

/* ---------- Forms / cards ---------- */
.form-control, .form-select {
    border-radius: var(--radius-sm); padding: .7rem 1rem; border: 1px solid var(--border);
}
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(37,99,235,.12); }
.card-surface { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2.1rem; box-shadow: var(--shadow-card); }

.cta-banner {
    background: var(--gradient);
    border-radius: 28px;
    color: #fff;
    padding: 4rem 2.5rem;
    position: relative;
    overflow: hidden;
}
.cta-banner::before, .cta-banner::after {
    content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.12); filter: blur(20px);
}
.cta-banner::before { width: 220px; height: 220px; top: -80px; left: -60px; }
.cta-banner::after { width: 280px; height: 280px; bottom: -120px; right: -80px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #CBD5E1; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gradient); }
.footer-brand { color: #fff; }
.footer-heading { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { color: #94A3B8; transition: color .2s ease; }
.footer-links a:hover { color: #fff; }
.social-icon {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,.08); color: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: all .25s ease;
}
.social-icon:hover { background: var(--gradient); transform: translateY(-3px); box-shadow: 0 10px 20px -6px rgba(37,99,235,.5); }
.newsletter-form .form-control { border-radius: 50px 0 0 50px; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); color: #fff; }
.newsletter-form .form-control::placeholder { color: #64748B; }
.newsletter-form .btn { border-radius: 0 50px 50px 0; }

/* ---------- Floating buttons ---------- */
.whatsapp-float {
    position: fixed; bottom: 24px; left: 24px; z-index: 1040;
    width: 58px; height: 58px; border-radius: 50%;
    background: #25D366; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem; box-shadow: 0 10px 28px rgba(37,211,102,.45);
    transition: transform .25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }
.back-to-top {
    position: fixed; bottom: 24px; right: 24px; z-index: 1040;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--gradient-flat); color: #fff; border: none;
    display: none; align-items: center; justify-content: center;
    box-shadow: 0 10px 25px -6px rgba(37,99,235,.5);
    transition: transform .2s ease;
}
.back-to-top.show { display: flex; }
.back-to-top:hover { transform: translateY(-3px); }

/* ---------- Stats counter ---------- */
.stat-box { text-align: center; }
.stat-num { font-size: 2.75rem; font-weight: 800; background: linear-gradient(135deg,#fff,#A5B4FC); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--gray-text); font-weight: 600; }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-photo {
    width: 112px; height: 112px; border-radius: 50%;
    background: var(--gradient); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.85rem; font-weight: 700; margin: 0 auto 1.1rem;
    box-shadow: 0 14px 28px -8px rgba(37,99,235,.45);
}

/* ---------- Auth (admin login) ---------- */
.auth-wrapper {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: var(--dark);
}
.auth-card { background: #fff; border-radius: var(--radius); padding: 2.5rem; width: 100%; max-width: 420px; }

/* ---------- Admin layout ---------- */
.admin-body { background: #F1F5F9; }
.admin-wrapper { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 250px; flex: none; background: var(--dark); color: #CBD5E1;
    padding: 1.5rem 1rem; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-brand { color: #fff; font-weight: 800; font-size: 1.15rem; margin-bottom: 1.5rem; padding: 0 .5rem; }
.admin-nav { display: flex; flex-direction: column; gap: .25rem; }
.admin-nav-link {
    color: #94A3B8; padding: .65rem .9rem; border-radius: 10px; font-weight: 600; font-size: .92rem;
    display: flex; align-items: center; gap: .7rem;
}
.admin-nav-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-nav-link.active { background: var(--gradient); color: #fff; }
.admin-main { flex: 1; min-width: 0; }
.admin-topbar {
    background: #fff; padding: 1rem 1.5rem; display: flex; align-items: center; gap: 1rem;
    border-bottom: 1px solid #E2E8F0; position: sticky; top: 0; z-index: 10;
}
.admin-page-title { font-size: 1.2rem; margin: 0; flex: 1; }
.admin-topbar-right { display: flex; align-items: center; gap: .75rem; }
.admin-user { font-weight: 600; color: #475569; font-size: .9rem; }
.admin-content { padding: 1.5rem; }
.stat-card { background: #fff; border-radius: var(--radius); padding: 1.5rem; border: 1px solid #E2E8F0; }
.stat-card .icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff; }
.table-admin { background: #fff; border-radius: var(--radius); overflow: hidden; }

@media (max-width: 991px) {
    .admin-sidebar { position: fixed; left: -260px; z-index: 1050; transition: left .25s ease; }
    .admin-sidebar.show { left: 0; }
}
