/*
    MagDynamic Design System
    Tokens: primary #1e6fff, secondary #ffffff, accent #f4f7ff, text #111827
    Typography scale: H1 48px, H2 32px, H3 24px, Body 16px, Small 14px
*/
:root {
    --color-primary: #1e6fff;
    --color-primary-dark: #1554d4;
    --color-secondary: #ffffff;
    --color-accent: #f4f7ff;
    --color-text: #111827;
    --color-muted: #6b7280;
    --color-border: #e3e8f6;
    --color-highlight: #fcbf49;
    --color-surface: #ffffff;
    --color-surface-muted: #eff3ff;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;
    --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.14);
    --font-family-base: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition-base: all 0.3s ease;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    color: var(--color-text);
    background: var(--color-secondary);
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

.page-shell {
    padding-bottom: 4rem;
}

.page-content {
    padding-top: 0;
}

a {
    color: var(--color-primary);
    transition: var(--transition-base);
}

a:hover, a:focus {
    color: var(--color-primary-dark);
    text-decoration: none;
}

.btn, .btn-link {
    border-radius: 0.5rem;
    font-weight: 600;
    transition: var(--transition-base);
}

.btn-primary {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-primary:hover, .btn-primary:focus {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

.btn-outline-primary {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background: var(--color-primary);
    color: #fff;
}

.btn-link {
    color: var(--color-primary);
}

.btn-link:hover, .btn-link:focus {
    color: var(--color-primary-dark);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
}

header .main-nav {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(33,37,41,0.08);
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg,#1e6fff,#1554d4);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.navbar-nav .nav-link {
    position: relative;
    font-weight: 500;
    color: var(--color-text);
    padding: 0.5rem 0;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.25rem;
    height: 3px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link:focus::after, .navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus, .navbar-nav .nav-link.active {
    color: var(--color-primary);
}

.navbar-toggler {
    border-color: rgba(0,0,0,0.12);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

.hero-section {
    background: linear-gradient(140deg,#0a58ca,#0d6efd);
    color: #fff;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%,rgba(255,255,255,0.28),transparent 55%);
    pointer-events: none;
}

.hero-section .hero-card {
    background: rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(6px);
}

.hero-section .hero-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hero-section .hero-card li {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.page-hero {
    background: var(--color-accent);
    padding: 6rem 0 4rem;
    border-bottom: 1px solid var(--color-border);
}

.bg-light {
    background: var(--color-accent) !important;
}

.surface-card, .service-card, .team-card, .portfolio-card, .stat-card, .process-step, .contact-info {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 10px 30px rgba(15,23,42,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card, .team-card, .portfolio-card, .stat-card, .process-step {
    padding: 2rem;
}

.service-card:hover, .team-card:hover, .portfolio-card:hover, .process-step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
}

.service-card .icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(0,123,255,0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1.25rem;
}

.service-card h3, .process-step h4, .team-info h3, .portfolio-content h3 {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.service-card p, .team-info .bio, .portfolio-content p, .process-step p {
    color: var(--color-muted);
    font-size: 0.95rem;
}

.bg-pattern {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at left top,rgba(0,123,255,0.18),transparent 60%), linear-gradient(145deg,rgba(0,123,255,0.18),rgba(0,86,179,0.42));
}

.highlight-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlight-list li {
    display: flex;
    gap: 0.75rem;
    color: var(--color-muted);
    margin-bottom: 0.75rem;
}

.team-card {
    padding: 0;
    overflow: hidden;
}

.team-photo {
    height: 220px;
    background-image: var(--team-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.team-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,transparent,rgba(0,0,0,0.35));
}

.team-info {
    padding: 1.75rem;
}

.team-info .role {
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.portfolio-card {
    padding: 0;
    overflow: hidden;
}

.portfolio-image {
    height: 220px;
    background-image: var(--project-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.portfolio-content {
    padding: 1.75rem;
}

.portfolio-content .tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-pill);
    background: rgba(0,123,255,0.12);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.8rem;
}

.portfolio-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.filter-btn {
    border: 1px solid var(--color-border);
    background: #fff;
    color: var(--color-text);
    border-radius: var(--radius-pill);
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: var(--transition-base);
}

.filter-btn:hover, .filter-btn:focus, .filter-btn.active {
    border-color: transparent;
    background: rgba(0,123,255,0.12);
    color: var(--color-primary);
}

.stat-card {
    text-align: center;
}

.stat-card .stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 1.5rem;
}

.process-step .step-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.contact-form .form-label {
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-form .form-control, .contact-form .form-select {
    border-radius: 0.75rem;
    border-color: rgba(33,37,41,0.12);
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus, .contact-form .form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.15);
}

.contact-form .form-check-input {
    border-radius: 4px;
}

.contact-info {
    border-radius: var(--radius-lg);
    padding: 2.25rem;
}

.contact-info .info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info .icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0,123,255,0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.15rem;
}

.contact-info .label {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-info .value {
    color: var(--color-muted);
}

.map-placeholder {
    background: var(--color-accent);
    padding: 4rem 0;
}

.map-placeholder iframe {
    border: 0;
}

.footer {
    background: #0f172a;
    color: rgba(255,255,255,0.85);
}

.footer h5, .footer h6 {
    color: #fff;
}

.footer-links, .footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.4rem;
}

.footer-links a, .footer-bottom a {
    color: rgba(255,255,255,0.75);
}

.footer-links a:hover, .footer-bottom a:hover {
    color: #fff;
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: rgba(255,255,255,0.75);
    margin-bottom: 0.6rem;
}

.footer-contact i {
    margin-top: 0.2rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition-base);
}

.footer-social a:hover {
    background: #fff;
    color: var(--color-primary);
}

.footer-text {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 2rem;
    padding-top: 1.5rem;
    font-size: 0.9rem;
}

footer .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 0.8rem;
}

@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        padding: 0.75rem 0;
    }

    .hero-section {
        text-align: center;
    }

    .hero-section .hero-card {
        margin-top: 2rem;
    }

    .contact-info {
        margin-top: 1.5rem;
    }

}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 4rem 0;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .team-photo, .portfolio-image {
        height: 200px;
    }

    .stat-card {
        padding: 1.75rem;
    }

}

@media (max-width: 575.98px) {
    body {
        font-size: 0.95rem;
    }

    .display-4, .display-5 {
        font-size: 2.25rem;
    }

    .btn {
        width: 100%;
    }

    .filter-btn {
        flex: 1 0 calc(50% - 0.75rem);
        text-align: center;
    }

}
/* ===== New Homepage Experience ===== */
.site-header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
    transition: box-shadow 0.3s ease;
}

