

@charset "UTF-8";


:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Montserrat",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */


/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}


/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(255, 255, 255, 0);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 400;
  color: var(--heading-color);
}

.scrolled .header {
  isolation: isolate;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.scrolled .header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
  z-index: -1;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  text-align: center;
  padding: 40px 0 20px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .breadcrumbs {
  margin-bottom: 1.5rem;
}

.page-title .breadcrumbs .breadcrumb {
  justify-content: center;
  margin: 0;
  padding: 0;
  background: none;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item.active {
  color: var(--accent-color);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a:hover {
  color: var(--accent-color);
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item a i {
  font-size: 0.9rem;
  margin-right: 0.2rem;
}

.page-title .breadcrumbs .breadcrumb .breadcrumb-item+.breadcrumb-item::before {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.page-title .title-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 0;
}

.page-title .title-wrapper h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 400;
  color: var(--heading-color);
}

.page-title .title-wrapper p {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .page-title .title-wrapper h1 {
    font-size: 2rem;
  }

  .page-title .title-wrapper p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .page-title .title-wrapper h1 {
    font-size: 1.75rem;
  }
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  scroll-margin-top: 87px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  padding-top: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 2.5rem;
  }
}

.section-title .subtitle {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  position: relative;
}

.section-title .subtitle::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: var(--accent-color);
}

.section-title p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  max-width: 900px;
  margin: 0 auto;
  text-wrap: balance;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero .hero-content h1 {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .hero .hero-content h1 {
    font-size: 2.5rem;
  }
}

.hero .hero-content p {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 3rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.hero .hero-cta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 4rem;
  align-items: center;
}

@media (max-width: 576px) {
  .hero .hero-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

.hero .hero-cta .btn-primary {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px color-mix(in srgb, var(--accent-color), transparent 80%);
}

.hero .hero-cta .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.hero .hero-cta .btn-secondary {
  color: var(--heading-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.hero .hero-cta .btn-secondary i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.hero .hero-cta .btn-secondary:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.hero .hero-stats {
  display: flex;
  gap: 3rem;
}

@media (max-width: 768px) {
  .hero .hero-stats {
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .hero .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.hero .hero-stats .stat-item .stat-number {
  font-size: 2rem;
  font-weight: 300;
  color: var(--accent-color);
  margin-bottom: 0.25rem;
}

.hero .hero-stats .stat-item .stat-label {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-weight: 500;
}

.hero .hero-image {
  position: relative;
}

.hero .hero-image img {
  border-radius: 12px;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
}

.hero .hero-image .floating-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--surface-color);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px color-mix(in srgb, var(--default-color), transparent 85%);
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 200px;
}

@media (max-width: 768px) {
  .hero .hero-image .floating-card {
    bottom: 10px;
    left: 10px;
    padding: 1rem;
    min-width: 160px;
  }
}

.hero .hero-image .floating-card .card-icon {
  width: 50px;
  height: 50px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .hero-image .floating-card .card-icon i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.hero .hero-image .floating-card .card-content h5 {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  color: var(--heading-color);
}

.hero .hero-image .floating-card .card-content .growth-percentage {
  font-size: 1.25rem;
  font-weight: 700;
  color: #22c55e;
}

@media (max-width: 992px) {
  .hero {
    padding: 80px 0 60px;
  }

  .hero::before {
    display: none;
  }

  .hero .row {
    flex-direction: column-reverse;
  }

  .hero .col-lg-6:first-child {
    margin-top: 3rem;
  }
}


/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/
.why-us {
  padding: 100px 0;
}

.why-us .content {
  margin-bottom: 60px;
}

.why-us .content h2 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 30px;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .why-us .content h2 {
    font-size: 2rem;
  }
}

.why-us .content p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}

.why-us .image-wrapper {
  position: relative;
}

.why-us .image-wrapper img {
  border-radius: 8px;
  box-shadow: 0 20px 40px color-mix(in srgb, var(--default-color), transparent 85%);
  transition: transform 0.4s ease-in-out;
}

.why-us .image-wrapper img:hover {
  transform: translateY(-8px);
}

.why-us .features-grid {
  margin-top: 80px;
}

.why-us .feature-item {
  display: flex;
  gap: 25px;
  padding: 40px 0;
  transition: transform 0.3s ease-in-out;
}

.why-us .feature-item:hover {
  transform: translateY(-5px);
}

.why-us .feature-item:hover .icon-wrapper {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .why-us .feature-item {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 30px 0;
  }
}

.why-us .icon-wrapper {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  transition: all 0.4s ease-in-out;
}

@media (max-width: 768px) {
  .why-us .icon-wrapper {
    margin: 0 auto;
  }
}

.why-us .feature-content {
  flex: 1;
}

.why-us .feature-content h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 15px;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .why-us .feature-content h3 {
    font-size: 1.25rem;
  }
}

.why-us .feature-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin: 0;
}

@media (max-width: 992px) {
  .why-us .content {
    margin-bottom: 40px;
    text-align: center;
  }

  .why-us .features-grid {
    margin-top: 60px;
  }
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/

.portfolio.section {
  padding-top: 0;
}

.portfolio .portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 80px;
  padding: 0;
  list-style: none;
}

@media (max-width: 768px) {
  .portfolio .portfolio-filters {
    margin-bottom: 60px;
    gap: 8px;
  }
}

.portfolio .portfolio-filters li {
  padding: 20px 0;
  margin: 0 40px;
  font-size: 0.95rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.4s ease;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  position: relative;
}

@media (max-width: 768px) {
  .portfolio .portfolio-filters li {
    margin: 0 20px;
    padding: 16px 0;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .portfolio .portfolio-filters li {
    margin: 0 12px;
    padding: 14px 0;
    font-size: 0.85rem;
  }
}

.portfolio .portfolio-filters li::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: var(--accent-color);
  transition: all 0.4s ease;
  transform: translateX(-50%);
}

.portfolio .portfolio-filters li:hover {
  color: var(--default-color);
}

.portfolio .portfolio-filters li:hover::after {
  width: 100%;
}

.portfolio .portfolio-filters li.filter-active {
  color: var(--default-color);
  font-weight: 400;
}

.portfolio .portfolio-filters li.filter-active::after {
  width: 100%;
}

.portfolio .portfolio-card {
  height: 100%;
}

.portfolio .portfolio-card .project-visual {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.portfolio .portfolio-card .project-visual img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

@media (max-width: 768px) {
  .portfolio .portfolio-card .project-visual img {
    height: 250px;
  }
}

.portfolio .portfolio-card .project-visual .project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(54, 144, 231, 0.85), rgba(54, 144, 231, 0.75));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.portfolio .portfolio-card .project-visual .project-overlay .overlay-content {
  display: flex;
  gap: 20px;
}

.portfolio .portfolio-card .project-visual .project-overlay .overlay-content a {
  width: 48px;
  height: 48px;
  background-color: var(--contrast-color);
  color: var(--accent-color);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.portfolio .portfolio-card .project-visual .project-overlay .overlay-content a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.portfolio .portfolio-card .project-visual:hover img {
  transform: scale(1.05);
}

.portfolio .portfolio-card .project-visual:hover .project-overlay {
  opacity: 1;
  visibility: visible;
}

.portfolio .portfolio-card .project-details {
  padding: 20px 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.portfolio .portfolio-card .project-details .project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.portfolio .portfolio-card .project-details .project-header .project-category {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-color);
}

.portfolio .portfolio-card .project-details .project-header .project-year {
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-weight: 300;
}

.portfolio .portfolio-card .project-details .project-title {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 20px;
  color: var(--heading-color);
  line-height: 1.3;
}

@media (max-width: 768px) {
  .portfolio .portfolio-card .project-details .project-title {
    font-size: 1.35rem;
  }
}

.portfolio .portfolio-card .project-details .project-description {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 30px;
  line-height: 1.7;
  flex-grow: 1;
}

.portfolio .portfolio-card .project-details .project-meta {
  margin-top: auto;
}

.portfolio .portfolio-card .project-details .project-meta .client-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--default-color);
  margin-bottom: 16px;
}

