
:root{
  --steel-blue:#1F4E78;
  --graphite:#333333;
  --accent:#2EA3F2;
  --light-steel:#F4F6F8;
  --panel:#FFFFFF;
  --muted:#6B7280;
  --line:#D8DEE6;
  --success:#0f766e;
}

html{
    scroll-behavior:smooth;

}

body{
  background:var(--light-steel);
  color:var(--graphite);
  font-family:Inter,"Segoe UI",Roboto,Arial,sans-serif;
}

section {
    scroll-margin-top: 100px; /* match your navbar height */
}

.navbar{
  background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(10px);
}

.navbar-brand{
  font-weight:800;
  letter-spacing:.02em;
  color:var(--steel-blue)!important;
}

.nav-link {
    color: var(--graphite) !important;
    font-weight: 600;
    position: relative;
    padding-bottom: 6px;
}

.nav-track {
    position: relative;
}

    .nav-track .nav-link {
        position: relative;
        display: inline-block;
        padding-bottom: 0.5rem;
    }

.nav-slider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0d6efd, #5aa7ff);
    box-shadow: 0 0 10px rgba(13, 110, 253, 0.35);
    transition: left 0.28s ease, width 0.28s ease, opacity 0.2s ease;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .nav-slider {
        display: none;
    }
}

