/* Site-wide responsive polish layer */
:root {
  --fd-ink: #17191d;
  --fd-muted: #6d6961;
  --fd-soft: #f8f3eb;
  --fd-panel: #ffffff;
  --fd-line: #e7dfd2;
  --fd-dark: #1f2125;
  --fd-deep: #223035;
  --fd-gold: #c99138;
  --fd-gold-bright: #e1b261;
  --fd-radius: 18px;
  --fd-shadow: 0 24px 70px rgba(28, 24, 18, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--fd-ink);
  background: var(--fd-soft);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

/* Home hero slider */
.ftco-section {
  background: #15171a;
}

#featured-carousel .work-wrap {
  min-height: clamp(560px, 78vh, 780px);
  background: #15171a;
}

#featured-carousel .work-wrap .text {
  flex: 0 0 46%;
  max-width: 46%;
  background: linear-gradient(135deg, rgba(21, 23, 26, 0.98), rgba(34, 48, 53, 0.95));
  padding: clamp(34px, 6vw, 86px) !important;
}

#featured-carousel .work-wrap .img {
  flex: 0 0 54%;
  max-width: 54%;
  min-height: clamp(420px, 78vh, 780px);
  background-size: cover;
  background-position: center;
}

#featured-carousel .desc {
  max-width: 620px;
}

#featured-carousel h2 {
  font-size: clamp(34px, 4.4vw, 68px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: 0;
}

#featured-carousel p {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.65;
}

img,
video,
iframe {
  max-width: 100%;
}