.portfolio .portfolio-card .project-details .project-meta .project-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.portfolio .portfolio-card .project-details .project-meta .project-scope .scope-item {
  font-size: 0.8rem;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 6px 0;
  position: relative;
}

.portfolio .portfolio-card .project-details .project-meta .project-scope .scope-item:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: -8px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.portfolio .portfolio-conclusion {
  margin-top: 0px;
  text-align: center;
}

@media (max-width: 768px) {
  .portfolio .portfolio-conclusion {
    margin-top: 0px;
  }
}

.portfolio .portfolio-conclusion .conclusion-content {
  max-width: 600px;
  margin: 0 auto;
}

.portfolio .portfolio-conclusion .conclusion-content h4 {
  font-size: 1.75rem;
  font-weight: 300;
  margin-bottom: 20px;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .portfolio .portfolio-conclusion .conclusion-content h4 {
    font-size: 1.5rem;
  }
}

.portfolio .portfolio-conclusion .conclusion-content p {
  font-size: 1rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 40px;
  line-height: 1.7;
}

.portfolio .portfolio-conclusion .conclusion-content .conclusion-actions {
  display: flex;
  justify-content: center;
  gap: 40px;
  align-items: center;
}

@media (max-width: 576px) {
  .portfolio .portfolio-conclusion .conclusion-content .conclusion-actions {
    flex-direction: column;
    gap: 20px;
  }
}

.portfolio .portfolio-conclusion .conclusion-content .conclusion-actions .primary-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.3s ease;
}

.portfolio .portfolio-conclusion .conclusion-content .conclusion-actions .primary-action i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.portfolio .portfolio-conclusion .conclusion-content .conclusion-actions .primary-action:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-1px);
}

.portfolio .portfolio-conclusion .conclusion-content .conclusion-actions .primary-action:hover i {
  transform: translateX(2px);
}

.portfolio .portfolio-conclusion .conclusion-content .conclusion-actions .secondary-action {
  color: var(--default-color);
  font-size: 0.95rem;
  font-weight: 400;
  text-decoration: none;
  position: relative;
}

.portfolio .portfolio-conclusion .conclusion-content .conclusion-actions .secondary-action::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--default-color);
  transition: width 0.3s ease;
}

.portfolio .portfolio-conclusion .conclusion-content .conclusion-actions .secondary-action:hover {
  color: var(--default-color);
}

.portfolio .portfolio-conclusion .conclusion-content .conclusion-actions .secondary-action:hover::after {
  width: 100%;
}


/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details {
  --section-spacing: 6rem;
  --content-spacing: 4rem;
}

.portfolio-details .project-intro {
  margin-bottom: var(--section-spacing);
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-details .project-intro .intro-content .project-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.portfolio-details .project-intro .intro-content .project-meta .project-type,
.portfolio-details .project-intro .intro-content .project-meta .project-year {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  position: relative;
}

.portfolio-details .project-intro .intro-content .project-meta .project-type::after {
  content: "•";
  position: absolute;
  right: -1rem;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.portfolio-details .project-intro .intro-content .project-title {
  font-size: 3.75rem;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--heading-color);
  letter-spacing: -0.02em;
}

.portfolio-details .project-intro .intro-content .project-description {
  font-size: 1.25rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-details .project-showcase {
  margin-bottom: var(--section-spacing);
}

.portfolio-details .project-showcase .showcase-slider {
  border-radius: 12px;
  overflow: hidden;
}

.portfolio-details .project-showcase .showcase-slider .swiper-wrapper {
  height: auto !important;
}

.portfolio-details .project-showcase .showcase-slider .swiper-slide img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.portfolio-details .project-showcase .showcase-slider .swiper-pagination {
  bottom: 30px;
}

.portfolio-details .project-showcase .showcase-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: all 0.3s ease;
}

.portfolio-details .project-showcase .showcase-slider .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: white;
  transform: scale(1.2);
}

.portfolio-details .project-details-grid {
  margin-bottom: var(--section-spacing);
}

.portfolio-details .project-details-grid .project-narrative h2 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  color: var(--heading-color);
  letter-spacing: -0.01em;
}

.portfolio-details .project-details-grid .project-narrative p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 1.5rem;
}

.portfolio-details .project-details-grid .project-narrative p:last-child {
  margin-bottom: 0;
}

.portfolio-details .project-details-grid .project-info {
  padding-left: 3rem;
}

.portfolio-details .project-details-grid .project-info .info-block {
  padding: 1.5rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.portfolio-details .project-details-grid .project-info .info-block:last-child {
  border-bottom: none;
}

.portfolio-details .project-details-grid .project-info .info-block .info-label {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-bottom: 0.5rem;
}

.portfolio-details .project-details-grid .project-info .info-block .info-value {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--heading-color);
}

.portfolio-details .solution-approach {
  margin-bottom: var(--section-spacing);
}

.portfolio-details .solution-approach .approach-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.portfolio-details .solution-approach .approach-header h2 {
  font-size: 2.75rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
  letter-spacing: -0.01em;
}

.portfolio-details .solution-approach .approach-header p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 0;
}

.portfolio-details .solution-approach .approach-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
}

.portfolio-details .solution-approach .approach-steps .step-item .step-number {
  font-size: 3rem;
  font-weight: 200;
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
  margin-bottom: 1rem;
  line-height: 1;
}

.portfolio-details .solution-approach .approach-steps .step-item h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.portfolio-details .solution-approach .approach-steps .step-item p {
  font-size: 1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 0;
}

.portfolio-details .project-gallery {
  margin-bottom: var(--section-spacing);
}

.portfolio-details .project-gallery h2 {
  font-size: 2.75rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--heading-color);
  letter-spacing: -0.01em;
}

