:root {
  --blue: #083D77;               
  --blue-soft: rgba(43, 76, 122, 0.08); 
  --navy: #15263F;               
  
  --grad: linear-gradient(135deg, #083D77, #2A4B7C, #355E9B);
  
  --acc: #f97316;
  --white: #fff;
  --light: #f0f6ff;
  --text: #0f172a;
  --text2: #475569;
  --text3: #94a3b8;
  --border: #e2e8f0;
  --border2: rgba(29, 53, 87, 0.18);
  --sh: 0 4px 24px rgba(0,0,0,.07);
  --shh: 0 20px 60px rgba(29, 53, 87, 0.18);
  --r: 2px;
  --tr: all .3s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f8fafc;
  color: var(--text);
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ======= SECTION ======= */
#services {
  padding: 72px 5%;
  background: #f8fafc;
  position: relative;
  overflow: hidden;
}

#services::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -180px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(29, 53, 87, 0.07), transparent 70%);
  pointer-events: none;
}

#services::after {
  content: '';
  position: absolute;
  bottom: -180px;
  left: -180px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(21, 38, 63, 0.05), transparent 70%);
  pointer-events: none;
}

.sec-wrap {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}

.sec-head-left {
  flex: 1;
  min-width: 260px;
}

.sec-head-right {
  flex: 1;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(29, 53, 87, 0.08);
  border: 1.5px solid var(--border2);
  color: var(--blue);
  padding: 5px 18px;
  border-radius: var(--r);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.sec-eyebrow .dot {
  width: 7px;
  height: 7px;
  background: var(--acc);
  border-radius: 50%;
  animation: dotpulse 1.5s infinite;
}

@keyframes dotpulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249,115,22,.5); }
  50% { box-shadow: 0 0 0 6px rgba(249,115,22,0); }
}

.sec-head-left h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 0;
  color: var(--text);
}

.sec-head-left h2 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 11px 18px;
  transition: var(--tr);
}

.stat-pill:hover {
  border-color: var(--border2);
  box-shadow: 0 4px 16px rgba(29, 53, 87, 0.1);
}

.stat-pill-ic {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--grad);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .85rem;
}

.stat-pill-text strong {
  display: block;
  font-size: .9rem;
  font-weight: 800;
  color: var(--text);
}

.stat-pill-text span {
  font-size: .72rem;
  color: var(--text3);
}

/* Service Grid */
.srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Service Card */
.s-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--tr);
  opacity: 0;
  transform: translateY(28px);
}

.s-card.vis {
  opacity: 1;
  transform: translateY(0);
}

.s-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shh);
  border-color: var(--border2);
}

/* Card Image */
.sc-img {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
  flex-shrink: 0;
}

.sc-img img {
  transition: transform .55s ease;
}

.s-card:hover .sc-img img {
  transform: scale(1.07);
}

.sc-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(15,23,42,.72) 100%);
}

/* BADGE - BOTTOM RIGHT */
.sc-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--grad);
  color: #fff;
  padding: 4px 13px;
  border-radius: var(--r);
  font-size: .62rem;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(29, 53, 87, 0.35);
}

.sc-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--r);
  font-size: .62rem;
  font-weight: 700;
  z-index: 2;
}

/* Card Body */
.sc-body {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sc-body h3 {
  font-size: .97rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.35;
}

.sc-body p {
  font-size: .8rem;
  color: var(--text3);
  line-height: 1.75;
  margin-bottom: 12px;
}

.sc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 13px;
}

.sc-chip {
  background: var(--light);
  border: 1px solid var(--border2);
  color: var(--blue);
  padding: 3px 10px;
  border-radius: var(--r);
  font-size: .62rem;
  font-weight: 600;
}

.sc-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: .79rem;
  font-weight: 700;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  transition: var(--tr);
  margin-top: auto;
  width: fit-content;
}

.sc-more i {
  font-size: .65rem;
  transition: var(--tr);
}

.sc-more:hover {
  color: var(--navy);
}

.sc-more:hover i {
  transform: translateX(4px);
}

/* Card Footer */
.sc-foot {
  border-top: 1.5px solid var(--border);
  padding: 13px 20px;
  background: rgba(240,246,255,.4);
}

.sc-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--grad);
  color: #fff;
  padding: 11px 16px;
  border-radius: var(--r);
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--tr);
  border: none;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 4px 16px rgba(29, 53, 87, 0.25);
}

.sc-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(29, 53, 87, 0.4);
}

.sc-call .ring-ic {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
  animation: callring 2.5s ease-in-out infinite;
}

@keyframes callring {
  0%, 100% { transform: rotate(0); }
  8% { transform: rotate(-14deg); }
  16% { transform: rotate(14deg); }
  24% { transform: rotate(-9deg); }
  32% { transform: rotate(9deg); }
  40% { transform: rotate(0); }
}

/* ======= MODAL OVERLAY ======= */
.m-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.65);
  backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all .4s cubic-bezier(.4,0,.2,1);
}

.m-overlay.open {
  opacity: 1;
  visibility: visible;
}

.m-box {
  background: #fff;
  border-radius: var(--r);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  transform: scale(.88) translateY(36px);
  transition: all .4s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 40px 120px rgba(0,0,0,.28);
  scrollbar-width: thin;
  scrollbar-color: var(--blue) transparent;
}

.m-box::-webkit-scrollbar {
  width: 4px;
}

.m-box::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 2px;
}

.m-overlay.open .m-box {
  transform: scale(1) translateY(0);
}

.m-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: flex-end;
  padding: 14px 14px 0;
  margin-bottom: -54px;
  pointer-events: none;
}