a {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

a:hover {
  text-decoration: none;
}

section {
  position: relative;
}

.container {
  max-width: 1180px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: 0;
}

p {
  color: var(--fd-muted);
}

.text-size-18,
.text-size-16,
.text-size-14 {
  color: inherit;
}

/* Shared page sections */
.aboutpage-section,
.team-section,
.servicepage-section,
.portfolio-section,
.blogpage-section,
.singleblog-section,
.contactinfo-section,
.contact-section,
.service_detail {
  padding: clamp(64px, 9vw, 118px) 0 !important;
}

.aboutpage-section,
.team-section,
.blogpage-section,
.singleblog-section,
.contact-section,
.contactinfo-section {
  background: var(--fd-soft) !important;
}

.portfolio-section,
.servicepage-section,
.service_detail {
  background: linear-gradient(135deg, #1f2a2e, var(--fd-deep)) !important;
}

.aboutpage-section h2,
.team-section h2,
.blogpage-section h2,
.contact-section h2,
.contactinfo-section h2 {
  color: var(--fd-ink) !important;
}

.portfolio-section h2,
.portfolio-section h3,
.portfolio-section h4,
.servicepage-section h2,
.servicepage-section h3,
.service_detail h2,
.service_detail h3 {
  color: #ffffff !important;
}

/* Buttons */
.btn,
button,
.read_more,
.send_now,
.get_started,
.contact_us {
  max-width: 100%;
}

.btn-primary,
.btn-connect,
.send_now,
.about-button .read_more,
.footer-button .get_started {
  border-radius: 999px !important;
  border: 1px solid var(--fd-gold) !important;
  background: var(--fd-gold) !important;
  color: #171717 !important;
  font-weight: 700 !important;
  box-shadow: 0 14px 30px rgba(201, 145, 56, 0.22);
}

.btn-primary:hover,
.btn-connect:hover,
.send_now:hover,
.about-button .read_more:hover,
.footer-button .get_started:hover {
  transform: translateY(-2px);
  background: var(--fd-dark) !important;
  border-color: var(--fd-dark) !important;
  color: #ffffff !important;
}

/* Cards and images */
.box-content,
.blog-box,
.main-box,
.contect-box,
.team-box,
.box,
.image,
.singleblog-section .main-box {
  border-radius: var(--fd-radius);
}

.blog-box,
.team-box,
.singleblog-section .main-box,
.contact-section .contect-box {
  overflow: hidden;
  background: var(--fd-panel);
  box-shadow: var(--fd-shadow);
}

.blog-box img,
.team-box img,
.portfolio-section .image img,
.servicepage-section img,
.singleblog-section .main-box img,
.aboutpage-section img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Portfolio */
.portfolio-section .nav-tabs {
  gap: 10px;
  padding: 0 !important;
  margin-bottom: clamp(28px, 5vw, 52px) !important;
  border: 0;
}

.portfolio-section .nav-tabs li {
  margin: 0 !important;
}

.portfolio-section .tabs-box .nav-tabs li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 15px;
  line-height: 1.25;
}

.portfolio-section .tabs-box .nav-tabs li a.active,
.portfolio-section .tabs-box .nav-tabs li a:hover {
  background: var(--fd-gold);
  border-color: var(--fd-gold) !important;
  color: #171717 !important;
}

.portfolio-section .image-container {
  display: block !important;
  margin-bottom: 28px;
}

.portfolio-section .image {
  overflow: hidden;
  background: #111;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.portfolio-section .image img {
  aspect-ratio: 4 / 3;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.portfolio-section .image-container:hover .tab-image,
.portfolio-section .image-container:hover img {
  opacity: 0.72;
  transform: scale(1.04);
}

.portfolio-section .image-overlay {
  inset: auto 18px 18px 18px !important;
  transform: none !important;
  z-index: 2;
  padding: 0 !important;
  text-align: left !important;
}

.portfolio-section .hover-text {
  position: static !important;
  transform: none !important;
  opacity: 1 !important;
  display: inline-block;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.62);
  color: #ffffff !important;
  font-size: 16px !important;
  line-height: 1.25;
  text-align: left;
}

/* Blog */
.blog-area {
  padding: clamp(68px, 9vw, 112px) 0 !important;
  background: linear-gradient(135deg, #1e2e36, #172125) !important;
  overflow: hidden;
}

.blog-area .container {
  position: relative;
}

.blog-title {
  color: #ffffff !important;
  font-size: clamp(34px, 4vw, 56px) !important;
  line-height: 1.08;
  margin-bottom: clamp(28px, 4vw, 48px) !important;
}

.blog-carousel .owl-stage {
  display: flex;
}

.blog-carousel .owl-item {
  display: flex;
}

.blog-carousel .blog-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.blog-carousel .blog-image {
  overflow: hidden;
  background: #111;
}

.blog-carousel .blog-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto !important;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.blog-carousel .blog-item:hover .blog-image img {
  transform: scale(1.05);
  opacity: 0.92;
}

.blog-carousel .blog-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px !important;
  background: #ffffff !important;
  text-align: left;
}

.blog-carousel .blog-content h5 {
  color: var(--fd-ink) !important;
  font-size: clamp(18px, 1.6vw, 23px) !important;
  line-height: 1.28;
  margin-bottom: 18px !important;
}

.blog-carousel .blog-button {
  margin-top: auto;
  justify-content: flex-start !important;
}

.blog-carousel .blog-button a {
  width: auto !important;
  min-height: 42px;
  padding: 10px 18px !important;
  border: 1px solid var(--fd-gold) !important;
  border-radius: 999px !important;
  background: var(--fd-gold) !important;
  color: #171717 !important;
  font-weight: 700;
}

.blog-carousel .blog-button a:hover {
  background: var(--fd-dark) !important;
  border-color: var(--fd-dark) !important;
  color: #ffffff !important;
}

.blog-carousel.owl-theme .owl-dots {
  margin-top: 28px;
}

.blog-carousel.owl-theme .owl-dots .owl-dot span {
  width: 11px;
  height: 11px;
  background: rgba(255, 255, 255, 0.32);
}

.blog-carousel.owl-theme .owl-dots .owl-dot.active span,
.blog-carousel.owl-theme .owl-dots .owl-dot:hover span {
  background: var(--fd-gold);
}

.blog-carousel .owl-nav {
  pointer-events: none;
}

.blog-carousel .owl-nav button {
  pointer-events: auto;
}

.blogpage-section .blog_content h2,
.blog-section .blog_content h2 {
  color: var(--fd-ink) !important;
  font-size: clamp(34px, 4vw, 56px);
}

.blogpage-section .blog-box {
  height: calc(100% - 30px);
  margin-bottom: 30px;
}

.blogpage-section .blog-image img,
.blog-section .image img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.blogpage-section .lower-portion,
.blogpage-section .button-portion,
.blog-section .box-content {
  background: #ffffff;
}

.blogpage-section .lower-portion h5,
.blog-section .box-content h5 {
  color: var(--fd-ink) !important;
}

.blogpage-section .read_more {
  color: #171717 !important;
  background: var(--fd-gold) !important;
  border-radius: 999px;
  min-height: 42px;
  padding: 10px 18px;
}

.singleblog-section .main-box {
  padding: clamp(18px, 4vw, 38px);
}

.singleblog-section .content1 h4 {
  color: var(--fd-ink) !important;
  font-size: clamp(26px, 3vw, 42px);
  margin-top: 24px;
}

.singleblog-section .content1 p {
  color: #4f4b45 !important;
  font-size: 17px;
  line-height: 1.75;
}

.blog-detail-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(560px, 76vh, 720px);
  padding: clamp(86px, 10vw, 140px) 0 clamp(44px, 6vw, 76px);
  background: #101315;
}