.portfolio-details .project-gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.portfolio-details .project-gallery .gallery-grid .gallery-item {
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.portfolio-details .project-gallery .gallery-grid .gallery-item.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.portfolio-details .project-gallery .gallery-grid .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-details .project-gallery .gallery-grid .gallery-item:hover {
  transform: translateY(-8px);
}

.portfolio-details .project-gallery .gallery-grid .gallery-item:hover img {
  transform: scale(1.05);
}

.portfolio-details .technologies-used {
  margin-bottom: var(--section-spacing);
}

.portfolio-details .technologies-used h2 {
  font-size: 2.75rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
  letter-spacing: -0.01em;
}

.portfolio-details .technologies-used p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.portfolio-details .technologies-used .tech-stack .tech-group {
  margin-bottom: 2.5rem;
}

.portfolio-details .technologies-used .tech-stack .tech-group:last-child {
  margin-bottom: 0;
}

.portfolio-details .technologies-used .tech-stack .tech-group h4 {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.portfolio-details .technologies-used .tech-stack .tech-group .tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.portfolio-details .technologies-used .tech-stack .tech-group .tech-tags .tech-tag {
  padding: 0.5rem 1.25rem;
  background-color: color-mix(in srgb, var(--surface-color), transparent 50%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--default-color);
  transition: all 0.3s ease;
}

.portfolio-details .technologies-used .tech-stack .tech-group .tech-tags .tech-tag:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

.portfolio-details .project-outcomes {
  background-color: color-mix(in srgb, var(--surface-color), transparent 60%);
  padding: 4rem 3rem;
  border-radius: 12px;
  margin-bottom: var(--section-spacing);
}

.portfolio-details .project-outcomes .outcomes-header {
  text-align: center;
  margin-bottom: 3rem;
}

.portfolio-details .project-outcomes .outcomes-header h2 {
  font-size: 2.75rem;
  font-weight: 300;
  color: var(--heading-color);
  letter-spacing: -0.01em;
  margin-bottom: 0;
}

.portfolio-details .project-outcomes .outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.portfolio-details .project-outcomes .outcomes-grid .outcome-card {
  text-align: center;
}

.portfolio-details .project-outcomes .outcomes-grid .outcome-card .outcome-stat {
  font-size: 3rem;
  font-weight: 300;
  color: var(--accent-color);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.portfolio-details .project-outcomes .outcomes-grid .outcome-card .outcome-label {
  font-size: 1rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1.4;
}

.portfolio-details .project-navigation {
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding-top: 3rem;
}

.portfolio-details .project-navigation .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.portfolio-details .project-navigation .nav-container .nav-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: all 0.3s ease;
}

.portfolio-details .project-navigation .nav-container .nav-item.prev,
.portfolio-details .project-navigation .nav-container .nav-item.next {
  color: var(--heading-color);
}

.portfolio-details .project-navigation .nav-container .nav-item.prev .nav-label,
.portfolio-details .project-navigation .nav-container .nav-item.next .nav-label {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-bottom: 0.25rem;
}

.portfolio-details .project-navigation .nav-container .nav-item.prev .nav-title,
.portfolio-details .project-navigation .nav-container .nav-item.next .nav-title {
  font-size: 1.125rem;
  font-weight: 400;
}

.portfolio-details .project-navigation .nav-container .nav-item.prev:hover,
.portfolio-details .project-navigation .nav-container .nav-item.next:hover {
  color: var(--accent-color);
  transform: translateY(-3px);
}

.portfolio-details .project-navigation .nav-container .nav-item.next {
  text-align: right;
}

.portfolio-details .project-navigation .nav-container .nav-item.center {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 6px;
  color: var(--heading-color);
  font-weight: 400;
  transition: all 0.3s ease;
}

.portfolio-details .project-navigation .nav-container .nav-item.center i {
  font-size: 1.125rem;
}

.portfolio-details .project-navigation .nav-container .nav-item.center:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

@media (max-width: 1200px) {
  .portfolio-details .project-details-grid .project-info {
    padding-left: 2rem;
  }

  .portfolio-details .gallery-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .portfolio-details .gallery-grid .gallery-item.featured {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 992px) {
  .portfolio-details .project-intro .intro-content .project-title {
    font-size: 3rem;
  }

  .portfolio-details .project-details-grid .project-info {
    padding-left: 0;
    margin-top: 3rem;
  }

  .portfolio-details .approach-steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .portfolio-details .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .portfolio-details .outcomes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .portfolio-details {
    --section-spacing: 4rem;
  }

  .portfolio-details .project-intro .intro-content .project-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .portfolio-details .project-intro .intro-content .project-meta .project-type::after {
    display: none;
  }

  .portfolio-details .project-intro .intro-content .project-title {
    font-size: 2.5rem;
  }

  .portfolio-details .project-intro .intro-content .project-description {
    font-size: 1.125rem;
  }

  .portfolio-details .project-showcase .showcase-slider .swiper-slide img {
    height: 400px;
  }

  .portfolio-details .gallery-grid {
    grid-template-columns: 1fr !important;
  }

  .portfolio-details .gallery-grid .gallery-item.featured {
    grid-column: span 1;
  }

  .portfolio-details .project-outcomes {
    padding: 3rem 2rem;
  }

  .portfolio-details .project-outcomes .outcomes-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .portfolio-details .project-navigation .nav-container {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .portfolio-details .project-navigation .nav-container .nav-item.prev,
  .portfolio-details .project-navigation .nav-container .nav-item.next {
    text-align: center;
  }

  .portfolio-details .project-navigation .nav-container .nav-item.center {
    order: -1;
  }
}

@media (max-width: 576px) {
  .portfolio-details .project-outcomes {
    margin-left: -15px;
    margin-right: -15px;
    border-radius: 0;
  }
}





/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.blog-details .article-header {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.blog-details .article-header .meta-categories {
  margin-bottom: 1.5rem;
}

.blog-details .article-header .meta-categories .category {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  margin: 0 0.5rem;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 30px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.blog-details .article-header .meta-categories .category:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

.blog-details .article-header .title {
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .blog-details .article-header .title {
    font-size: 2.2rem;
  }
}

.blog-details .article-header .article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.blog-details .article-header .article-meta .author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.blog-details .article-header .article-meta .author .author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.blog-details .article-header .article-meta .author .author-info {
  text-align: left;
}

.blog-details .article-header .article-meta .author .author-info h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--heading-color);
}

.blog-details .article-header .article-meta .author .author-info span {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.9rem;
}

.blog-details .article-header .article-meta .post-info {
  display: flex;
  gap: 1.5rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.95rem;
}

.blog-details .article-header .article-meta .post-info span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .blog-details .article-header .article-meta {
    justify-content: center;
    text-align: center;
  }

  .blog-details .article-header .article-meta .post-info {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}

.blog-details .article-featured-image {
  margin: 0 -2rem 3rem;
  height: 500px;
  overflow: hidden;
  border-radius: 16px;
}

.blog-details .article-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .blog-details .article-featured-image {
    margin: 0 -1rem 2rem;
    height: 300px;
  }
}

.blog-details .article-wrapper {
  display: grid;
  grid-template-columns: minmax(200px, 300px) 1fr;
  gap: 3rem;
  position: relative;
}

@media (max-width: 992px) {
  .blog-details .article-wrapper {
    grid-template-columns: 1fr;
  }
}

.blog-details .article-wrapper .table-of-contents {
  position: sticky;
  top: 100px;
  height: fit-content;
  padding: 2rem;
  background: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

@media (max-width: 992px) {
  .blog-details .article-wrapper .table-of-contents {
    display: none;
  }
}

.blog-details .article-wrapper .table-of-contents h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
}

.blog-details .article-wrapper .table-of-contents nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-details .article-wrapper .table-of-contents nav ul li {
  margin-bottom: 0.75rem;
}

.blog-details .article-wrapper .table-of-contents nav ul li a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding-left: 1rem;
  position: relative;
}

.blog-details .article-wrapper .table-of-contents nav ul li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-color);
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s ease;
}

