/* ==========================================================================
   ZENFY DESIGN SYSTEM - SILICON HORIZON IT
   Matched 1:1 to Zenfy Next.js IT Solution & Agency Reference
   ========================================================================== */

:root {
  --font-hankenGrotesk: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Primary Zenfy Palette */
  --primary-color1: #3067ff;
  --primary-color1-opc: 48, 103, 255;
  --primary-color2: #0b0c0c;
  --dark-primary-color2: #0b0c0c;
  --primary-color2-opc: 11, 12, 12;

  /* Neutrals & Surfaces */
  --white-color: #ffffff;
  --dark-white-color: #ffffff;
  --black-color: #000000;
  --black-color2: #1e1f1f;
  --black-color3: #0b0c0c;
  --light-black-color: #121417;
  
  --title-color: #0b0c0c;
  --dark-title-color: #0b0c0c;
  --title-color-opc: 11, 12, 12;
  
  --text-color: #3f444b;
  --text-color-opc: 63, 68, 75;
  --text-muted: #64748b;
  
  --border-color: #eeeeee;
  --border-color2: #e5e7eb;
  --card-bg: #ffffff;
  --light-bg: #f9faff;
  --badge-bg: rgba(48, 103, 255, 0.08);
}

body.dark {
  --white-color: #ffffff;
  --dark-white-color: #0b0c0c;
  --black-color: #000000;
  --black-color2: #1e1f1f;
  --title-color: #ffffff;
  --title-color-opc: 255, 255, 255;
  --text-color: #b5b5b5;
  --text-color-opc: 255, 255, 255;
  --primary-color1: #3067ff;
  --primary-color1-opc: 48, 103, 255;
  --primary-color2: #ffffff;
  --primary-color2-opc: 255, 255, 255;
  --border-color: #2e3238;
  --border-color2: #3d3a3a6e;
  --card-bg: #161819;
  --light-bg: #0b0c0c;
  --badge-bg: rgba(48, 103, 255, 0.15);
  background-color: #0b0c0c;
}

/* Base Typography */
body {
  font-family: var(--font-inter);
  color: var(--text-color);
  background-color: var(--white-color);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-hankenGrotesk);
  color: var(--title-color);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

a {
  color: var(--primary-color1);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: #1a4cd2;
}

/* ==========================================================================
   Zenfy Buttons
   ========================================================================== */
.primary-btn1 {
  border-radius: 5px;
  background-color: var(--primary-color1);
  font-family: var(--font-inter);
  font-weight: 600;
  font-size: 15px;
  color: #ffffff !important;
  letter-spacing: 0.4px;
  line-height: 1;
  padding: 16px 28px;
  position: relative;
  align-items: center;
  display: inline-flex;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  overflow: hidden;
  z-index: 1;
  white-space: nowrap;
  border: 1px solid var(--primary-color1);
  text-decoration: none;
  cursor: pointer;
}

.primary-btn1:hover {
  background-color: var(--primary-color2);
  border-color: var(--primary-color2);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(48, 103, 255, 0.25);
}

.primary-btn2 {
  border-radius: 5px;
  background-color: var(--primary-color2);
  font-family: var(--font-inter);
  font-weight: 600;
  font-size: 15px;
  color: #ffffff !important;
  letter-spacing: 0.4px;
  line-height: 1;
  padding: 16px 28px;
  position: relative;
  align-items: center;
  display: inline-flex;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  overflow: hidden;
  z-index: 1;
  white-space: nowrap;
  border: 1px solid var(--primary-color2);
  text-decoration: none;
  cursor: pointer;
}

.primary-btn2:hover {
  background-color: var(--primary-color1);
  border-color: var(--primary-color1);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(11, 12, 12, 0.25);
}