.logo-mark {
    width: 48px;
    height: 48px;
    display: block;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
}
.brand-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.brand-name {
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 1.05rem;
    color: #0b1b4a;
}

.brand-tagline {
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(11, 27, 74, 0.6);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: rgba(17, 24, 39, 0.76);
    padding: 0.5rem 0;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    color: var(--color-primary);
}

.navbar-nav .nav-link::after {
    height: 2px;
    background: linear-gradient(90deg, #1e6fff, #4390ff);
    bottom: -0.35rem;
}

.navbar-toggler {
    border-color: rgba(30, 111, 255, 0.25);
    border-radius: 12px;
    padding: 0.35rem 0.65rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(30, 111, 255, 0.2);
}

.navbar-toggler-icon {
    background-image: linear-gradient(#1e6fff, #1e6fff);
    background-size: 100% 2px;
    background-repeat: no-repeat;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: #1e6fff;
    transition: transform 0.3s ease;
}

.navbar-toggler-icon::before {
    top: -6px;
}

.navbar-toggler-icon::after {
    bottom: -6px;
}

.nav-cta {
    border-radius: var(--radius-pill);
    padding: 0.65rem 1.75rem;
    box-shadow: 0 12px 28px rgba(30, 111, 255, 0.24);
}

.home-hero {
    background: radial-gradient(circle at top right, rgba(67, 144, 255, 0.18), transparent 45%),
                linear-gradient(135deg, #f4f7ff 0%, #ffffff 38%, #e8f0ff 100%);
    padding: 6.5rem 0 5rem;
    position: relative;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.75rem;
    font-weight: 600;
    color: #2563eb;
}

.hero-title {
    font-size: clamp(2.75rem, 4vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    color: #0b1b4a;
    margin: 1.25rem 0;
}

.hero-lead {
    font-size: 1.1rem;
    line-height: 1.75;
    color: rgba(11, 27, 74, 0.72);
    max-width: 33rem;
}

.hero-btn {
    border-radius: var(--radius-pill);
    padding: 0.85rem 2.5rem;
    box-shadow: 0 18px 40px rgba(30, 111, 255, 0.35);
}

.hero-rating .rating-stars {
    color: #f59e0b;
    font-size: 0.95rem;
}

.hero-rating .rating-copy {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    color: rgba(11, 27, 74, 0.72);
}

.hero-rating strong {
    font-size: 1.2rem;
    color: #0b1b4a;
}

.hero-pills {
    display: flex;
    gap: 0.75rem;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.2rem;
    border-radius: var(--radius-pill);
    background: rgba(30, 111, 255, 0.08);
    color: #1e40af;
    font-weight: 500;
    font-size: 0.9rem;
}

.hero-pill i {
    color: #2563eb;
}

.hero-visual {
    min-height: 420px;
    position: relative;
}

.hero-glow {
    position: absolute;
    inset: 8% 12% 15% 12%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(30, 111, 255, 0.15));
    border-radius: 32px;
    filter: blur(0px);
}

.hero-character {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero-character img {
    max-width: 360px;
    width: 100%;
}

.hero-card {
    position: absolute;
    background: #fff;
    padding: 1rem 1.4rem;
    border-radius: 18px;
    display: flex;
    gap: 0.85rem;
    align-items: center;
    color: #0b1b4a;
}

.hero-card small {
    color: rgba(11, 27, 74, 0.64);
    display: block;
    margin-top: 0.25rem;
}

.hero-card--code {
    top: 10%;
    right: 6%;
}

.hero-card--code i {
    color: #2563eb;
    font-size: 1.5rem;
}

.hero-card--metric {
    bottom: 8%;
    left: 10%;
    flex-direction: column;
    min-width: 120px;
    text-align: center;
}

.hero-card--metric .value {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
}

.hero-icon {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    color: #2563eb;
    background: rgba(67, 144, 255, 0.12);
}

.hero-icon--support {
    top: 18%;
    left: 8%;
}

.hero-icon--security {
    bottom: 18%;
    right: 14%;
}

.trusted-strip {
    background: linear-gradient(90deg, #1e6fff 0%, #3d87ff 100%);
    padding: 1.6rem 0;
    color: #fff;
}

.trusted-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.trusted-label {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
}

.trusted-logos {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.trusted-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 600;
    font-size: 1rem;
    opacity: 0.9;
}

.trusted-logo i {
    font-size: 1.25rem;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    font-size: 0.75rem;
    font-weight: 600;
    color: #2563eb;
}

.section-eyebrow::before {
    content: '';
    width: 36px;
    height: 1px;
    background: currentColor;
}

.section-title {
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    font-weight: 700;
    line-height: 1.25;
    color: #0b1b4a;
    margin: 1.25rem 0;
}

.section-lead {
    color: rgba(11, 27, 74, 0.7);
    font-size: 1.05rem;
    line-height: 1.75;
}

.expertise-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 45%, #ffffff 100%);
}

.expertise-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 2rem;
}

.expertise-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.4rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(30, 111, 255, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.expertise-item.active,
.expertise-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(30, 111, 255, 0.12);
    border-color: rgba(30, 111, 255, 0.35);
}

.item-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.item-body h3 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
    color: #0b1b4a;
}

.item-body p {
    margin: 0;
    color: rgba(11, 27, 74, 0.64);
    font-size: 0.95rem;
}

.expertise-item i.fa-chevron-right {
    color: rgba(11, 27, 74, 0.24);
    font-size: 0.85rem;
}

.expertise-visual {
    background: #fff;
    border-radius: 28px;
    padding: 3rem;
    min-height: 430px;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}

.expertise-visual::before {
    content: '';
    position: absolute;
    inset: 18% 18% 22% 18%;
    background: radial-gradient(circle at 20% 20%, rgba(67, 144, 255, 0.18), transparent 60%);
    z-index: 0;
}

.device-panel {
    position: absolute;
    border-radius: 18px;
    background: #fff;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(30, 111, 255, 0.08);
}

.device-panel header,
.device-panel .panel-body {
    padding: 1rem 1.3rem;
}

.device-panel header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    color: #0b1b4a;
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.panel-overview {
    top: 12%;
    left: 8%;
    width: 280px;
}

.chart-bars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    align-items: end;
    margin-bottom: 1.5rem;
}

.chart-bars span {
    display: block;
    height: var(--value);
    background: linear-gradient(180deg, rgba(30, 111, 255, 0.85), rgba(30, 111, 255, 0.6));
    border-radius: 999px;
}

.panel-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: rgba(11, 27, 74, 0.6);
}