.blog-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(225,178,97,.18), transparent 28%),
    linear-gradient(135deg, rgba(16,19,21,.98), rgba(34,48,53,.92));
}

.blog-detail-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(225,178,97,.55), transparent);
}

.blog-detail-hero .container {
  position: relative;
  z-index: 2;
  max-width: 1240px;
}

.blog-detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
}

.blog-detail-kicker,
.blog-detail-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--fd-gold-bright);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.blog-detail-kicker::before,
.blog-detail-label::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 99px;
  background: var(--fd-gold-bright);
}

.blog-detail-hero h1 {
  color: #ffffff;
  max-width: 780px;
  margin: 0 0 22px;
  font-size: clamp(40px, 5.4vw, 78px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.blog-detail-hero p {
  max-width: 640px;
  margin: 0;
  color: rgba(255,255,255,.78) !important;
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.68;
}

.blog-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.blog-detail-actions a,
.blog-detail-return {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none !important;
}

.blog-detail-actions a:first-child,
.blog-detail-return {
  border: 1px solid var(--fd-gold-bright);
  background: var(--fd-gold-bright);
  color: #17191d !important;
}

.blog-detail-actions a:last-child {
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  color: #ffffff !important;
}

.blog-detail-actions a:hover,
.blog-detail-return:hover {
  transform: translateY(-2px);
}

.blog-detail-hero-image {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 28px;
  background: rgba(255,255,255,.08);
  box-shadow: 0 34px 100px rgba(0,0,0,.34);
}

.blog-detail-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.28));
  pointer-events: none;
}

.blog-detail-hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.singleblog-section.blog-detail-section {
  background:
    radial-gradient(circle at 10% 10%, rgba(225,178,97,.12), transparent 26%),
    linear-gradient(135deg, #f8f3eb 0%, #efe2d0 100%) !important;
}

.blog-detail-section .container {
  max-width: 1240px;
}

.blog-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  align-items: start;
  gap: clamp(22px, 3vw, 38px);
}

.blog-detail-article {
  min-width: 0;
}

.blog-detail-section .main-box {
  overflow: hidden;
  padding: 0 !important;
  border: 1px solid rgba(34,48,53,.1);
  border-radius: 28px;
  background: #ffffff !important;
  box-shadow: 0 30px 100px rgba(32,26,18,.14);
}

.blog-detail-section .main-box .image1 {
  overflow: hidden;
  margin: 0 !important;
  background: #111417;
}

.blog-detail-section .main-box .image1 img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.blog-detail-section .main-box .content1 {
  padding: clamp(24px, 5vw, 58px);
}

.blog-detail-section .content1 h4 {
  color: var(--fd-ink) !important;
  max-width: 820px;
  margin: 0 0 22px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.05;
  font-weight: 800;
}

.blog-detail-body,
.blog-detail-body p,
.blog-detail-section .content1 > p {
  color: #4f4b45 !important;
  font-size: clamp(16px, 1.25vw, 19px) !important;
  line-height: 1.82 !important;
}

