:root {
    --bs-primary: #2563eb;
    --bs-primary-rgb: 37, 99, 235;
    --ct-primary: #2563eb;
    --ct-primary-dark: #1d4ed8;
    --ct-orange: #f97316;
    --ct-green: #10b981;
    --ct-purple: #8b5cf6;
    --ct-dark: #0f172a;
    --ct-text: #1e293b;
    --ct-muted: #64748b;
    --ct-soft: #f8fafc;
    --ct-border: #e2e8f0;
    --ct-radius: 18px;
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--ct-text);
    background: #fff;
    line-height: 1.6;
}

.fw-black { font-weight: 900; }
.btn-primary { --bs-btn-bg: var(--ct-primary); --bs-btn-border-color: var(--ct-primary); --bs-btn-hover-bg: var(--ct-primary-dark); --bs-btn-hover-border-color: var(--ct-primary-dark); }
.text-primary { color: var(--ct-primary) !important; }

.bg-soft { background: var(--ct-soft); }
.text-white-75 { color: rgba(255,255,255,0.85) !important; }

.py-section { padding: 100px 0; }

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

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--ct-primary);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 18px;
}

.pill {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--ct-primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Navbar */
.ct-navbar {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    padding: 18px 0;
    border-bottom: 1px solid transparent;
}
.ct-navbar.scrolled {
    background: rgba(255,255,255,0.95);
    border-bottom-color: var(--ct-border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    padding: 12px 0;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--ct-primary), var(--ct-purple));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.3);
}
.brand-text {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--ct-dark);
    letter-spacing: -0.5px;
}

.ct-navbar .nav-link {
    color: var(--ct-text) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: 10px;
    transition: all 0.25s;
    font-size: 0.95rem;
}
.ct-navbar .nav-link:hover {
    background: var(--ct-soft);
    color: var(--ct-primary) !important;
}

.btn-cta {
    border-radius: 12px;
    font-weight: 600;
    padding: 12px 24px;
    transition: transform 0.25s, box-shadow 0.25s;
    border-width: 2px;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(37, 99, 235, 0.2); }
.btn-outline-dark.btn-cta:hover { box-shadow: 0 12px 24px rgba(0,0,0,0.1); }

.navbar-toggler { border: none; font-size: 1.4rem; color: var(--ct-text); }
.navbar-toggler:focus { box-shadow: none; }

/* Hero */
.hero {
    padding-top: 90px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fff 0%, #f0f7ff 100%);
}
.hero-blob {
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -150px;
    z-index: 0;
    animation: drift 18s infinite ease-in-out alternate;
}
.hero-blob-2 {
    background: radial-gradient(circle, rgba(249, 115, 22, 0.12) 0%, transparent 70%);
    top: auto; right: auto;
    bottom: -200px; left: -150px;
    width: 600px; height: 600px;
    animation-duration: 22s;
}
@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -30px) scale(1.1); }
}

.stat-row { padding-top: 30px; border-top: 1px solid var(--ct-border); }
.stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--ct-primary), var(--ct-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.stat-label { font-size: 0.85rem; color: var(--ct-muted); margin-top: 4px; }

/* Hero visual */
.hero-visual {
    position: relative;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-shield {
    width: 200px; height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ct-primary), var(--ct-purple));
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 5rem;
    box-shadow: 0 30px 60px rgba(37, 99, 235, 0.35);
    animation: floatY 5s ease-in-out infinite;
    position: relative;
}
.hero-shield::before {
    content: '';
    position: absolute;
    inset: -25px;
    border-radius: 50%;
    border: 2px dashed rgba(37, 99, 235, 0.2);
    animation: spin 22s linear infinite;
}