.blog-details .article-wrapper .table-of-contents nav ul li a:hover,
.blog-details .article-wrapper .table-of-contents nav ul li a.active {
  color: var(--heading-color);
}

.blog-details .article-wrapper .table-of-contents nav ul li a:hover::before,
.blog-details .article-wrapper .table-of-contents nav ul li a.active::before {
  opacity: 1;
}

.blog-details .article-wrapper .article-content {
  font-size: 1.15rem;
  line-height: 1.8;
}

.blog-details .article-wrapper .article-content .content-section {
  margin-bottom: 4rem;
}

.blog-details .article-wrapper .article-content .content-section .lead {
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--heading-color);
  margin-bottom: 2rem;
}

.blog-details .article-wrapper .article-content .content-section h2 {
  font-size: 2.2rem;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
}

.blog-details .article-wrapper .article-content .content-section .highlight-quote {
  margin: 3rem 0;
  padding: 3rem;
  background: var(--surface-color);
  border-radius: 12px;
  position: relative;
}

.blog-details .article-wrapper .article-content .content-section .highlight-quote::before {
  content: "“";
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 5rem;
  color: color-mix(in srgb, var(--accent-color), transparent 85%);
  font-family: serif;
  line-height: 1;
}

.blog-details .article-wrapper .article-content .content-section .highlight-quote blockquote {
  padding-left: 3rem;
}

