
:root{
    /* Brand palette — tweak to match your logo */
    --rc-primary:#0f4c75;   /* deep blue */
    --rc-accent:#19a974;    /* green */
    --rc-dark:#0b2e4e;      /* darker blue */
    --rc-light:#f7fbff;     /* near-white */
}
body{
    font-feature-settings:"liga" on;
}

/* Navbar */
.navbar{
    --bs-navbar-color:#fff;
    --bs-navbar-hover-color:var(--rc-accent);
}
.navbar-brand{
    letter-spacing:.5px;
    font-weight:700
}

/* Hero */
.hero{
    background: radial-gradient(1200px 600px at 10% 10%, rgba(255,255,255,.25), transparent 40%),
        radial-gradient(1000px 600px at 90% 10%, rgba(255,255,255,.18), transparent 45%),
        linear-gradient(135deg, var(--rc-dark) 0%, var(--rc-primary) 60%, #123a61 100%);
    color:#fff;
    position:relative;
    overflow:hidden;
}
.hero .bg-shape{
    position:absolute;
    inset:auto -10% -15% -10%;
    height:500px;
    filter:blur(60px);
    opacity:.35;
    background: conic-gradient(from 200deg at 40% 40%, var(--rc-accent), #60d394, #5ec7f7, var(--rc-accent));
    transform:translateY(40px) rotate(3deg);
}
.hero h1{
    font-weight:800;
    letter-spacing:.3px
}
.hero p.lead{
    opacity:.9
}
.badge-pill{
    border-radius:50rem;
}

/* Section headings */
.section-title{
    font-weight:800;
    letter-spacing:.3px
}
.section-sub{
    opacity:.75
}

/* Cards */
.service-card .icon{
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    border-radius:12px;
    background:rgba(25,169,116,.12);
    color:var(--rc-accent)
}

/* Services centering fix */
#services .row.g-4{
    justify-content:center
}
/* Force columns to center their content */
#services .row.g-4 > [class*="col"]{
    display:flex;
    justify-content:center
}
/* Cap card width so they don't stretch full row */
#services .card.service-card{
    max-width:320px;
    width:100%;
    text-align:left;
    margin-left:auto;
    margin-right:auto
}
#services .card.service-card .d-flex{
    justify-content:center
}



/* Portfolio */
#portfolio{
    background-color:#eee;
}
.portfolio .card{
    border:0;
    box-shadow:0 8px 30px rgba(13, 50, 89, .08)
}
.portfolio .card img{
    aspect-ratio:16/10;
    object-fit:cover
}

/* Footer */
footer{
    background:#071d33;
    color:#cfe3ff
}

/* Buttons */
.btn-accent{
    background:var(--rc-accent);
    border:0
}
.btn-accent:hover{
    background:#179665
}

.btn-outline-light:hover{
    color:#0b2e4e;
    background:#fff
}

/* Small helpers */
.trusted-logos img{
    filter:grayscale(1);
    opacity:.75;
    height:24px
}
.trusted-logos img:hover{
    filter:none;
    opacity:1
}
/* Footer link visibility & accessibility */
footer a {
    color: #cfe3ff;              /* light on #071d33 background */
    text-decoration: none;
}
footer a:hover,
footer a:focus {
    color: var(--rc-accent);      /* your green accent */
    text-decoration: underline;   /* clear affordance */
    outline: none;
}

/* Optional: tweak the divider dot/pipe color to match */
footer .small,
footer .small span,
footer .small .mx-2 {
    color: #cfe3ff;
}
/* Scroll-to-top button */
.to-top-btn{
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--rc-accent);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.22);
    cursor: pointer;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, background .2s ease;
    z-index: 1040; /* above most content, below navbar if sticky */
}
.to-top-btn:hover,
.to-top-btn:focus{
    background: #179665;
    outline: none;
}
.to-top-btn.show{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@media (max-width: 575.98px){
    .hero .btn.btn-lg{
        padding-left:1rem;
        padding-right:1rem;
    }
    .hero .cta-group{
        gap:.5rem;
    }
}
/* width helpers to override w-100 from sm+ */
@media (min-width: 576px){
    .w-sm-auto {
        width: auto !important;
    }
}

/* nicer buttons on phones */
@media (max-width: 575.98px){
    .hero .btn {
        white-space: normal;
    }   /* allow wrapping */
    .hero .cta-group {
        gap: .5rem;
    }
}
@media (min-width: 992px){
  .badge-center-lg { display:block; margin-left:auto; margin-right:auto; }
}
.mt10{
    margin-top:10px;
}
.sw-borders{
    border: solid 1px #aaa;
}

/* Keep the visual inside the left column's height on desktop */
#heroVisual { max-width: 100%;}
#heroVisual .hero-visual-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* no cropping; scale to fit box */
  
}

/* Let JS set the max-height only on lg+ screens */
@media (min-width: 992px) {
  #heroVisual { height: 100%; }
}
.service-card {
  transition: transform .18s ease, box-shadow .18s ease;
  border-radius: 1rem;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 .5rem 1.25rem rgba(0,0,0,.08);
}
.icon-pill {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: rgba(25,135,84,.12); /* Bootstrap success tone */
  color: #198754;
  font-size: 1.25rem;
}
/* Soft, blended hero container */
.blend-hero{
  /* match Bootstrap .bg-light (#f8f9fa) used on your hero section */
  background:#f8f9fa;              /* same as the section bg */
  border-radius:1rem;
  border:none;                      /* remove hard border */
  box-shadow:
    0 .25rem .75rem rgba(0,0,0,.06),   /* soft outer */
    inset 0 0 0 1px rgba(0,0,0,.03);   /* faint inner hairline for definition */
}

/* Optional: add a super subtle texture so white PNGs don’t look “pasted on” */
.blend-hero{
  background-image:
    radial-gradient(1000px 600px at 100% -50%, rgba(0,0,0,.02), transparent 60%),
    radial-gradient(800px 400px at -30% 120%, rgba(0,0,0,.015), transparent 55%);
  background-blend-mode: normal;
}

/* Keep image contained without cropping */
.hero-visual-img{
  width:100%;
  height:auto;
  display:block;
}

/* Respect left-column height on desktop if you used the sync script */
@media (min-width:992px){
  .hero-visual{ max-height: var(--hero-left-height, none); }
}

.snapshot-carousel .snapshot-img { object-fit: cover; border-radius: .5rem; }
.snapshot-carousel .carousel-indicators [data-bs-target]{
  width: .6rem; height: .6rem; border-radius: 50%;
  background-color: #6c757d; opacity: .4; margin: 0 .25rem;
}
.snapshot-carousel .carousel-indicators .active{ opacity: 1; background-color: #198754; }
.snapshot-details .detail{ display: none; }
.snapshot-details .detail.active{ display: block; }

.logo{
    width:250px;
    height:auto;
}