:root {
  --rr-primary: #0A2E5C;
  --rr-accent: #3DB6FF;
  --rr-bg: #F5F7FA;
  --rr-dark: #0B1220;
}

html, body { height: 100%; }
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, "Helvetica Neue", sans-serif;
  background: #fff;
  color: #1b2430;
}

a { text-decoration: none; }
a:hover { text-decoration: underline; }

.skip-link {
  position: absolute;
  left: -999px;
  top: -999px;
  background: #fff;
  color: #000;
  padding: .5rem .75rem;
  border-radius: .5rem;
  z-index: 9999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(11, 18, 32, .10);
  background: rgba(255,255,255,.96);
}

.navbar-brand .brand-text {
  font-weight: 700;
  color: var(--rr-primary);
  letter-spacing: .2px;
}
.brand-logo {
  width: auto;
  border-radius: 6px;
}

.nav-link {
  font-weight: 600;
  color: #15233b;
}
.nav-link.active, .nav-link:hover {
  color: var(--rr-primary);
}

.btn-primary {
  background: var(--rr-primary);
  border-color: var(--rr-primary);
}
.btn-primary:hover {
  background: #08254a;
  border-color: #08254a;
}
.btn-outline-primary {
  border-color: var(--rr-primary);
  color: var(--rr-primary);
}
.btn-outline-primary:hover {
  background: var(--rr-primary);
  border-color: var(--rr-primary);
}

.hero .carousel-item {
  min-height: 70vh;
}
.hero .slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.55);
}
.hero .carousel-caption {
  left: 0;
  right: 0;
  bottom: 0;
  padding: 4rem 0;
  text-align: left;
}
.hero .hero-inner { max-width: 860px; }
.hero .kicker {
  color: rgba(255,255,255,.85);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .85rem;
}
.hero h1 {
  font-size: clamp(2rem, 3.2vw + 1rem, 3.4rem);
  line-height: 1.1;
  margin: .5rem 0 1rem;
}
.hero p {
  color: rgba(255,255,255,.9);
  font-size: 1.1rem;
  max-width: 46rem;
}

.section-pad { padding: 4rem 0; }

.feature-card {
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 1rem;
  padding: 1.25rem;
  height: 100%;
  box-shadow: 0 10px 25px rgba(11, 18, 32, .06);
}
.feature-card i {
  font-size: 1.6rem;
  color: var(--rr-primary);
}

.page-hero {
  background: linear-gradient(120deg, rgba(10,46,92,.95), rgba(61,182,255,.35)), url('assets/img/slide-consultancy.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
}
.page-hero .container { padding: 3.5rem 0; }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb-item.active { color: rgba(255,255,255,.75); }

.service-card {
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 1rem;
  overflow: hidden;
  height: 100%;
}
.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.service-card .card-body { padding: 1.25rem; }

.badge-soft {
  background: rgba(61,182,255,.18);
  color: var(--rr-primary);
  border: 1px solid rgba(61,182,255,.35);
}

.site-footer {
  background: #0b1730;
  color: rgba(255,255,255,.9);
}
.footer-brand { font-weight: 800; letter-spacing: .2px; }
.footer-title { font-weight: 700; margin-bottom: .75rem; }
.footer-links a {
  color: rgba(255,255,255,.75);
  display: inline-block;
  padding: .25rem 0;
}
.footer-links a:hover { color: #fff; }
.footer-contact { color: rgba(255,255,255,.78); }
.footer-contact li {
  display: flex;
  gap: .6rem;
  margin: .45rem 0;
  align-items: flex-start;
}
.footer-contact i {
  margin-top: .2rem;
  color: rgba(61,182,255,.85);
}
.footer-contact a { color: rgba(255,255,255,.9); }

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
}
.social-btn:hover {
  background: rgba(61,182,255,.18);
  border-color: rgba(61,182,255,.35);
}

.map-embed {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: 1rem;
  overflow: hidden;
}

.form-control:focus, .form-select:focus {
  border-color: rgba(61,182,255,.6);
  box-shadow: 0 0 0 .25rem rgba(61,182,255,.18);
}

/* ----------------------------
   Premium UI enhancements
----------------------------- */
* { scroll-behavior: smooth; }

::selection{
  background: rgba(61,182,255,.35);
}

.shadow-soft{
  box-shadow: 0 18px 40px rgba(11, 18, 32, .10);
}

.glass{
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(15, 23, 42, .08);
  backdrop-filter: blur(10px);
}

.section-divider{
  position: relative;
}
.section-divider::before{
  content:"";
  position:absolute;
  inset: -1px 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(61,182,255,0), rgba(61,182,255,.55), rgba(61,182,255,0));
}

.lift{
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.lift:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(11, 18, 32, .12);
  border-color: rgba(61,182,255,.35) !important;
}

.btn{
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn:active{
  transform: translateY(1px);
}
.btn-primary{
  box-shadow: 0 10px 22px rgba(10,46,92,.18);
}
.btn-primary:hover{
  box-shadow: 0 16px 34px rgba(10,46,92,.28);
}
.btn-outline-light:hover{
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
}

/* Hero premium treatment */
.hero .carousel-caption{
  position: absolute;
}
.hero .hero-inner{
  background: rgba(11, 18, 32, .18);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 1.25rem;
  padding: 1.4rem 1.4rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 22px 60px rgba(0,0,0,.18);
}
@media (min-width: 992px){
  .hero .hero-inner{ padding: 1.7rem 1.8rem; }
}

/* Feature/service cards */
.feature-card{
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,247,250,.92));
}
.service-card{
  background: #fff;
}
.service-card img{
  transition: transform .35s ease, filter .35s ease;
}
.service-card:hover img{
  transform: scale(1.05);
  filter: saturate(1.05);
}
.service-card .card-body{
  position: relative;
}
.service-card .card-body::after{
  content:"";
  position:absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 0.9rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(61,182,255,0), rgba(61,182,255,.65), rgba(61,182,255,0));
  opacity: .0;
  transition: opacity .25s ease;
}
.service-card:hover .card-body::after{ opacity: .9; }

/* Stats pills */
.stat-pill{
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,247,250,.92));
}
.stat-pill .stat-number{
  font-weight: 800;
  letter-spacing: .2px;
  color: var(--rr-primary);
  font-size: 1.6rem;
  line-height: 1.1;
}
.stat-pill .stat-label{
  color: rgba(27,36,48,.70);
  font-weight: 600;
}

/* Back-to-top */
#backToTop{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(11, 18, 32, .75);
  color: #fff;
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 1050;
}
#backToTop.show{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#backToTop:hover{
  background: rgba(10,46,92,.9);
}

/* Reduce motion support */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior: auto !important; }
  .lift, .btn, .service-card img{ transition: none !important; }
}
