:root {
    --bg: #0b1220;
    --surface: #ffffff;
    --surface-2: #f6f8fc;
    --text: #0e1726;
    --muted: rgba(14, 23, 38, 0.65);
    --border: rgba(14, 23, 38, 0.12);
    --shadow: 0 16px 40px rgba(2, 10, 26, 0.12);
    --shadow-lg: 0 28px 70px rgba(2, 10, 26, 0.18);
    --radius: 18px;
    --radius-sm: 12px;
    --primary: #2563eb;
    --primary-2: #1d4ed8;
    --accent: #06b6d4;
    --gradient: linear-gradient(135deg, #0b1220 0%, #1d2a6a 40%, #2563eb 100%);
    --gradient-2: linear-gradient(135deg, #06b6d4 0%, #2563eb 55%, #7c3aed 100%);
}

html, body {
    height: 100%;
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    background: radial-gradient(1200px 600px at 10% -10%, rgba(37, 99, 235, 0.25), rgba(37, 99, 235, 0) 60%),
        radial-gradient(900px 500px at 90% 0%, rgba(6, 182, 212, 0.22), rgba(6, 182, 212, 0) 55%),
        var(--surface-2);
}

a {
    color: inherit;
}

.text-accent {
    color: var(--accent);
}

.text-gradient {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.min-vh-60 {
    min-height: 60vh;
}

.min-vh-80 {
    min-height: 80vh;
}

.navbar {
    padding: 1rem 0;
    transition: background-color 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.navbar .navbar-brand {
    letter-spacing: 0.2px;
}

.navbar .brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--gradient-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}

.navbar .brand-icon i {
    color: #fff;
    font-size: 1.1rem;
}

.navbar.navbar-dark .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.navbar.navbar-dark .nav-link:hover {
    color: #ffffff;
}

.navbar-scrolled {
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 30px rgba(2, 10, 26, 0.12);
    padding: 0.65rem 0;
}

.navbar.navbar-light .nav-link {
    color: rgba(14, 23, 38, 0.82);
}

.navbar.navbar-light .nav-link:hover {
    color: rgba(14, 23, 38, 1);
}

.navbar .nav-link {
    border-radius: 999px;
    padding: 0.55rem 0.9rem !important;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.navbar .nav-link.active {
    background: rgba(6, 182, 212, 0.18);
}

.navbar.navbar-dark .nav-link.active {
    background: rgba(255, 255, 255, 0.14);
}

.hero-section {
    position: relative;
    overflow: hidden;
    background: var(--gradient);
    color: #fff;
    padding: 7.5rem 0 4.5rem;
}

.hero-section.bg-gradient-primary {
    background: var(--gradient);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: -2px;
    background:
        radial-gradient(600px 400px at 25% 10%, rgba(6, 182, 212, 0.35), rgba(6, 182, 212, 0) 60%),
        radial-gradient(650px 450px at 80% 20%, rgba(124, 58, 237, 0.28), rgba(124, 58, 237, 0) 60%),
        radial-gradient(520px 340px at 60% 110%, rgba(37, 99, 235, 0.4), rgba(37, 99, 235, 0) 60%);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transform: rotate(-1.2deg);
}

.btn {
    border-radius: 999px;
    font-weight: 600;
}

.btn-primary {
    background: var(--gradient-2);
    border: none;
    box-shadow: 0 14px 26px rgba(37, 99, 235, 0.22);
}

.btn-primary:hover {
    filter: saturate(1.05) brightness(1.02);
    transform: translateY(-1px);
}

.btn-outline-light {
    border-width: 2px;
}

section.py-5 {
    padding-top: 5.25rem !important;
    padding-bottom: 5.25rem !important;
}

.section-surface {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.feature-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(14, 23, 38, 0.08);
    border-radius: var(--radius);
    box-shadow: 0 18px 38px rgba(2, 10, 26, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px rgba(2, 10, 26, 0.14);
    background: rgba(255, 255, 255, 0.95);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(6, 182, 212, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 1.55rem;
    color: var(--primary);
}

.card {
    border-radius: var(--radius);
}

.card.card-hover {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.value-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius);
    border: 1px solid rgba(14, 23, 38, 0.08);
    box-shadow: 0 18px 38px rgba(2, 10, 26, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px rgba(2, 10, 26, 0.12);
}

.value-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 14px 26px rgba(37, 99, 235, 0.22);
}

.value-icon i {
    font-size: 1.5rem;
    color: white;
}

.team-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(14, 23, 38, 0.08);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: 0 18px 38px rgba(2, 10, 26, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px rgba(2, 10, 26, 0.12);
}

.team-photo img {
    width: 144px;
    height: 144px;
    object-fit: cover;
    border-radius: 999px;
    border: 6px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 40px rgba(2, 10, 26, 0.18);
}

.filter-btn {
    border-radius: 999px;
    padding: 0.6rem 1rem;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.filter-btn.active {
    background: var(--gradient-2);
    color: white;
    border: none;
    box-shadow: 0 14px 26px rgba(37, 99, 235, 0.18);
}

.filter-btn:hover:not(.active) {
    transform: translateY(-2px);
}

.case-study-card {
    border: 1px solid rgba(14, 23, 38, 0.08) !important;
    border-radius: var(--radius) !important;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.case-tag {
    background: var(--gradient-2);
    color: white;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.18);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(14, 23, 38, 0.08);
    border-left: 4px solid rgba(37, 99, 235, 0.9);
    border-radius: var(--radius);
    box-shadow: 0 18px 38px rgba(2, 10, 26, 0.06);
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.counter {
    animation: countUp 1s ease-out;
}

.footer {
    background: #070d18;
}

.footer a {
    opacity: 0.9;
}

.footer a:hover {
    opacity: 1;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.social-icons a:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 992px) {
    .hero-section {
        padding: 6.75rem 0 4rem;
    }

    section.py-5 {
        padding-top: 4.25rem !important;
        padding-bottom: 4.25rem !important;
    }
}

@media (max-width: 768px) {
    .hero-image img {
        transform: none;
    }

    .team-photo img {
        width: 124px;
        height: 124px;
    }
}