.blog-details .article-wrapper .article-content .content-section .highlight-quote blockquote p {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.blog-details .article-wrapper .article-content .content-section .highlight-quote blockquote cite {
  font-style: normal;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.blog-details .article-wrapper .article-content .content-section .image-with-caption {
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.blog-details .article-wrapper .article-content .content-section .image-with-caption.right {
  float: right;
  max-width: 450px;
  margin: 0 0 2rem 2rem;
}

@media (max-width: 768px) {
  .blog-details .article-wrapper .article-content .content-section .image-with-caption.right {
    float: none;
    max-width: 100%;
    margin: 2rem 0;
  }
}

.blog-details .article-wrapper .article-content .content-section .image-with-caption img {
  width: 100%;
}

.blog-details .article-wrapper .article-content .content-section .image-with-caption figcaption {
  padding: 1rem;
  background: var(--surface-color);
  text-align: center;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.blog-details .article-wrapper .article-content .content-section .feature-points {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}

.blog-details .article-wrapper .article-content .content-section .feature-points .point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.blog-details .article-wrapper .article-content .content-section .feature-points .point i {
  font-size: 2rem;
  color: var(--accent-color);
}

.blog-details .article-wrapper .article-content .content-section .feature-points .point h4 {
  margin: 0 0 0.5rem;
  color: var(--heading-color);
}

.blog-details .article-wrapper .article-content .content-section .feature-points .point p {
  margin: 0;
  font-size: 1rem;
}

.blog-details .article-wrapper .article-content .content-section .comparison-grid {
  margin: 2rem 0;
}

.blog-details .article-wrapper .article-content .content-section .comparison-grid .comparison-card {
  background: var(--surface-color);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
}

.blog-details .article-wrapper .article-content .content-section .comparison-grid .comparison-card .icon {
  margin-bottom: 1rem;
}

.blog-details .article-wrapper .article-content .content-section .comparison-grid .comparison-card .icon i {
  font-size: 2rem;
  color: var(--accent-color);
}

.blog-details .article-wrapper .article-content .content-section .comparison-grid .comparison-card h4 {
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.blog-details .article-wrapper .article-content .content-section .comparison-grid .comparison-card ul {
  padding-left: 1.2rem;
  margin: 0;
}

.blog-details .article-wrapper .article-content .content-section .comparison-grid .comparison-card ul li {
  margin-bottom: 0.5rem;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.blog-details .article-wrapper .article-content .content-section .key-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

@media (max-width: 768px) {
  .blog-details .article-wrapper .article-content .content-section .key-principles {
    grid-template-columns: 1fr;
  }
}

.blog-details .article-wrapper .article-content .content-section .key-principles .principle {
  text-align: center;
  padding: 2rem;
  background: var(--surface-color);
  border-radius: 12px;
  position: relative;
}

.blog-details .article-wrapper .article-content .content-section .key-principles .principle .number {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  color: var(--contrast-color);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
}

.blog-details .article-wrapper .article-content .content-section .key-principles .principle h4 {
  color: var(--heading-color);
  margin: 1rem 0;
}

.blog-details .article-wrapper .article-content .content-section .key-principles .principle p {
  margin: 0;
  font-size: 0.95rem;
}

.blog-details .article-wrapper .article-content .content-section .info-box {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 12px;
  margin: 2rem 0;
}

.blog-details .article-wrapper .article-content .content-section .info-box .icon i {
  font-size: 2.5rem;
  color: var(--accent-color);
}

.blog-details .article-wrapper .article-content .content-section .info-box .content h4 {
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.blog-details .article-wrapper .article-content .content-section .info-box .content p {
  margin: 0;
}

.blog-details .article-wrapper .article-content .content-section .future-trends {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .blog-details .article-wrapper .article-content .content-section .future-trends {
    grid-template-columns: 1fr;
  }
}

.blog-details .article-wrapper .article-content .content-section .future-trends .trend {
  text-align: center;
  padding: 2rem;
  background: var(--surface-color);
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.blog-details .article-wrapper .article-content .content-section .future-trends .trend:hover {
  transform: translateY(-5px);
}

.blog-details .article-wrapper .article-content .content-section .future-trends .trend i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.blog-details .article-wrapper .article-content .content-section .future-trends .trend h4 {
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.blog-details .article-wrapper .article-content .content-section .future-trends .trend p {
  margin: 0;
  font-size: 0.95rem;
}

.blog-details .article-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.blog-details .article-footer h4 {
  color: var(--heading-color);
  margin-bottom: 1.5rem;
}

.blog-details .article-footer .share-article {
  margin-bottom: 3rem;
}

.blog-details .article-footer .share-article .share-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.blog-details .article-footer .share-article .share-buttons .share-button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: var(--surface-color);
  border-radius: 30px;
  color: var(--heading-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-details .article-footer .share-article .share-buttons .share-button i {
  font-size: 1.2rem;
}

.blog-details .article-footer .share-article .share-buttons .share-button:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

.blog-details .article-footer .share-article .share-buttons .share-button.twitter:hover {
  background: #1DA1F2;
}

.blog-details .article-footer .share-article .share-buttons .share-button.facebook:hover {
  background: #4267B2;
}

.blog-details .article-footer .share-article .share-buttons .share-button.linkedin:hover {
  background: #0077B5;
}

.blog-details .article-footer .article-tags .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.blog-details .article-footer .article-tags .tags .tag {
  padding: 0.5rem 1rem;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 30px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-details .article-footer .article-tags .tags .tag:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

/* ===== FORCE REMOVE HUGE GAPS IN BLOG ===== */

/* Kill section padding */
.blog-details.section,
.blog-details.section * {
  padding: top 2px !important;
  padding-bottom: 0 !important;
}


/* ============================================================
   SERVICES PAGE: remove huge top gap (match About page feel)
   ============================================================ */

/* If your <main> has any inherited padding/margin */
.page-main {
  padding-top: 0 !important;
}

/* Section title block: reduce top space like About page */
#portfolio .section-title {
  padding-top: 10px !important;
  padding-bottom: 25px !important;
  margin-top: 0 !important;
}

/* Remove extra gap above the first section inside main */
.page-main > section:first-child,
.page-main > .section:first-child {
  padding-top: 0 !important;
}

/* If Bootstrap/container is creating extra top margin */
#portfolio > .container:first-of-type {
  margin-top: 0 !important;
}

/* In case navbar/header pushes content down too much */
#portfolio.section {
  scroll-margin-top: 70px; /* optional, keeps anchor scroll nice */
}


/* ============================================================
   SERVICES: keep content BELOW fixed navbar (no huge gap)
   ============================================================ */

/* Set this to match your header height */
:root{
  --services-header-offset: 110px; /* desktop */
}

/* Push the whole services page down by header height */
.page-main{
  padding-top: var(--services-header-offset) !important;
}

/* Reduce it on smaller screens if navbar height reduces */
@media (max-width: 992px){
  :root{ --services-header-offset: 95px; }
}
@media (max-width: 576px){
  :root{ --services-header-offset: 85px; }
}

/* Tight section title like About page, but not zero */
#portfolio .section-title{
  padding-top: 10px !important;
  padding-bottom: 25px !important;
  margin-top: 0 !important;
}

/* Remove extra section padding that causes double-gap */
#portfolio.section{
  padding-top: 0 !important;
}


.portfolio .portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 60px;
  padding: 0;
  list-style: none;
}

.portfolio .portfolio-filters li {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

/* ================================
   FORCE SAME TOP GAP AS ABOUT PAGE
   (Services page only)
================================ */
.page-main{
  padding-top: 140px !important;
}

@media (max-width: 768px){
  .page-main{
    padding-top: 110px !important;
  }
}

/* Keep section title spacing consistent */
.section-title{
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}

@media (max-width: 768px){
  .section-title{
    padding-top: 45px !important;
    padding-bottom: 50px !important;
  }
}


/* =====================================================
   SERVICES PAGE – STICKY FILTER BAR
   Keeps filters visible while reading content
===================================================== */

/* Sticky wrapper */
.services-sticky-filters{
  position: sticky;
  top: 120px;                /* SAME visual gap as About page */
  z-index: 50;

  background: color-mix(in srgb, var(--background-color), transparent 10%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  padding: 16px 0;
  margin-bottom: 40px;

  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
}

/* Filters row */
.services-sticky-filters .portfolio-filters{
  display: flex;
  justify-content: center;
  align-items: center;

  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;

  gap: 28px;
  margin: 0 !important;
  padding: 0 10px;

  list-style: none;
}

/* Hide scrollbar but keep scroll */
.services-sticky-filters .portfolio-filters::-webkit-scrollbar{
  display: none;
}

/* Each filter item */
.services-sticky-filters .portfolio-filters li{
  padding: 10px 16px !important;
  margin: 0 !important;

  font-size: 0.95rem;
  font-weight: 400;
  cursor: pointer;

  border-radius: 999px;
  transition: all 0.25s ease;

  color: color-mix(in srgb, var(--default-color), transparent 35%);
}

/* Hover */
.services-sticky-filters .portfolio-filters li:hover{
  color: var(--heading-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
}

/* Active state */
.services-sticky-filters .portfolio-filters li.filter-active{
  color: var(--heading-color);
  font-weight: 500;
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
}

/* Remove old underline animation (clean pill look) */
.services-sticky-filters .portfolio-filters li::after{
  display: none;
}

/* =====================================================
   MOBILE TUNING
===================================================== */
@media (max-width: 768px){
  .services-sticky-filters{
    top: 95px;              /* below navbar on mobile */
    padding: 12px 0;
    margin-bottom: 30px;
  }

  .services-sticky-filters .portfolio-filters{
    justify-content: flex-start;
    gap: 18px;
    padding-left: 16px;
  }

  .services-sticky-filters .portfolio-filters li{
    font-size: 0.9rem;
    padding: 8px 14px !important;
  }
}


/* =========================================
   SERVICES – TABLE OF CONTENTS POSITION FIX
========================================= */

/* Desktop */
.blog-details .table-of-contents{
  position: sticky;
  top: 220px;        /* BELOW sticky filters */
}

/* Tablet */
@media (max-width: 992px){
  .blog-details .table-of-contents{
    top: 200px;
  }
}

/* Mobile – already hidden, but safe */
@media (max-width: 768px){
  .blog-details .table-of-contents{
    position: static;
  }
}


/* =========================================
   SERVICES – FIX TOC STICKY POSITION + HEIGHT
   (Put this at the VERY BOTTOM of services.css)
========================================= */

/* Make sure filters stay on top */

/* TOC: push it lower than filters + prevent reaching bottom */
#portfolio .blog-details .article-wrapper .table-of-contents{
  position: sticky !important;
  top: 150px !important; /* ✅ pushes below the filter bar */
  z-index: 10;

  /* ✅ stop it from going till bottom of screen */
  max-height: calc(100vh - 230px - 24px);
  overflow: auto;

  /* optional: nicer spacing */
  margin-top: 0 !important;
}

/* Tablet tweaks */
@media (max-width: 992px){
  #portfolio .blog-details .article-wrapper .table-of-contents{
    top: 210px !important;
    max-height: calc(100vh - 210px - 20px);
  }
}

/* Mobile (you already hide it, this is just safety) */
@media (max-width: 768px){
  #portfolio .blog-details .article-wrapper .table-of-contents{
    position: static !important;
    max-height: none;
    overflow: visible;
  }
}

/* =========================================
   SERVICES – FIX TOC ANCHOR OFFSET (content should start BELOW sticky filters)
========================================= */

/* Height of sticky filter area */
:root{
  --services-sticky-offset: 260px; /* adjust if needed */
}

/* Apply offset to all anchor targets inside blog content */
#portfolio .blog-details .article-content [id]{
  scroll-margin-top: var(--services-sticky-offset);
}

/* If your targets are mostly content-section blocks, this is extra-safe */
#portfolio .blog-details .article-content .content-section{
  scroll-margin-top: var(--services-sticky-offset);
}

/* Tablet tweaks */
@media (max-width: 992px){
  :root{ --services-sticky-offset: 230px; }
}

/* Mobile (filters wrap, so offset is bigger usually) */
@media (max-width: 576px){
  :root{ --services-sticky-offset: 300px; }
}

/* =========================================
   SERVICES – REDUCE HUGE GAPS BETWEEN SECTIONS
========================================= */

#portfolio .blog-details .article-wrapper .article-content .content-section{
  margin-bottom: 2.2rem;   /* was 4rem */
  padding-top: 0.4rem;     /* small breathing space only */
}

/* Reduce extra space before headings inside sections */
#portfolio .blog-details .article-wrapper .article-content .content-section h2{
  margin-top: 0.4rem;
  margin-bottom: 1rem;
}

/* Reduce extra space after paragraphs inside a section */
#portfolio .blog-details .article-wrapper .article-content .content-section p{
  margin-bottom: 1rem;
}

/* Last section shouldn't leave a big gap */
#portfolio .blog-details .article-wrapper .article-content .content-section:last-child{
  margin-bottom: 0;
}