.floating-card {
    position: absolute;
    background: #fff;
    padding: 14px 18px;
    border-radius: 14px;
    box-shadow: 0 14px 32px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--ct-border);
    z-index: 2;
    animation: floatY 6s ease-in-out infinite;
}
.fc-icon {
    width: 44px; height: 44px;
    border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.bg-blue { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.bg-orange { background: linear-gradient(135deg, #f97316, #fbbf24); }
.bg-green { background: linear-gradient(135deg, #10b981, #34d399); }
.bg-purple { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }

.card-it { top: 8%; left: 0; animation-delay: 0s; }
.card-office { top: 45%; right: 0; animation-delay: 1s; }
.card-web { bottom: 8%; left: 12%; animation-delay: 2s; }

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Brand strip */
.brand-strip {
    background: var(--ct-soft);
    padding: 28px 0;
    border-top: 1px solid var(--ct-border);
    border-bottom: 1px solid var(--ct-border);
    font-weight: 500;
    font-size: 0.9rem;
}

/* About */
.about-visual { position: relative; }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.about-tile {
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    transition: transform 0.4s ease;
}
.about-tile:nth-child(odd) { transform: translateY(-12px); }
.about-tile:hover { transform: scale(1.05); }
.about-tile:nth-child(odd):hover { transform: translateY(-12px) scale(1.05); }
.bg-soft-blue { background: rgba(37, 99, 235, 0.1); color: var(--ct-primary); }
.bg-soft-orange { background: rgba(249, 115, 22, 0.1); color: var(--ct-orange); }
.bg-soft-green { background: rgba(16, 185, 129, 0.1); color: var(--ct-green); }
.bg-soft-purple { background: rgba(139, 92, 246, 0.1); color: var(--ct-purple); }

.feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.feature-item i {
    color: var(--ct-primary);
    font-size: 1.25rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Services */
.service-card {
    background: #fff;
    border: 1px solid var(--ct-border);
    border-radius: 20px;
    padding: 36px 30px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
    position: relative;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border-color: var(--ct-primary);
}
.service-featured {
    background: linear-gradient(180deg, #fff 0%, #fff7ed 100%);
    border-color: rgba(249, 115, 22, 0.3);
}
.featured-badge {
    position: absolute;
    top: 18px; right: 18px;
    background: var(--ct-orange);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}
.sc-icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 22px;
}
.sc-list {
    list-style: none;
    padding: 0;
    margin: 22px 0;
}
.sc-list li {
    padding: 8px 0;
    color: var(--ct-text);
    font-weight: 500;
    border-bottom: 1px solid var(--ct-border);
}
.sc-list li:last-child { border-bottom: none; }
.sc-list i {
    color: var(--ct-primary);
    margin-right: 8px;
    font-size: 0.85rem;
}
.sc-link {
    color: var(--ct-primary);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.2s;
}
.sc-link:hover { color: var(--ct-primary-dark); }

/* Categories */
.cat-card {
    background: #fff;
    border: 1px solid var(--ct-border);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
    cursor: default;
}
.cat-card i {
    font-size: 2rem;
    color: var(--ct-primary);
    display: block;
    margin-bottom: 12px;
    transition: transform 0.3s;
}
.cat-card span {
    display: block;
    font-weight: 600;
    color: var(--ct-text);
}
.cat-card:hover {
    border-color: var(--ct-primary);
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
}
.cat-card:hover i { transform: scale(1.15); }

/* CTA */
.cta-section { padding: 60px 0; }
.cta-card {
    background: linear-gradient(135deg, var(--ct-primary), var(--ct-purple));
    border-radius: 28px;
    padding: 60px;
    box-shadow: 0 30px 60px rgba(37, 99, 235, 0.25);
    position: relative;
    overflow: hidden;
}
.cta-card::before {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    top: -200px; right: -100px;
}

/* Contact */
.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--ct-border);
}
.contact-row:last-child { border-bottom: none; }
.ci-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--ct-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.contact-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    border: 1px solid var(--ct-border);
}
.contact-card .form-control,
.contact-card .form-select {
    border-radius: 12px;
    border: 1.5px solid var(--ct-border);
    padding: 12px 16px;
    transition: all 0.25s;
}
.contact-card .form-control:focus,
.contact-card .form-select:focus {
    border-color: var(--ct-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

/* Footer */
.footer {
    background: var(--ct-dark);
    color: rgba(255,255,255,0.75);
}
.footer .text-muted { color: rgba(255,255,255,0.6) !important; }
.footer h6 { color: #fff; }
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-list li { padding: 5px 0; color: rgba(255,255,255,0.65); }
.footer-list a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-list a:hover { color: var(--ct-primary); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}
.footer-bottom a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    transition: all 0.25s;
    text-decoration: none;
}
.footer-bottom a:hover {
    background: var(--ct-primary);
    transform: translateY(-2px);
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.9s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 991px) {
    .py-section { padding: 70px 0; }
    .hero-visual { height: 380px; margin-top: 30px; }
    .hero-shield { width: 150px; height: 150px; font-size: 3.5rem; }
    .floating-card { padding: 10px 14px; }
    .fc-icon { width: 36px; height: 36px; font-size: 0.95rem; }
    .cta-card { padding: 40px 30px; }
    .ct-navbar.scrolled, .ct-navbar { background: rgba(255,255,255,0.97); }
    .navbar-collapse { padding-top: 14px; }
}

@media (max-width: 575px) {
    .display-3 { font-size: 2.5rem; }
    .display-5 { font-size: 1.8rem; }
    .display-6 { font-size: 1.5rem; }
    .py-section { padding: 60px 0; }
    .stat-number { font-size: 1.6rem; }
    .contact-card { padding: 26px 20px; }
    .cta-card { padding: 30px 22px; }
}