.primary-btn-outline {
  border-radius: 5px;
  background-color: transparent;
  font-family: var(--font-inter);
  font-weight: 600;
  font-size: 15px;
  color: var(--title-color) !important;
  letter-spacing: 0.4px;
  line-height: 1;
  padding: 15px 26px;
  position: relative;
  align-items: center;
  display: inline-flex;
  gap: 8px;
  transition: all 0.25s ease;
  overflow: hidden;
  z-index: 1;
  white-space: nowrap;
  border: 1px solid var(--border-color2);
  text-decoration: none;
}

.primary-btn-outline:hover {
  background-color: var(--badge-bg);
  border-color: var(--primary-color1);
  color: var(--primary-color1) !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   Zenfy Section Titles & Badges
   ========================================================================== */
.section-title {
  margin-bottom: 50px;
}

.section-title > span,
.section-subtitle-badge {
  color: var(--primary-color1);
  font-family: var(--font-inter);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  background-color: var(--badge-bg);
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid rgba(48, 103, 255, 0.15);
}

.section-title h2 {
  font-family: var(--font-hankenGrotesk);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--title-color);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 32px;
  }
}

.section-title p {
  color: var(--text-color);
  font-size: 17px;
  line-height: 1.7;
  max-width: 650px;
  margin: 0 auto;
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
header.zenfy-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}

.navbar-brand img,
.navbar-brand .navbar-brand-logo {
  height: 48px;
  max-height: 52px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  display: block;
}

.navbar-brand .brand-title {
  font-family: var(--font-hankenGrotesk);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.28em;
  white-space: nowrap;
}

.navbar-brand .brand-title .brand-dark {
  color: #002558;
  font-weight: 800;
}

.navbar-brand .brand-title .brand-accent {
  color: #0172fe;
  font-weight: 800;
}

@media (max-width: 576px) {
  .navbar-brand {
    gap: 8px;
  }
  .navbar-brand img,
  .navbar-brand .navbar-brand-logo {
    height: 38px;
    max-height: 40px;
    max-width: 180px;
  }
  .navbar-brand .brand-title {
    font-size: 19px;
    letter-spacing: -0.025em;
  }
}

.nav-link {
  font-family: var(--font-inter);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--title-color) !important;
  padding: 8px 12px !important;
  white-space: nowrap !important;
  position: relative;
  transition: color 0.2s ease;
}

@media (min-width: 1400px) {
  .nav-link {
    font-size: 15px;
    padding: 8px 16px !important;
  }
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color1) !important;
}

/* Header Hotline Pill */
.header-hotline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: 5px;
  background: rgba(48, 103, 255, 0.05);
  border: 1px solid rgba(48, 103, 255, 0.12);
  line-height: 1.2;
}

.header-hotline .icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(48, 103, 255, 0.12);
  color: var(--primary-color1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.header-hotline .content span {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary-color1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}

.header-hotline .content h6 {
  font-size: 14px;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 0;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.zenfy-hero {
  background: linear-gradient(180deg, rgba(48, 103, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%), #ffffff;
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}

.zenfy-hero h1 {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--title-color);
}

@media (max-width: 991px) {
  .zenfy-hero h1 {
    font-size: 38px;
  }
}

.stat-item {
  border-right: 1px solid var(--border-color);
  padding-right: 20px;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-hankenGrotesk);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  color: var(--primary-color1);
  letter-spacing: -0.02em;
}

.stat-label {
  font-family: var(--font-inter);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 6px;
}

/* ==========================================================================
   Cards & Grids (Zenfy 5px Precision Radius)
   ========================================================================== */
.service-box {
  padding: 36px 30px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.service-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--primary-color1);
  transition: width 0.35s ease;
}

.service-box:hover::after {
  width: 100%;
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.06);
  border-color: rgba(48, 103, 255, 0.2);
}

.service-icon-wrap {
  width: auto;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 32px;
  color: var(--primary-color1);
  background: transparent;
  margin-bottom: 22px;
  transition: all 0.3s ease;
}