.blog-detail-body {
  display: block;
  width: 100%;
  max-width: 820px;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.blog-detail-body > *:first-child {
  margin-top: 0 !important;
}

.blog-detail-body p,
.blog-detail-body ul,
.blog-detail-body ol,
.blog-detail-body blockquote,
.blog-detail-body table {
  margin-bottom: 20px;
}

.blog-detail-body ul,
.blog-detail-body ol {
  padding-left: 24px;
}

.blog-detail-body li {
  margin-bottom: 8px;
  color: #4f4b45 !important;
  font-size: clamp(16px, 1.25vw, 19px) !important;
  line-height: 1.75 !important;
}

.blog-detail-body img {
  display: block;
  width: 100%;
  height: auto !important;
  margin: 28px 0;
  border-radius: 18px;
  object-fit: cover;
}

.blog-detail-body table {
  display: block;
  width: 100% !important;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.blog-detail-empty {
  text-align: left;
}

.blog-related-sidebar {
  min-width: 0;
}

.blog-related-panel {
  position: sticky;
  top: 96px;
  overflow: hidden;
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid rgba(34,48,53,.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 24px 80px rgba(32,26,18,.12);
  backdrop-filter: blur(16px);
}

.blog-related-panel h3 {
  margin: 0 0 18px;
  color: var(--fd-ink) !important;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.08;
  font-weight: 800;
}

.blog-related-list {
  display: grid;
  gap: 14px;
}

.blog-related-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 5px 14px;
  align-items: center;
  min-height: 106px;
  padding: 10px;
  border: 1px solid rgba(34,48,53,.09);
  border-radius: 16px;
  background: #ffffff;
  color: var(--fd-ink) !important;
  text-decoration: none !important;
  box-shadow: 0 12px 34px rgba(32,26,18,.08);
}

.blog-related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201,145,56,.45);
  box-shadow: 0 20px 48px rgba(32,26,18,.14);
}

.blog-related-card figure {
  grid-row: 1 / 3;
  overflow: hidden;
  width: 92px;
  height: 86px;
  margin: 0;
  border-radius: 12px;
  background: #111417;
}

.blog-related-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .32s ease, opacity .32s ease;
}

.blog-related-card:hover img {
  transform: scale(1.06);
  opacity: .92;
}

.blog-related-card span {
  align-self: end;
  color: #9a671f;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.blog-related-card strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--fd-ink);
  font-size: 15px;
  line-height: 1.28;
  font-weight: 800;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.blog-related-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: 18px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--fd-dark);
  color: #ffffff !important;
  font-weight: 800;
  text-decoration: none !important;
}

.blog-related-view-all:hover {
  transform: translateY(-2px);
  background: var(--fd-gold);
  color: #17191d !important;
}

/* Forms and contact */
.contact-section .contect-box {
  padding: clamp(18px, 4vw, 44px);
  background: linear-gradient(135deg, #1f2125, #26383d);
}

.contact-section .contect-box .content {
  padding: 0 !important;
}

.contact-section h6 {
  color: var(--fd-gold-bright) !important;
}

.contact-section p,
.contact-section label,
.contact-section .form-check-label {
  color: rgba(255, 255, 255, 0.82) !important;
}

.contact-section form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-section .form-group {
  width: 100% !important;
  margin: 0 !important;
}

.contact-section .form-group[style*="width: 100"],
.contact-section .form-group[style*="width:100"],
.contact-section textarea,
.contact-section .button {
  grid-column: 1 / -1;
}

.form_style,
.form-control,
input,
select,
textarea {
  max-width: 100%;
}

.contact-section .form_style,
.contact-section .form-control {
  width: 100% !important;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  padding: 12px 14px !important;
}

.contact-section .form_style::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.contact-section select option {
  color: #171717;
}

.contact-section .form-check-inline {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  margin: 7px 16px 7px 0 !important;
}

.contact-section .form-check-input {
  width: 16px !important;
  height: 16px;
  margin: 0 !important;
}

.contact-section .send_now {
  min-height: 52px;
  padding: 13px 26px;
}

/* Content pages */
.aboutpage-section .aboutpage_content,
.service_detail .main-box,
.contactinfo-section .box,
.team-section .team-box {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(201, 145, 56, 0.16);
  border-radius: var(--fd-radius);
  box-shadow: var(--fd-shadow);
}

.aboutpage-section .aboutpage_content,
.service_detail .main-box {
  padding: clamp(22px, 4vw, 42px);
}

.service_detail .main-box {
  background: #ffffff;
}

.service_detail .main-box h3,
.service_detail .main-box p,
.service_detail .main-box li {
  color: var(--fd-ink) !important;
}

/* Home services and service page */
#services.service-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(225, 178, 97, 0.13), transparent 30%),
    linear-gradient(135deg, #1c292d 0%, #253a3f 58%, #172023 100%) !important;
}

#services .service_content {
  text-align: center;
}

#services .service_content h2 {
  color: #ffffff !important;
  letter-spacing: 0;
}

#services .service_content h4 {
  max-width: 900px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.78) !important;
}

#services .what-we-do {
  width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#services .what-we-do .item {
  padding: 8px;
}

#services .box-content {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.075) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22) !important;
  overflow: hidden;
}