.panel-footer strong {
    display: block;
    color: #0b1b4a;
}

.panel-weather {
    top: 60%;
    left: 12%;
    width: 140px;
    text-align: center;
    padding: 1.25rem 1rem;
}

.panel-weather .temp {
    font-size: 2.25rem;
    font-weight: 700;
    color: #2563eb;
}

.panel-mobile {
    top: 18%;
    right: 6%;
    width: 220px;
}

.panel-mobile header {
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.panel-mobile .progress-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(11, 27, 74, 0.6);
    margin-bottom: 0.7rem;
}

.panel-mobile .progress {
    height: 6px;
    background: rgba(30, 111, 255, 0.12);
    border-radius: 999px;
    overflow: hidden;
}

.panel-mobile .progress-bar {
    background: linear-gradient(90deg, #1e6fff, #4390ff);
}

.panel-iot {
    bottom: 10%;
    right: 18%;
    width: 130px;
    text-align: center;
    padding: 1.1rem 1rem;
}

.panel-iot strong {
    font-size: 1.8rem;
    display: block;
    color: #2563eb;
}

.development-section {
    padding: 6rem 0;
}

.development-visual {
    background: linear-gradient(160deg, rgba(67, 144, 255, 0.12) 0%, rgba(30, 111, 255, 0.04) 65%, rgba(255, 255, 255, 0.9) 100%);
    border-radius: 28px;
    padding: 2.5rem;
}

.dev-scene {
    position: relative;
    height: 320px;
    background: #fff;
    border-radius: 22px;
    border: 1px solid rgba(30, 111, 255, 0.12);
    overflow: hidden;
}

.dev-scene::before,
.dev-scene::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(30, 111, 255, 0.14);
}

