:root {
  --brand: #1e67b8;
  --brand-dark: #0b3f74;
  --accent: #5bb8ff;
  --soft: #103d6b;
  --text: #eef6ff;
  --muted: #b4cce6;
  --surface-base: #0a3a68;
  --surface-soft: #124779;
  --surface-elevated: #f6faff;
  --surface-elevated-alt: #e9f2fb;
  --surface-border: rgba(160, 201, 244, 0.28);
  --shadow-strong: 0 22px 48px rgba(3, 19, 36, 0.26);
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Hind Siliguri", "Outfit", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(83, 155, 224, 0.18) 0%, rgba(83, 155, 224, 0) 28%),
    radial-gradient(circle at top right, rgba(126, 193, 255, 0.12) 0%, rgba(126, 193, 255, 0) 24%),
    linear-gradient(180deg, #0b3d6f 0%, var(--surface-base) 22%, #082f57 100%);
  min-height: 100vh;
}

body p,
body li,
body span,
body label,
body small,
body .text-muted {
  color: var(--muted) !important;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
  color: var(--text);
}

a {
  color: #9bd1ff;
}

a:hover {
  color: #c1e3ff;
}

h1, h2, h3, h4, h5, h6, .brand-text {
  font-family: "Outfit", "Hind Siliguri", sans-serif;
}

.topbar {
  background: #062c50;
  color: #fff;
}

.topbar,
.topbar span,
.topbar a,
.topbar i,
.topbar .small {
  color: #ffffff !important;
}

.navbar .brand-text {
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

.navbar .nav-link {
  font-weight: 800;
  color: #ffffff;
  transition: color 0.2s ease;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.navbar .nav-link:hover {
  color: #ffffff;
}

.navbar .nav-link.active {
  color: #ffffff;
  position: relative;
}

.navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 999px;
  background: var(--brand);
}

.navbar.navbar-light.bg-white {
  background: rgba(6, 34, 61, 0.92) !important;
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 28px rgba(2, 15, 30, 0.22) !important;
}

.navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.25);
}

.navbar .navbar-toggler-icon {
  filter: invert(1) brightness(1.8);
}

.btn-primary,
.btn-outline-primary,
.btn-light {
  border-radius: 12px;
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(135deg, #5bb8ff 0%, #1f73c8 100%);
  border-color: #5bb8ff;
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(23, 108, 189, 0.28);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #7bc8ff 0%, #3383d6 100%);
  border-color: #7bc8ff;
  color: #ffffff;
}

.btn-outline-primary {
  color: #ffffff;
  border-color: rgba(155, 209, 255, 0.72);
  background: rgba(15, 59, 103, 0.4);
  font-weight: 800;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  color: #062846;
  background: #9bd1ff;
  border-color: #9bd1ff;
}

.btn-light {
  background: rgba(246, 250, 255, 0.98);
  border-color: rgba(246, 250, 255, 0.98);
  color: #08365f;
  font-weight: 800;
}

.btn-light:hover,
.btn-light:focus {
  background: #ffffff;
  border-color: #ffffff;
  color: #072d52;
}

.home-image-banner {
  width: 100%;
  background: #e8f3fb;
}

.home-image-banner-link {
  display: block;
  text-decoration: none;
}

.home-image-banner .carousel {
  width: 100%;
}

.home-image-banner-img {
  width: 100%;
  height: clamp(180px, 34vw, 420px);
  object-fit: cover;
  object-position: center;
  display: block;
}

.home-image-banner .carousel-control-prev,
.home-image-banner .carousel-control-next {
  width: 42px;
  height: 42px;
  top: auto;
  bottom: 14px;
  align-items: center;
  padding-bottom: 0;
  opacity: 1;
}

.home-image-banner .carousel-control-prev {
  left: calc(50% - 50px);
}

.home-image-banner .carousel-control-next {
  right: auto;
  left: calc(50% + 8px);
}

.home-image-banner .carousel-control-prev-icon,
.home-image-banner .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.35);
  border-radius: 50%;
  background-size: 58%;
}

.home-image-banner .carousel-item {
  transition: transform 1.15s ease-in-out;
}