.service-icon-wrap img {
  max-width: 44px;
  max-height: 44px;
  object-fit: contain;
}

.service-box:hover .service-icon-wrap,
.service-box:active .service-icon-wrap,
.service-box:focus .service-icon-wrap {
  background: transparent;
  color: var(--primary-color1);
}

.service-box h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-box p {
  color: var(--text-color);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 18px;
}

.service-arrow-link {
  font-family: var(--font-inter);
  font-size: 14px;
  font-weight: 600;
  color: var(--title-color);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  transition: all 0.2s ease;
}

.service-arrow-link i {
  color: var(--primary-color1);
  font-size: 18px;
  transition: transform 0.2s ease;
}

.service-box:hover .service-arrow-link {
  color: var(--primary-color1);
}

.service-box:hover .service-arrow-link i {
  transform: translateX(4px);
}

/* Project Card */
.project-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  overflow: hidden;
  transition: all 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(11, 12, 12, 0.08);
}

.project-img-wrap {
  position: relative;
  overflow: hidden;
  height: 260px;
}

.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img-wrap img {
  transform: scale(1.05);
}

/* Tech Pill */
.tech-pill {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.25s ease;
}

.tech-pill:hover {
  border-color: var(--primary-color1);
  box-shadow: 0 10px 25px rgba(48, 103, 255, 0.1);
  transform: translateY(-2px);
}