#services .upper_portion,
#services .upper_portion .image {
  width: 100%;
  overflow: hidden;
}

#services .upper_portion img {
  width: 100% !important;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transform: scale(1.001);
}

#services .lower_portion_wrapper {
  flex: 1;
  padding: clamp(20px, 2.4vw, 30px) !important;
}

#services .lower_portion h5 {
  color: #ffffff !important;
  font-size: clamp(21px, 2vw, 28px) !important;
  line-height: 1.2;
  margin-bottom: 12px;
}

#services .lower_portion p {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 16px !important;
  line-height: 1.62 !important;
}

#services .owl-stage {
  display: flex;
}

#services .owl-item {
  display: flex;
}

#services .owl-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px !important;
  position: static !important;
}

#services .owl-nav .owl-prev,
#services .owl-nav .owl-next {
  position: static !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 46px !important;
  height: 46px !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  font-size: 28px !important;
  line-height: 1 !important;
}

.servicepage-section {
  overflow: hidden;
}

.servicepage-section .container,
.servicepage-section .row,
.servicepage-section [class*="col-"] {
  min-width: 0;
}

.servicepage-section .service-box {
  width: 100%;
  min-width: 0;
  padding: clamp(22px, 4vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 16% 0%, rgba(225, 178, 97, 0.16), transparent 26%),
    linear-gradient(135deg, #20262a 0%, #283a3f 55%, #14191c 100%) !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.servicepage-section .service-box > .container {
  max-width: 1180px;
  padding-left: 0;
  padding-right: 0;
}

.servicepage-section h4,
.servicepage-section .subheading {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: clamp(18px, 4vw, 44px) auto 22px !important;
  padding: 10px 18px;
  border: 1px solid rgba(225, 178, 97, 0.36);
  border-radius: 999px;
  background: rgba(225, 178, 97, 0.12);
  color: #f4d29a !important;
  font-size: clamp(18px, 2vw, 26px) !important;
  line-height: 1.25;
  text-align: center;
}

.servicepage-section .main-timeline {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}

.servicepage-section .main-timeline::before,
.servicepage-section .timeline::before,
.servicepage-section .timeline-icon::before,
.servicepage-section .timeline-icon::after,
.servicepage-section .timeline-content::before,
.servicepage-section .timeline-content::after {
  display: none !important;
}

.servicepage-section .main-timeline .subheading {
  grid-column: 1 / -1;
}

.servicepage-section .main-timeline .timeline {
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  margin: 0 !important;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
  color: #ffffff !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.servicepage-section .main-timeline .timeline:hover {
  transform: translateY(-3px);
  border-color: rgba(225, 178, 97, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.servicepage-section .main-timeline .timeline-icon,
.servicepage-section .main-timeline .timeline:nth-child(even) .timeline-icon,
.servicepage-section .main-timeline .timeline.exp-fourth .timeline-icon {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 58px !important;
  height: 58px !important;
  padding: 0 !important;
  border: 1px solid rgba(225, 178, 97, 0.45) !important;
  border-radius: 16px !important;
  background: rgba(225, 178, 97, 0.13);
  transform: none !important;
}

.servicepage-section .main-timeline .timeline-icon i {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--fd-gold-bright) !important;
  font-size: 25px !important;
  line-height: 1 !important;
}

.servicepage-section .main-timeline .timeline-content,
.servicepage-section .main-timeline .timeline:nth-child(even) .timeline-content,
.servicepage-section .main-timeline .timeline.third .timeline-content,
.servicepage-section .main-timeline .timeline.fourth .timeline-content {
  float: none !important;
  position: relative !important;
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}

.servicepage-section .main-timeline .title {
  color: #ffffff !important;
  font-size: clamp(18px, 1.6vw, 23px) !important;
  line-height: 1.24;
  margin-bottom: 9px !important;
  text-transform: none !important;
}

.servicepage-section .main-timeline .description {
  display: block !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 15.5px !important;
  line-height: 1.6 !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
}

/* Admin thank-you cards on public pages */
.card.shadow-lg {
  border: 0;
  border-radius: 18px;
  box-shadow: var(--fd-shadow) !important;
}

@media (max-width: 991px) {
  #featured-carousel .work-wrap {
    min-height: auto;
    flex-direction: column;
  }

  #featured-carousel .work-wrap .text,
  #featured-carousel .work-wrap .img {
    flex: 0 0 100%;
    max-width: 100%;
  }

  #featured-carousel .work-wrap .img {
    min-height: 380px;
    order: 1;
  }

  #featured-carousel .work-wrap .text {
    order: 2;
  }

  .aboutpage-section,
  .team-section,
  .servicepage-section,
  .portfolio-section,
  .blogpage-section,
  .singleblog-section,
  .contactinfo-section,
  .contact-section,
  .service_detail {
    padding: 56px 0 !important;
  }

  .portfolio-section .nav-tabs {
    justify-content: flex-start !important;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px !important;
  }

  .portfolio-section .tabs-box .nav-tabs li a {
    white-space: nowrap;
  }

  .contact-section form {
    grid-template-columns: 1fr;
  }

  .servicepage-section .main-timeline {
    grid-template-columns: 1fr;
  }

  .blog-detail-hero {
    min-height: auto;
  }

  .blog-detail-hero-grid {
    grid-template-columns: 1fr;
  }

  .blog-detail-hero-image {
    max-width: 720px;
  }

  .blog-detail-layout {
    grid-template-columns: 1fr;
  }

  .blog-related-panel {
    position: relative;
    top: auto;
  }

  .blog-related-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  #featured-carousel h2 {
    font-size: 32px;
  }

  #featured-carousel .work-wrap .text {
    padding: 30px 20px !important;
  }

  #featured-carousel .work-wrap .img {
    min-height: 300px;
  }

  h1 { font-size: 40px; line-height: 1.1; }
  h2 { font-size: 32px; line-height: 1.15; }
  h3 { font-size: 24px; line-height: 1.25; }
  p { font-size: 16px; line-height: 1.6; }

  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .portfolio-section .image-container,
  .blogpage-section .blog-box {
    margin-bottom: 20px;
  }

  .contact-section .contect-box {
    padding: 20px;
  }

  #services .what-we-do .item {
    padding: 4px 0;
  }

  #services .lower_portion_wrapper {
    padding: 20px !important;
  }

  .servicepage-section .service-box {
    padding: 18px;
    border-radius: 18px;
  }

  .servicepage-section .main-timeline {
    gap: 14px;
  }

  .servicepage-section .main-timeline .timeline {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 13px;
    padding: 16px;
  }

  .servicepage-section .main-timeline .timeline-icon,
  .servicepage-section .main-timeline .timeline:nth-child(even) .timeline-icon,
  .servicepage-section .main-timeline .timeline.exp-fourth .timeline-icon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 14px !important;
  }

  .servicepage-section .main-timeline .timeline-icon i {
    font-size: 21px !important;
  }

  .blog-detail-hero {
    padding: 76px 0 44px;
  }

  .blog-detail-hero h1 {
    font-size: 38px;
  }

  .blog-detail-actions a {
    width: 100%;
  }

  .singleblog-section .main-box .image1 img {
    aspect-ratio: 4 / 3;
  }

  .blog-related-list {
    grid-template-columns: 1fr;
  }

  .blog-related-card {
    grid-template-columns: 86px minmax(0, 1fr);
    min-height: 100px;
  }

  .blog-related-card figure {
    width: 86px;
    height: 80px;
  }
}