.home-image-banner-empty {
  min-height: 400px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 600;
  background: linear-gradient(120deg, #eaf4ff 0%, #f4fbff 100%);
}

.hero {
  position: relative;
  padding: 90px 0 70px;
  background:
    radial-gradient(circle at 10% 10%, rgba(118, 181, 246, 0.18) 0%, rgba(118, 181, 246, 0) 34%),
    linear-gradient(135deg, rgba(14, 67, 117, 0.96) 0%, rgba(9, 45, 82, 0.94) 100%);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
  z-index: 0;
}

.hero::before {
  width: 320px;
  height: 320px;
  background: rgba(111, 177, 245, 0.22);
  top: -80px;
  right: 10%;
}

.hero::after {
  width: 220px;
  height: 220px;
  background: rgba(91, 184, 255, 0.14);
  bottom: -60px;
  left: 8%;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: #ffffff !important;
  text-shadow: 0 3px 14px rgba(3, 17, 31, 0.24);
}

.hero .lead {
  color: rgba(255, 255, 255, 0.96) !important;
}

.badge-pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(170, 209, 245, 0.22);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--text);
}

.hero-search .input-group {
  box-shadow: 0 16px 38px rgba(2, 18, 35, 0.24);
  border-radius: 12px;
  overflow: hidden;
}

.hero-search .form-control {
  border: 0;
  padding: 12px 14px;
  background: rgba(246, 250, 255, 0.98);
}

.hero-search .input-group-text {
  border: 0;
  color: #0b3f74;
}

.chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(170, 209, 245, 0.22);
  border-radius: 999px;
  padding: 4px 10px;
  color: #ffffff !important;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.hero-stats h4 {
  color: #ffffff !important;
  margin-bottom: 4px;
}

.hero-stats p {
  color: rgba(255, 255, 255, 0.96) !important;
}

.hero-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid #eef2f7;
}

.hero-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.pill {
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
}

.service-mini {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eef2f7;
}

.service-mini:last-child {
  border-bottom: 0;
}

.service-mini img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
}

.section {
  padding: 80px 0;
  background: transparent;
}

.section-title {
  text-align: center;
  margin-bottom: 36px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.6px;
  color: var(--accent);
  font-weight: 700;
}

.service-card {
  background: linear-gradient(180deg, rgba(246, 250, 255, 0.98) 0%, rgba(233, 242, 251, 0.98) 100%);
  border: 1px solid rgba(187, 214, 240, 0.85);
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-strong);
  color: #12385e;
}

