:root {
  --primary: #0d1b2a;
  --primary-dark: #08121f;
  --accent: #195869;
  --accent-dark: #13424f;
  --transparent-accent: #b5d5dd7d;
  --light: #f4f6fb;
  --text: #1b1f2a;
  --muted: #6c7a89;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background-color: #ffffff;
  line-height: 1.7;
}

p {
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--muted);
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.navbar-brand {
  font-family: "Plus Jakarta Sans", sans-serif;
}

.text-accent {
  color: var(--accent);
}

.topbar {
  background-color: var(--primary-dark);
  color: #dfe6f1;
  font-size: 0.95rem;
}

.navbar-brand {
  font-size: 1.3rem;
  letter-spacing: 0.01em;
}

.navbar .nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 0.86rem;
}

.navbar .btn-primary {
  font-size: 0.98rem;
  font-weight: 600;
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-collapse {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .navbar-expand-lg .navbar-nav {
    grid-column: 2;
    margin: 0;
  }

  .navbar-expand-lg .nav-cta {
    grid-column: 3;
    justify-self: end;
  }
}

.navbar.navbar-transparent {
  background-color: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(10px);
  box-shadow: none !important;
}

.navbar.navbar-scrolled {
  background-color: #ffffff !important;
  box-shadow: 0 12px 30px rgba(13, 27, 42, 0.08);
}

.service-landing .navbar {
  padding-top: calc(0.5rem + 17.5px);
  padding-bottom: calc(0.5rem + 17.5px);
}

.service-landing .brand-logo {
  height: 45px;
  width: auto;
  display: block;
}

@media (max-width: 767px) {
  .service-landing .brand-logo {
    height: 31.5px;
  }
}

.topbar-link {
  color: #dfe6f1;
  text-decoration: none;
}

.topbar-link:hover {
  color: var(--accent);
}

.topbar-pill {
  background: var(--transparent-accent);
  color: #e6fff4;
  border: 1px solid rgba(38, 196, 133, 0.35);
}

.navbar .btn-primary {
  padding: 0.6rem 1.4rem;
}

.hero-section {
  padding: 6rem 0 5rem;
  background: linear-gradient(120deg, #f9fbff 0%, #f2f7ff 100%);
}

.hero-shape {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(0);
  opacity: 0.5;
  z-index: 0;
}

.hero-shape-1 {
  background: #d09d753b;
  top: -120px;
  right: -80px;
}

.hero-shape-2 {
  background: #d09d753b;
  bottom: 59px;
  left: -160px;
  width: 294px;
  height: 294px;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: var(--transparent-accent);
  color: var(--accent-dark);
  font-weight: 600;
}

.hero-review {
  font-size: 0.95rem;
}

.hero-stars {
  color: #ffb703;
  font-size: 1.1rem;
}

.hero-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(13, 27, 42, 0.12);
}

.soft-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(13, 27, 42, 0.12);
  border: 1px solid rgba(13, 27, 42, 0.06);
}

.soft-card--dark {
  background: linear-gradient(140deg, rgba(13, 27, 42, 0.98), rgba(13, 27, 42, 0.9));
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-media {
  position: relative;
  padding-bottom: 3.5rem;
}

.hero-image-wrapper {
  position: relative;
  padding: 0.6rem;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(38, 196, 133, 0.22), rgba(13, 27, 42, 0.12));
  box-shadow: 0 24px 55px rgba(13, 27, 42, 0.12);
  overflow: hidden;
}

.hero-image {
  width: 100%;
  border-radius: 125px;
  border: 10px solid #d09d753b;
}

.hero-image-wrapper::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  background: rgba(38, 196, 133, 0.35);
  background: rgba(38, 196, 133, 0.18);
  border: none;
  right: -30px;
  z-index: 0;
  filter: blur(4px);
}

.hero-image-wrapper::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  background: rgba(13, 27, 42, 0.18);
  border-radius: 60% 40% 46% 54% / 56% 62% 38% 44%;
  bottom: -40px;
  left: -30px;
  z-index: 0;
  filter: blur(3px);
}

.hero-image-wrapper .hero-image {
  position: relative;
  z-index: 1;
}

.hero-card-overlay {
  position: absolute;
  bottom: -2.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(390px, 86%);
  padding: 1.5rem !important;
  z-index: 2;
  box-shadow: 0 -8px 28px rgba(13, 27, 42, 0.18);
}

.hero-card-overlay h5 {
  font-size: 1rem;
}

.hero-card-overlay p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.hero-card-overlay .icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-size: 0.9rem;
}

.hero-card-overlay .hero-card-footer h4 {
  font-size: 1.1rem;
}