.hero{
  background:
    linear-gradient(135deg, rgba(31,78,120,.96), rgba(20,35,55,.95)),
    radial-gradient(circle at top right, rgba(46,163,242,.18), transparent 30%);
  color:#fff;
  padding:110px 0 84px;
  position:relative;
  overflow:hidden;
}
.hero:after{
  content:"";
  position:absolute;
  inset:auto -12% -120px auto;
  width:560px;
  height:560px;
  background:radial-gradient(circle, rgba(46,163,242,.2), transparent 70%);
  pointer-events:none;
}
.eyebrow{
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.8rem;
  color:rgba(255,255,255,.78);
  margin-bottom:1rem;
  font-weight:700;
}
.hero h1{
  font-size:clamp(2.35rem, 5vw, 4.25rem);
  line-height:1.05;
  font-weight:800;
  max-width:900px;
  margin-bottom:1rem;
}
.hero .lead{
  max-width:780px;
  font-size:1.16rem;
  color:rgba(255,255,255,.9);
  margin-bottom:2rem;
}
.btn-primary-custom{
  background:var(--accent);
  border:none;
  color:#fff;
  font-weight:700;
  padding:.9rem 1.2rem;
  border-radius:1rem;
}
.btn-primary-custom:hover{background:#2296df;color:#fff}
.btn-outline-custom{
  border:1px solid rgba(255,255,255,.34);
  color:#fff;
  font-weight:700;
  padding:.9rem 1.2rem;
  border-radius:1rem;
}
.btn-outline-custom:hover{background:rgba(255,255,255,.08); color:#fff}
.hero-card,.panel,.project-card,.quote-card,.service-card,.article-card,.contact-card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:1.25rem;
  box-shadow:0 10px 28px rgba(17,24,39,.05);
}
.hero-card{
  background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
  padding:1.3rem;
  backdrop-filter:blur(10px);
}
.stat{
  border-left:2px solid rgba(46,163,242,.8);
  padding-left:.8rem;
  margin-bottom:1rem;
}
.stat strong{
  display:block;
  font-size:1.25rem;
  color:#fff;
}
section{padding:72px 0}
.section-title{
  font-size:2rem;
  font-weight:800;
  color:var(--steel-blue);
  margin-bottom:.75rem;
}
.section-sub{
  color:var(--muted);
  max-width:800px;
  margin-bottom:2rem;
}
.panel,.project-card,.quote-card,.service-card,.article-card,.contact-card{padding:1.45rem;height:100%}
.panel h3,.panel h4,.project-card h4,.service-card h4,.article-card h4,.contact-card h4{
  color:var(--steel-blue);
  font-weight:800;
}
.icon-box{
  width:48px;
  height:48px;
  border-radius:.9rem;
  background:rgba(46,163,242,.12);
  color:var(--steel-blue);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  margin-bottom:1rem;
}
.tag{
  display:inline-block;
  padding:.35rem .66rem;
  background:rgba(31,78,120,.08);
  color:var(--steel-blue);
  border-radius:999px;
  font-size:.82rem;
  font-weight:800;
  margin:0 .4rem .4rem 0;
}

.process-step{
  position:relative;
  padding-left:70px;
  min-height:54px;
  margin-bottom:1.35rem;
}

.process-step .num{
  position:absolute; left:0; top:0;
  width:48px; height:48px; border-radius:.9rem;
  background:var(--steel-blue); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-weight:800;
}

.quote-card{
    min-height:250px;
}

.quote-mark{
  font-size:2rem;
  line-height:1;
  color:var(--accent);
  font-weight:900;
}

.quote-mark.right {
    text-align: right;
}
.quote-mark.left {
    text-align: left;
}

.quote-name{
    font-weight:800;
    color:var(--steel-blue);
    padding-top:1.5rem;
}

.quote-role{
    color:var(--muted);
    font-size:.95rem

}

.metric{
  display:flex; align-items:flex-start; gap:1rem;
  padding:1rem 0;
  border-bottom:1px solid var(--line);
}
.metric:last-child{border-bottom:none}
.metric strong{display:block;color:var(--steel-blue)}
.cta-band{
  background:linear-gradient(135deg,var(--steel-blue),#17324c);
  color:#fff;
  border-radius:1.4rem;
  padding:2rem;
}
.page-hero{
  background:linear-gradient(135deg, rgba(31,78,120,.94), rgba(20,35,55,.92));
  color:#fff;
  padding:84px 0 56px;
}
.page-hero h1{
  font-size:clamp(2rem, 4vw, 3.2rem);
  font-weight:800;
}
.list-clean{padding-left:1.15rem}
.list-clean li{margin-bottom:.6rem}

footer{
  padding:32px 0 56px;
  color:var(--muted);
  font-size:.95rem;
}

.small-note{font-size:.92rem;color:var(--muted)}

.card-grid-gap{row-gap:1.5rem}

ins, .underline-accent{text-decoration:none; border-bottom:3px solid rgba(46,163,242,.5)}

.avatar {
    margin: 0 auto;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid #0d6efd;
}

.avatar img {
    width: 100%;
}

.quote-bottom-text {
    display: inline-grid;
    align-items: center;
}

.video-shell {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.video-frame {
    position: relative;
    width: min(100%, 720px);
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    /* glass / industrial body */
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    /* layered border */
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05) inset, 0 0 0 2px rgba(80, 180, 255, 0.08), 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 24px rgba(80, 180, 255, 0.22);
    isolation: isolate;
}

    .video-frame video {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* tinted glass overlay */
    .video-frame::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 2;
        background: linear-gradient( 135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.06) 18%, rgba(255,255,255,0.02) 45%, rgba(0,0,0,0.10) 100% );
    }

    /* glowing edge + industrial highlight */
    .video-frame::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        pointer-events: none;
        z-index: 3;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.20), inset 0 0 18px rgba(120, 220, 255, 0.10), inset 0 0 2px rgba(255,255,255,0.35), 0 0 18px rgba(90, 200, 255, 0.20);
    }

/* soft external glow halo */
.video-glow {
    position: absolute;
    width: min(100%, 760px);
    aspect-ratio: 16 / 9;
    border-radius: 30px;
    filter: blur(30px);
    background: radial-gradient( ellipse at center, rgba(80,180,255,0.25) 0%, rgba(80,180,255,0.12) 40%, rgba(80,180,255,0.00) 75% );
    z-index: 0;
}

.project-card {
    position: relative;
    overflow: hidden;
}

    /* watermark */
    .project-card .watermark {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 120px; /* adjust size */
        opacity: 0.85;
        pointer-events: none; /* prevents blocking clicks */
        z-index: 1;
    }

    /* ensure tags stay above if needed */
    .project-card .tag {
        position: relative;
        z-index: 2;
    }