.tech-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 5px;
  background: rgba(48, 103, 255, 0.06);
  color: var(--primary-color1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

/* Testimonial Card */
.testimonial-card-zenfy {
  background: #121417;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  padding: 34px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.testimonial-author-avatar {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  min-height: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
  border: 2px solid rgba(48, 103, 255, 0.4) !important;
  display: block !important;
}

/* Form Controls */
.zenfy-form-control {
  border-radius: 5px;
  background: #ffffff;
  color: var(--title-color);
  border: 1px solid var(--border-color);
  font-family: var(--font-inter);
  font-size: 14px;
  padding: 14px 18px;
  transition: all 0.2s ease;
  width: 100%;
}

.zenfy-form-control:focus {
  border-color: var(--primary-color1);
  outline: none;
  box-shadow: 0 0 0 3px rgba(48, 103, 255, 0.12);
}

/* Footer */
footer.zenfy-footer {
  background-color: #0b0c0c;
  color: #9ca3af;
  border-top: 1px solid #1e2023;
  padding-top: 80px;
  padding-bottom: 30px;
}

footer.zenfy-footer h4,
footer.zenfy-footer h5,
footer.zenfy-footer h6 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

footer.zenfy-footer a {
  color: #9ca3af;
  font-size: 14px;
  transition: color 0.2s ease;
}

footer.zenfy-footer a:hover {
  color: var(--primary-color1);
}

.footer-view-all-link {
  color: var(--primary-color1) !important;
  font-size: 13.5px !important;
  font-weight: 500;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  transition: all 0.2s ease;
}

.footer-view-all-link:hover {
  color: #60a5fa !important;
  gap: 8px;
}

.footer-view-all-link i {
  font-size: 13px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.footer-view-all-link:hover i {
  transform: translateX(2px);
}

.footer-brand-logo {
  height: 48px;
  max-height: 54px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  /* Smart filter: inverts dark navy text to crisp white while keeping electric blue elements blue, without any background box */
  filter: invert(1) hue-rotate(180deg) brightness(1.1);
  transition: opacity 0.2s ease;
}

.footer-rating-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #141619;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 16px;
  border-radius: 6px;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* ==========================================================================
   Zenfy Breadcrumb / Page Header Banner
   Matched 1:1 to Zenfy Next.js Innerpage Header Reference
   ========================================================================== */
.breadcrumb-section {
  background-image: url('/img/breadcrumb-bg1.png'), linear-gradient(180deg, #121212 0%, #121212 100%);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  padding: 110px 0 75px;
  position: relative;
  text-align: center;
  color: #ffffff;
}

@media (max-width: 991px) {
  .breadcrumb-section {
    padding: 85px 0 50px;
  }
}

.breadcrumb-section .banner-wrapper .banner-content h1,
.breadcrumb-section h1 {
  color: #ffffff !important;
  font-family: var(--font-hankenGrotesk);
  font-size: 50px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0;
  letter-spacing: -0.025em;
}

@media (max-width: 767px) {
  .breadcrumb-section .banner-wrapper .banner-content h1,
  .breadcrumb-section h1 {
    font-size: 34px;
  }
}

@media (max-width: 576px) {
  .breadcrumb-section .banner-wrapper .banner-content h1,
  .breadcrumb-section h1 {
    font-size: 26px;
  }
}

.breadcrumb-section .banner-wrapper .banner-content .breadcrumb-list,
.breadcrumb-section .breadcrumb-list {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 9px 22px;
  line-height: 1;
  margin: 0 0 16px;
}

.breadcrumb-section .banner-wrapper .banner-content .breadcrumb-list li,
.breadcrumb-section .breadcrumb-list li {
  color: #ffffff;
  font-family: var(--font-inter);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  padding-left: 16px;
  display: inline-flex;
  align-items: center;
}

.breadcrumb-section .banner-wrapper .banner-content .breadcrumb-list li a,
.breadcrumb-section .breadcrumb-list li a {
  color: var(--primary-color1);
  text-decoration: none;
  transition: all 0.2s ease;
}

.breadcrumb-section .banner-wrapper .banner-content .breadcrumb-list li a:hover,
.breadcrumb-section .breadcrumb-list li a:hover {
  color: #ffffff;
}

.breadcrumb-section .banner-wrapper .banner-content .breadcrumb-list li:before,
.breadcrumb-section .breadcrumb-list li:before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #ffffff;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.breadcrumb-section .banner-wrapper .banner-content .breadcrumb-list li:first-child,
.breadcrumb-section .breadcrumb-list li:first-child {
  padding-left: 0;
}

.breadcrumb-section .banner-wrapper .banner-content .breadcrumb-list li:first-child:before,
.breadcrumb-section .breadcrumb-list li:first-child:before {
  display: none;
}

/* ==========================================================================
   TEAM & LEADERSHIP PHOTO FULL VIEW ENHANCEMENTS
   ========================================================================== */
/* ==========================================================================
   Clean Team & Leadership Card Layout (Reference Matched)
   Square Headshot, Uncropped Portrait Frame, No Overlay, Clean Info Below
   ========================================================================== */
.team-card-modern {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.team-card-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f8fafc;
  position: relative;
}

.team-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.35s ease;
}

.team-card-modern:hover .team-card-img-wrap img {
  transform: scale(1.04);
}

.team-card-body {
  padding: 16px 14px;
  text-align: center;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
}

.team-card-name {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
  line-height: 1.3;
}

.team-card-role {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 0;
  line-height: 1.4;
}

.team-card-bio {
  font-size: 12px;
  color: #64748b;
  margin-top: 8px;
  margin-bottom: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.team-card-socials {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}

.team-card-socials a {
  color: #64748b;
  font-size: 15px;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s;
}

.team-card-socials a:hover {
  color: var(--primary-color1);
  background: rgba(48, 103, 255, 0.08);
}

/* ==========================================================================
   Continuous Client/Partner Logo Slider (Right to Left Infinite Marquee)
   ========================================================================== */
.client-logo-slider-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 12px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.client-logo-track {
  display: flex;
  width: max-content;
  align-items: center;
  /* Smooth, hardware-accelerated continuous movement from right to left */
  animation: clientLogoScrollRightToLeft 25s linear infinite;
  will-change: transform;
}

@keyframes clientLogoScrollRightToLeft {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.client-logo-group {
  display: flex;
  align-items: center;
  gap: 60px;
  padding-right: 60px;
}

.client-logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  background: transparent;
  transition: transform 0.25s ease;
}

.client-logo-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.client-logo-img {
  max-height: 48px;
  max-width: 170px;
  width: auto;
  height: auto;
  object-fit: contain;
  /* 100% Original Brand Colors - NO grayscale, NO opacity reduction */
  filter: none !important;
  opacity: 1 !important;
  transition: transform 0.2s ease;
}

.client-logo-item:hover .client-logo-img {
  transform: scale(1.08);
}

/* Desktop fix for Products & Platforms preview images */
@media (min-width: 992px) {
  .breadcrumb-section ~ section .project-img-wrap,
  #products .project-img-wrap {
    height: auto;
    aspect-ratio: 3 / 2;
  }
}

/* Upcoming Project Card Picture Badge (Top-Left) */
.upcoming-card-badge {
  background: #f59e0b !important;
  color: #0b0c0c !important;
  font-weight: 700 !important;
  font-size: 11px !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 12px rgba(245, 158, 11, 0.45) !important;
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}

.upcoming-modal-dialog {
  max-width: 680px;
}

.upcoming-modal-content {
  border-radius: 16px !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.45) !important;
  background-color: #ffffff;
}

.upcoming-modal-hero {
  position: relative;
  min-height: 270px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 28px;
  transition: background-image 0.4s ease-in-out;
}

.upcoming-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 15, 29, 0.35) 0%,
    rgba(10, 15, 29, 0.68) 45%,
    rgba(10, 15, 29, 0.98) 100%
  );
  z-index: 1;
}