.service-card-icon-wrap {
  width: 48px;
  min-width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 12px;
  padding: 8px;
  border: 2px solid #0f4f91;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}

.service-card i {
  font-size: 32px;
  color: var(--brand);
}

.service-card-icon-image {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.service-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex: 1;
}

.service-card-copy h5 {
  margin: 0 0 10px;
}

.service-card-copy p {
  margin: 0;
}

.section .service-card.service-link {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: start;
  column-gap: 18px;
}

.section .service-card.service-link .service-card-icon-wrap {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.section .service-card.service-link .service-card-copy {
  grid-column: 2;
  grid-row: 1 / span 2;
  padding-top: 2px;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(3, 19, 36, 0.28);
}

.bg-soft {
  background: linear-gradient(180deg, rgba(16, 61, 107, 0.96) 0%, rgba(11, 49, 88, 0.96) 100%);
}

.feature-art {
  display: grid;
  gap: 20px;
}

.floating-card {
  background: linear-gradient(180deg, rgba(246, 250, 255, 0.98) 0%, rgba(233, 242, 251, 0.98) 100%);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(187, 214, 240, 0.85);
  box-shadow: var(--shadow-strong);
  color: #12385e;
}

.floating-card.alt {
  margin-left: 40px;
}

.icon-card {
  display: flex;
  gap: 14px;
  align-items: start;
  background: linear-gradient(180deg, rgba(246, 250, 255, 0.98) 0%, rgba(233, 242, 251, 0.98) 100%);
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(187, 214, 240, 0.85);
  box-shadow: var(--shadow-strong);
  color: #12385e;
}

.icon-card i {
  font-size: 20px;
  color: var(--brand);
}

.icon-card h6 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.icon-card p {
  font-size: 1.15rem;
  line-height: 1.55;
}

.step-card {
  background: linear-gradient(180deg, rgba(246, 250, 255, 0.98) 0%, rgba(233, 242, 251, 0.98) 100%);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(187, 214, 240, 0.85);
  height: 100%;
  box-shadow: var(--shadow-strong);
  color: #12385e;
}

.step-card span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #ffffff !important;
  font-weight: 700;
  margin-bottom: 12px;
}

.app-section {
  background: linear-gradient(120deg, #11518f 0%, #0b3f74 56%, #08335b 100%);
}

.store-btn {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 16px;
  background: rgba(246, 250, 255, 0.98);
  border-radius: 10px;
  color: var(--brand-dark);
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 14px 28px rgba(2, 18, 35, 0.18);
}

.app-card {
  position: relative;
  min-height: 280px;
}

.app-screen {
  position: absolute;
  width: 220px;
  height: 380px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 26px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  right: 40px;
  top: -40px;
  overflow: hidden;
}

.app-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-screen.is-placeholder {
  background: #f2f3f5;
}

.app-screen.alt {
  right: 0;
  top: 10px;
  opacity: 0.9;
}

.testimonial-card {
  background: linear-gradient(180deg, rgba(246, 250, 255, 0.98) 0%, rgba(233, 242, 251, 0.98) 100%);
  border-radius: 16px;
  padding: 22px;
  border: 1px solid rgba(187, 214, 240, 0.85);
  box-shadow: var(--shadow-strong);
  color: #12385e;
}

.stars {
  color: #ffb300;
  margin-bottom: 10px;
}

.blog-card {
  background: linear-gradient(180deg, rgba(246, 250, 255, 0.98) 0%, rgba(233, 242, 251, 0.98) 100%);
  border-radius: 16px;
  border: 1px solid rgba(187, 214, 240, 0.85);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

.blog-card .p-3 {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-img {
  height: 160px;
  background: linear-gradient(120deg, #d6e7ff, #ffd6cf);
}

.blog-img.alt {
  background: linear-gradient(120deg, #ffe2d6, #ffeabf);
}

.blog-img.third {
  background: linear-gradient(120deg, #e2f4d6, #cfe7ff);
}

.blog-read-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  color: var(--brand);
  border: 1px solid rgba(11, 90, 167, 0.3);
  background: linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
  transition: all 0.2s ease;
}

.blog-read-btn::after {
  content: "→";
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.blog-read-btn:hover {
  color: #fff;
  border-color: var(--brand);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  box-shadow: 0 10px 22px rgba(11, 90, 167, 0.25);
}

.blog-read-btn:hover::after {
  transform: translateX(2px);
}

.cta-section {
  padding-top: 0;
}

.cta-card {
  background: linear-gradient(145deg, rgba(14, 67, 117, 0.98) 0%, rgba(10, 49, 89, 0.98) 100%);
  border-radius: 18px;
  padding: 28px;
  border: 1px solid rgba(160, 201, 244, 0.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 24px 52px rgba(2, 18, 35, 0.26);
}

.cta-card p,
.cta-card h3 {
  color: var(--text);
}

.footer {
  background: #0c1b2a;
  color: #c9d7e6;
  padding: 60px 0 30px;
}

.footer a {
  color: #c9d7e6;
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
}

.footer h6 {
  color: #fff;
  margin-bottom: 12px;
}

.footer-services-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
}

.footer-services-grid > div {
  flex: 1 1 0;
  min-width: 0;
}

.footer-services-grid li {
  margin-bottom: 6px;
}

.footer-services-grid a {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-services-col-title {
  margin-top: 0;
  margin-bottom: 10px;
}

.footer-contact-col {
  padding-left: 22px;
}

.socials a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  margin-right: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 20px;
  padding-top: 16px;
  text-align: center;
  font-size: 14px;
}

.page-hero {
  padding: 60px 0;
  background:
    radial-gradient(circle at top left, rgba(91, 184, 255, 0.14) 0%, rgba(91, 184, 255, 0) 24%),
    linear-gradient(120deg, rgba(12, 58, 102, 0.98) 0%, rgba(8, 47, 86, 0.98) 100%);
}

.page-hero .eyebrow,
.page-hero h1,
.page-hero p {
  color: #ffffff !important;
}

.page-hero h1 {
  font-weight: 700;
}

.breadcrumb a {
  color: var(--brand);
  text-decoration: none;
}

.search-card,
.content-card {
  background: linear-gradient(180deg, rgba(246, 250, 255, 0.98) 0%, rgba(233, 242, 251, 0.98) 100%);
  border: 1px solid rgba(187, 214, 240, 0.85);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-strong);
  color: #12385e;
}

.content-card .form-label {
  color: #0f4f91 !important;
  font-weight: 700;
}

.content-card .form-label .text-danger {
  color: #ef3b2d !important;
}

.content-card ul li,
.content-card ul li i,
.content-card ul li span,
.content-card ul li a {
  color: #0f4f91 !important;
}

.service-image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-detail-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e7edf5;
}

.service-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.checklist {
  list-style: none;
  padding-left: 0;
}

.checklist li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 8px;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.price-card {
  background: linear-gradient(180deg, rgba(246, 250, 255, 0.98) 0%, rgba(233, 242, 251, 0.98) 100%);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(187, 214, 240, 0.85);
  height: 100%;
  box-shadow: var(--shadow-strong);
  color: #12385e;
}

.price-card .price {
  font-size: 28px;
  font-weight: 700;
  color: var(--brand);
}

.price-card.featured {
  border-color: var(--brand);
  box-shadow: 0 20px 40px rgba(8, 47, 90, 0.12);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 16px;
  width: 100%;
}

.about-stats-grid .stat-card {
  width: 100%;
}

.about-stats-grid .stat-card h3 {
  font-size: 44px;
  line-height: 1.1;
  margin-bottom: 10px;
}

.about-stats-grid .stat-card p {
  font-size: 24px;
}

.stat-card {
  background: linear-gradient(180deg, rgba(246, 250, 255, 0.98) 0%, rgba(233, 242, 251, 0.98) 100%);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(187, 214, 240, 0.85);
  text-align: center;
  box-shadow: var(--shadow-strong);
  color: #12385e;
}

.team-card {
  background: linear-gradient(180deg, rgba(246, 250, 255, 0.98) 0%, rgba(233, 242, 251, 0.98) 100%);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(187, 214, 240, 0.85);
  text-align: center;
  box-shadow: var(--shadow-strong);
  color: #12385e;
}

.avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(120deg, #d6e7ff, #ffd6cf);
  margin: 0 auto 12px;
}

.avatar.alt {
  background: linear-gradient(120deg, #e3f5d6, #cde9ff);
}

.avatar.third {
  background: linear-gradient(120deg, #ffe6cc, #ffd1dd);
}

.blog-hero {
  height: 240px;
  border-radius: 14px;
  background: linear-gradient(120deg, #d6e7ff, #ffd6cf);
}

.map-box {
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  background: repeating-linear-gradient(
    45deg,
    #f1f4f9,
    #f1f4f9 10px,
    #e7edf5 10px,
    #e7edf5 20px
  );
}

.map-box iframe {
  width: 100% !important;
  max-width: 100%;
  height: 220px !important;
  border: 0;
  display: block;
}

.gallery-category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.gallery-category-card {
  width: min(360px, 100%);
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(187, 214, 240, 0.85);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(246, 250, 255, 0.98) 0%, rgba(233, 242, 251, 0.98) 100%);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.gallery-category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
  border-color: #bcc7d5;
}

.gallery-category-thumb-wrap {
  height: 235px;
  background: #d6dbe2;
}

.gallery-category-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-category-thumb.placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 600;
}

.gallery-category-meta {
  padding: 18px 18px 20px;
}

.gallery-category-meta h3 {
  margin: 0 0 8px;
  font-size: 2rem;
  line-height: 1.15;
  color: #101826;
}

.gallery-category-meta p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 1.25rem;
}

.gallery-read-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 8px;
  background: #209647;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1;
}

.gallery-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.gallery-image-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(187, 214, 240, 0.85);
  background: linear-gradient(180deg, rgba(246, 250, 255, 0.98) 0%, rgba(233, 242, 251, 0.98) 100%);
  box-shadow: var(--shadow-strong);
}

.gallery-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 15, 27, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-lightbox-image {
  max-width: min(1100px, 95vw);
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
  transform: scale(0.92);
  transition: transform 0.28s ease;
}

.gallery-lightbox.is-open .gallery-lightbox-image {
  transform: scale(1);
}

.gallery-lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.gallery-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.34);
}

.auth-section {
  padding: 80px 0;
  background:
    radial-gradient(circle at top left, rgba(91, 184, 255, 0.14) 0%, rgba(91, 184, 255, 0) 24%),
    linear-gradient(120deg, rgba(12, 58, 102, 0.98) 0%, rgba(8, 47, 86, 0.98) 100%);
}

.auth-card {
  background: linear-gradient(180deg, rgba(246, 250, 255, 0.98) 0%, rgba(233, 242, 251, 0.98) 100%);
  border-radius: 18px;
  padding: 28px;
  border: 1px solid rgba(187, 214, 240, 0.85);
  box-shadow: var(--shadow-strong);
  color: #12385e;
}

.auth-card .form-label,
.auth-card .form-check-label,
.auth-card .small,
.auth-card .small a {
  color: #0b3768 !important;
}

.auth-card .text-muted {
  color: #36567d !important;
}

.auth-card .form-control {
  color: #0b3768;
}

.auth-card .form-control::placeholder {
  color: #0b3768;
  opacity: 1;
}

.auth-card .form-check-input {
  border-color: #7fa8d6;
}

.sticky-top-card {
  position: sticky;
  top: 110px;
}

.services-market {
  padding-top: 38px;
  padding-bottom: 80px;
  background:
    radial-gradient(circle at 8% 0%, rgba(216, 234, 255, 0.8) 0%, rgba(255, 255, 255, 0) 38%),
    radial-gradient(circle at 92% 6%, rgba(255, 230, 220, 0.7) 0%, rgba(255, 255, 255, 0) 34%),
    #0c3f71;
  font-family: "Outfit", "Hind Siliguri", sans-serif;
}

.services-market-hero {
  margin-bottom: 18px;
}

.services-market-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 1.05fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 20px;
}