.media-shell {
    position: relative;
    margin-top: 1.5rem;
}

.media-glow {
    position: absolute;
    inset: 10px;
    border-radius: 22px;
    filter: blur(24px);
    opacity: 0.45;
    pointer-events: none;
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.22), transparent 35%), radial-gradient(circle at 80% 30%, rgba(80,160,255,0.18), transparent 35%), radial-gradient(circle at 50% 100%, rgba(0,255,200,0.12), transparent 40%);
    z-index: 0;
}

.media-frame {
    position: relative;
    z-index: 1;
    border-radius: 22px;
    overflow: hidden;
    padding: 14px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 10px 30px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.12);
}

/* before/after layout */
.before-after-grid {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 0;
    align-items: stretch;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0,0,0,0.2);
}

.ba-panel {
    position: relative;
    min-height: 320px;
    max-height: 350px;
    width:100%;
    height:auto;
    object-fit:contain;
    background: rgba(255,255,255,0.03);
}

    .ba-panel img {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 320px;
        object-fit: cover;
    }

.ba-divider {
    background: linear-gradient( to bottom, rgba(255,255,255,0.05), rgba(255,255,255,0.35), rgba(255,255,255,0.05) );
    width: 1px;
}

.ba-label {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0,0,0,0.42);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* optional subtle overlay for industrial / glass look */
.ba-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255,255,255,0.08), transparent 22%, transparent 78%, rgba(0,0,0,0.12)), linear-gradient(135deg, rgba(255,255,255,0.08), transparent 28%);
}

/* mobile stack */
@media (max-width: 767.98px) {
    .before-after-grid {
        grid-template-columns: 1fr;
    }

    .ba-divider {
        width: 100%;
        height: 1px;
    }

    .ba-panel,
    .ba-panel img {
        min-height: 220px;
    }
}

.form-wrapper {
    display: flex;
    justify-content: center;
    padding: 40px 20px; /* spacing from edges */
}

    .form-wrapper iframe {
        width: 100%;
        max-width: 700px; /* controls form width */
        border: none;
    }

/* Reusable social badge system */
.social-links {
    --social-bg: rgba(255, 255, 255, 0.04);
    --social-bg-hover: rgba(255, 255, 255, 0.08);
    --social-border: rgba(255, 255, 255, 0.10);
    --social-text: #0d6efd;
    --social-subtext: rgba(255, 255, 255, 0.68);
    --social-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    --social-radius: 14px;
    --social-transition: 0.22s ease;
}

.social-badge {
    --brand-rgb: 255, 255, 255;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 100px;
    padding: 0.9rem 1rem;
    border-radius: var(--social-radius);
    text-decoration: none;
    color: var(--social-text);
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)), var(--social-bg);
    border: 1px solid var(--social-border);
    box-shadow: var(--social-shadow);
    backdrop-filter: blur(8px);
    overflow: hidden;
    transition: transform var(--social-transition), border-color var(--social-transition), box-shadow var(--social-transition), background var(--social-transition);
}

    .social-badge::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 115deg, rgba(255,255,255,0) 20%, rgba(255,255,255,0.08) 45%, rgba(255,255,255,0) 70% );
        transform: translateX(-120%);
        transition: transform 0.45s ease;
        pointer-events: none;
    }

    .social-badge::after {
        content: "";
        position: absolute;
        inset: 0;
        border-left: 3px solid rgba(var(--brand-rgb), 0.95);
        pointer-events: none;
    }

    .social-badge:hover {
        text-decoration: none;
        color: var(--social-text);
        transform: translateY(-2px);
        background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03)), var(--social-bg-hover);
        border-color: rgba(var(--brand-rgb), 0.40);
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(var(--brand-rgb), 0.10), 0 0 18px rgba(var(--brand-rgb), 0.18);
    }

        .social-badge:hover::before {
            transform: translateX(120%);
        }

    .social-badge:focus-visible {
        outline: none;
        box-shadow: 0 0 0 2px rgba(var(--brand-rgb), 0.35), 0 0 0 5px rgba(var(--brand-rgb), 0.12);
    }