/* ✅ This class will hide the main navbar smoothly */
.nav-hidden {
  transform: translateY(-110%);
  transition: transform 0.25s ease;
}

/* Make sure your main header can animate */
#header {
  transition: transform 0.25s ease;
  will-change: transform;
}

/* ✅ Sticky filter bar (your "second navbar") */
.services-sticky-filters {
  position: sticky;
  top: 0;                 /* will be changed dynamically when navbar is visible */
  z-index: 999;           /* above content */
  background: #fff;       /* prevent text overlapping */
  padding-top: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Optional: small spacing so it looks like a bar */
.services-sticky-filters .portfolio-filters {
  margin: 0;
  padding: 0;
}

/* ✅ Center the whole TOC + content block */
.article-wrapper{
  display: flex;
  align-items: flex-start;
  gap: 32px;

  max-width: 1200px;     /* adjust if you want wider */
  margin: 0 auto;        /* THIS centers the whole block */
  width: 100%;
}

/* ✅ Keep TOC fixed width */
.table-of-contents{
  flex: 0 0 320px;       /* TOC width */
}

/* ✅ Make content take remaining space */
.article-content{
  flex: 1;
  min-width: 0;

  /* 🔥 IMPORTANT: remove "centered content" behavior */
  max-width: none !important;
  margin: 0 !important;
}
@media (max-width: 992px){
  .article-wrapper{
    flex-direction: column;
  }
  .table-of-contents{
    flex: unset;
    width: 100%;
  }
}

.services-sticky-filters{
  position: sticky;
  top: 15px; /* fallback, JS will override */

  background: rgba(248,250,252,0.92);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(2,6,23,0.08);
  border-radius: 14px;

  padding: 10px 12px;
  margin: 12px auto 18px;
  max-width: 1200px;

  box-shadow: 0 10px 30px rgba(2,6,23,0.06);
}

/* ===============================
   Mobile horizontal scroll filters
================================ */

@media (max-width: 768px) {

  .services-sticky-filters {
    padding: 8px 6px;
  }

  .services-sticky-filters .portfolio-filters {
    display: flex;
    flex-wrap: nowrap;              /* 🔥 keep in one line */
    overflow-x: auto;               /* 🔥 enable horizontal scroll */
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;

    gap: 10px;
    padding-bottom: 4px;

    scrollbar-width: none;          /* Firefox */
  }

  .services-sticky-filters .portfolio-filters::-webkit-scrollbar {
    display: none;                  /* Chrome / Safari */
  }

  .services-sticky-filters .portfolio-filters li {
    white-space: nowrap;            /* 🔥 prevent text wrap */
    flex-shrink: 0;                 /* 🔥 do not shrink pills */
    font-size: 13px;
    padding: 9px 14px;
  }
}
/* ===== FIX: allow scrolling fully to the left (no dead space) ===== */

/* wrapper sometimes adds padding that creates the left gap */
.services-sticky-filters{
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* target your exact UL (both classes) */
.services-sticky-filters > ul.portfolio-filters.isotope-filters{
  /* remove default UL padding/margin */
  padding: 10px 0 !important;
  margin: 0 !important;
  list-style: none !important;

  /* KEY: start items from left, not centered */
  justify-content: flex-start !important;

  /* keep horizontal scroll */
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;

  gap: 14px !important;

  /* IMPORTANT: reset any scroll-padding that can block left edge */
  scroll-padding-left: 0 !important;
}

/* just in case li has some weird left margin */
.services-sticky-filters > ul.portfolio-filters.isotope-filters > li{
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}
.services-sticky-filters > ul.portfolio-filters.isotope-filters > li:first-child{
  margin-left: 0 !important;
}



/* ===== Accent-colored horizontal scrollbar for services nav ===== */

.services-sticky-filters
  .portfolio-filters.isotope-filters{
  scrollbar-color: var(--accent-color) transparent; /* Firefox */
  scrollbar-width: thin;
}

/* Chrome / Edge / Safari */
.services-sticky-filters
  .portfolio-filters.isotope-filters::-webkit-scrollbar{
  height: 6px; /* visible but subtle */
}

.services-sticky-filters
  .portfolio-filters.isotope-filters::-webkit-scrollbar-track{
  background: transparent;
}

.services-sticky-filters
  .portfolio-filters.isotope-filters::-webkit-scrollbar-thumb{
  background-color: var(--accent-color);
  border-radius: 999px;
}

.services-sticky-filters
  .portfolio-filters.isotope-filters::-webkit-scrollbar-thumb:hover{
  background-color: var(--accent-light);
}


/* ================================
   SERVICES – FINAL ANCHOR OFFSET
   Works with Linux + SOTIF unique IDs
================================ */
:root{
  --services-sticky-offset: 260px;
}

@media (max-width: 992px){
  :root{ --services-sticky-offset: 230px; }
}
@media (max-width: 576px){
  :root{ --services-sticky-offset: 300px; }
}

#portfolio .blog-details .article-content .content-section{
  scroll-margin-top: var(--services-sticky-offset);
}
.services-sticky-filters .portfolio-filters li a{
  color: inherit;
  text-decoration: none;
  display: inline-block;
}
/* =====================================================
   SERVICES NAV (LINK VERSION) - same look as old filters
   Targets: .services-sticky-filters + ul.services-nav
===================================================== */

.services-sticky-filters{
  position: sticky;
  top: 15px; /* fallback (your JS used to override; now fixed) */
  z-index: 999;

  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 1px solid rgba(2, 6, 23, 0.08);
  border-radius: 14px;

  padding: 10px 12px;
  margin: 12px auto 18px;
  max-width: 1200px;

  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
}

/* UL layout */
.services-sticky-filters .services-nav{
  display: flex;
  align-items: center;

  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;

  justify-content: flex-start;
  gap: 14px;

  padding: 6px 4px;
  margin: 0 !important;
  list-style: none !important;

  scrollbar-width: thin; /* Firefox */
  scrollbar-color: var(--accent-color) transparent;
}

/* Chrome / Edge / Safari scrollbar */
.services-sticky-filters .services-nav::-webkit-scrollbar{
  height: 6px;
}
.services-sticky-filters .services-nav::-webkit-scrollbar-track{
  background: transparent;
}
.services-sticky-filters .services-nav::-webkit-scrollbar-thumb{
  background-color: var(--accent-color);
  border-radius: 999px;
}

/* LI behaves like pill container */
.services-sticky-filters .services-nav li{
  flex: 0 0 auto;
  white-space: nowrap;

  padding: 0 !important;
  margin: 0 !important;

  border-radius: 999px;
  transition: transform 0.2s ease, background 0.25s ease;
}

/* Make the link itself the pill */
.services-sticky-filters .services-nav li a{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 16px;
  border-radius: 999px;

  color: color-mix(in srgb, var(--default-color), transparent 35%);
  text-decoration: none;

  font-size: 0.95rem;
  font-weight: 400;
  transition: background 0.25s ease, color 0.25s ease;
}

/* Hover */
.services-sticky-filters .services-nav li a:hover{
  color: var(--heading-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
}

/* Active state (your existing class) */
.services-sticky-filters .services-nav li.filter-active a{
  color: var(--heading-color);
  font-weight: 500;
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
}

/* Mobile tuning */
@media (max-width: 768px){
  .services-sticky-filters{
    top: 10px;
    padding: 8px 8px;
    border-radius: 12px;
  }

  .services-sticky-filters .services-nav{
    gap: 10px;
    padding: 6px 6px;
  }

  .services-sticky-filters .services-nav li a{
    font-size: 13px;
    padding: 9px 14px;
  }
}


/* --- Services nav: dropdown on mobile, tabs on desktop --- */

/* Wrapper */
.services-dropdown-wrap {
  display: none; /* shown only on mobile */
  width: 100%;
  max-width: 520px;
  margin: 0 auto 14px;
}

.services-dropdown-label {
  display: block;
  font-size: 0.85rem;
  opacity: 0.75;
  margin: 0 0 6px 2px;
}

/* Fancy select container */
.services-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0,0,0,0.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* Left icon */
.services-dropdown .bi-grid-3x3-gap {
  font-size: 18px;
  opacity: 0.8;
}

/* Actual select */
.services-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  width: 100%;
  border: none;
  outline: none;
  background: transparent;

  font-weight: 600;
  font-size: 0.98rem;
  padding-right: 26px; /* space for chevron */
  cursor: pointer;
}

/* Right chevron */
.services-dropdown .bi-chevron-down {
  position: absolute;
  right: 14px;
  font-size: 16px;
  opacity: 0.75;
  pointer-events: none;
}

/* Mobile: show dropdown, hide tabs */
@media (max-width: 991px) {
  .services-dropdown-wrap { display: block; }
  .services-tabs { display: none !important; }
}

/* Desktop: hide dropdown, show tabs */
@media (min-width: 992px) {
  .services-dropdown-wrap { display: none; }
  .services-tabs { display: flex; }
}

/* ================================
   Portfolio / Services Conclusion
   With Background
================================ */

.portfolio-conclusion {
  margin-top: 120px;
  padding: 30px 30px 30px;
  background: linear-gradient(
    180deg,
    rgba(255, 140, 26, 0.06),
    rgba(255, 140, 26, 0.02)
  );
}

/* Inner card */
.conclusion-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 48px;
  text-align: center;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

/* Heading */
.conclusion-content h4 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 18px;
  line-height: 1.35;
  color: #111;
}