.services-market-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(11, 90, 167, 0.08);
  border: 1px solid rgba(11, 90, 167, 0.16);
  color: #0f4f91;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
}

.services-market-search {
  max-width: 880px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #cfe0f8;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  margin: 0 0 24px;
  box-shadow: 0 12px 30px rgba(13, 53, 102, 0.08);
  backdrop-filter: blur(6px);
}

.services-market-search-top {
  max-width: 100%;
  width: 100%;
  margin: 0;
  align-self: center;
}

.services-market-search i {
  color: #3e5d83;
  font-size: 17px;
}

.services-market-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #10243f;
  font-size: 16px;
  font-weight: 500;
}

.services-market-search input::placeholder {
  color: #7890b1;
}

.services-market-title {
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 800;
  margin: 0;
  color: #0f2744;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.services-market-lead {
  margin: 12px 0 16px;
  max-width: 760px;
  color: #4c627f;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.5;
}

.services-market-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.services-market-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #dbe7f8;
  color: #2d4668;
  font-size: 12px;
  font-weight: 600;
}

.services-market-grid {
  display: grid;
  grid-template-columns: minmax(250px, 290px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.services-market-sidebar {
  position: sticky;
  top: 92px;
  padding: 14px;
  border: 1px solid #d7e5f8;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(246, 250, 255, 0.98) 0%, rgba(233, 242, 251, 0.98) 100%);
  box-shadow: var(--shadow-strong);
}

.services-market-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.services-market-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  padding: 12px 14px;
  color: #1f3552;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.services-market-nav-label {
  display: inline-block;
  line-height: 1.3;
}

.services-market-nav-item:hover {
  background: #edf4ff;
  border-color: #d2e2fb;
  transform: translateX(2px);
}

.services-market-nav-item.is-active {
  background: linear-gradient(135deg, #eff5ff 0%, #e5eeff 100%);
  border-color: #bfd5f6;
  color: #123f78;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(13, 53, 102, 0.1);
}

.services-market-content h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: #17365e;
  letter-spacing: -0.01em;
}

.services-market-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.services-market-card {
  min-width: 0;
}

.services-market-card-image-wrap {
  display: block;
  width: 67%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(18, 28, 42, 0.12);
}

.services-market-card-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.services-market-card-title {
  margin-top: 12px;
  display: inline-block;
  color: #1f2a39;
  text-decoration: none;
  font-size: clamp(18px, 0vw, 36px);
  font-weight: 700;
  line-height: 1.25;
}

.services-market-subtitle {
  margin: 0;
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.25;
  font-weight: 800;
  color: #122f52;
  padding-bottom: 14px;
  letter-spacing: -0.01em;
}

.services-market-category-block + .services-market-category-block {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid #deebfb;
}

.services-market-category-block {
  animation: serviceBlockIn 0.38s ease;
}

.services-market-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.services-market-link-chip {
  text-decoration: none;
  color: #1f2a39;
  font-size: clamp(20px, 1.8vw, 30px);
  font-weight: 600;
  line-height: 1.35;
}

.services-market-link-chip:hover {
  color: var(--brand);
}

.services-market-link-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  border: 1px solid #dbe7f7;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(246, 250, 255, 0.98) 0%, rgba(233, 242, 251, 0.98) 100%);
  max-width: 290px;
  box-shadow: var(--shadow-strong);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.services-market-link-card:hover {
  transform: translateY(-4px);
  border-color: #b9d1f4;
  box-shadow: 0 16px 32px rgba(12, 47, 89, 0.14);
}

.services-market-link-card-image {
  width: 100%;
  height: 145px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.services-market-link-card:hover .services-market-link-card-image {
  transform: scale(1.03);
}

.services-market-link-card-title {
  display: block;
  padding: 10px 12px 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: #17365e;
}

.services-market-overview {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid #d9dee5;
}

.services-market-overview-head h3 {
  margin: 0;
  font-size: clamp(22px, 2vw, 30px);
  color: #1d2c3d;
}

.services-market-overview-head p {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6a7687;
}

.services-market-overview-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.services-overview-card {
  background: linear-gradient(180deg, rgba(246, 250, 255, 0.98) 0%, rgba(233, 242, 251, 0.98) 100%);
  border: 1px solid rgba(187, 214, 240, 0.85);
  border-radius: 14px;
  overflow: hidden;
  min-width: 0;
  box-shadow: var(--shadow-strong);
}

.services-overview-body {
  padding: 14px 16px 16px;
  min-width: 0;
}

.services-overview-title {
  display: inline-block;
  margin-bottom: 10px;
  color: #1f2a39;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.services-overview-title:hover {
  color: var(--brand);
}

.services-overview-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
}

.services-overview-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.services-overview-service {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(187, 214, 240, 0.85);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
}

.service-card h5,
.service-card p,
.floating-card h1,
.floating-card h2,
.floating-card h3,
.floating-card h4,
.floating-card h5,
.floating-card h6,
.floating-card p,
.icon-card h1,
.icon-card h2,
.icon-card h3,
.icon-card h4,
.icon-card h5,
.icon-card h6,
.icon-card p,
.step-card h1,
.step-card h2,
.step-card h3,
.step-card h4,
.step-card h5,
.step-card h6,
.step-card p,
.testimonial-card h1,
.testimonial-card h2,
.testimonial-card h3,
.testimonial-card h4,
.testimonial-card h5,
.testimonial-card h6,
.testimonial-card p,
.testimonial-card span,
.blog-card h1,
.blog-card h2,
.blog-card h3,
.blog-card h4,
.blog-card h5,
.blog-card h6,
.blog-card p,
.search-card h1,
.search-card h2,
.search-card h3,
.search-card h4,
.search-card h5,
.search-card h6,
.search-card p,
.content-card h1,
.content-card h2,
.content-card h3,
.content-card h4,
.content-card h5,
.content-card h6,
.content-card p,
.price-card h1,
.price-card h2,
.price-card h3,
.price-card h4,
.price-card h5,
.price-card h6,
.price-card p,
.stat-card h1,
.stat-card h2,
.stat-card h3,
.stat-card h4,
.stat-card h5,
.stat-card h6,
.stat-card p,
.team-card h1,
.team-card h2,
.team-card h3,
.team-card h4,
.team-card h5,
.team-card h6,
.team-card p,
.gallery-category-meta h3,
.gallery-category-meta p,
.auth-card h1,
.auth-card h2,
.auth-card h3,
.auth-card h4,
.auth-card h5,
.auth-card h6,
.auth-card p {
  color: #12385e !important;
}

.breadcrumb,
.page-hero p,
.services-market-lead,
.services-market-meta span,
.services-market-title,
.services-market-content h2,
.services-market-subtitle {
  color: var(--text);
}

.services-overview-service-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.services-overview-service-title {
  display: block;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: #1f2a39;
}

.services-overview-service:hover .services-overview-service-title {
  color: var(--brand);
}

.services-overview-link {
  text-decoration: none;
  color: #1f2a39;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.services-overview-link:hover {
  color: var(--brand);
}

@keyframes serviceBlockIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991px) {
  .cta-card {
    flex-direction: column;
    text-align: center;
  }

  .floating-card.alt {
    margin-left: 0;
  }

  .app-card {
    min-height: 220px;
  }

  .app-screen {
    width: 180px;
    height: 320px;
  }

  .footer-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    display: grid;
    gap: 18px 20px;
  }

  .about-stats-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  .service-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-contact-col {
    padding-left: 0;
  }

  .services-market-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-market-top {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 20px;
  }

  .services-market-search {
    max-width: 100%;
    margin-bottom: 0;
  }

  .services-market-sidebar {
    position: static;
    padding: 10px;
  }

  .services-market-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .services-market-nav-item {
    border: 1px solid #d2e2fb;
    border-radius: 10px;
    padding: 12px;
    font-size: 15px;
  }

  .services-market-nav-item.is-active {
    border-color: #bfd5f6;
  }

  .services-market-cards,
  .services-market-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-market-content h2 {
    font-size: clamp(28px, 5vw, 40px);
  }

  .services-market-card-title {
    font-size: clamp(20px, 3vw, 28px);
  }

  .services-market-subtitle {
    font-size: clamp(28px, 4.2vw, 38px);
  }

  .services-market-link-chip {
    font-size: clamp(16px, 2.5vw, 22px);
  }

  .services-market-link-card-image {
    height: 155px;
  }

  .services-market-overview-grid {
    grid-template-columns: 1fr;
  }

  .services-overview-services {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .hero {
    padding-top: 60px;
  }

  .hero-card {
    padding: 18px;
  }

  .footer-services-grid {
    grid-template-columns: 1fr;
  }

  .about-stats-grid {
    grid-template-columns: 1fr;
  }

  .service-image-grid {
    grid-template-columns: 1fr;
  }

  .gallery-category-grid {
    grid-template-columns: 1fr;
  }

  .gallery-category-meta h3 {
    font-size: 1.5rem;
  }

  .gallery-category-meta p {
    font-size: 1rem;
  }

  .services-market {
    padding-top: 32px;
  }

  .services-market-search {
    padding: 10px 12px;
  }

  .services-market-search input {
    font-size: 14px;
  }

  .services-market-cards,
  .services-market-links,
  .services-market-nav {
    grid-template-columns: 1fr;
  }

  .services-market-card-image {
    height: 160px;
  }

  .services-overview-links,
  .services-overview-services {
    grid-template-columns: 1fr;
  }

  .services-market-content h2 {
    font-size: 26px;
  }

  .services-market-card-title {
    font-size: 22px;
  }

  .services-market-subtitle {
    margin-top: 4px;
    font-size: 20px;
  }

  .services-market-link-chip {
    font-size: 17px;
  }

  .services-market-link-card-image {
    height: 150px;
  }
}