@media (max-width: 420px) {
  .portfolio-section .tabs-box .nav-tabs li a {
    font-size: 13px;
    min-height: 42px;
    padding: 9px 14px !important;
  }

  .contact-section .form-check-inline {
    width: 100%;
    margin-right: 0 !important;
  }

  .servicepage-section .main-timeline .timeline {
    grid-template-columns: 1fr;
  }

  .servicepage-section .main-timeline .timeline-icon,
  .servicepage-section .main-timeline .timeline:nth-child(even) .timeline-icon,
  .servicepage-section .main-timeline .timeline.exp-fourth .timeline-icon {
    width: 46px !important;
    height: 46px !important;
  }
}

/* Portfolio detail pages */
.servicepage-section .service-box.d-flex.flex-row:has(> .box-image) {
  display: grid !important;
  grid-template-columns: minmax(0, 1.9fr) minmax(300px, 0.8fr);
  align-items: start;
  gap: clamp(18px, 3vw, 34px);
  padding: clamp(18px, 3vw, 34px) !important;
  border: 1px solid rgba(34, 48, 53, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88) !important;
  box-shadow: 0 30px 100px rgba(32, 26, 18, 0.14);
  backdrop-filter: blur(12px);
}

.servicepage-section .service-box.d-flex.flex-row:has(> .box-image) > .box-image,
.servicepage-section .service-box.d-flex.flex-row:has(> .box-image) > .box-content {
  flex: none !important;
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.servicepage-section .service-box.d-flex.flex-row:has(> .box-image) > .box-image > .row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.servicepage-section .service-box.d-flex.flex-row:has(> .box-image) > .box-image > .row > .box-image {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}

.servicepage-section .service-box.storefront-detail > .box-image > .row,
.servicepage-section .service-box.two-card-detail > .box-image > .row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.servicepage-section .service-box.d-flex.flex-row:has(> .box-image) figure {
  position: relative;
  overflow: hidden;
  height: 100%;
  margin: 0 !important;
  border-radius: 18px;
  background: #111417;
  box-shadow: 0 18px 50px rgba(32, 26, 18, 0.14);
  opacity: 1 !important;
}

.servicepage-section .service-box.d-flex.flex-row:has(> .box-image) figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 42%, rgba(0,0,0,.72) 100%);
  opacity: 0.82;
  pointer-events: none;
}