.upcoming-badge-pill {
  background: #f59e0b !important;
  color: #0b0c0c !important;
  font-weight: 700;
  font-size: 11px;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.upcoming-badge-glass {
  background: rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  font-size: 11px;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
}

.upcoming-modal-close-btn {
  background-color: rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50% !important;
  padding: 10px !important;
  opacity: 0.9 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease !important;
}

.upcoming-modal-close-btn:hover {
  opacity: 1 !important;
  transform: rotate(90deg);
  background-color: rgba(0, 0, 0, 0.8) !important;
}

.upcoming-action-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 14px;
  border-radius: 20px;
  width: fit-content;
}

.upcoming-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
  display: inline-block;
  box-shadow: 0 0 10px #f59e0b;
  animation: upcomingPulse 1.8s infinite;
}

@keyframes upcomingPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
    box-shadow: 0 0 14px #f59e0b;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.8;
  }
}

.upcoming-pipeline-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

@media (max-width: 576px) {
  .upcoming-modal-hero {
    min-height: 230px;
    padding: 20px 18px;
  }
  .upcoming-modal-hero h3 {
    font-size: 20px !important;
  }
}

/* ==========================================================================
   Modern Interactive Testimonials Section (Single-Line Selector & Spotlight)
   ========================================================================== */
#testimonials {
  position: relative;
  background-color: #0b0c0c !important;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    radial-gradient(ellipse 70% 50% at 50% 20%, rgba(48, 103, 255, 0.16) 0%, rgba(11, 12, 12, 0) 70%) !important;
  background-size: 32px 32px, 100% 100% !important;
}