.dev-scene::before {
    width: 160px;
    height: 160px;
    top: -50px;
    right: -40px;
}

.dev-scene::after {
    width: 120px;
    height: 120px;
    bottom: -30px;
    left: -20px;
}

.scene-crane {
    position: absolute;
    top: 28px;
    left: 50px;
    width: 140px;
    height: 4px;
    background: linear-gradient(90deg, #1e6fff, #4390ff);
}

.scene-crane::after {
    content: '';
    position: absolute;
    top: 4px;
    right: 20px;
    width: 2px;
    height: 70px;
    background: #1e6fff;
}

.scene-platform {
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: 40px;
    background: rgba(30, 111, 255, 0.08);
    border-radius: 18px;
    padding: 1.5rem;
}

.scene-screen {
    width: 70%;
    height: 110px;
    margin: 0 auto 1rem;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(30, 111, 255, 0.18), rgba(30, 111, 255, 0.05));
}

.scene-figures {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.figure {
    width: 32px;
    height: 60px;
    background: linear-gradient(180deg, #1e6fff, #4780ff);
    border-radius: 16px;
    position: relative;
}

.figure::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fef3c7;
}

.scene-cubes {
    position: absolute;
    bottom: 20px;
    left: 24px;
    width: 60px;
    height: 60px;
    background: rgba(30, 111, 255, 0.12);
    border-radius: 14px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: grid;
    gap: 0.75rem;
}

.feature-list li {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    color: rgba(11, 27, 74, 0.72);
}

.feature-list i {
    color: #16a34a;
}

.why-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 60%, #ffffff 100%);
}

.why-gallery {
    position: relative;
    min-height: 360px;
}