.servicepage-section .service-box.d-flex.flex-row:has(> .box-image) figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transform: scale(1.002);
  transition: transform .45s ease, opacity .45s ease;
}

.servicepage-section .service-box.storefront-detail figure img,
.servicepage-section .service-box.two-card-detail figure img {
  height: clamp(360px, 42vw, 560px);
  aspect-ratio: auto;
}

.servicepage-section .service-box.storefront-detail,
.servicepage-section .service-box.two-card-detail {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
}

.servicepage-section .service-box.storefront-detail > .box-content,
.servicepage-section .service-box.two-card-detail > .box-content {
  min-height: auto;
}

.servicepage-section .service-box.storefront-detail .project-highlights {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.14);
}

.servicepage-section .service-box.storefront-detail .project-highlights div {
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(255,255,255,.07);
}

.servicepage-section .service-box.storefront-detail .project-highlights span {
  display: block;
  margin-bottom: 7px;
  color: #e1b261;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.servicepage-section .service-box.storefront-detail .project-highlights strong {
  display: block;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 800;
}

.project-related-section {
  padding: clamp(56px, 7vw, 92px) 0 !important;
  background:
    radial-gradient(circle at 82% 12%, rgba(225,178,97,.14), transparent 26%),
    linear-gradient(135deg, #f8f3eb 0%, #efe2d0 100%);
}

.project-related-section .container {
  max-width: 1240px;
}

.project-related-head {
  margin-bottom: clamp(24px, 4vw, 42px);
}

.project-related-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #9a671f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.project-related-kicker::before {
  content: "";
  width: 32px;
  height: 2px;
  background: currentColor;
}

.project-related-head h2 {
  max-width: 760px;
  margin: 0;
  color: #17191d !important;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: .98;
  font-weight: 850;
}

.project-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.project-related-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(34,48,53,.1);
  border-radius: 22px;
  background: #ffffff;
  color: #17191d !important;
  text-decoration: none !important;
  box-shadow: 0 24px 70px rgba(32,26,18,.12);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.project-related-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,145,56,.42);
  box-shadow: 0 34px 90px rgba(32,26,18,.18);
}

.project-related-card figure {
  overflow: hidden;
  margin: 0;
  background: #111417;
}

.project-related-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  transition: transform .4s ease, opacity .4s ease;
}

.project-related-card:hover img {
  transform: scale(1.055);
  opacity: .92;
}

.project-related-card span {
  margin: 18px 18px 8px;
  color: #9a671f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.project-related-card strong {
  margin: 0 18px 20px;
  color: #17191d;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.12;
  font-weight: 850;
}

.servicepage-section .service-box.d-flex.flex-row:has(> .box-image) figure:hover img {
  transform: scale(1.055);
}

.servicepage-section .service-box.d-flex.flex-row:has(> .box-image) .hover-text {
  position: absolute !important;
  z-index: 2;
  left: 16px !important;
  right: 16px;
  bottom: 15px;
  top: auto !important;
  width: auto !important;
  transform: none !important;
  opacity: 1 !important;
  color: #ffffff !important;
  font-size: clamp(15px, 1.15vw, 19px) !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  text-align: left !important;
  text-shadow: 0 8px 22px rgba(0,0,0,.36);
}