/* Service listing fine-tuning for dark background */
.services-market.section {
  background:
    radial-gradient(circle at 10% 12%, rgba(113, 181, 248, 0.16) 0%, rgba(113, 181, 248, 0) 24%),
    radial-gradient(circle at 92% 12%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 26%),
    linear-gradient(180deg, #0c4174 0%, #0a3a68 52%, #0a345d 100%);
}

.services-market .services-market-title,
.services-market .services-market-subtitle,
.services-market .services-market-content h2 {
  color: #f3f8ff !important;
  text-shadow: 0 2px 10px rgba(4, 18, 34, 0.22);
}

.services-market .services-market-meta span {
  background: rgba(255, 255, 255, 0.98) !important;
  color: #2d5684 !important;
  border-color: rgba(186, 210, 236, 0.95);
  box-shadow: 0 10px 24px rgba(4, 22, 41, 0.14);
  font-weight: 700;
}

.services-market .services-market-meta i {
  color: #5b83b4 !important;
}

.services-market .services-market-hero {
  padding: 6px 0 2px;
}

.services-market .services-market-title {
  color: #ffffff !important;
  letter-spacing: -0.03em;
  text-shadow: 0 3px 16px rgba(3, 14, 27, 0.28);
}

.services-market .services-market-meta {
  margin-top: 10px;
}

.services-market .services-market-meta .bi,
.services-market .services-market-meta span {
  text-shadow: none;
}

.services-market .services-market-meta .bi,
.services-market .services-market-meta span,
.services-market .services-market-meta strong {
  opacity: 1;
}

.services-market .services-market-search {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(207, 224, 248, 0.92);
  box-shadow: 0 18px 38px rgba(4, 22, 41, 0.16);
  backdrop-filter: none;
}

.services-market .services-market-search i,
.services-market .services-market-search input,
.services-market .services-market-search input::placeholder {
  color: #6f89ad !important;
}

.services-market .services-market-search input {
  color: #2d5684 !important;
  caret-color: #1f5ea8;
  font-weight: 700;
}

.services-market .services-market-search input::placeholder {
  color: #7b96b8 !important;
  font-weight: 600;
}

.services-market .services-market-search i {
  color: #648ab8 !important;
}

.services-market .services-market-search:focus-within {
  border-color: #8fb8e8;
  box-shadow: 0 18px 38px rgba(4, 22, 41, 0.16), 0 0 0 4px rgba(82, 145, 210, 0.16);
}

.services-market .services-market-sidebar {
  background: rgba(246, 250, 255, 0.94);
  border-color: rgba(193, 214, 239, 0.92);
  box-shadow: 0 16px 36px rgba(4, 22, 41, 0.18);
  backdrop-filter: blur(4px);
}

.services-market .services-market-nav-item {
  color: #2a4f79 !important;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(181, 207, 235, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.services-market .services-market-nav-item i {
  color: #2a4f79 !important;
}

.services-market .services-market-nav-label,
.services-market .services-market-nav-item span {
  color: #6f89ab !important;
  font-weight: 700;
}

.services-market .services-market-nav-item.is-active {
  background: linear-gradient(135deg, #ffffff 0%, #edf5ff 100%);
  border-color: #a9c9f0;
  color: #214c7a !important;
  box-shadow: 0 12px 24px rgba(16, 62, 113, 0.14);
}

.services-market .services-market-nav-item.is-active .services-market-nav-label,
.services-market .services-market-nav-item.is-active span,
.services-market .services-market-nav-item.is-active i {
  color: #214c7a !important;
}

.services-market .services-market-links {
  align-items: stretch;
}

.services-market .services-market-link-card {
  width: 100%;
  max-width: none;
  background: rgba(248, 251, 255, 0.97);
  border-color: rgba(193, 214, 239, 0.88);
  box-shadow: 0 16px 34px rgba(4, 22, 41, 0.18);
}

.services-market .services-market-link-card-image {
  height: 205px;
}

.services-market .services-market-link-card-title {
  display: block;
  padding: 13px 14px 15px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5fd 100%);
  color: #0f5fb4 !important;
  font-size: 15px;
  font-weight: 800;
  min-height: 58px;
  border-top: 1px solid rgba(191, 213, 238, 0.95);
  text-shadow: none;
}

.services-market .services-market-category-block + .services-market-category-block {
  border-top-color: rgba(190, 215, 241, 0.32);
}

@media (max-width: 991px) {
  .services-market .services-market-link-card-image {
    height: 185px;
  }
}

@media (max-width: 575px) {
  .services-market .services-market-link-card-image {
    height: 165px;
  }
}