.m-close {
  width: 38px;
  height: 38px;
  background: rgba(15,23,42,.55);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .95rem;
  cursor: pointer;
  pointer-events: auto;
  transition: var(--tr);
}

.m-close:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: rotate(90deg);
}

.m-img {
  position: relative;
  aspect-ratio: 3/2;
  width: 100%;
  overflow: hidden;
}

.m-img img {
  transition: transform .6s ease;
}

.m-overlay.open .m-img img {
  transform: scale(1.03);
}

.m-img-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.08) 0%, rgba(15,23,42,.72) 100%);
}

.m-img-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--grad);
  color: #fff;
  padding: 5px 16px;
  border-radius: var(--r);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  z-index: 3;
  box-shadow: 0 4px 14px rgba(29, 53, 87, 0.4);
}

.m-img-info {
  position: absolute;
  bottom: 20px;
  left: 22px;
  right: 22px;
  z-index: 3;
}

.m-img-info h2 {
  font-size: 1.45rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.m-price-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  padding: 5px 15px;
  border-radius: var(--r);
  font-size: .76rem;
  font-weight: 700;
}

.m-content {
  padding: 26px;
}

.m-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(29, 53, 87, 0.08);
  border: 1.5px solid var(--border2);
  color: var(--blue);
  padding: 4px 13px;
  border-radius: var(--r);
  font-size: .63rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.m-blog {
  font-size: .87rem;
  color: var(--text2);
  line-height: 2;
  margin-bottom: 18px;
}

.m-blog strong {
  color: var(--text);
  font-weight: 700;
}

.m-blog .hl {
  color: var(--blue);
  font-weight: 700;
}

.m-process {
  margin-bottom: 22px;
}

.m-process-title {
  font-size: .9rem;
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.m-process-title i {
  color: var(--blue);
}

.m-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.m-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: .8rem;
  color: var(--text2);
  line-height: 1.65;
}

.m-step-num {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  background: var(--grad);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  margin-top: 1px;
}

.m-step strong {
  color: var(--text);
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

.m-faq {
  margin-bottom: 22px;
}

.m-faq-title {
  font-size: .9rem;
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.m-faq-title i {
  color: var(--acc);
}

.m-faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin-bottom: 8px;
  overflow: hidden;
}

.m-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  background: var(--white);
  transition: var(--tr);
  border: none;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  text-align: left;
}

.m-faq-q:hover {
  background: var(--light);
}

.m-faq-q i {
  color: var(--blue);
  flex-shrink: 0;
  transition: var(--tr);
}

.m-faq-a {
  display: none;
  padding: 0 14px 12px;
  font-size: .78rem;
  color: var(--text2);
  line-height: 1.75;
}

.m-faq-item.open .m-faq-a {
  display: block;
}

.m-faq-item.open .m-faq-q i {
  transform: rotate(180deg);
}

.m-ben-title {
  font-size: .9rem;
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.m-ben-title i {
  color: var(--blue);
}

.m-ben-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-bottom: 22px;
}

.m-ben {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: .78rem;
  font-weight: 600;
  color: var(--text2);
  transition: var(--tr);
}

.m-ben:hover {
  border-color: var(--border2);
  background: #dbeafe;
}

.m-ben-ic {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  background: var(--grad);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .72rem;
}

.m-kw {
  margin-bottom: 22px;
}

.m-kw h4 {
  font-size: .8rem;
  font-weight: 700;
  color: var(--text3);
  margin-bottom: 10px;
}

.m-kw-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.m-kw-pill {
  background: var(--light);
  border: 1px solid var(--border2);
  color: var(--blue);
  padding: 4px 13px;
  border-radius: var(--r);
  font-size: .67rem;
  font-weight: 600;
}

.m-cta {
  background: linear-gradient(135deg, #083D77, #2A4B7C);
  border-radius: var(--r);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.m-cta-ic {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  animation: callring 2.5s ease-in-out infinite;
}

.m-cta-info {
  flex: 1;
  min-width: 150px;
}

.m-cta-lbl {
  font-size: .58rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .9px;
  font-weight: 700;
}

.m-cta-num {
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
}

.m-cta-sub {
  font-size: .65rem;
  color: rgba(255,255,255,.55);
}

.m-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--acc);
  color: #fff;
  padding: 13px 26px;
  border-radius: var(--r);
  font-size: .85rem;
  font-weight: 800;
  box-shadow: 0 6px 22px rgba(249,115,22,.45);
  transition: var(--tr);
  cursor: pointer;
  border: none;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
}

.m-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(249,115,22,.55);
}

/* ======= RESPONSIVE ======= */
@media(max-width:991px) { .srv-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:767px) {
  #services { padding: 52px 4%; }
  .sec-head { flex-direction: column; gap: 24px; }
  .sec-head-right { width: 100%; }
  .stat-pills { flex-direction: row; flex-wrap: wrap; }
  .stat-pill { flex: 1; min-width: 200px; }
}
@media(max-width:580px) { .srv-grid { grid-template-columns: 1fr; } }
@media(max-width:600px) {
  .m-ben-grid { grid-template-columns: 1fr; }
  .m-img-info h2 { font-size: 1.12rem; }
  .m-content { padding: 18px 16px; }
  .m-cta { flex-direction: column; text-align: center; }
  .m-cta-btn { width: 100%; justify-content: center; }
  .m-topbar { padding: 10px 10px 0; margin-bottom: -50px; }
}
@media(max-width:420px) { #services { padding: 44px 3%; } }