.testimonial-trust-strip {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 40px;
  padding: 8px 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.testimonial-showcase-card {
  position: relative;
  background: rgba(18, 20, 24, 0.8) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 24px !important;
  padding: 44px 48px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8), 0 0 35px rgba(48, 103, 255, 0.08);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-showcase-card:hover {
  border-color: rgba(48, 103, 255, 0.35) !important;
  box-shadow: 0 35px 90px -20px rgba(0, 0, 0, 0.85), 0 0 45px rgba(48, 103, 255, 0.14);
}

.testimonial-quote-watermark {
  position: absolute;
  right: 28px;
  top: 15px;
  font-size: 140px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  font-family: serif;
}

.testimonial-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.testimonial-nav-btn:hover {
  background: var(--primary-color1);
  border-color: var(--primary-color1);
  transform: scale(1.08);
  box-shadow: 0 0 15px rgba(48, 103, 255, 0.5);
  color: #ffffff;
}

.testimonial-active-quote {
  font-size: 22px;
  line-height: 1.65;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #ffffff;
  min-height: 80px;
  position: relative;
  transition: all 0.3s ease;
  font-style: normal;
}

.testimonial-active-avatar {
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  min-height: 64px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid var(--primary-color1) !important;
  box-shadow: 0 0 18px rgba(48, 103, 255, 0.45);
  transition: transform 0.3s ease;
}

.testimonial-active-avatar:hover {
  transform: scale(1.06);
}

.testimonial-impact-pill {
  background: rgba(48, 103, 255, 0.1);
  border: 1px solid rgba(48, 103, 255, 0.3);
  border-radius: 12px;
  padding: 8px 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Auto-rotation Progress Track */
.testimonial-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.testimonial-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-color1), #60a5fa);
  transition: width 0.08s linear;
}

/* ==========================================================================
   Single Line Reviewer Strip (In One Line - Click to view review)
   ========================================================================== */
.testimonial-line-strip-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.testimonial-line-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 12px 6px 18px 6px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.testimonial-line-strip::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.testimonial-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50px;
  padding: 8px 18px 8px 10px;
  color: #ffffff;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.testimonial-pill-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.testimonial-pill-btn.active {
  background: rgba(48, 103, 255, 0.18) !important;
  border-color: var(--primary-color1) !important;
  box-shadow: 0 0 20px rgba(48, 103, 255, 0.35), inset 0 0 12px rgba(48, 103, 255, 0.15) !important;
  transform: translateY(-2px);
}

.testimonial-pill-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.testimonial-pill-btn.active .testimonial-pill-avatar {
  border-color: var(--primary-color1) !important;
  box-shadow: 0 0 10px rgba(48, 103, 255, 0.5);
}

.testimonial-pill-name {
  font-weight: 600;
  font-size: 13px;
  color: #ffffff;
  line-height: 1.2;
}

.testimonial-pill-company {
  font-size: 11px;
  color: #9ca3af;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.testimonial-pill-btn.active .testimonial-pill-company {
  color: #93c5fd !important;
}

.testimonial-pill-indicator {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 24px;
  height: 3px;
  border-radius: 3px;
  background: var(--primary-color1);
  box-shadow: 0 0 8px var(--primary-color1);
  transition: transform 0.3s ease;
}

.testimonial-pill-btn.active .testimonial-pill-indicator {
  transform: translateX(-50%) scaleX(1);
}

/* Animations */
.testimonial-fade-swap {
  animation: testimonialSwap 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes testimonialSwap {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}

@media (max-width: 768px) {
  .testimonial-showcase-card {
    padding: 30px 22px;
  }
  .testimonial-active-quote {
    font-size: 17px;
    min-height: auto;
  }
  .testimonial-line-strip {
    justify-content: flex-start;
  }
}

/* ==========================================================================
   Zenfy Footer Interactive Enhancements
   ========================================================================== */
.footer-rating-pill {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer;
}

.footer-rating-pill:hover {
  background: #1c1f24 !important;
  border-color: rgba(48, 103, 255, 0.45) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.footer-contact-link {
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-contact-link:hover {
  color: #ffffff !important;
  transform: translateX(3px);
}

.footer-social-btn {
  transition: all 0.2s ease !important;
}

.footer-social-btn:hover {
  background-color: var(--primary-color1) !important;
  border-color: var(--primary-color1) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(48, 103, 255, 0.35);
}

footer.zenfy-footer ul li a {
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}

footer.zenfy-footer ul li a:hover {
  color: #ffffff !important;
  transform: translateX(4px);
}