/**
 * Homepage Redesign Stylesheet
 * Aligned with Portfolio Single Design System & Macromodule Visual Tokens:
 * --primary-color: #0da5a7
 * --primary-gradient: linear-gradient(135deg, #0da5a7 0%, #077475 100%)
 * --text-primary: #1e293b
 * --text-secondary: #64748b
 * --border-color: #e2e8f0
 * --card-bg: #ffffff
 *
 * @package MacromoduleTechnologies
 */

/* ==========================================================================
   1. GLOBAL HOMEPAGE SCOPE & CANVAS
   ========================================================================== */

.home-page-main {
  background-color: #ffffff;
  color: var(--text-primary, #1e293b);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

.home-page-main section {
  position: relative;
  width: 100%;
  background-color: transparent !important;
}

.home-page-main section > .container,
.home-page-main section > .container-fluid {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   HERO SECTION BACKGROUND SHADOWS & AMBIENT GLOWS (PRESERVED)
   ========================================================================== */
.hero-v2,
#hero,
.bg-header-hero-v2,
.home-page-main section.hero-v2,
.home-page-main #hero {
  position: relative;
  background-color: transparent !important;
  overflow: hidden;
}

/* Left Ambient Glow: Brand Teal */
.bg-header-hero-v2::before,
.hero-v2::before,
#hero::before,
.home-page-main #hero::before,
.home-page-main .hero-v2::before {
  content: "" !important;
  position: absolute !important;
  top: 15% !important;
  left: 8% !important;
  width: 520px !important;
  height: 520px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(13, 165, 167, 0.38) 0%, rgba(13, 165, 167, 0.10) 45%, transparent 70%) !important;
  filter: blur(80px) !important;
  pointer-events: none !important;
  z-index: 0 !important;
  display: block !important;
}

/* Right Ambient Shadow: Black Depth Shadow */
.bg-header-hero-v2::after,
.hero-v2::after,
#hero::after,
.home-page-main #hero::after,
.home-page-main .hero-v2::after {
  content: "" !important;
  position: absolute !important;
  top: 22% !important;
  right: 8% !important;
  width: 520px !important;
  height: 520px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.05) 45%, transparent 70%) !important;
  filter: blur(80px) !important;
  pointer-events: none !important;
  z-index: 0 !important;
  display: block !important;
}

/* ==========================================================================
   2. AMBIENT BACKGROUND GLOW SYSTEM (ZERO-CLIPPING RHYTHMIC ALTERNATION)
   Matches Portfolio Single: Seamless #ffffff canvas with alternating radial glows.
   ========================================================================== */

/* Even sections (2, 4, 6, 8, 10, 12...): Right Black Depth Shadow */
.home-page-main > section:nth-of-type(2n)::after,
.home-services-section::after,
.home-portfolio-section::after,
.home-tech-stack-section::after,
.home-testimonials-section::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.04) 45%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.home-page-main > section:nth-of-type(2n)::before,
.home-services-section::before,
.home-portfolio-section::before,
.home-tech-stack-section::before,
.home-testimonials-section::before {
  display: none !important;
}

/* Odd sections starting after hero (3, 5, 7, 9, 11...): Left Brand Teal Glow */
.home-page-main > section:nth-of-type(2n+1):not(:first-of-type)::before,
.home-about-section::before,
.home-achievements-section::before,
.home-partners-section::before,
.home-recognized-section::before,
.home-blogs-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 165, 167, 0.32) 0%, rgba(13, 165, 167, 0.08) 45%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.home-page-main > section:nth-of-type(2n+1):not(:first-of-type)::after,
.home-about-section::after,
.home-achievements-section::after,
.home-partners-section::after,
.home-recognized-section::after,
.home-blogs-section::after {
  display: none !important;
}

@media (max-width: 768px) {
  .home-page-main > section:nth-of-type(2n)::after,
  .home-services-section::after,
  .home-portfolio-section::after,
  .home-tech-stack-section::after,
  .home-testimonials-section::after {
    width: 300px;
    height: 300px;
    right: 0;
    filter: blur(60px);
  }

  .home-page-main > section:nth-of-type(2n+1):not(:first-of-type)::before,
  .home-about-section::before,
  .home-achievements-section::before,
  .home-partners-section::before,
  .home-recognized-section::before,
  .home-blogs-section::before {
    width: 320px;
    height: 320px;
    left: 0;
    filter: blur(60px);
  }
}