/* Description */
.conclusion-content p {
  font-size: 1.05rem;
  color: #555;
}

/* Actions */
.conclusion-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Primary CTA */
.conclusion-actions .primary-action {
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  background-color: var(--accent-color, #ff8c1a);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;

  box-shadow: 0 10px 26px rgba(255, 140, 26, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.conclusion-actions .primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255, 140, 26, 0.45);
}

/* Secondary link */
.conclusion-actions .secondary-action {
  font-size: 0.95rem;
  color: #444;
  text-decoration: none;
  position: relative;
}

.conclusion-actions .secondary-action::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.25s ease;
}

.conclusion-actions .secondary-action:hover::after {
  width: 100%;
}

/* Mobile tuning */
@media (max-width: 768px) {
  .portfolio-conclusion {
    padding: 80px 16px 90px;
  }

  .conclusion-content {
    padding: 44px 26px;
    border-radius: 14px;
  }

  .conclusion-content h4 {
    font-size: 1.6rem;
  }

  .conclusion-content p {
    font-size: 1rem;
  }
}

/* Sticky bar */
.services-sticky-filters {
  position: sticky;
  top: 90px;
  z-index: 9999;

  padding: 10px 0;                 /* 🔽 reduced */
  margin: 22px 0 32px;

  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Wrapper */
.services-dropdown-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Label */
.services-dropdown-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #666;
}

/* Dropdown container */
.services-dropdown {
  position: relative;
  width: 100%;

  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.14);

  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

/* Icons */
.services-dropdown .bi-grid-3x3-gap {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #ff7a00;                 /* 🔥 accent */
}

.services-dropdown .bi-chevron-down {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #666;
  pointer-events: none;
}

/* Select */
.services-select {
  width: 100%;
  height: 52px;                   /* 🔽 reduced height */
  padding: 0 48px;

  border: none;
  background: transparent;

  font-size: 1rem;                /* 🔼 clearer text */
  font-weight: 600;
  color: #111;

  appearance: none;
  -webkit-appearance: none;
  outline: none;
}

/* Focus */
.services-dropdown:focus-within {
  border-color: #ff7a00;
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.18);
}

/* Mobile tweak */
@media (max-width: 576px) {
  .services-sticky-filters {
    top: 74px;
  }

  .services-select {
    height: 50px;
    font-size: 0.95rem;
  }
}
/* Force override against template styles */
.services-sticky-filters{
  position: sticky !important;
  top: 90px !important;
  z-index: 9999 !important;
  padding: 10px 0 !important;
  margin: 22px 0 32px !important;
  background: rgba(255,255,255,0.88) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-top: 1px solid rgba(0,0,0,0.06) !important;
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}

.services-dropdown-wrap{
  max-width: 640px !important;
  margin: 0 auto !important;
  padding: 0 16px !important;
}

.services-dropdown-label{
  display: block !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  margin: 0 0 8px 4px !important;
  text-transform: uppercase !important;
  letter-spacing: .4px !important;
  color: #666 !important;
}

.services-dropdown{
  position: relative !important;
  width: 100% !important;
  background: #fff !important;
  border-radius: 14px !important;
  border: 1px solid rgba(0,0,0,0.16) !important;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08) !important;
}

.services-dropdown .bi-grid-3x3-gap{
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 18px !important;
  color: #ff7a00 !important;
  opacity: 1 !important;
}