.social-badge-icon {
    position: relative;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    border: 1px solid rgba(var(--brand-rgb), 0.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 12px rgba(var(--brand-rgb), 0.10);
    color: rgb(var(--brand-rgb));
}

    .social-badge-icon svg {
        width: 22px;
        height: 22px;
        display: block;
    }

.social-badge-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.1;
}

.social-badge-label {
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--social-text);
}

.social-badge-subtext {
    margin-top: 0.22rem;
    font-size: 0.83rem;
    color: var(--social-subtext);
}

/* Brand modifiers */
.social-badge-youtube {
    --brand-rgb: 255, 0, 0;
}

.social-badge-linkedin {
    --brand-rgb: 10, 102, 194;
}

.social-badge-github {
    --brand-rgb: 0,0,0;
}

    .social-badge-github .social-badge-icon {
        color: rgba(var(--brand-rgb), 0.95);
        opacity: 0.9;
    }

    .social-badge-github:hover .social-badge-icon {
        opacity: 1;
    }

/* Optional compact version */
.social-badge.social-badge-compact {
    min-width: 0;
    padding: 0.75rem 0.9rem;
}

    .social-badge.social-badge-compact .social-badge-subtext {
        display: none;
    }

/* Optional icon-only version */
.social-badge.social-badge-icon-only {
    min-width: 0;
    padding: 0.55rem;
    gap: 0;
}

    .social-badge.social-badge-icon-only .social-badge-text {
        display: none;
    }

/* Better stacking on small screens */
@media (max-width: 575.98px) {
    .social-badge {
        width: 100%;
        min-width: 0;
    }
}

/* Container: force single horizontal rail */
.header-social {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

/* Ultra-compact header variant */
.social-badge-header {
    min-width: 0;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* tighter visual */
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
    /* remove large shadows */
    box-shadow: none;
    transition: all 0.18s ease;
}

    /* kill text completely in header */
    .social-badge-header .social-badge-text {
        display: none;
    }

    /* shrink icon container */
    .social-badge-header .social-badge-icon {
        width: 25px;
        height: 25px;
        border: none;
        background: none;
        box-shadow: none;
    }

    /* ensure SVG fits */
    .social-badge-header svg {
        width: 25px;
        height: 25px;
    }

    /* remove left accent bar */
    .social-badge-header::after {
        display: none;
    }

    /* subtle hover (keep it clean for header) */
    .social-badge-header:hover {
        transform: translateY(-1px);
        border-color: rgba(var(--brand-rgb), 0.5);
        box-shadow: 0 0 8px rgba(var(--brand-rgb), 0.25);
    }

/* optional: even tighter spacing in navbar */
.navbar .header-social {
    margin-left: 8px;
}

@media (max-width: 450px) {

    /* allow wrapping inside navbar */
    .navbar .container,
    .navbar .container-fluid {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .navbar-nav {
        width: 100%;
        align-items: center; /* center flex items */
    }
        .navbar-nav .nav-item {
            width: 100%;
        }

        .navbar-nav .nav-link {
            display: block;
            width: 100%;
            text-align: center;
            padding: 10px 0; /* cleaner vertical spacing */
        }

    .navbar .btn,
    .navbar .cta-btn,
    .navbar a.btn { /* covers Bootstrap + your custom class */
        display: block;
        width: 100%;
        margin-top: 8px;
        text-align: center;
    }

    /* optional: keep spacing consistent */
    .navbar-nav .nav-item:last-child {
        margin-bottom: 6px;
    }

    .navbar-brand {
        order: 1;
    }

    .header-social {
        order: 2;
        margin-left: auto; /* pushes to right of logo */
        width: auto;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .navbar-toggler {
        order: 3;
        width: 100%;
        margin-top: 6px;
    }

    /* optional: keep nav menu below everything */
    .navbar-collapse {
        order: 4;
        width: 100%;
        text-align: center;
    }
}