.gallery-card {
    position: absolute;
    width: 240px;
    height: 160px;
    border-radius: 22px;
    box-shadow: 0 18px 34px rgba(11, 27, 74, 0.1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.card-one {
    top: 0;
    left: 10%;
    background: url('../images/why-card-1.svg');
}

.card-two {
    top: 70px;
    right: 2%;
    background: url('../images/why-card-2.svg');
}

.card-three {
    bottom: 10px;
    left: 0;
    background: url('../images/why-card-3.svg');
}

.why-accordion .accordion-item {
    border: none;
    border-radius: 18px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(11, 27, 74, 0.08);
}

.why-accordion .accordion-button {
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.15rem 1.5rem;
    border: none;
    background: #fff;
    color: #0b1b4a;
}

.why-accordion .accordion-button:not(.collapsed) {
    color: #1e6fff;
    background: rgba(30, 111, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(30, 111, 255, 0.2);
}

.why-accordion .accordion-body {
    padding: 1.5rem;
    color: rgba(11, 27, 74, 0.7);
    background: #fff;
}

.insights-section {
    padding: 6rem 0;
}

.insight-card {
    background: #fff;
    border-radius: 24px;
    padding: 2.2rem;
    border: 1px solid rgba(30, 111, 255, 0.08);
    box-shadow: 0 16px 24px rgba(11, 27, 74, 0.08);
    height: 100%;
    position: relative;
}

.insight-card .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-pill);
    background: rgba(30, 111, 255, 0.1);
    color: #2563eb;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.7rem;
}

.insight-card h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
    color: #0b1b4a;
}

.insight-card p {
    color: rgba(11, 27, 74, 0.68);
    margin-bottom: 1.75rem;
}

.insight-card a {
    font-weight: 600;
    color: #1e6fff;
}

.careers-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f4f7ff 0%, #ffffff 55%);
}

.careers-panel {
    background: #fff;
    border-radius: 28px;
    padding: 2.5rem;
    box-shadow: 0 24px 48px rgba(30, 64, 175, 0.12);
    border: 1px solid rgba(30, 111, 255, 0.1);
}

.careers-panel .careers-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.9rem;
    border-radius: var(--radius-pill);
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.careers-panel h3 {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.careers-panel ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: grid;
    gap: 1rem;
}

.careers-panel li span {
    display: block;
    font-weight: 600;
    color: #0b1b4a;
}

.careers-panel li small {
    color: rgba(11, 27, 74, 0.6);
}

.careers-panel .btn {
    border-radius: var(--radius-pill);
}

.cta-section {
    padding: 5rem 0 6rem;
}

.cta-card {
    background: linear-gradient(120deg, #1e6fff, #3b82f6);
    border-radius: 32px;
    padding: 3.5rem 4rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    box-shadow: 0 32px 48px rgba(17, 63, 171, 0.32);
}

.cta-card h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.2;
}

.cta-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
}

.cta-card .btn {
    background: #fff;
    color: #1e40af;
    padding: 0.9rem 2.8rem;
    border: none;
}

@media (max-width: 991.98px) {
    .hero-card--code {
        right: 6%;
    }

    .hero-card--metric {
        left: 12%;
    }

    .trusted-inner {
        justify-content: center;
        text-align: center;
    }

    .expertise-visual {
        margin-top: 2rem;
        padding: 2.25rem;
    }

    .card-one,
    .card-two,
    .card-three {
        position: relative;
        width: 100%;
        height: 140px;
        margin-bottom: 1.5rem;
    }

    .why-gallery {
        min-height: auto;
    }

    .cta-card {
        padding: 2.75rem 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .home-hero {
        padding: 5rem 0;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-pills {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 2.5rem;
        min-height: 340px;
    }

    .trusted-strip {
        text-align: center;
    }

    .trusted-logos {
        justify-content: center;
    }

    .expertise-visual {
        padding: 2rem 1.5rem;
    }

    .panel-overview,
    .panel-mobile,
    .panel-weather,
    .panel-iot {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        margin: 0.75rem auto;
        display: block;
    }

    .expertise-visual {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .development-visual {
        margin-bottom: 2rem;
    }

    .cta-card {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .nav-cta {
        display: none;
    }

    .home-hero {
        padding: 4.5rem 0;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-pill {
        width: 100%;
        justify-content: center;
    }

    .trusted-logo {
        width: 100%;
        justify-content: center;
    }

    .expertise-item {
        grid-template-columns: auto 1fr;
    }

    .expertise-item i.fa-chevron-right {
        display: none;
    }

    .cta-card {
        padding: 2.25rem 1.75rem;
    }
}

.footer-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.18);
}