.servicepage-section .service-box.d-flex.flex-row:has(> .box-image) > .box-content {
  position: sticky;
  top: 108px;
  min-height: 360px;
  padding: clamp(24px, 3vw, 38px) !important;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 16%, rgba(225,178,97,.18), transparent 34%),
    linear-gradient(135deg, #203035 0%, #111417 100%) !important;
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
}

.servicepage-section .service-box.d-flex.flex-row:has(> .box-image) .topright {
  position: static !important;
  margin-bottom: clamp(28px, 5vw, 58px);
  text-align: left !important;
}

.servicepage-section .service-box.d-flex.flex-row:has(> .box-image) .topright a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
}

.servicepage-section .service-box.d-flex.flex-row:has(> .box-image) .topright a:hover {
  border-color: #e1b261;
  background: #e1b261;
  color: #17191d !important;
}

.servicepage-section .service-box.d-flex.flex-row:has(> .box-image) > .box-content h5 {
  color: #ffffff !important;
  max-width: 360px;
  margin: 0 0 16px;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: 0;
}

.servicepage-section .service-box.d-flex.flex-row:has(> .box-image) > .box-content h5::before {
  content: "Project";
  display: block;
  margin-bottom: 14px;
  color: #e1b261;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.servicepage-section .service-box.d-flex.flex-row:has(> .box-image) > .box-content p {
  color: rgba(255,255,255,.76) !important;
  font-size: 16px;
  line-height: 1.65;
}

.modal {
  z-index: 99999 !important;
  padding: clamp(56px, 7vw, 84px) clamp(10px, 2vw, 26px) 22px !important;
  background: rgba(8, 10, 12, 0.96) !important;
}

.modal .close {
  position: fixed;
  top: 18px;
  left: 18px;
  right: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 800;
  text-shadow: none;
  opacity: 1 !important;
}

.modal-content {
  width: min(1120px, 100%) !important;
  margin: 0 auto !important;
  border: 0 !important;
  border-radius: 22px;
  background: transparent !important;
}

.mySlides {
  overflow: hidden;
  border-radius: 20px;
  background: #101315;
}

.mySlides img {
  display: block;
  width: 100% !important;
  max-height: 72vh;
  object-fit: contain;
  background: #101315;
}

.numbertext {
  top: 12px !important;
  left: 12px !important;
  padding: 7px 12px !important;
  border-radius: 999px;
  background: rgba(0,0,0,.48);
  color: #fff !important;
  font-weight: 800;
}

.prev,
.next {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 46px !important;
  height: 46px !important;
  margin-top: -23px !important;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: rgba(0,0,0,.48);
  color: #fff !important;
  font-size: 24px !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

.caption-container {
  border-radius: 16px;
  background: rgba(255,255,255,.06) !important;
}

.column-container {
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.column-container .column {
  flex: 0 0 96px;
  width: 96px !important;
}

.column-container .demo {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  object-fit: cover;
}

@media (max-width: 991px) {
  .servicepage-section .service-box.d-flex.flex-row:has(> .box-image) {
    grid-template-columns: 1fr;
  }

  .servicepage-section .service-box.d-flex.flex-row:has(> .box-image) > .box-content {
    position: relative;
    top: auto;
    min-height: auto;
    order: -1;
  }
}

@media (max-width: 767px) {
  .servicepage-section .service-box.d-flex.flex-row:has(> .box-image) > .box-image > .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .servicepage-section .service-box.d-flex.flex-row:has(> .box-image) {
    padding: 12px !important;
    border-radius: 20px;
  }

  .servicepage-section .service-box.d-flex.flex-row:has(> .box-image) > .box-image > .row {
    grid-template-columns: 1fr;
  }

  .servicepage-section .service-box.storefront-detail > .box-image > .row,
  .servicepage-section .service-box.two-card-detail > .box-image > .row {
    grid-template-columns: 1fr;
  }

  .servicepage-section .service-box.storefront-detail figure img,
  .servicepage-section .service-box.two-card-detail figure img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .servicepage-section .service-box.d-flex.flex-row:has(> .box-image) > .box-content {
    padding: 22px !important;
    border-radius: 18px;
  }

  .servicepage-section .service-box.d-flex.flex-row:has(> .box-image) > .box-content h5 {
    font-size: 30px;
  }

  .modal .close {
    left: 12px;
    top: 12px;
  }

  .prev,
  .next {
    width: 40px !important;
    height: 40px !important;
  }
}