/* ==========================================================================
   3. TYPOGRAPHY & COMMON DESIGN SYSTEM TOKENS
   ========================================================================== */

.home-section-padding {
  padding: 42px 0;
}

@media (max-width: 991px) {
  .home-section-padding {
    padding: 32px 0;
  }
}

@media (max-width: 575px) {
  .home-section-padding {
    padding: 24px 0;
  }
}

.home-section-title {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--text-primary, #1e293b);
  margin-bottom: 0;
}

.home-section-desc {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
  color: var(--text-secondary, #64748b);
  margin-bottom: 0;
}

/* Gradient text accent */
.gradient-text,
.home-page-main .gradient-text {
  background: var(--primary-gradient, linear-gradient(135deg, #0da5a7 0%, #077475 100%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

/* Category / Section Pill Badge */
.home-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(13, 165, 167, 0.08);
  border: 1px solid rgba(13, 165, 167, 0.22);
  color: var(--primary-color, #0da5a7);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.home-pill-badge .pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-color, #0da5a7);
}

/* Primary Pill Button */
.cs-btn-primary,
.home-page-main .cs-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--primary-gradient, linear-gradient(135deg, #0da5a7 0%, #077475 100%));
  color: #ffffff !important;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  box-shadow: 0 4px 16px rgba(13, 165, 167, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  width: auto;
  max-width: max-content;
}

.cs-btn-primary:hover,
.home-page-main .cs-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 165, 167, 0.38);
  color: #ffffff !important;
}

/* Strict sizing on all button arrow SVGs */
.cs-btn-arrow,
svg.cs-btn-arrow,
.home-page-main .cs-btn-arrow,
.home-page-main svg.cs-btn-arrow {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
  transition: transform 0.3s ease;
}

.cs-btn-primary:hover .cs-btn-arrow,
.home-page-main .cs-btn-primary:hover .cs-btn-arrow {
  transform: translateX(4px);
}

/* Secondary / Outline Pill Button */
.cs-btn-outline,
.home-page-main .cs-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: var(--text-primary, #1e293b) !important;
  border: 1px solid var(--border-color, #e2e8f0);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cs-btn-outline:hover,
.home-page-main .cs-btn-outline:hover {
  border-color: var(--primary-color, #0da5a7);
  color: var(--primary-color, #0da5a7) !important;
  background: rgba(13, 165, 167, 0.04);
  transform: translateY(-2px);
}

/* Common Modern Bento Card */
.home-modern-card {
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.025);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.home-modern-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 165, 167, 0.35);
  box-shadow: 0 14px 32px rgba(13, 165, 167, 0.08);
}

/* Soft Icon Box */
.home-card-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(13, 165, 167, 0.08);
  color: var(--primary-color, #0da5a7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}

.home-card-icon-box svg {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
}

.home-modern-card:hover .home-card-icon-box {
  transform: scale(1.06);
  background: rgba(13, 165, 167, 0.14);
}

.home-card-icon-box img {
  max-width: 24px;
  max-height: 24px;
  object-fit: contain;
}

/* Numbered Circle / Pip Badge */
.home-card-badge-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(13, 165, 167, 0.08);
  color: var(--primary-color, #0da5a7);
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}

/* Circular Slider Navigation Controls */
.home-circle-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary, #1e293b);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.home-circle-nav-btn:hover {
  border-color: var(--primary-color, #0da5a7);
  background: var(--primary-color, #0da5a7);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 165, 167, 0.25);
}

.home-circle-nav-btn img {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  transition: filter 0.3s ease;
}

.home-circle-nav-btn:hover img {
  filter: brightness(0) invert(1);
}

/* ==========================================================================
   4. CLIENT LOGOS SECTION (HORIZONTAL MARQUEE)
   ========================================================================== */

.home-client-logos-section {
  padding: 24px 0 32px;
  position: relative;
  background: #ffffff;
  width: 100%;
}

.home-client-logos-section .marquee {
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
}

.home-client-logos-section .marquee-image {
  height: 44px !important;
  max-height: 44px !important;
  max-width: 180px !important;
  width: auto !important;
  object-fit: contain !important;
  margin: 0 28px !important;
  opacity: 0.85;
  display: inline-block !important;
  vertical-align: middle;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.home-client-logos-section .marquee-image:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* ==========================================================================
   5. ABOUT SECTION (ASYMMETRIC BENTO SPLIT)
   ========================================================================== */

.home-about-section {
  position: relative;
}

.home-about-card-wrapper {
  position: relative;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  padding: 16px;
  overflow: hidden;
}

.home-about-img {
  width: 100%;
  height: auto;
  max-height: 440px;
  border-radius: 18px;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.home-about-card-wrapper:hover .home-about-img {
  transform: scale(1.02);
}

.home-about-floating-chip {
  position: absolute;
  bottom: 28px;
  left: 28px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}

.home-about-chip-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(13, 165, 167, 0.1);
  color: var(--primary-color, #0da5a7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-about-chip-icon svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
}

.home-about-chip-title {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary, #1e293b);
  margin: 0;
  line-height: 1.2;
}

.home-about-chip-sub {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: var(--text-secondary, #64748b);
  margin: 0;
}

/* ==========================================================================
   6. SERVICES SECTION (TABBED BENTO GRID)
   ========================================================================== */

.home-services-tabs-wrap {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-bottom: 6px;
}

.home-services-tabs-wrap::-webkit-scrollbar {
  display: none;
}

.home-services-tabs-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border: 1px solid var(--border-color, #e2e8f0);
  padding: 5px;
  border-radius: 12px;
  gap: 6px;
  min-width: max-content;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

.home-services-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary, #64748b);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 9px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.home-services-tab-btn:hover {
  color: var(--primary-color, #0da5a7);
  background: rgba(255, 255, 255, 0.7);
}

.home-services-tab-btn.active {
  background: var(--primary-gradient, linear-gradient(135deg, #0da5a7 0%, #077475 100%));
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(13, 165, 167, 0.25);
}

.home-service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.home-service-card-title {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.35;
  color: var(--text-primary, #1e293b);
}

.home-service-card-desc {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary, #64748b);
}

.home-service-capabilities {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.home-service-capabilities li {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: #475569;
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.home-service-capabilities li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-color, #0da5a7);
}

.home-service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color, #0da5a7);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  margin-top: 12px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.home-service-card-link svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  flex-shrink: 0 !important;
  transition: transform 0.2s ease;
}

.home-service-card-link:hover {
  color: #077475;
}

.home-service-card-link:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   7. ACHIEVEMENTS SECTION (FRAMELESS STATS WITH BACKGROUND WATERMARK)
   ========================================================================== */

.home-achievements-section {
  position: relative;
  width: 100%;
}

.home-stat-box {
  position: relative;
  padding: 24px 12px 14px 12px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-align: left;
}

/* Background faded watermark number shadow */
.home-stat-box::before {
  content: attr(data-bg);
  position: absolute;
  top: -16px;
  left: 0;
  font-family: "Raleway", sans-serif;
  font-size: clamp(56px, 5.8vw, 92px);
  font-weight: 900;
  line-height: 1;
  color: rgba(13, 165, 167, 0.08);
  z-index: 1;
  pointer-events: none;
  letter-spacing: -0.04em;
  user-select: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease;
}

.home-stat-box:hover::before {
  transform: translateY(-3px) scale(1.03);
  color: rgba(13, 165, 167, 0.14);
}

.home-stat-number {
  font-family: "Raleway", sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 3.6vw, 50px);
  line-height: 1.1;
  background: var(--primary-gradient, linear-gradient(135deg, #0da5a7 0%, #077475 100%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin: 0 0 6px 0;
  position: relative;
  z-index: 2;
}

.home-stat-label {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.05vw, 16px);
  color: var(--text-secondary, #64748b);
  line-height: 1.5;
  margin: 0;
  position: relative;
  z-index: 2;
  max-width: 240px;
}

@media (max-width: 767px) {
  .home-stat-box {
    padding: 16px 4px 8px 4px;
  }
  .home-stat-box::before {
    font-size: 52px;
    top: -10px;
  }
  .home-stat-number {
    font-size: 32px;
  }
}

/* ==========================================================================
   8. STRATEGIC PARTNERS SECTION
   ========================================================================== */

.home-partners-section {
  position: relative;
  width: 100%;
}

.home-partner-subtitle {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.4;
  color: var(--primary-color, #0da5a7);
}

.home-partner-tile {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 22px;
  padding: 36px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 190px;
  height: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  background-image: radial-gradient(circle at 50% 0%, rgba(13, 165, 167, 0.04) 0%, transparent 70%);
  position: relative;
  overflow: hidden;
}

.home-partner-tile:hover {
  transform: translateY(-6px);
  border-color: rgba(13, 165, 167, 0.4);
  box-shadow: 0 20px 40px rgba(13, 165, 167, 0.12);
}

.home-partner-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.home-partner-logo {
  max-height: 80px;
  max-width: 210px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.35s ease;
  display: block;
}

.home-partner-tile:hover .home-partner-logo {
  transform: scale(1.06);
}

@media (max-width: 767px) {
  .home-partner-tile {
    min-height: 150px;
    padding: 24px 18px;
    border-radius: 18px;
  }
  .home-partner-logo {
    max-height: 60px;
    max-width: 160px;
  }
}

/* ==========================================================================
   9. TECH STACK SECTION (INTERACTIVE BENTO MATRIX + DUAL MARQUEES)
   ========================================================================== */

.home-tech-stack-section {
  position: relative;
  width: 100%;
}

.home-tech-filter-wrap {
  display: flex;
  justify-content: center;
}

.home-tech-tabs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px;
  background: #f8fafc;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 999px;
  flex-wrap: wrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.home-tech-tab {
  padding: 8px 20px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary, #64748b);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

.home-tech-tab:hover {
  color: var(--primary-color, #0da5a7);
}

.home-tech-tab.active {
  color: #ffffff !important;
  background: var(--primary-gradient, linear-gradient(135deg, #0da5a7 0%, #077475 100%));
  box-shadow: 0 4px 14px rgba(13, 165, 167, 0.25);
}

.home-tech-bento-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  max-width: 1140px;
  margin: 0 auto;
}

.home-tech-item {
  width: 145px;
  flex: 0 0 145px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.home-tech-item.is-hidden {
  display: none !important;
}

.home-tech-tile {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 18px;
  padding: 16px 20px;
  height: 105px;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background-image: radial-gradient(circle at 50% 0%, rgba(13, 165, 167, 0.03) 0%, transparent 70%);
}

.home-tech-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(13, 165, 167, 0.45);
  box-shadow: 0 14px 30px rgba(13, 165, 167, 0.12);
}

.home-tech-tile-icon {
  width: 100%;
  height: 100%;
  max-width: 80px;
  max-height: 60px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-tech-tile-icon img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.home-tech-tile:hover .home-tech-tile-icon img {
  transform: scale(1.1);
}

@media (max-width: 767px) {
  .home-tech-bento-grid {
    gap: 12px;
  }
  .home-tech-item {
    width: calc(50% - 6px);
    flex: 0 0 calc(50% - 6px);
    min-width: 130px;
  }
  .home-tech-tabs {
    border-radius: 16px;
  }
  .home-tech-tab {
    padding: 6px 14px;
    font-size: 12px;
  }
}

/* ==========================================================================
   10. RECOGNIZED BY SECTION
   ========================================================================== */

.home-recognized-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.home-recognition-card {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 14px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 195px;
  height: 108px;
  min-width: 195px;
  max-width: 195px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.home-recognition-card:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 165, 167, 0.35);
  box-shadow: 0 10px 24px rgba(13, 165, 167, 0.08);
}

.home-recognition-card.has-custom-code,
.home-recognition-card:has(.goodfirm-widget),
.home-recognition-card:has(.goodfirms-widget),
.home-recognition-card:has(.clutch-widget),
.home-recognition-card:has(iframe) {
  padding: 0 !important;
  overflow: hidden !important;
}

.home-recognition-code-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.home-recognition-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.home-recognition-card img,
.home-recognition-img {
  width: auto !important;
  height: auto !important;
  max-width: 145px !important;
  max-height: 56px !important;
  min-height: 36px;
  min-width: 0 !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
}

/* Embedded widgets & iframe normalization (GoodFirms / Clutch / Custom Badges) */
.home-recognition-card iframe,
.home-recognition-code-wrap iframe {
  display: block !important;
  margin: 0 auto !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  box-sizing: border-box !important;
}

/* GoodFirms Widget scaling to prevent bottom cutoff */
.home-recognition-card .goodfirm-widget,
.home-recognition-card .goodfirms-widget {
  transform: scale(0.72) !important;
  transform-origin: center center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
}

/* Direct standalone GoodFirms or code iframes */
.home-recognition-card.has-custom-code .home-recognition-code-wrap > iframe,
.home-recognition-card.has-custom-code > iframe {
  transform: scale(0.74) !important;
  transform-origin: center center !important;
}

/* Clutch widget scaling */
.home-recognition-card .clutch-widget {
  transform: scale(0.88) !important;
  transform-origin: center center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
}

.home-recognition-card svg,
.home-recognition-card embed,
.home-recognition-card div {
  box-sizing: border-box !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.home-recognition-card * {
  box-shadow: none !important;
}

@media (max-width: 768px) {
  .home-recognized-grid {
    gap: 14px;
    max-width: 600px;
  }

  .home-recognition-card {
    width: 170px;
    height: 90px;
    min-width: 170px;
    max-width: 170px;
    padding: 10px 14px;
    border-radius: 12px;
  }

  .home-recognition-card img,
  .home-recognition-img {
    max-width: 125px !important;
    max-height: 48px !important;
    min-height: 30px;
  }
}

@media (max-width: 575px) {
  .home-recognized-grid {
    gap: 10px;
  }

  .home-recognition-card {
    width: calc(50% - 6px);
    min-width: 140px;
    max-width: 165px;
    height: 82px;
    padding: 8px 12px;
    border-radius: 10px;
  }

  .home-recognition-card img,
  .home-recognition-img {
    max-width: 110px !important;
    max-height: 42px !important;
    min-height: 26px;
  }
}

/* ==========================================================================
   11. BLOGS SECTION
   ========================================================================== */

.home-blogs-swiper-container {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 6px 0 16px;
}

.home-blogs-swiper-container .blogSwiper {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding-left: 5% !important;
  padding-right: 5% !important;
}

.home-blog-card {
  background: #ffffff;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.025);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.home-blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(13, 165, 167, 0.35);
  box-shadow: 0 16px 36px rgba(13, 165, 167, 0.09);
}

.home-blog-thumb-wrap {
  position: relative;
  overflow: hidden;
  height: 200px;
  background: #f1f5f9;
}

.home-blog-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.home-blog-card:hover .home-blog-thumb {
  transform: scale(1.05);
}

.home-blog-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.home-blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: var(--text-secondary, #64748b);
  margin-bottom: 12px;
}

.home-blog-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-color, #0da5a7);
}

.home-blog-title {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  color: var(--text-primary, #1e293b);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-blog-desc {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary, #64748b);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-blog-action-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(13, 165, 167, 0.08);
  color: var(--primary-color, #0da5a7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: all 0.3s ease;
}

.home-blog-action-btn svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
}

.home-blog-card:hover .home-blog-action-btn {
  background: var(--primary-color, #0da5a7);
  color: #ffffff;
  transform: translateX(4px);
}

/* ==========================================================================
   12. TESTIMONIALS SECTION (QUOTED EDITORIAL & CENTER-FOCUSED 3D DEPTH)
   ========================================================================== */

.mt-testimonials-section,
.home-testimonials-section {
  position: relative;
  background-color: transparent !important;
  overflow: visible !important;
}

.mt-testimonials-trust-pill {
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.025);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: #334155;
}

.mt-trust-stars {
  color: #f59e0b;
  letter-spacing: 1px;
  font-size: 14px;
}

.mt-trust-score strong {
  color: #0f172a;
}

.mt-trust-sep {
  color: #cbd5e1;
}

.mt-trust-note {
  color: #64748b;
}

/* Swiper Stage: 3 Testimonials Visible at a time with 3D Depth */
.mt-quoted-swiper-stage,
.testimonialSwiper {
  padding: 40px 10px 48px !important;
  overflow: hidden !important;
}

.testimonialSwiper .swiper-wrapper {
  align-items: center;
}

/* All Testimonial Slides: Recessed Background & Blurred by Default */
.testimonialSwiper .swiper-slide {
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1),
              filter 0.65s cubic-bezier(0.2, 0.8, 0.2, 1),
              opacity 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform: scale(0.85) translateY(6px);
  filter: blur(5px);
  opacity: 0.38;
  z-index: 1;
  pointer-events: auto;
  cursor: pointer;
}

/* Center Active Slide: Elevated On Top, Fully Sharp, Zero Blur, Full Opacity */
.testimonialSwiper .swiper-slide.swiper-slide-active {
  transform: scale(1.06) translateY(0);
  filter: blur(0px);
  opacity: 1;
  z-index: 15;
  cursor: default;
}

/* Open, Boxless Quoted Testimonial Canvas (NO RIGID CARD BOX) */
.mt-quoted-testimonial {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  padding: 38px 32px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 28px;
  transition: all 0.5s ease;
}

/* Center Active Slide Ambient Aura (Soft luminous atmospheric glow, NOT a harsh card box) */
.swiper-slide-active .mt-quoted-testimonial {
  background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.78) 65%, rgba(255, 255, 255, 0.35) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(13, 165, 167, 0.08), 0 2px 10px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(13, 165, 167, 0.16);
}

/* Prominent Double Quotation Mark Symbol */
.mt-quote-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0da5a7;
  margin-bottom: 16px;
  opacity: 0.9;
  transition: transform 0.4s ease, color 0.4s ease;
}

.swiper-slide-active .mt-quote-symbol {
  color: #0da5a7;
  transform: scale(1.08);
}

.mt-quote-symbol svg {
  filter: drop-shadow(0 4px 10px rgba(13, 165, 167, 0.25));
}

/* Rating Row */
.mt-quote-rating-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 5px 14px;
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: 999px;
}

.mt-quote-stars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.mt-quote-stars svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
}

.mt-quote-stars svg.filled {
  fill: #f59e0b;
  stroke: #f59e0b;
}

.mt-quote-stars svg.empty {
  fill: #e2e8f0;
  stroke: #e2e8f0;
}

.mt-quote-rating-score {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #0f172a;
}

/* Prominent Quoted Text */
.mt-quote-content {
  font-family: "Raleway", "Inter", sans-serif;
  font-weight: 600;
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.65;
  color: #1e293b;
  margin: 0 0 26px 0;
  padding: 0 10px;
  letter-spacing: -0.012em;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Client / Author Row (Adaptive for Square Headshots OR Rectangular Logos) */
.mt-quote-author-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  max-width: 100%;
}

.mt-quote-media-frame {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

/* 1. Square / Circular Avatar Frame (Personal Headshot) */
.mt-quote-media-frame.is-avatar-circle {
  width: 58px;
  height: 58px;
}

.mt-quote-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(13, 165, 167, 0.35);
  box-shadow: 0 4px 14px rgba(13, 165, 167, 0.16);
  display: block;
  background: #ffffff;
}

.mt-quote-avatar-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0da5a7;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* 2. Horizontal Rectangular Logo Badge (Company Logos) */
.mt-quote-media-frame.is-logo-badge {
  height: 48px;
  min-width: 90px;
  max-width: 155px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.mt-quote-logo-img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 32px;
  object-fit: contain;
  display: block;
  filter: contrast(1.05);
}

.mt-quote-author-meta {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.mt-quote-author-name {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 17.5px;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
}

.mt-quote-author-title {
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  color: #64748b;
  margin: 3px 0 0;
  line-height: 1.35;
}

/* 3. Secondary Co-Branded Company Logo under Author Title */
.mt-quote-company-logo {
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  opacity: 0.88;
  transition: opacity 0.25s ease;
}

.mt-quote-company-logo:hover {
  opacity: 1;
}

.mt-quote-company-logo img {
  max-height: 20px;
  max-width: 110px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* SEO Review Backlink (Clutch, etc.) */
.mt-quote-footer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.mt-quote-backlink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: #1e293b;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.mt-quote-backlink:hover {
  background: rgba(13, 165, 167, 0.09);
  border-color: rgba(13, 165, 167, 0.45);
  color: #077475;
  box-shadow: 0 4px 14px rgba(13, 165, 167, 0.12);
  transform: translateY(-2px);
}

.mt-quote-platform-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.mt-quote-platform-label {
  letter-spacing: -0.01em;
}

.mt-quote-backlink-arrow {
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease;
  color: #0da5a7;
}

.mt-quote-backlink:hover .mt-quote-backlink-arrow {
  transform: translate(2px, -2px);
}

.mt-quote-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
  padding: 6px 14px;
  background: #f8fafc;
  border-radius: 999px;
  border: 1px solid #f1f5f9;
}

.mt-verified-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* Backward-compatible legacy classes mapped to clean quoted styles */
.home-testimonial-card {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* ==========================================================================
   13. RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 991px) {
  .home-services-tabs-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto 20px auto;
  }

  .home-services-tabs-nav {
    width: auto;
    justify-content: center;
    margin: 0 auto;
  }

  .home-achievements-section .home-section-desc {
    margin-bottom: 24px;
  }
}

@media (max-width: 768px) {
  .home-services-section .d-flex.justify-content-between.align-items-end {
    flex-direction: column;
    align-items: center !important;
    text-align: center;
    gap: 16px;
  }

  .home-services-section .home-section-title {
    text-align: center !important;
  }

  .home-services-tabs-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto 24px auto;
    overflow: visible;
  }

  .home-services-tabs-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 460px;
    min-width: 0;
    margin: 0 auto;
    gap: 8px;
    padding: 6px;
    border-radius: 14px;
  }

  .home-services-tab-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 11px 18px;
    font-size: 14px;
    white-space: normal;
    border-radius: 9px;
  }

  .home-blog-thumb-wrap {
    height: 180px;
  }

  .home-about-floating-chip {
    left: 16px;
    bottom: 16px;
    padding: 10px 14px;
  }
}

@media (max-width: 575px) {
  .home-services-tabs-wrap {
    margin-bottom: 20px;
  }

  .home-services-tab-btn {
    padding: 9px 14px;
    font-size: 13px;
  }

  .home-service-card-title {
    font-size: 18px;
  }

  .home-service-card-desc {
    font-size: 13.5px;
  }

  .home-stat-box {
    padding: 12px 0 6px 0;
  }

  .home-stat-box::before {
    font-size: 44px;
    top: -8px;
  }

  .home-stat-number {
    font-size: 28px;
    margin-bottom: 4px;
  }

  .home-stat-label {
    font-size: 13px;
  }

  .home-testimonial-card,
  .mt-quoted-testimonial {
    padding: 24px 14px 20px;
  }

  .mt-quote-content {
    font-size: 15.5px;
    line-height: 1.55;
    margin-bottom: 20px;
  }

  .mt-quote-author-wrap {
    gap: 12px;
    margin-bottom: 16px;
  }

  .mt-quote-media-frame.is-logo-badge {
    height: 42px;
    min-width: 80px;
    max-width: 130px;
    padding: 5px 10px;
  }

  .mt-quote-logo-img {
    max-height: 26px;
  }

  .mt-quote-author-name {
    font-size: 16px;
  }

  .mt-quote-author-title {
    font-size: 12.5px;
  }

  .testimonialSwiper,
  .mt-quoted-swiper-stage {
    padding: 20px 4px 36px !important;
  }
}