.services-dropdown .bi-chevron-down{
  position: absolute !important;
  right: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 16px !important;
  color: #555 !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

.services-select{
  width: 100% !important;
  height: 52px !important;
  padding: 0 52px !important;
  border: 0 !important;
  background: transparent !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #111 !important;
  line-height: 52px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  outline: none !important;
}

.services-dropdown:focus-within{
  border-color: #ff7a00 !important;
  box-shadow: 0 0 0 4px rgba(255,122,0,0.18) !important;
}

@media (max-width: 576px){
  .services-sticky-filters{ top: 74px !important; }
  .services-select{ height: 50px !important; line-height: 50px !important; font-size: .95rem !important; }
}
/* ==========================================================
   SERVICES NAV – FINAL CLEAN DROPDOWN (OVERRIDE EVERYTHING)
   Put this at the VERY BOTTOM of services.css
========================================================== */

/* Kill the old tab nav if it still exists anywhere */
.services-tabs,
ul.services-nav,
.portfolio-filters.services-nav {
  display: none !important;
}

/* Sticky bar */
.services-sticky-filters{
  position: sticky !important;
  top: 90px !important;     /* adjust if header overlaps */
  z-index: 9999 !important;

  padding: 10px 0 !important;
  margin: 22px 0 32px !important;

  background: rgba(255,255,255,0.88) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;

  border-top: 1px solid rgba(0,0,0,0.06) !important;
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}

/* Always show dropdown on ALL screen sizes */
.services-dropdown-wrap{
  display: block !important;
  max-width: 640px !important;
  margin: 0 auto !important;
  padding: 0 16px !important;
}

/* Label */
.services-dropdown-label{
  display: block !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  margin: 0 0 8px 4px !important;

  text-transform: uppercase !important;
  letter-spacing: .4px !important;
  color: #666 !important;
}

/* Dropdown container */
.services-dropdown{
  position: relative !important;
  width: 100% !important;

  background: #fff !important;
  border-radius: 14px !important;
  border: 1px solid rgba(0,0,0,0.16) !important;

  box-shadow: 0 8px 22px rgba(0,0,0,0.08) !important;
}

/* Left icon */
.services-dropdown .bi-grid-3x3-gap{
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;

  font-size: 18px !important;
  color: var(--accent-color, #ff7a00) !important;
  opacity: 1 !important;
}

/* Chevron */
.services-dropdown .bi-chevron-down{
  position: absolute !important;
  right: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;

  font-size: 16px !important;
  color: #555 !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

/* Select itself */
.services-select{
  width: 100% !important;
  height: 52px !important;

  padding-left: 52px !important;
  padding-right: 52px !important;

  border: 0 !important;
  background: transparent !important;

  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #111 !important;

  appearance: none !important;
  -webkit-appearance: none !important;
  outline: none !important;
  cursor: pointer !important;
}

/* Focus ring */
.services-dropdown:focus-within{
  border-color: var(--accent-color, #ff7a00) !important;
  box-shadow: 0 0 0 4px rgba(255,122,0,0.18) !important;
}



/* Disabled placeholder */
.services-select option[disabled] {
  color: rgba(255,255,255,0.6);
}

/* MOBILE: keep services select behind the navbar */
@media (max-width: 991px) {
  .services-sticky-filters {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    z-index: 2000; /* LOWER than navbar */
    margin: 0 !important;
  }

  /* make sure navbar stays above it */
  .nav-wrapper {
    z-index: 5000 !important;
    position: sticky; /* or fixed; whatever you already use */
    top: 0;
  }
}

@media (max-width: 991px) {
  /* Dropdown always stays pinned */
  .services-sticky-filters{
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    z-index: 2000 !important;  /* below navbar */
  }

  /* Navbar always above dropdown */
  .nav-wrapper{
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5000 !important;
  }

  /* When navbar hides, dropdown becomes visible automatically */
  .nav-wrapper.nav-hidden{
    transform: translateY(-110%);
    transition: transform 0.25s ease;
  }
}

/* Disabled placeholder */
.services-select option[disabled] {
  color: rgba(255,255,255,0.6);
}

/* ===============================
   SERVICES PAGE DROPDOWN (SELECT)
   =============================== */

.services-sticky-filters {
  background: transparent;
}

/* wrapper */
.services-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 14px 16px;
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* left icon */
.services-dropdown i.bi-grid-3x3-gap {
  font-size: 18px;
  opacity: 0.9;
}

/* select */
.services-select {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;

  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;

  color: #fff;
  cursor: pointer;

  padding-right: 28px;
  appearance: none;
}

/* arrow */
.services-dropdown .bi-chevron-down {
  position: absolute;
  right: 14px;
  pointer-events: none;
  opacity: 0.85;
}

/* placeholder */
.services-select option[disabled] {
  color: rgba(255, 255, 255, 0.6);
}

/* MOBILE – better tap + no zoom */
@media (max-width: 991px) {
  .services-select {
    font-size: 16px;
  }
}

/* Keep the selected value from overflowing the box */
.services-select {
  width: 100%;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* =================================================
   SERVICES SELECT – MOBILE FIX (CSS ONLY)
   ================================================= */
@media (max-width: 991px) {

  /* Prevent the page from scrolling sideways */
  body {
    overflow-x: hidden;
  }

  /* Constrain dropdown container */
  .sticky-filters,
  .services-dropdown-wrap,
  .services-dropdown {
    max-width: 100%;
    overflow: hidden;
  }

  /* Make the select control clean and safe */
  .services-select {
    width: 100%;
    max-width: 100%;

    /* Prevent selected value overflow */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    font-size: 16px;          /* prevents iOS zoom */
    line-height: 1.4;
  }

  /* Best-effort styling for option list (browser-dependent) */
  .services-select option {
    font-size: 15px;
    line-height: 1.4;

    /* Some browsers respect this */
    white-space: normal;
    word-break: break-word;
  }
}


/* ===== Custom mobile services dropdown ===== */
@media (max-width: 991px) {
  /* hide native select on mobile only */
  .services-dd .services-select {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 1px !important;
    height: 1px !important;
  }

  .services-dd {
    position: relative;
  }

  .services-dd-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;

    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
  }

  .services-dd-value {
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
  }

  .services-dd-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);

    background: rgba(20, 20, 24, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 14px;

    padding: 8px;
    display: none;
    z-index: 9999;

    max-height: 320px;
    overflow: auto;
  }

  .services-dd.open .services-dd-menu {
    display: block;
  }

  .services-dd-item {
    width: 100%;
    border: 0;
    background: transparent;

    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-align: left;

    padding: 12px 14px;
    border-radius: 10px;
    cursor: pointer;
  }

  .services-dd-item:hover,
  .services-dd-item:active {
    background: rgba(255,255,255,0.12);
  }
}


/* =========================
   MOBILE: custom centered dropdown
   ========================= */

/* Keep wrapper centered */
.services-dropdown-wrap{
  width: min(680px, calc(100vw - 28px));
  margin: 0 auto;
}

/* Desktop uses select, mobile uses button */
.services-mobile-dd{ display: none; }
.services-desktop-select{ display: block; }

@media (max-width: 991px){
  .services-mobile-dd{ display: flex; }
  .services-desktop-select{ display: none !important; }
}

/* Button UI (matches your style) */
.services-mobile-dd{
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding: 14px 16px;
  border-radius: 16px;

  background: rgba(255,255,255,0.9);
  border: 2px solid rgba(255,140,26,0.35);
  box-shadow: 0 10px 26px rgba(2,6,23,0.10);

  cursor: pointer;
}

.services-mobile-dd > i.bi-grid-3x3-gap{
  color: var(--accent-color, #ff7a00);
  font-size: 18px;
}

#servicesMobileValue{
  flex: 1;
  text-align: left;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.services-mobile-dd > i.bi-chevron-down{
  color: rgba(2,6,23,0.6);
  font-size: 16px;
}

/* Overlay + centered modal */
.services-dd-overlay{
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(2,6,23,0.55);
  display: grid;
  place-items: center; /* ✅ ALWAYS CENTER */
  padding: 250px 18px;
}

.services-dd-modal{
  width: min(520px, 92vw); /* ✅ centered, never overflow */
  max-height: 60vh;
  overflow: hidden;
  background: rgba(255,255,255,0.98);
  border-radius: 18px;
  border: 1px solid rgba(2,6,23,0.12);
  box-shadow: 0 22px 55px rgba(2,6,23,0.25);
}

.services-dd-title{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-weight: 800;
  color: #111;
  border-bottom: 1px solid rgba(2,6,23,0.08);
}

.services-dd-close{
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: rgba(2,6,23,0.65);
}

.services-dd-list{
  padding: 10px;
  max-height: calc(70vh - 52px);
  overflow: auto;
}

.services-dd-item{
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;

  padding: 12px 14px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #111;

  cursor: pointer;
}

.services-dd-item:hover{
  background: rgba(255,140,26,0.10);
}

.services-dd-item.active{
  background: rgba(2,6,23,0.10);
}