.hero-card-overlay .hero-card-footer p {
  font-size: 0.78rem;
}

.hero-card-footer {
  border-top: 1px solid #eef1f6;
  padding-top: 1.5rem;
}

.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--transparent-accent);
  display: grid;
  place-items: center;
  color: var(--accent-dark);
  font-weight: 700;
}

.section-padding {
  padding: 5.5rem 0;
}

.section-transition-top {
  background: linear-gradient(180deg, #f2f7ff 0%, #ffffff 55%);
}

.section-transition {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 45%, #f4f6fb 100%);
}

.section-transition-bottom {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 25%, #f8fafc 70%, #ffffff 100%);
}

.blog-section {
  background: #ffffff;
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-image {
  height: 250px;
}

.blog-content {
  padding: 1.2rem 1.4rem 1.4rem;
}

.blog-meta {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.blog-card h5 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.blog-card p {
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.blog-link {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 600;
}

.blog-link:hover {
  color: var(--accent);
}

.section-tag {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.section-title {
  margin-top: 0.85rem;
  margin-bottom: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
}

.section-title + p {
  margin-top: -0.1rem;
}

.section-intro {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.services-intro {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.section-intro .section-tag {
  display: inline-block;
  margin-bottom: 0.8rem;
}

.section-intro .section-title {
  margin-top: 0;
  margin-bottom: 1.2rem;
}

.section-intro p {
  margin-bottom: 0;
}

.image-card {
  background: linear-gradient(135deg, rgba(13, 27, 42, 0.08), rgba(38, 196, 133, 0.18));
  border-radius: 24px;
  padding: 1.5rem;
}

.image-card-inner {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(13, 27, 42, 0.08);
}

.media-card {
  padding: 1.5rem;
}

.media-card .image-frame {  
  border-radius: 26px;
  box-shadow: 0 18px 40px rgba(13, 27, 42, 0.08);
}

.media-card .section-image {
  border-radius: 24px;
}

.media-caption {
  padding: 1.6rem 0 0.2rem;
}

.media-caption h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.media-caption p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.about-intro .section-tag {
  margin-bottom: 0.9rem;
}

.about-intro .section-title {
  font-size: clamp(1.8rem, 2.2vw, 2.2rem);
  margin-bottom: 1rem;
}

.about-intro .text-muted {
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 1.6rem;
}

.image-frame {
  border-radius: 22px;
  overflow: hidden;
  background: #f3f6fb;
  box-shadow: inset 0 0 0 1px rgba(13, 27, 42, 0.08);
}

.image-frame-lg {
  min-height: 320px;
}

.image-frame-md {
  min-height: 240px;
}

.image-frame-sm {
  min-height: 180px;
}

.image-frame-xl {
  height: 620px;
}

.image-frame-xl .section-image {
  height: 100%;
}

.services-hero {
  position: relative;
}

.services-video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #0b1a2a;
  cursor: pointer;
}

.services-video-embed,
.services-video-iframe {
  width: 100%;
  height: 100%;
}

.services-video-iframe {
  border: 0;
  display: block;
}

.services-video-cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(13, 27, 42, 0) 20%, rgba(13, 27, 42, 0.55) 100%);
  color: #ffffff;
  pointer-events: none;
}

.services-video-play {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(13, 27, 42, 0.7);
  color: #ffffff;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}

.services-video-play::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 9px solid #ffffff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  display: inline-block;
}

.services-hero-card {
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  padding: 0.64rem 0.9rem;
  border-radius: 16px;
}

.services-hero-card .service-card-header {
  margin-bottom: 0;
  gap: 0.55rem;
}

.services-hero-card h5 {
  font-size: 0.59rem;
}

.services-hero-card .service-icon {
  width: 32px;
  height: 32px;
  border-radius: 11px;
  font-size: 0.9rem;
}

.video-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 15, 24, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1050;
}

.video-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.video-overlay-backdrop {
  position: absolute;
  inset: 0;
}

.video-overlay-content {
  position: relative;
  z-index: 1;
  width: min(960px, 92vw);
  background: #0b1a2a;
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.video-overlay-frame {
  position: relative;
  padding-top: 56.25%;
  border-radius: 16px;
  overflow: hidden;
  background: #000000;
}

.video-overlay-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-overlay-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.no-scroll {
  overflow: hidden;
}

.section-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.image-placeholder {
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(13, 27, 42, 0.08), rgba(38, 196, 133, 0.2));
  border: 1px dashed rgba(13, 27, 42, 0.2);
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
}

.image-placeholder-hero {
  min-height: 220px;
}

.image-placeholder-lg {
  min-height: 320px;
}

.image-placeholder-md {
  min-height: 240px;
}

.image-placeholder-sm {
  min-height: 180px;
}

.list-checked {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.list-checked li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.75rem;
}

.list-checked li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.list-checked-box li {
  padding-left: 2.6rem;
  color: var(--muted);
}

.list-checked-box li::before {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: #ffffff;
  border: 2px solid var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  font-size: 0.85rem;
}

.info-card {
  padding: 1.25rem 1.5rem;
  height: 100%;
}

.info-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.info-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--transparent-accent);
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.info-card h6 {
  font-size: 0.93rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.info-card p {
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.85rem;
}

.service-card {
  padding: 2rem;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.service-card-header h5 {
  margin-bottom: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.service-card .service-card-link {
  color: inherit !important;
  text-decoration: none !important;
}

.service-card .service-card-link:visited {
  color: inherit !important;
}

.service-card .service-card-link:hover,
.service-card .service-card-link:focus {
  color: inherit !important;
  text-decoration: none !important;
}

.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--transparent-accent);
  border: none;
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: none;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 70px rgba(13, 27, 42, 0.18);
}

#services .soft-card {
  box-shadow: 0 15px 35px rgba(13, 27, 42, 0.12);
}

#services .service-card:hover {
  box-shadow: 0 17px 35px rgba(13, 27, 42, 0.18);
}

.credential-list {
  display: grid;
  gap: 1.25rem;
}

.credential-list ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.credentials-card {
  padding: 2.4rem;
}

.credential-block {
  padding: 1.25rem 1.5rem;
}

.credential-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.credential-block summary {
  list-style: none;
  cursor: pointer;
}

.credential-block summary::-webkit-details-marker {
  display: none;
}

.credential-block > .credential-content {
  display: block;
}

.credential-title {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.credential-toggle {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  border: 1px solid rgba(25, 88, 105, 0.3);
  color: var(--accent-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 600;
  font-size: 0.9rem;
}

.credential-toggle::before {
  content: "+";
}

.credential-block[open] .credential-toggle::before {
  content: "-";
}

.credential-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: var(--transparent-accent);
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.credential-block h6 {
  margin: 0;
  font-weight: 600;
}

.credential-listing {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  margin-bottom: 0;
}

.credential-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.credential-block[open] .credential-content {
  max-height: 520px;
  opacity: 1;
}

.credential-actions {
  margin-top: 0.9rem;
}

.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4,
.blog-post-content h5,
.blog-post-content h6 {
  margin-top: 25px;
}

.blog-post-content p {
  line-height: 1.95;
}

.credentials-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.credentials-stack .image-frame {
  flex: 1 1 auto;
}

.highlight-card {
  padding: 2.5rem;
}

.bg-dark {
  background-color: var(--primary) !important;
}

.list-checked-light li::before {
  color: #9ef0c4;
}

.quote-card {
  padding: 2.5rem;
}

.quote {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.6;
}

.quote-author {
  display: block;
  margin-top: 1rem;
  color: #9ec5ff;
}

.contact-card {
  display: grid;
  gap: 1.5rem;
  padding: 2rem;
}

.form-card {
  padding: 2rem;
}

.form-card .form-label {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.footer {
  background: #f8f9fc;
  padding: 4rem 0 2rem;
}

.footer-cta {
  padding: 2.2rem 2.5rem;
  margin-bottom: 2.5rem;
  background: #ffffff;
  margin-top: -8.25rem;
}

#experience {
  padding-bottom: calc(5.5rem + 60px);
}

#credentials {
  background: linear-gradient(0deg, #f8fafc 0%, #ffffff 70%);
}

.footer-cta .section-title {
  margin-bottom: 0.8rem;
}

.footer-link {
  color: var(--muted);
  text-decoration: none;
}

.footer .list-unstyled li {
  margin-bottom: 0.6rem;
}

.footer .list-unstyled li:last-child {
  margin-bottom: 0;
}

.footer-link:hover {
  color: var(--accent-dark);
}

.footer-bottom {
  border-top: 1px solid #e4e8f0;
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.btn-primary {
  background-color: var(--accent);
  border-color: var(--accent);
}

.btn-primary:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn-outline-primary {
  color: var(--accent-dark);
  border-color: var(--accent);
}

.btn-outline-primary:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

@media (max-width: 991px) {
  .hero-section {
    padding-top: 4.5rem;
  }

  .hero-card {
    margin-top: 2rem;
  }

  .hero-card-overlay {
    position: static;
    width: 100%;
    margin-top: 1.5rem;
  }

  .section-padding {
    padding: 4.5rem 0;
  }
}
