/* ==========================================================================
   TechnAre — site.css (Phase 3 custom CSS consolidation)
   Brand accent: #00b9d2
   Font: Inter (self-hosted)
   Cascade order matches the previous custom stylesheet list.
   Phase 4: Bootstrap/Tailwind/AOS/Swiper layout + reveal utilities live here.
   ========================================================================== */


/* ---------- Fonts (fonts.css) ---------- */
/* Inter — self-hosted (no Google Fonts CDN) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/web/assets/fonts/inter/inter-v20-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/web/assets/fonts/inter/inter-v20-latin-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/web/assets/fonts/inter/inter-v20-latin-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/web/assets/fonts/inter/inter-v20-latin-700.woff2') format('woff2');
}

/* ---------- Base, tokens, layout, header, hero, buttons, sections, forms, footer (main.css) ---------- */
/**
* Template Name: TechnAre Premium
* Design: Modern Professional Light
*/

/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
/* Fonts — Inter loaded locally via fonts.css; system fallbacks for non-latin glyphs */
:root {
  --default-font: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --heading-font: 'Inter', system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --nav-font: var(--heading-font);
}

/* Global Colors - PROFESSIONAL LIGHT THEME */
/* Global Colors - PROFESSIONAL LIGHT THEME */
:root {
  --background-color: #ffffff;
  --default-color: #444444;
  --heading-color: #0f172a;
  --accent-color: #00b9d2;
  /* Cyan/Teal Theme rgb(0, 185, 210) */
  --surface-color: #f8fafc;
  /* Very light gray/slate */
  --contrast-color: #ffffff;
  --border-color: #e2e8f0;
}

/* Nav Menu Colors */
/* Nav Menu Colors */
:root {
  --nav-color: #334155;
  --nav-hover-color: #00b9d2;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #334155;
  --nav-dropdown-hover-color: #00b9d2;
}

/* Color Presets */
.light-background {
  --background-color: #ffffff;
  --surface-color: #f8fafc;
}

.dark-background {
  --background-color: #0f172a;
  --default-color: #cbd5e1;
  --heading-color: #ffffff;
  --surface-color: #1e293b;
  --contrast-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);
  overflow-x: hidden;
}

/* Better default media behavior (prevents overflow on small screens) */
img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

/* Accessible focus rings */
:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent-color), white 10%);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), black 20%);
  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: #ef4444;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  border-radius: 8px;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #10b981;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
  border-radius: 8px;
}

.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 {
  color: var(--default-color);
  background-color: rgba(255, 255, 255, 0.8);
  /* Light glass background */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 20px 0;
  transition: all 0.5s;
  /* keep header above overlays/drawers */
  z-index: 1000;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.05);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0px 0 15px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.header .logo img {
  max-height: 58px;
  /* Increased from 40px */
  margin-right: auto;
}

.header .logo h1 {
  font-size: 34px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 15px;
  padding: 10px 25px;
  margin: 0 0 0 30px;
  border-radius: 50px;
  transition: 0.3s;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

@media (max-width: 575.98px) {
  .header {
    padding: 12px 0;
  }

  .header .logo img {
    max-height: 42px;
  }

  .header .btn-getstarted {
    padding: 8px 12px;
    margin: 0 10px 0 0;
    font-size: 14px;
    border-radius: 999px;
  }
}

/* Index Page Header */
.index-page .header {
  --background-color: rgba(0, 0, 0, 0);
}

.index-page.scrolled .header {
  --background-color: rgba(255, 255, 255, 0.9);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 15px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
    background: #f1f5f9;
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }
}

@media (max-width: 1199px) {
  /*
   * Mobile drawer: `.navmenu > ul` uses position:fixed (full-height panel). A parent with
   * backdrop-filter creates a containing block in Chromium/Safari/Firefox, so "fixed" children
   * are laid out inside the header strip only — one row visible, looks clipped.
   * Disable header blur at this breakpoint so the panel uses the viewport as its CB.
   */
  .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .mobile-nav-toggle {
    color: var(--heading-color);
    font-size: 28px;
    line-height: 1;
    margin-right: 6px;
    cursor: pointer;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 6px;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    border: 0;
    background: transparent;
  }

  /* Overlay + drawer pattern (modern mobile nav) */
  body.mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
    /*
     * IMPORTANT (stacking contexts):
     * The overlay is a sibling of <header> in the DOM. If this z-index is >= the header's z-index,
     * the entire header (including the mobile drawer) will render UNDER the overlay — making the menu look "empty".
     * Keep the overlay between page content and the header so the open menu remains visible/clickable.
     */
    z-index: 998;
  }

  body.mobile-nav-active .mobile-nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  /* When menu is open, keep the fixed header (nav + hamburger) above the dim overlay */
  body.mobile-nav-active .header {
    z-index: 1000;
  }

  .navmenu {
    padding: 0;
    /* Keep the entire nav (toggle + panel) above header siblings like the CTA */
    z-index: 1001;
    position: relative;
  }

  .navmenu ul {
    display: block;
    list-style: none;
    position: fixed;
    top: var(--mobile-nav-top, 72px);
    right: 0;
    bottom: 0;
    left: auto;
    width: min(380px, 88vw);
    /* Drawer contents: bottom padding clears iOS home indicator when present */
    padding: 12px 14px max(18px, env(safe-area-inset-bottom, 0px)) 14px;
    margin: 0;
    border-radius: 16px 0 0 16px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: transform 260ms cubic-bezier(.22, .61, .36, 1), box-shadow 260ms ease;
    /* Above header CTA; must remain above the overlay (see overlay z-index note) */
    z-index: 1002;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    transform: translateX(102%);
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    pointer-events: none;
  }

  .navmenu ul > li + li {
    margin-top: 2px;
  }

  /* Mobile: stack links like a vertical nav (same items as desktop) */
  .navmenu > ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .navmenu > ul > li {
    width: 100%;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 12px 12px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    border-radius: 10px;
    min-height: 44px;
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  body.mobile-nav-active .navmenu ul {
    transform: translateX(0);
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.18);
    visibility: visible;
    pointer-events: auto;
  }

  /* Mobile dropdowns become accordion panels */
  .navmenu .dropdown ul {
    position: static;
    visibility: visible;
    opacity: 1;
    box-shadow: none;
    border: 0;
    padding: 6px 6px 10px 6px;
    margin: 0 0 8px 0;
    display: none;
    background: transparent;
  }

  .navmenu .dropdown ul.dropdown-active {
    display: block;
  }

  .navmenu .dropdown > a {
    gap: 10px;
  }

  .navmenu .dropdown > a .toggle-dropdown {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
  }

  /* Ensure the toggle stays tappable above the overlay */
  .header .mobile-nav-toggle {
    position: relative;
    z-index: 1003;
  }

  /* When the menu is open, keep the header CTA under the panel/overlay (same links should be tappable) */
  body.mobile-nav-active .header .btn-getstarted {
    position: relative;
    z-index: 0;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: #f8fafc;
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
  border-top: 1px solid var(--border-color);
}

.footer .footer-newsletter {
  background-color: #eff6ff;
  /* Very light blue */
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 50px 0;
}

.footer .footer-newsletter h4 {
  font-size: 24px;
  color: var(--heading-color);
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.05);
  display: flex;
  transition: 0.3s;
  border-radius: 4px;
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: transparent;
  color: var(--heading-color);
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), black 20%);
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  font-size: 16px;
  color: var(--default-color);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  margin-right: 3px;
  font-size: 12px;
  line-height: 0;
  color: var(--accent-color);
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul a {
  display: inline-block;
  color: var(--default-color);
  line-height: 1;
  transition: 0.3s;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 1px solid var(--border-color);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 80px 0;
  scroll-margin-top: 98px;
  overflow: clip;
}

.section-title {
  text-align: center;
  padding-bottom: 60px;
}

.section-title h2 {
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 700;
  padding: 8px 20px;
  margin: 0;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-color);
  display: inline-block;
  text-transform: uppercase;
  border-radius: 50px;
  font-family: var(--default-font);
}

.section-title p {
  color: var(--heading-color);
  margin: 15px 0 0 0;
  font-size: 32px;
  font-weight: 700;
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 120px 0 60px 0;
  display: flex;
  align-items: center;
  /* Light Gradient Background */
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
}

.hero h1 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 50px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--heading-color);
}

.hero p {
  color: var(--default-color);
  margin: 20px 0 30px 0;
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 400;
  line-height: 1.6;
}

.hero .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
  border-radius: 50px;
  transition: 0.5s;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
  min-height: 44px;
}

.hero .btn-get-started:hover {
  background: color-mix(in srgb, var(--accent-color), black 15%);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
  transform: translateY(-3px);
}

.hero .btn-watch-video {
  font-size: 16px;
  transition: 0.5s;
  color: var(--heading-color);
  font-weight: 600;
}

.hero .btn-watch-video i {
  color: var(--accent-color);
  font-size: 32px;
  transition: 0.3s;
  line-height: 0;
  margin-right: 8px;
}

.hero .btn-watch-video:hover i {
  color: color-mix(in srgb, var(--accent-color), black 20%);
  transform: scale(1.1);
}

.hero .animated {
  animation: up-down 3s ease-in-out infinite alternate-reverse both;
}

@keyframes up-down {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content {
  background-color: var(--surface-color);
  padding: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.03);
}

.about .content h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
}

.about .content h2 {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 20px;
}

.about .content p {
  margin-bottom: 30px;
}

.about .content .btn-read-more {
  color: var(--contrast-color);
  background: var(--accent-color);
  line-height: 0;
  padding: 15px 40px;
  border-radius: 50px;
  transition: 0.5s;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about .content .btn-read-more:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
}

/*--------------------------------------------------------------
# Values Section
--------------------------------------------------------------*/
.values .card {
  background-color: #ffffff;
  color: var(--default-color);
  padding: 40px 30px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: 0.3s;
  height: 100%;
  border: 1px solid var(--border-color);
  border-radius: 12px;
}

.values .card img {
  padding: 30px 50px;
  transition: 0.5s;
  transform: scale(1);
}

.values .card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--heading-color);
}

.values .card:hover {
  box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-10px);
  border-color: var(--accent-color);
}

.values .card:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .feature-box {
  padding: 24px 20px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  height: 100%;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.features .feature-box h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--heading-color);
}

.features .feature-box i {
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-color);
  line-height: 0;
  padding: 8px;
  margin-right: 15px;
  font-size: 24px;
  border-radius: 50%;
}

.features .feature-box:hover {
  transform: translateY(-3px);
  border-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: #ffffff;
  box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  padding: 60px 30px;
  text-align: center;
  transition: 0.3s;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.services .service-item .icon {
  font-size: 36px;
  padding: 20px;
  border-radius: 12px;
  position: relative;
  margin-bottom: 25px;
  display: inline-block;
  line-height: 0;
  transition: 0.3s;
  background: #f1f5f9;
}

.services .service-item h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.services .service-item p {
  color: var(--default-color);
  margin-bottom: 30px;
}

.services .service-item .read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  padding: 10px 25px;
  border-radius: 50px;
  background: #f1f5f9;
  color: var(--heading-color);
  transition: 0.3s;
  min-height: 44px;
}

.services .service-item .read-more:hover {
  background: var(--accent-color);
  color: white;
}

/* Individual Color Items */
.services .service-item.item-cyan {
  border-bottom: 3px solid #0dcaf0;
}

.services .service-item.item-cyan .icon {
  color: #0dcaf0;
}

.services .service-item.item-orange {
  border-bottom: 3px solid #fd7e14;
}

.services .service-item.item-orange .icon {
  color: #fd7e14;
}

.services .service-item.item-teal {
  border-bottom: 3px solid #20c997;
}

.services .service-item.item-teal .icon {
  color: #20c997;
}

.services .service-item.item-red {
  border-bottom: 3px solid #df1529;
}

.services .service-item.item-red .icon {
  color: #df1529;
}

.services .service-item.item-indigo {
  border-bottom: 3px solid #6610f2;
}

.services .service-item.item-indigo .icon {
  color: #6610f2;
}

.services .service-item.item-pink {
  border-bottom: 3px solid #f3268c;
}

.services .service-item.item-pink .icon {
  color: #f3268c;
}

.services .service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.1);
  background: #ffffff;
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  /* allow wrap on small screens, but mostly row */
  gap: 15px;
  margin-bottom: 30px;
  padding: 0;
  list-style: none;
  /* remove dots */
}

.portfolio .portfolio-filters li {
  color: var(--default-color);
  background: #ffffff;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  transition: 0.3s;
  cursor: pointer;
  display: inline-block;
  line-height: normal;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: #fff;
  background: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.portfolio .portfolio-content .portfolio-info {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.portfolio .portfolio-content .portfolio-info h4 {
  color: #111;
  font-size: 18px;
}

.portfolio .portfolio-content .portfolio-info p {
  color: #666;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-item {
  background-color: #ffffff;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.05);
  padding: 40px;
  margin: 20px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.testimonials .testimonial-item .testimonial-img {
  border: 4px solid var(--background-color);
}

.testimonials .testimonial-item h3 {
  color: var(--heading-color);
}

.testimonials .testimonial-item h4 {
  color: var(--default-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.05);
}

.contact .info-item i {
  color: var(--accent-color);
  background: rgba(59, 130, 246, 0.1);
  font-size: 32px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.contact .info-item h3 {
  font-size: 20px;
  color: var(--heading-color);
  font-weight: 700;
  margin-bottom: 15px;
}

.contact .info-item p {
  font-size: 15px;
  color: var(--default-color);
  margin-bottom: 0;
}

.contact .php-email-form {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.05);
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  color: var(--heading-color);
  background-color: var(--surface-color);
  border-color: var(--border-color);
  border-radius: 6px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  background-color: #ffffff;
  border-color: var(--accent-color);
}

.contact .php-email-form button[type=submit] {
  background: var(--accent-color);
  padding: 12px 40px;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: visible;
  /* Controlled by JS typically but ensure visible for now or let JS handle opacity */
  opacity: 0;
  left: 15px;
  bottom: 15px;
  z-index: 996;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 20%);
  transform: translateY(-4px);
}

.scroll-top i {
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

/*--------------------------------------------------------------
# Blog Section & Page Titles
--------------------------------------------------------------*/
.page-title {
  background-color: var(--surface-color);
  padding: 60px 0;
  position: relative;
}

.page-title h1 {
  font-size: 34px;
  font-weight: 700;
  color: var(--heading-color);
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--default-color);
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: '/';
  display: inline-block;
  padding-right: 10px;
  color: var(--accent-color);
}

.blog-posts article {
  background-color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  padding: 30px;
  height: 100%;
  border-radius: 8px;
  margin-bottom: 30px;
  border: 1px solid var(--border-color);
  transition: 0.3s;
}

.blog-posts article:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
}

.blog-posts .post-img {
  max-height: 400px;
  overflow: hidden;
  margin: -30px -30px 20px -30px;
  border-radius: 8px 8px 0 0;
}

.blog-posts .post-img img {
  transition: 0.5s;
  width: 100%;
}

.blog-posts article:hover .post-img img {
  transform: scale(1.1);
}

.blog-posts .title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.blog-posts .title a {
  color: var(--heading-color);
  transition: 0.3s;
}

/* Blog detail article: main heading may be H1 for SEO (same visual as former H2) */
.blog-details .article h1.title {
  font-size: var(--bs-h2-font-size, 1.75rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-posts .title a:hover {
  color: var(--accent-color);
}

.blog-posts .meta-top {
  margin-bottom: 20px;
}

.blog-posts .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-posts .meta-top ul li {
  margin-right: 20px;
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--default-color);
}

.blog-posts .meta-top ul li i {
  margin-right: 5px;
  color: var(--accent-color);
  font-size: 18px;
}

.blog-posts .content p {
  line-height: 1.6;
  color: var(--default-color);
}

.blog-posts .read-more a {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
  transition: 0.3s;
}

.blog-posts .read-more a:hover {
  color: color-mix(in srgb, var(--accent-color), black 20%);
}

.sidebar .widget-item {
  background-color: #ffffff;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.sidebar .widget-title {
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
  color: var(--heading-color);
}

.sidebar .search-widget form {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  padding: 5px 10px;
  position: relative;
  border-radius: 4px;
  display: flex;
}

.sidebar .search-widget input {
  border: 0;
  padding: 4px;
  width: 100%;
  background: transparent;
  color: var(--default-color);
}

.sidebar .search-widget input:focus {
  outline: none;
}

.sidebar .search-widget button {
  border: 0;
  background: none;
  color: var(--accent-color);
  margin-left: auto;
}

.sidebar .recent-posts-widget .post-item {
  display: flex;
  margin-bottom: 15px;
}

.sidebar .recent-posts-widget .post-item img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  margin-right: 15px;
  border-radius: 4px;
}

.sidebar .recent-posts-widget .post-item h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
}

.sidebar .recent-posts-widget .post-item h4 a {
  color: var(--heading-color);
  transition: 0.3s;
}

.sidebar .recent-posts-widget .post-item h4 a:hover {
  color: var(--accent-color);
}

.sidebar .recent-posts-widget .post-item time {
  display: block;
  font-style: italic;
  font-size: 12px;
  color: var(--default-color);
  opacity: 0.8;
}

.sidebar .tags-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

.sidebar .tags-widget ul li {
  margin: 0 5px 10px 0;
}

.sidebar .tags-widget ul li a {
  color: var(--default-color);
  background: var(--surface-color);
  font-size: 14px;
  padding: 6px 14px;
  margin: 0;
  border: 1px solid var(--border-color);
  transition: 0.3s;
  display: inline-block;
  border-radius: 4px;
}

.sidebar .tags-widget ul li a:hover {
  background: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
}

.blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog-pagination li {
  margin: 0 5px;
}

.blog-pagination li a {
  color: var(--default-color);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: 0.3s;
  background: #ffffff;
  border: 1px solid var(--border-color);
}

.blog-pagination li a.active,
.blog-pagination li a:hover {
  background: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Mobile Responsiveness & Optimization
--------------------------------------------------------------*/
@media (max-width: 991px) {

  /* General Section Padding */
  section,
  .section {
    padding: 50px 0;
  }

  /* Hero Section */
  .hero {
    padding: 100px 0 50px 0;
    text-align: center;
  }

  .hero .hero-img {
    margin-top: 40px;
    order: 1;
    /* Image on top for better mobile visual */
  }

  .hero .d-flex {
    justify-content: center;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }

  /* About Section */
  .about .content h2 {
    font-size: 22px;
  }

  .about .img-fluid {
    margin-top: 30px;
  }

  /* Stats Section */
  .stats .stats-item {
    padding: 20px;
  }

  .stats .stats-item i {
    font-size: 36px;
  }

  .stats .stats-item .purecounter {
    font-size: 28px;
  }

  /* Footer Mobile */
  .footer .footer-top .row>div {
    text-align: center;
    margin-bottom: 30px;
  }

  .footer .social-links {
    justify-content: center;
  }

  .footer .footer-about a {
    justify-content: center;
  }
}

@media (max-width: 576px) {

  /* Scroll-top sits on the left edge; chatbot keeps the right edge */
  .scroll-top {
    left: 20px;
    bottom: 20px;
  }

  /* Hero Section Mobile */
  .hero h1 {
    font-size: 28px;
  }

  .hero .btn-get-started,
  .hero .btn-watch-video {
    width: 100%;
    justify-content: center;
    margin: 10px 0;
  }

  .hero .d-flex {
    flex-direction: column;
    align-items: center;
  }

  .hero .btn-watch-video {
    margin-left: 0 !important;
    margin-top: 15px !important;
  }

  /* Section Titles */
  .section-title h2 {
    font-size: 13px;
  }

  .section-title p {
    font-size: 25px;
  }

  /* Feature Boxes */
  .features .feature-box {
    padding: 20px;
  }

  .features .feature-box h3 {
    font-size: 16px;
  }

  /* Services */
  .services .service-item {
    padding: 40px 20px;
  }
}

/* ---------- Motion / animations (site-animations.css) ---------- */
/**
 * TechnAre — additional motion (100% local CSS, no CDN)
 * Loaded after main.css. Respects prefers-reduced-motion.
 */

/* ---------- Global: tone down for accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero,
  .hero .img-fluid.animated,
  .header .btn-getstarted,
  .section-title h2,
  .scroll-top.active,
  .chatbot-btn {
    animation: none !important;
  }
}

/* ---------- Hero: soft moving gradient ---------- */
body .hero {
  background: linear-gradient(135deg, #e8f6fc 0%, #ffffff 40%, #f0f9ff 70%, #e0f2fe 100%);
  background-size: 200% 200%;
  animation: technare-hero-mesh 20s ease-in-out infinite;
}

@keyframes technare-hero-mesh {
  0%, 100% {
    background-position: 0% 40%;
  }
  50% {
    background-position: 100% 60%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body .hero {
    animation: none;
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
  }
}

/* ---------- Hero art: slightly richer float (overrides .animated) ---------- */
.hero .img-fluid.animated,
.hero .hero-img .animated {
  animation: technare-hero-bob 3.2s ease-in-out infinite alternate;
}

@keyframes technare-hero-bob {
  0% {
    transform: translateY(12px) scale(1);
  }
  100% {
    transform: translateY(-14px) scale(1.01);
  }
}

/* ---------- Nav (desktop): accent underline on hover / active ---------- */
@media (min-width: 1200px) {
  .header .navmenu > ul > li {
    position: relative;
  }

  .header .navmenu > ul > li > a {
    position: relative;
    transition: color 0.25s ease;
  }

  .header .navmenu > ul > li > a::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.9;
  }

  .header .navmenu > ul > li > a:hover::after,
  .header .navmenu > ul > li > a.active::after {
    transform: scaleX(1);
  }
}

/* ---------- Service cards: icon nudge on hover ---------- */
.services .service-item {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

.services .service-item:hover .icon {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.services .service-item .icon {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, background 0.3s ease;
}

/* ---------- Section title badge: light breathe ---------- */
.section-title h2 {
  animation: technare-badge-breathe 5s ease-in-out infinite;
}

@keyframes technare-badge-breathe {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 185, 210, 0.12);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(0, 185, 210, 0.08);
  }
}

/* ---------- Header CTA: soft glow pulse ---------- */
.header .btn-getstarted {
  animation: technare-cta-pulse 3.5s ease-in-out infinite;
}

@keyframes technare-cta-pulse {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(0, 185, 210, 0.35);
  }
  50% {
    box-shadow: 0 6px 28px rgba(0, 185, 210, 0.5);
  }
}

/* ---------- Page title (inner pages): enter ---------- */
.page-title .heading {
  animation: technare-fade-in 0.7s ease-out both;
}

@keyframes technare-fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Scroll to top: attention when visible ---------- */
.scroll-top.active {
  animation: technare-scroll-nudge 2.5s ease-in-out infinite;
}

@keyframes technare-scroll-nudge {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* ---------- Testimonials: lift on hover ---------- */
.testimonials .testimonial-item,
.testimonials .swiper-slide {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.testimonials .testimonial-item:hover,
.testimonials .swiper-slide:hover {
  transform: translateY(-4px);
}

/* ---------- Blog cards: polish ---------- */
.blog-posts article {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

.blog-posts article:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08) !important;
}

/* ---------- Logo hover ---------- */
.header .logo {
  transition: transform 0.3s ease;
}

.header .logo:hover {
  transform: scale(1.03);
}

/* ---------- Contact form card feel ---------- */
.contact .php-email-form,
.service-details-page .php-email-form {
  transition: box-shadow 0.35s ease;
}

.contact .php-email-form:focus-within,
.service-details-page .php-email-form:focus-within {
  box-shadow: 0 8px 32px rgba(0, 185, 210, 0.12);
}

/* ---------- Chatbot launcher: same nudge as the scroll-top button ------- */
/* Both floating buttons share the same idle motion so they feel like one
   family. Keeps the chatbot's signature box-shadow lift on the upstroke. */
@media (prefers-reduced-motion: no-preference) {
  .chatbot-btn {
    animation: technare-chatbot-nudge 2.5s ease-in-out infinite;
  }
}

@keyframes technare-chatbot-nudge {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 185, 210, 0.35);
  }
  50% {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 185, 210, 0.45);
  }
}

/* ---------- Portfolio cards: smooth zoom on hover ---------- */
.portfolio .portfolio-content {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
}

.portfolio .portfolio-content:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

/* ---------- Values cards: refined hover ---------- */
.values .card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

/* ---------- Feature boxes: scale icon on hover ---------- */
.features .feature-box {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

.features .feature-box:hover i {
  transform: scale(1.15);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Contact info cards: pulse icon on hover ---------- */
.contact .info-item {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

.contact .info-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 185, 210, 0.15);
}

.contact .info-item:hover i {
  transform: scale(1.08);
  transition: transform 0.3s ease;
}

/* ---------- Form inputs: smooth focus ring ---------- */
.contact .php-email-form input,
.contact .php-email-form textarea {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

/* ---------- Footer social: rotate on hover ---------- */
.footer .social-links a {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer .social-links a:hover {
  transform: translateY(-3px) rotate(-5deg);
}

/* ---------- FAQ items: smooth open/close ---------- */
.faq .faq-item {
  transition: margin 0.3s ease;
}

.faq .faq-item.faq-active {
  margin-bottom: 16px;
}

/* ---------- Stats items: counter glow on hover ---------- */
.stats .stats-item {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

.stats .stats-item:hover .purecounter {
  color: var(--accent-color);
  transition: color 0.3s ease;
}

/* ---------- Hero trust row: stagger entrance ---------- */
.hero-trust-row {
  opacity: 0;
  transform: translateY(20px);
  animation: technare-trust-enter 0.6s ease-out 0.8s forwards;
}

@keyframes technare-trust-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Hero tech badges: stagger fade ---------- */
.hero-tech-badges {
  opacity: 0;
  transform: translateY(16px);
  animation: technare-badges-enter 0.5s ease-out 1.1s forwards;
}

@keyframes technare-badges-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Client logos: smooth grayscale transition ---------- */
.clients-strip img,
.clients .swiper-slide img {
  transition: filter 0.4s ease, opacity 0.4s ease;
}

/* ============================================================
   Mobile & touch — lighter paint, less main-thread work
   (no new assets; works with same local CSS/JS)
   ============================================================ */
@media (max-width: 767.98px) {
  /* Shorter first paint: drop infinite background animation */
  body .hero {
    animation: none;
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  }

  .hero .img-fluid.animated,
  .hero .hero-img .animated {
    animation: technare-hero-bob-mobile 4s ease-in-out infinite alternate;
  }

  @keyframes technare-hero-bob-mobile {
    0% {
      transform: translateY(4px) scale(1);
    }
    100% {
      transform: translateY(-6px) scale(1);
    }
  }

  .header .btn-getstarted {
    animation: none;
  }

  .section-title h2 {
    animation: none;
  }

  @media (prefers-reduced-motion: no-preference) {
    .chatbot-btn {
      animation: none;
    }
  }

  /* Less vertical scroll jank: hero does not need full viewport height */
  .hero {
    min-height: auto;
    min-height: min(100dvh, 920px);
    padding-top: 88px;
    padding-bottom: 40px;
  }

  .page-title {
    padding-top: 24px;
    padding-bottom: 40px;
  }

  /* Faster tap: no 300ms delay on primary controls */
  a.btn-get-started,
  .header .btn-getstarted,
  .php-email-form [type="submit"],
  .btn,
  .btn-get-started,
  button,
  .navmenu a,
  .scroll-top,
  .chatbot-btn {
    touch-action: manipulation;
  }
}

/* ---------- FAQ (faq-folding.css) ---------- */
/* ... existing main.css content is preserved, adding this at the end or replacing if block exists ... */

/*--------------------------------------------------------------
# Faq Section - Folding Style
--------------------------------------------------------------*/
.faq .faq-item {
    background-color: #ffffff;
    position: relative;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.faq .faq-item:hover {
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.faq .faq-item .faq-question-btn {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    padding: 0;
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #334155;
    transition: 0.3s;
    background: none;
    border: none;
    text-align: left;
    font-family: inherit;
}

.faq .faq-item .faq-question-btn:hover {
    color: var(--accent-color);
}

.faq .faq-item .faq-question-btn .faq-question-text {
    flex: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.faq .faq-item .faq-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease-out;
    opacity: 0;
    padding-top: 0;
}

.faq .faq-item.faq-active {
    background-color: color-mix(in srgb, var(--accent-color), white 95%);
    border-color: var(--accent-color);
}

.faq .faq-item.faq-active .faq-question-btn {
    color: var(--accent-color);
    padding-bottom: 0;
}

.faq .faq-item.faq-active .faq-content {
    max-height: 2000px;
    opacity: 1;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 185, 210, 0.1);
    margin-top: 15px;
}

.faq .faq-item .faq-toggle {
    font-size: 16px;
    line-height: 0;
    transition: 0.3s;
    flex-shrink: 0;
    color: var(--accent-color);
}

.faq .faq-item.faq-active .faq-toggle {
    transform: rotate(90deg);
    color: var(--accent-color);
}

/* ---------- Stats / feature cards (sections-enhanced.css) ---------- */
/*--------------------------------------------------------------
# Stats Section - Enhanced Cards
--------------------------------------------------------------*/
.stats .stats-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 5px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease-in-out;
    border: 1px solid transparent;
}

.stats .stats-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.stats .stats-item i {
    font-size: 42px;
    line-height: 0;
    flex-shrink: 0;
}

.stats .stats-item .purecounter {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1;
}

.stats .stats-item p {
    padding: 0;
    margin: 5px 0 0 0;
    font-family: var(--heading-font);
    font-size: 15px;
    color: #64748b;
    font-weight: 500;
}

/* Specific Icon Colors for Stats */
.stats .stats-item i.color-blue,
.stats .stats-item .ta-icon.color-blue {
    color: #00b9d2;
}

.stats .stats-item i.color-orange,
.stats .stats-item .ta-icon.color-orange {
    color: #f97316;
}

.stats .stats-item i.color-green,
.stats .stats-item .ta-icon.color-green {
    color: #10b981;
}

.stats .stats-item i.color-pink,
.stats .stats-item .ta-icon.color-pink {
    color: #ec4899;
}

/*--------------------------------------------------------------
# Alt Features Section - Enhanced
--------------------------------------------------------------*/
.alt-features .icon-box {
    display: flex;
    align-items: flex-start;
    margin-top: 10px;
}

.alt-features .icon-box i {
    font-size: 40px;
    line-height: 1;
    color: var(--accent-color);
    margin-right: 20px;
    flex-shrink: 0;
    transition: 0.3s;
}

.alt-features .icon-box:hover i {
    transform: scale(1.1);
}

.alt-features .icon-box h4 {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 20px;
    color: var(--heading-color);
}

.alt-features .icon-box p {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ---------- Chatbot (chatbot.css) ---------- */
/* ==========================================================================
   TechnAre AI Assistant — Premium Chat UI
   Loaded independently. Uses CSS custom properties from main.css.
   ========================================================================== */

/* ---------- Backdrop ---------- */
.chatbot-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.chatbot-backdrop.active { opacity: 1; visibility: visible; }

.chatbot-open { overflow: hidden; touch-action: none; }

/* ---------- Toggle Button ---------- */
.chatbot-btn {
  position: fixed;
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  right: max(20px, env(safe-area-inset-right, 0px));
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #00b9d2, #009eb3);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 185, 210, 0.35);
  cursor: pointer;
  z-index: 9999;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.chatbot-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 185, 210, 0.45);
}
.chatbot-btn i { font-size: 26px; }

/* Unread badge */
.chatbot-btn .chatbot-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  background: #ef4444;
  border-radius: 50%;
  border: 2px solid #ffffff;
  display: none;
}
.chatbot-btn .chatbot-badge.show { display: block; }

/* ---------- Chat Window ---------- */
.chatbot-window {
  position: fixed;
  bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  right: max(16px, env(safe-area-inset-right, 0px));
  width: min(400px, calc(100vw - 32px));
  max-height: min(600px, calc(100dvh - 120px - env(safe-area-inset-bottom, 0px)));
  height: min(560px, calc(100dvh - 120px - env(safe-area-inset-bottom, 0px)));
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  z-index: 9999;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px) scale(0.92);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.chatbot-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* ---------- Header ---------- */
.chatbot-header {
  background: linear-gradient(135deg, #00b9d2 0%, #0891b2 100%);
  color: white;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.chatbot-avatar img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.chatbot-header-name {
  font-family: var(--heading-font, 'Inter', sans-serif);
  font-weight: 700;
  font-size: 15px;
  display: block;
  letter-spacing: -0.01em;
}

.chatbot-header-status {
  font-size: 12px;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

.chatbot-status-dot {
  width: 7px;
  height: 7px;
  background: #34d399;
  border-radius: 50%;
  display: inline-block;
  animation: chatbotPulse 2s ease-in-out infinite;
}
@keyframes chatbotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 4px rgba(52, 211, 153, 0); }
}

.chatbot-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.chatbot-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

.chatbot-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  margin-right: 8px;
}

.chatbot-clear-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.chatbot-clear-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.05);
}

.chatbot-status-dot--thinking {
  background: #fbbf24;
  animation: chatbotThinking 1s ease-in-out infinite;
}
.chatbot-status-dot--offline {
  background: #94a3b8;
  animation: none;
  box-shadow: none;
}
@keyframes chatbotThinking {
  0%, 100% { opacity: 0.5; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1); }
}

/* ---------- Messages Area ---------- */
.chatbot-messages {
  flex: 1;
  padding: 20px 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f8fafc;
  scrollbar-width: thin;
  scroll-behavior: smooth;
}
.chatbot-messages::-webkit-scrollbar { width: 5px; }
.chatbot-messages::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
.chatbot-messages::-webkit-scrollbar-track { background: transparent; }

/* ---------- Welcome State ---------- */
.chatbot-welcome {
  text-align: center;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: chatFadeUp 0.4s ease-out;
}
.chatbot-welcome-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 185, 210, 0.1), rgba(0, 185, 210, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.chatbot-welcome h4 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.chatbot-welcome p {
  margin: 0;
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.5;
  max-width: 280px;
}
.chatbot-welcome-hint {
  font-size: 12px !important;
  color: #94a3b8 !important;
}

/* ---------- Message rows ---------- */
.chatbot-message-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px;
  width: 100%;
  animation: chatFadeUp 0.28s ease-out;
}
.chatbot-message-row.user {
  justify-content: flex-end;
}
.chatbot-message-row.bot {
  justify-content: flex-start;
}

.chatbot-msg-avatar {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  align-self: flex-end;
  margin-bottom: 2px;
}
.chatbot-msg-avatar img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.chatbot-msg-time {
  flex-basis: 100%;
  font-size: 10px;
  color: #94a3b8;
  padding: 0 4px 2px;
  line-height: 1;
}
.chatbot-message-row.user .chatbot-msg-time {
  text-align: right;
}
.chatbot-message-row.bot .chatbot-msg-time {
  text-align: left;
  padding-left: 36px;
}

.chatbot-retry-btn {
  flex-basis: 100%;
  margin: 2px 0 0 36px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #00b9d2;
  background: transparent;
  border: 1px solid rgba(0, 185, 210, 0.35);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--default-font, 'Inter', sans-serif);
}
.chatbot-retry-btn:hover {
  background: rgba(0, 185, 210, 0.08);
}

/* ---------- Message Bubbles ---------- */
.chatbot-message-row .message {
  max-width: min(85%, calc(100% - 40px));
}
.message {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.6;
  position: relative;
  animation: chatFadeUp 0.3s ease-out;
  word-break: break-word;
}

@keyframes chatFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.message.bot {
  background: #ffffff;
  color: #334155;
  align-self: flex-start;
  border: 1px solid #e2e8f0;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.message.user {
  background: linear-gradient(135deg, #00b9d2, #0891b2);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 185, 210, 0.2);
}

/* Markdown rendering */
.message.bot .chatbot-md { word-break: break-word; }
.message.bot .chatbot-md a { color: #00b9d2; text-decoration: underline; }
.message.bot .chatbot-md p { margin: 0 0 0.5em; }
.message.bot .chatbot-md p:last-child { margin-bottom: 0; }
.chatbot-md-list {
  margin: 0.35em 0 0.5em;
  padding-left: 1.15em;
}
.chatbot-md-list li { margin: 0.2em 0; }
.message.message--error {
  border-color: #fecaca;
  background: #fef2f2;
}

.message code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
  background: rgba(15, 23, 42, 0.06);
  padding: 2px 6px;
  border-radius: 6px;
}

.message pre.chatbot-code {
  margin: 10px 0 0 0;
  padding: 12px;
  border-radius: 12px;
  background: #0f172a;
  color: #e2e8f0;
  overflow: auto;
  position: relative;
}
.message pre.chatbot-code code {
  background: transparent;
  padding: 0;
  color: inherit;
  display: block;
  white-space: pre;
}

.message pre.chatbot-code .code-copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  border: 1px solid rgba(226, 232, 240, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.message pre.chatbot-code:hover .code-copy-btn { opacity: 1; }

/* ---------- Quick Action Chips ---------- */
.chatbot-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 16px 6px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  flex-shrink: 0;
  max-height: 120px;
  overflow-y: auto;
}
.chatbot-quick-actions.hidden { display: none; }

.chatbot-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  font-family: var(--default-font, 'Inter', sans-serif);
  line-height: 1.3;
}
.chatbot-chip:hover {
  background: #00b9d2;
  color: white;
  border-color: #00b9d2;
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(0, 185, 210, 0.2);
}
.chatbot-chip:active { transform: scale(0.97); }

/* ---------- Input Area ---------- */
.chatbot-input {
  padding: 12px 14px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.chatbot-input input {
  flex: 1;
  background: #f1f5f9;
  border: 1.5px solid #e2e8f0;
  color: #1e293b;
  padding: 12px 18px;
  border-radius: 14px;
  outline: none;
  font-size: 14px;
  font-family: var(--default-font, 'Inter', sans-serif);
  transition: all 0.25s ease;
}
.chatbot-input input:focus {
  border-color: #00b9d2;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 185, 210, 0.1);
}
.chatbot-input input::placeholder { color: #94a3b8; }
.chatbot-input input:disabled { opacity: 0.6; cursor: not-allowed; }

.chatbot-input button {
  background: linear-gradient(135deg, #00b9d2, #0891b2);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 185, 210, 0.2);
  flex-shrink: 0;
}
.chatbot-input button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 185, 210, 0.3);
}
.chatbot-input button:disabled { opacity: 0.5; cursor: not-allowed; }
.chatbot-input button.is-sending {
  transform: scale(0.94);
  opacity: 0.85;
}
.chatbot-input button i { font-size: 18px; }

/* ---------- Typing Indicator ---------- */
.message.chatbot-typing {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 8px;
  padding: 10px 14px;
  min-width: 150px;
}
.chatbot-typing-icon {
  font-size: 16px;
  line-height: 1;
  color: #6366f1;
  display: inline-block;
  transform-origin: center;
  animation: chatbotTypingIcon 1.6s ease-in-out infinite;
}
.chatbot-typing-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.chatbot-typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.chatbot-typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6366f1;
  animation: chatbotDot 1.2s infinite ease-in-out both;
}
.chatbot-typing-dots span:nth-child(1) { animation-delay: 0s; }
.chatbot-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.chatbot-typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes chatbotDot {
  0%, 80%, 100% { transform: scale(0.5); opacity: 0.35; }
  40%           { transform: scale(1);   opacity: 1; }
}
@keyframes chatbotTypingIcon {
  0%, 100% { transform: rotate(0deg)   scale(1);    opacity: .85; }
  50%      { transform: rotate(180deg) scale(1.15); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .chatbot-typing-icon,
  .chatbot-typing-dots span { animation: none; }
}

/* ---------- Timestamp ---------- */
.chatbot-timestamp {
  font-size: 10.5px;
  color: #94a3b8;
  text-align: center;
  padding: 4px 0;
}

/* ---------- Lead Capture Form ---------- */
.chatbot-lead-form {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px;
  align-self: flex-start;
  max-width: 90%;
  animation: chatFadeUp 0.3s ease-out;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.chatbot-lead-form h5 {
  margin: 0 0 4px 0;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}
.chatbot-lead-form p {
  margin: 0 0 14px 0;
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.4;
}
.chatbot-lead-form input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 8px;
  font-family: var(--default-font, 'Inter', sans-serif);
  transition: border-color 0.2s ease;
  outline: none;
  background: #f8fafc;
  color: #1e293b;
}
.chatbot-lead-form input:focus {
  border-color: #00b9d2;
  background: #ffffff;
}
.chatbot-lead-form input::placeholder { color: #94a3b8; }

.chatbot-lead-submit {
  width: 100%;
  padding: 10px;
  background: linear-gradient(135deg, #00b9d2, #0891b2);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--default-font, 'Inter', sans-serif);
}
.chatbot-lead-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 185, 210, 0.3);
}

/* ---------- Intro Popup ---------- */
.chatbot-intro-popup {
  position: fixed;
  bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  right: max(16px, env(safe-area-inset-right, 0px));
  z-index: 9998;
  max-width: 260px;
  background: white;
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: none;
  animation: chatFadeUp 0.4s ease-out;
}
.chatbot-intro-popup.show { display: block; }

.chatbot-intro-popup .chatbot-intro-text {
  font-size: 14px;
  color: #334155;
  line-height: 1.5;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  font-weight: 500;
}

.chatbot-intro-popup .chatbot-intro-close {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 18px;
  padding: 0;
  flex-shrink: 0;
  transition: color 0.2s ease;
}
.chatbot-intro-popup .chatbot-intro-close:hover { color: #ef4444; }

.chatbot-intro-popup::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 28px;
  width: 12px;
  height: 12px;
  background: white;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transform: rotate(45deg);
}

/* ---------- Mobile Responsive ---------- */
@media (max-width: 640px) {
  .chatbot-window {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    height: min(85dvh, calc(100dvh - 24px));
    max-height: min(85dvh, calc(100dvh - 24px));
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
  }
  .chatbot-window.active {
    transform: translateY(0);
  }

  .chatbot-btn {
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    right: max(16px, env(safe-area-inset-right, 0px));
    width: 56px;
    height: 56px;
  }
  .chatbot-btn i { font-size: 24px; }

  .chatbot-input input { font-size: 16px; }
  .chatbot-input { padding: 10px 12px max(10px, env(safe-area-inset-bottom, 0px)) 12px; }

  .chatbot-quick-actions { padding: 8px 12px 4px; }
  .chatbot-chip { font-size: 12px; padding: 6px 12px; }

  .chatbot-intro-popup { display: none !important; }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .chatbot-btn, .chatbot-window, .message, .chatbot-welcome, .chatbot-intro-popup {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
  .chatbot-status-dot, .chatbot-typing-dots span {
    animation: none;
    opacity: 0.7;
  }
}

/* ---------- Premium polish (premium-ui.css) ---------- */
/**
 * TechnAre — Premium UI Enhancements
 * Loaded after main.css. Layers premium styles on top of existing design.
 */

/* ==========================================================================
   1. TYPOGRAPHY ENHANCEMENTS
   ========================================================================== */

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.025em;
  line-height: 1.25;
}

p {
  line-height: 1.75;
}

/* Section titles — premium feel */
.section-title {
  padding-bottom: 70px;
  position: relative;
}

.section-title h2 {
  font-size: 13px;
  letter-spacing: 3px;
  font-weight: 600;
  padding: 8px 24px;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(0, 185, 210, 0.08) 0%, rgba(0, 185, 210, 0.15) 100%);
}

.section-title p {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-top: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   2. HERO SECTION PREMIUM
   ========================================================================== */

.hero {
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 185, 210, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero p {
  font-size: clamp(16px, 1.35vw, 19px);
  color: #475569;
  line-height: 1.8;
  max-width: 540px;
}

.hero .btn-get-started {
  padding: 16px 44px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 185, 210, 0.3);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.hero .btn-get-started::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  border-radius: inherit;
}

.hero .btn-get-started:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 185, 210, 0.4);
}

.hero .btn-get-started i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.hero .btn-get-started:hover i {
  transform: translateX(4px);
}

/* Trust badges row in hero */
.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-trust-item .trust-number {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--heading-color);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-trust-item .trust-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
  line-height: 1.3;
  max-width: 9.5rem;
}

/* Tech badges */
.hero-tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(0, 185, 210, 0.06);
  border: 1px solid rgba(0, 185, 210, 0.12);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: #0e7490;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
}

.hero-tech-badge:hover {
  background: rgba(0, 185, 210, 0.12);
  border-color: rgba(0, 185, 210, 0.25);
  transform: translateY(-1px);
}

/* ==========================================================================
   3. CARD ENHANCEMENTS (Values, Services, Features)
   ========================================================================== */

.values .card {
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 48px 36px;
}

.values .card:hover {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  transform: translateY(-8px);
  border-color: rgba(0, 185, 210, 0.2);
}

.values .card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.values .card p {
  color: #64748b;
  font-size: 15px;
  line-height: 1.7;
}

/* Service cards premium */
.services .service-item {
  border-radius: 16px;
  padding: 48px 32px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.services .service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.services .service-item .icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 28px;
}

.services .service-item h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.services .service-item p {
  font-size: 15px;
  line-height: 1.7;
  color: #64748b;
}

.services .service-item .read-more {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 10px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.services .service-item .read-more:hover {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 185, 210, 0.3);
}

/* Feature boxes premium */
.features .feature-box {
  padding: 24px 24px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background: #ffffff;
}

.features .feature-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 185, 210, 0.2);
}

.features .feature-box i {
  background: linear-gradient(135deg, rgba(0, 185, 210, 0.1) 0%, rgba(0, 185, 210, 0.18) 100%);
  padding: 10px;
  border-radius: 10px;
}

/* ==========================================================================
   4. STATS SECTION PREMIUM
   ========================================================================== */

.stats .stats-item {
  border-radius: 16px;
  padding: 32px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stats .stats-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.stats .stats-item .purecounter {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* ==========================================================================
   5. ABOUT SECTION PREMIUM
   ========================================================================== */

.about .content {
  border-radius: 16px;
  padding: 48px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.03);
}

.about .content h3 {
  font-size: 13px;
  letter-spacing: 3px;
  font-weight: 600;
}

.about .content h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.about .content p {
  color: #475569;
  line-height: 1.8;
  font-size: 15.5px;
}

.about .content .btn-read-more {
  border-radius: 12px;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 185, 210, 0.25);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.about .content .btn-read-more:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 185, 210, 0.35);
}

/* ==========================================================================
   6. PORTFOLIO SECTION PREMIUM
   ========================================================================== */

.portfolio .portfolio-filters li {
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 185, 210, 0.25);
  transform: translateY(-2px);
}

.portfolio .portfolio-content {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: #ffffff;
}

.portfolio .portfolio-content:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.portfolio .portfolio-content img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio .portfolio-content:hover img {
  transform: scale(1.05);
}

.portfolio .portfolio-content .portfolio-info {
  padding: 20px 24px;
  border-radius: 0 0 16px 16px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--heading-color);
}

.portfolio .portfolio-content .portfolio-info p {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 0;
}

/* ==========================================================================
   7. TESTIMONIALS SECTION PREMIUM
   ========================================================================== */

.testimonials .testimonial-item {
  border-radius: 20px;
  padding: 40px 36px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 32px rgba(0, 0, 0, 0.03);
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonials .testimonial-item::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 28px;
  font-size: 72px;
  font-family: Georgia, serif;
  color: rgba(0, 185, 210, 0.12);
  line-height: 1;
  pointer-events: none;
}

.testimonials .testimonial-item p {
  font-size: 15px;
  line-height: 1.8;
  color: #475569;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonials .testimonial-item .stars i {
  color: #f59e0b;
  font-size: 16px;
}

.testimonials .testimonial-item h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.testimonials .testimonial-item h4 {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.testimonials .testimonial-item .testimonial-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(0, 185, 210, 0.15);
}

.testimonials .testimonial-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   8. CONTACT SECTION PREMIUM
   ========================================================================== */

.contact .info-item {
  border-radius: 16px;
  padding: 36px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.03);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.contact .info-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 185, 210, 0.15);
}

.contact .info-item i {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  font-size: 24px;
  background: linear-gradient(135deg, rgba(0, 185, 210, 0.08) 0%, rgba(0, 185, 210, 0.16) 100%);
}

.contact .info-item h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.contact .info-item p {
  font-size: 14px;
  color: #64748b;
}

.contact .php-email-form {
  border-radius: 20px;
  padding: 44px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 32px rgba(0, 0, 0, 0.04);
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 15px;
  border: 1.5px solid var(--border-color);
  transition: all 0.3s ease;
  background: #f8fafc;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(0, 185, 210, 0.08);
  background: #ffffff;
  outline: none;
}

.contact .php-email-form input::placeholder,
.contact .php-email-form textarea::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.contact .php-email-form button[type=submit] {
  padding: 16px 48px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 0;
  color: white;
  background: var(--accent-color);
  box-shadow: 0 4px 20px rgba(0, 185, 210, 0.3);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.contact .php-email-form button[type=submit]:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 185, 210, 0.4);
  background: color-mix(in srgb, var(--accent-color), black 8%);
}

/* ==========================================================================
   9. HEADER / NAVBAR PREMIUM
   ========================================================================== */

.header {
  padding: 16px 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.scrolled {
  padding: 10px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 24px rgba(0, 0, 0, 0.06);
  background-color: rgba(255, 255, 255, 0.95);
}

.header .btn-getstarted {
  border-radius: 10px;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 12px rgba(0, 185, 210, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header .btn-getstarted:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 185, 210, 0.35);
}

@media (min-width: 1200px) {
  .navmenu a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.2px;
    padding: 18px 18px;
    transition: color 0.25s ease;
  }
}

/* ==========================================================================
   10. FOOTER PREMIUM
   ========================================================================== */

.footer {
  background-color: #f8fafc;
  position: relative;
}

.footer .footer-newsletter {
  background: linear-gradient(135deg, #f0f9ff 0%, #eff6ff 50%, #f8fafc 100%);
  padding: 64px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.footer .footer-newsletter h4 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.footer .footer-newsletter .newsletter-form {
  border-radius: 12px;
  border: 1.5px solid var(--border-color);
  padding: 6px 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(0, 185, 210, 0.08);
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border-radius: 8px;
  padding: 0 24px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.2px;
}

.footer .footer-top {
  padding-top: 64px;
  padding-bottom: 32px;
}

.footer .sitename {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--heading-color);
}

.footer h4 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.footer .footer-links ul li {
  padding: 8px 0;
}

.footer .footer-links ul a {
  font-size: 14px;
  color: #64748b;
  transition: all 0.25s ease;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
  padding-left: 8px;
}

.footer .social-links a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 16px;
}

.footer .social-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 185, 210, 0.25);
}

.footer .copyright {
  padding-top: 32px;
  padding-bottom: 32px;
  font-size: 13px;
  color: #94a3b8;
}

/* ==========================================================================
   11. FAQ SECTION PREMIUM
   ========================================================================== */

.faq .faq-item {
  margin-bottom: 12px;
}

.faq .faq-question-btn {
  border-radius: 12px;
  padding: 20px 24px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.faq .faq-item.faq-active .faq-question-btn {
  border-color: rgba(0, 185, 210, 0.2);
  box-shadow: 0 4px 16px rgba(0, 185, 210, 0.06);
}

.faq .faq-question-text {
  font-weight: 600;
  font-size: 15px;
  color: var(--heading-color);
  letter-spacing: -0.01em;
}

.faq .faq-content p {
  color: #64748b;
  line-height: 1.7;
  font-size: 15px;
  padding: 0 24px 8px 24px;
}

/* ==========================================================================
   12. ALT-FEATURES PREMIUM
   ========================================================================== */

.alt-features .icon-box {
  padding: 20px;
  border-radius: 16px;
  transition: all 0.35s ease;
}

.alt-features .icon-box:hover {
  background: rgba(0, 185, 210, 0.03);
}

.alt-features .icon-box i {
  font-size: 36px;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 185, 210, 0.08) 0%, rgba(0, 185, 210, 0.16) 100%);
  color: var(--accent-color);
}

.alt-features .icon-box h4 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   13. CLIENTS SECTION PREMIUM
   ========================================================================== */

.clients .swiper-slide img {
  opacity: 0.5;
  filter: grayscale(100%);
  transition: all 0.4s ease;
  max-height: 48px;
}

.clients .swiper-slide img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ==========================================================================
   14. SECTION SPACING CONSISTENCY
   ========================================================================== */

section.section {
  padding: 100px 0;
}

.hero + .section {
  padding-top: 100px;
}

/* Section divider lines */
.about.section,
.features.section,
.services.section,
.portfolio.section,
.faq.section {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   15. RESPONSIVE PREMIUM ADJUSTMENTS
   ========================================================================== */

@media (max-width: 991px) {
  section.section {
    padding: 64px 0;
  }
  
  .section-title p {
    font-size: 28px;
  }
  
  .section-title {
    padding-bottom: 48px;
  }
  
  .hero p {
    max-width: 100%;
  }
  
  .hero-trust-row {
    justify-content: center;
    margin-top: 32px;
    padding-top: 24px;
  }
  
  .hero-tech-badges {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  section.section {
    padding: 48px 0;
  }
  
  .section-title p {
    font-size: 24px;
  }
  
  .section-title {
    padding-bottom: 36px;
  }
  
  .hero-trust-row {
    gap: 16px;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-trust-item {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-trust-item .trust-label {
    max-width: none;
  }
  
  .about .content {
    padding: 32px 24px;
  }
  
  .contact .php-email-form {
    padding: 28px 20px;
  }
  
  .testimonials .testimonial-item {
    padding: 28px 24px;
  }
  
  .footer .footer-newsletter {
    padding: 40px 0;
  }
  
  .footer .footer-newsletter h4 {
    font-size: 22px;
  }
}

/* ==========================================================================
   16. SMOOTH SCROLL INDICATOR LINE AT TOP
   ========================================================================== */

.header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 185, 210, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.scrolled .header::after {
  opacity: 1;
}

/* ---------- Portfolio (portfolio.css) ---------- */
/**
 * TechnAre Portfolio — category hub, listings, and project detail
 */

.portfolio-hub-section,
.portfolio-category-section {
  padding-top: 0;
}

/* Category cards (home + hub) */
.portfolio-categories-grid {
  --portfolio-gap: 1.5rem;
}

.portfolio-category-card {
  height: 100%;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 28px rgba(0, 0, 0, 0.04);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.portfolio-category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--portfolio-accent, #00b9d2), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.portfolio-category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 185, 210, 0.2);
}

.portfolio-category-card:hover::before {
  opacity: 1;
}

.portfolio-category-card.item-cyan { --portfolio-accent: #00b9d2; }
.portfolio-category-card.item-orange { --portfolio-accent: #f97316; }
.portfolio-category-card.item-teal { --portfolio-accent: #14b8a6; }
.portfolio-category-card.item-red { --portfolio-accent: #ef4444; }
.portfolio-category-card.item-indigo { --portfolio-accent: #6366f1; }
.portfolio-category-card.item-pink { --portfolio-accent: #ec4899; }

.portfolio-category-card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, rgba(0, 185, 210, 0.08), rgba(0, 185, 210, 0.16));
  color: var(--portfolio-accent, #00b9d2);
}

.portfolio-category-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--heading-color, #0f172a);
}

.portfolio-category-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #64748b;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.portfolio-category-card .portfolio-card-meta {
  font-size: 0.8125rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.portfolio-category-card .btn-view-projects {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--portfolio-accent, #00b9d2);
  text-decoration: none;
  transition: gap 0.25s ease;
}

.portfolio-category-card:hover .btn-view-projects {
  gap: 0.55rem;
}

/* Category hero */
.portfolio-category-hero {
  background: linear-gradient(135deg, #f0f9ff 0%, #f8fafc 50%, #ffffff 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 2rem 0 2.5rem;
}

.portfolio-category-hero .hero-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: linear-gradient(135deg, rgba(0, 185, 210, 0.12), rgba(0, 185, 210, 0.22));
  color: #00b9d2;
  margin-bottom: 1rem;
}

.portfolio-category-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.portfolio-category-hero .lead {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: #64748b;
}

/* Project cards */
.portfolio-projects-grid .portfolio-project-card {
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease;
}

.portfolio-projects-grid .portfolio-project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.portfolio-project-card .thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f5f9;
}

.portfolio-project-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.portfolio-project-card .body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.portfolio-project-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.portfolio-project-card p {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.portfolio-project-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.portfolio-project-card .tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
  background: #f1f5f9;
  color: #475569;
}

.portfolio-project-card .link-detail {
  font-size: 0.875rem;
  font-weight: 600;
  color: #00b9d2;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Hub filters */
.portfolio-hub-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  list-style: none;
  padding: 0;
}

.portfolio-hub-filters a {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569;
  background: #fff;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  transition: all 0.25s ease;
}

.portfolio-hub-filters a:hover,
.portfolio-hub-filters a.active {
  background: #00b9d2;
  color: #fff;
  border-color: #00b9d2;
}

/* Detail page */
.portfolio-detail-hero img {
  border-radius: 16px;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.portfolio-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  margin: 1.5rem 0;
}

.portfolio-detail-meta dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 0.25rem;
}

.portfolio-detail-meta dd {
  font-weight: 600;
  color: #0f172a;
  margin: 0;
}

.portfolio-related-grid {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.portfolio-empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: #64748b;
  background: #f8fafc;
  border-radius: 16px;
  border: 1px dashed #e2e8f0;
}

.portfolio-breadcrumb-nav {
  font-size: 0.875rem;
}

.portfolio-breadcrumb-nav a {
  color: #64748b;
  text-decoration: none;
}

.portfolio-breadcrumb-nav a:hover {
  color: #00b9d2;
}

/* Detail page — hero, blocks, gallery, CTA */
.portfolio-detail-hero-wrap {
  margin-bottom: 2.5rem;
}

.portfolio-detail-hero-banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
  max-height: 480px;
}

.portfolio-detail-hero-banner img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.portfolio-detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 2.25rem;
  color: #fff;
}

.portfolio-detail-hero-overlay h1 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  color: #fff;
}

.portfolio-detail-hero-overlay p {
  margin: 0;
  max-width: 640px;
  opacity: 0.95;
  font-size: 1rem;
  line-height: 1.6;
}

.portfolio-detail-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(0, 185, 210, 0.9);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.portfolio-detail-block {
  margin-bottom: 2.5rem;
}

.portfolio-detail-block h2,
.portfolio-detail-block h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.portfolio-detail-prose {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #475569;
}

.portfolio-detail-list {
  margin: 0;
  padding-left: 1.25rem;
  color: #475569;
}

.portfolio-detail-list li {
  margin-bottom: 0.65rem;
  line-height: 1.65;
}

.portfolio-detail-sidebar {
  position: sticky;
  top: 100px;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #f8fafc;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.portfolio-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.portfolio-tech-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #334155;
}

.portfolio-gallery-item {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  text-decoration: none;
}

.portfolio-gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.portfolio-gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  display: block;
}

.portfolio-gallery-caption {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  color: #64748b;
  background: #fff;
  line-height: 1.4;
}

.portfolio-detail-cta {
  margin: 3rem 0 2rem;
}

.portfolio-detail-cta-inner {
  padding: 3rem 2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #f0f9ff 0%, #ecfeff 50%, #f8fafc 100%);
  border: 1px solid rgba(0, 185, 210, 0.15);
}

.portfolio-project-card .thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.35) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.portfolio-project-card .thumb {
  position: relative;
}

.portfolio-project-card:hover .thumb::after {
  opacity: 1;
}

@media (max-width: 767px) {
  .portfolio-detail-sidebar {
    position: static;
    margin-top: 1rem;
  }

  .portfolio-detail-hero-overlay {
    padding: 1.25rem;
  }
}

@media (max-width: 767px) {
  .portfolio-category-card {
    padding: 1.5rem 1.25rem;
  }
}

/* Design category — services, cards, detail */
.portfolio-category-services {
  padding: 1.75rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #f5f3ff 0%, #faf5ff 40%, #ffffff 100%);
  border: 1px solid rgba(99, 102, 241, 0.12);
}

.portfolio-service-grid,
.portfolio-tool-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.portfolio-service-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 100px;
  background: #fff;
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: #4338ca;
}

.portfolio-tool-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 100px;
  background: #eef2ff;
  color: #3730a3;
}

.portfolio-card-discipline {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.6rem;
  border-radius: 100px;
  background: rgba(99, 102, 241, 0.95);
  color: #fff;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.portfolio-project-card .thumb-design {
  aspect-ratio: 16 / 9;
  background: #1e1033;
}

.portfolio-project-card .thumb-design img {
  object-fit: contain;
  object-position: center;
  padding: 0.35rem;
}

.portfolio-project-card .btn-view-project {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 100px;
  background: rgba(0, 185, 210, 0.08);
  transition: background 0.25s ease, gap 0.25s ease;
}

.portfolio-project-card:hover .btn-view-project {
  background: rgba(0, 185, 210, 0.16);
}

.portfolio-detail-hero-banner--design {
  max-height: none;
  background: #1e1033;
}

.portfolio-detail-hero-banner--design img {
  max-height: 520px;
  object-fit: contain;
  object-position: center;
}

.portfolio-detail-hero-banner--design .portfolio-detail-hero-overlay {
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.85) 100%);
}

.portfolio-detail-gallery--design .portfolio-gallery-item img.portfolio-gallery-img--contain {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #1e1033;
}

.portfolio-color-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.portfolio-swatch {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.portfolio-swatch-chip {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.portfolio-swatch-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0f172a;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.portfolio-swatch-label small {
  font-weight: 500;
  color: #94a3b8;
  font-size: 0.7rem;
}

/* Mobile app category & cards */
.portfolio-category-services--mobile {
  background: linear-gradient(135deg, #fff1f2 0%, #fef2f2 40%, #ffffff 100%);
  border-color: rgba(239, 68, 68, 0.12);
}

.portfolio-category-services--mobile .portfolio-service-pill {
  border-color: rgba(239, 68, 68, 0.2);
  color: #b91c1c;
}

.portfolio-category-services--mobile .portfolio-tool-pill {
  background: #fef2f2;
  color: #991b1b;
}

.portfolio-card-platform {
  background: rgba(239, 68, 68, 0.95);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

.portfolio-project-card .thumb-mobile {
  aspect-ratio: 16 / 10;
  background: #0f172a;
}

.portfolio-project-card .thumb-mobile img {
  object-fit: contain;
  object-position: center;
  padding: 0.25rem;
}

.portfolio-detail-hero-banner--mobile {
  max-height: none;
  background: #0f172a;
}

.portfolio-detail-hero-banner--mobile img {
  max-height: 520px;
  object-fit: contain;
  object-position: center;
}

.portfolio-detail-hero-banner--mobile .portfolio-detail-hero-overlay {
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.88) 100%);
}

.portfolio-detail-gallery--mobile .portfolio-gallery-item img.portfolio-gallery-img--contain {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #0f172a;
}

/* E-commerce & platforms category */
.portfolio-category-services--commerce {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 40%, #ffffff 100%);
  border-color: rgba(249, 115, 22, 0.15);
}

.portfolio-category-services--commerce .portfolio-service-pill {
  border-color: rgba(249, 115, 22, 0.25);
  color: #c2410c;
}

.portfolio-category-services--commerce .portfolio-tool-pill {
  background: #fff7ed;
  color: #9a3412;
}

.thumb-commerce .portfolio-card-discipline {
  background: rgba(249, 115, 22, 0.95);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

.portfolio-project-card .thumb-commerce {
  aspect-ratio: 16 / 10;
  background: #1c1917;
}

.portfolio-project-card .thumb-commerce img {
  object-fit: contain;
  object-position: center;
  padding: 0.25rem;
}

.portfolio-detail-hero-banner--commerce {
  max-height: none;
  background: #1c1917;
}

.portfolio-detail-hero-banner--commerce img {
  max-height: 520px;
  object-fit: contain;
  object-position: center;
}

.portfolio-detail-hero-banner--commerce .portfolio-detail-hero-overlay {
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.88) 100%);
}

/* ============================================================================
   PORTFOLIO — RESPONSIVE PASS (filter + page-level)
   Additive only. Preserves desktop look and the existing JS filtering logic.
   ============================================================================ */

/* ---- 1. Filter — mobile slider with prev/next nav arrows -----------------*/
.portfolio-hub-filter-slider {
  position: relative;
}

.portfolio-hub-filters {
  position: relative;
}

/* Arrow buttons — injected by JS, hidden on desktop */
.portfolio-hub-filter-nav {
  display: none;
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease,
    background-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.portfolio-hub-filter-nav i {
  font-size: 1rem;
  line-height: 1;
}

.portfolio-hub-filter-nav--prev {
  left: 4px;
}

.portfolio-hub-filter-nav--next {
  right: 4px;
}

.portfolio-hub-filter-nav:hover,
.portfolio-hub-filter-nav:focus-visible {
  background: #00b9d2;
  color: #fff;
  border-color: #00b9d2;
  box-shadow: 0 6px 18px rgba(0, 185, 210, 0.35);
  outline: none;
}

.portfolio-hub-filter-nav:active {
  transform: translateY(calc(-50% + 1px)) scale(0.96);
}

/* When the scroll position reaches an edge, fade the corresponding arrow out */
.portfolio-hub-filter-slider.is-at-start .portfolio-hub-filter-nav--prev,
.portfolio-hub-filter-slider.is-at-end .portfolio-hub-filter-nav--next {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.85);
}

/* MOBILE — activate the slider layout (≤767.98px) */
@media (max-width: 767.98px) {
  .portfolio-hub-filter-slider {
    display: flex;
    align-items: center;
    margin-left: calc(var(--container-gutter, 1rem) * -1);
    margin-right: calc(var(--container-gutter, 1rem) * -1);
    padding: 0;
    margin-bottom: 1.25rem;
  }

  .portfolio-hub-filter-nav {
    display: inline-flex;
  }

  .portfolio-hub-filters {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    scroll-padding: 0 1rem;
    scroll-behavior: smooth;
    gap: 0.5rem;
    /* reserve room for the arrows so chips never sit underneath them */
    padding: 0.25rem 48px 0.6rem;
    margin-bottom: 0;
    /* Soft fade hint just inside the arrows, so the row feels continuous */
    mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 44px,
      #000 calc(100% - 44px),
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 44px,
      #000 calc(100% - 44px),
      transparent 100%
    );
  }

  .portfolio-hub-filters::-webkit-scrollbar {
    display: none;
  }

  .portfolio-hub-filters li {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .portfolio-hub-filters a {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 0.55rem 1.1rem;
    font-size: 0.875rem;
    line-height: 1.2;
    min-height: 40px;
  }

  .portfolio-hub-filters a.active {
    box-shadow: 0 4px 14px rgba(0, 185, 210, 0.35);
    position: relative;
  }
}

/* Tiny phones — slimmer arrows so chips have more room */
@media (max-width: 380px) {
  .portfolio-hub-filter-nav {
    width: 32px;
    height: 32px;
  }

  .portfolio-hub-filter-nav i {
    font-size: 0.875rem;
  }

  .portfolio-hub-filters {
    padding-left: 40px;
    padding-right: 40px;
    mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 36px,
      #000 calc(100% - 36px),
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 36px,
      #000 calc(100% - 36px),
      transparent 100%
    );
  }
}

/* ---- 2. Filter — small tablet wrap centered ------------------------------*/
@media (min-width: 768px) and (max-width: 991.98px) {
  .portfolio-hub-filters {
    gap: 0.45rem;
    margin-bottom: 1.5rem;
  }

  .portfolio-hub-filters a {
    padding: 0.5rem 0.9rem;
    font-size: 0.8125rem;
  }
}

/* ---- 3. Category cards / project cards — phone padding ------------------*/
@media (max-width: 575.98px) {
  .portfolio-categories-grid {
    --portfolio-gap: 1rem;
  }

  .portfolio-category-card .icon-wrap {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .portfolio-category-card h3 {
    font-size: 1.08rem;
  }

  .portfolio-projects-grid .portfolio-project-card .body {
    padding: 1rem 1.1rem 1.25rem;
  }

  .portfolio-project-card h3 {
    font-size: 1rem;
  }

  .portfolio-project-card p {
    font-size: 0.85rem;
  }

  .portfolio-project-card .tags {
    gap: 0.3rem;
  }
}

/* ---- 4. Category hero — tighter padding on phone ------------------------*/
@media (max-width: 575.98px) {
  .portfolio-category-hero {
    padding: 1.5rem 0 1.75rem;
  }

  .portfolio-category-hero .hero-icon {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .portfolio-category-hero .lead {
    font-size: 0.95rem;
  }
}

/* ---- 5. Detail hero — full bleed on phone with readable overlay ---------*/
@media (max-width: 767.98px) {
  .portfolio-detail-hero-wrap {
    margin-bottom: 1.75rem;
  }

  .portfolio-detail-hero-banner,
  .portfolio-detail-hero-banner--design,
  .portfolio-detail-hero-banner--mobile,
  .portfolio-detail-hero-banner--commerce {
    border-radius: 14px;
    max-height: none;
  }

  .portfolio-detail-hero-banner img,
  .portfolio-detail-hero-banner--design img,
  .portfolio-detail-hero-banner--mobile img,
  .portfolio-detail-hero-banner--commerce img {
    max-height: 360px;
  }

  .portfolio-detail-hero-overlay {
    padding: 1.1rem 1.15rem 1.25rem;
  }

  .portfolio-detail-hero-overlay h1 {
    font-size: clamp(1.15rem, 4.5vw, 1.65rem);
    line-height: 1.2;
  }

  .portfolio-detail-hero-overlay p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .portfolio-detail-badge {
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
    margin-bottom: 0.5rem;
  }
}

/* ---- 6. Detail meta — clean stacking on phone ---------------------------*/
@media (max-width: 575.98px) {
  .portfolio-detail-meta {
    gap: 0.85rem 1.25rem;
    padding: 1rem 0;
    margin: 1.1rem 0;
  }

  .portfolio-detail-meta > div {
    min-width: 45%;
  }

  .portfolio-detail-prose {
    font-size: 0.975rem;
    line-height: 1.7;
  }

  .portfolio-detail-block {
    margin-bottom: 1.75rem;
  }
}

/* ---- 7. Gallery — 2-col on small phone, 1-col on tiny -------------------*/
@media (max-width: 575.98px) {
  .portfolio-detail-gallery .row {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
  }

  .portfolio-gallery-item {
    border-radius: 12px;
  }

  .portfolio-gallery-item img {
    aspect-ratio: 4 / 3;
  }

  .portfolio-gallery-caption {
    padding: 0.6rem 0.85rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 380px) {
  .portfolio-detail-gallery .row > [class*="col-"] {
    width: 100%;
  }

  .portfolio-gallery-item img {
    aspect-ratio: 16 / 10;
  }
}

/* ---- 8. Sidebar (tech stack / project info) — phone friendly ------------*/
@media (max-width: 991.98px) {
  .portfolio-detail-sidebar {
    position: static;
    top: auto;
    margin-top: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .portfolio-detail-sidebar {
    padding: 1.1rem 1rem;
    border-radius: 14px;
  }

  .portfolio-tech-stack {
    gap: 0.4rem;
  }

  .portfolio-tech-pill {
    font-size: 0.7rem;
    padding: 0.3rem 0.65rem;
  }
}

/* ---- 9. CTA — full-width stacked buttons on phone -----------------------*/
@media (max-width: 575.98px) {
  .portfolio-detail-cta {
    margin: 2rem 0 1.5rem;
  }

  .portfolio-detail-cta-inner {
    padding: 1.5rem 1.15rem;
    border-radius: 16px;
    text-align: center;
  }

  .portfolio-detail-cta-inner h3,
  .portfolio-detail-cta-inner h2 {
    font-size: 1.25rem;
  }

  .portfolio-detail-cta-inner p {
    font-size: 0.9rem;
  }

  .portfolio-detail-cta-inner .btn,
  .portfolio-detail-cta-inner .btn-get-started {
    display: flex;
    width: 100%;
    justify-content: center;
    margin: 0 0 0.5rem 0 !important;
  }
}

/* ---- 10. Service / tool pill grids — tighter on phone -------------------*/
@media (max-width: 575.98px) {
  .portfolio-category-services {
    padding: 1.25rem 1rem;
    border-radius: 14px;
  }

  .portfolio-service-grid,
  .portfolio-tool-grid {
    gap: 0.35rem;
  }

  .portfolio-service-pill,
  .portfolio-tool-pill {
    font-size: 0.7rem;
    padding: 0.35rem 0.65rem;
  }
}

/* ---- 11. Color swatches — adapt grid for phones -------------------------*/
@media (max-width: 575.98px) {
  .portfolio-color-swatches {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.65rem;
  }

  .portfolio-swatch {
    padding: 0.6rem;
    gap: 0.6rem;
  }

  .portfolio-swatch-chip {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .portfolio-swatch-label {
    font-size: 0.75rem;
  }
}

/* ---- 12. Related grid — phone margins -----------------------------------*/
@media (max-width: 575.98px) {
  .portfolio-related-grid {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
}

/* ---- 13. Breadcrumb — overflow safe -------------------------------------*/
@media (max-width: 575.98px) {
  .portfolio-breadcrumb-nav {
    font-size: 0.78rem;
    padding-bottom: 0.5rem;
  }

  .portfolio-breadcrumb-nav span,
  .portfolio-breadcrumb-nav a {
    white-space: nowrap;
  }
}

/* ---- 14. Discipline / platform badges on cards -------------------------*/
@media (max-width: 575.98px) {
  .portfolio-card-discipline,
  .portfolio-card-platform {
    font-size: 0.6rem;
    padding: 0.25rem 0.5rem;
    top: 0.5rem;
    left: 0.5rem;
  }
}

/* ---- 15. Tablet 768-991 — 2-col project grid feels right ----------------*/
@media (min-width: 768px) and (max-width: 991.98px) {
  .portfolio-projects-grid .portfolio-project-card .body {
    padding: 1.1rem 1.2rem 1.3rem;
  }

  .portfolio-detail-hero-overlay {
    padding: 1.5rem 1.75rem;
  }
}

/* ---- 16. Mobile back button on project detail pages ---------------------*/
.portfolio-back-btn {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.95rem 0.45rem 0.7rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1;
  min-height: 40px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  transition: transform 0.18s ease, background-color 0.18s ease,
    color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  -webkit-tap-highlight-color: transparent;
  width: max-content;
  max-width: 100%;
}

.portfolio-back-btn:hover,
.portfolio-back-btn:focus-visible {
  background: #00b9d2;
  color: #fff;
  border-color: #00b9d2;
  box-shadow: 0 6px 18px rgba(0, 185, 210, 0.32);
  outline: none;
  text-decoration: none;
}

.portfolio-back-btn:active {
  transform: translateY(1px) scale(0.98);
}

.portfolio-back-btn i {
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.18s ease;
}

.portfolio-back-btn:hover i,
.portfolio-back-btn:focus-visible i {
  transform: translateX(-2px);
}

.portfolio-back-btn__label {
  line-height: 1;
}

/* Show on mobile + small tablet only */
@media (max-width: 767.98px) {
  .portfolio-back-btn {
    display: inline-flex;
  }
}

.portfolio-detail-gallery--commerce .portfolio-gallery-item img.portfolio-gallery-img--contain {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #1c1917;
}

/* ---------- Responsive (responsive-ui.css) ---------- */
/**
 * TechnAre — Responsive UI refinements
 * Loaded after premium-ui.css. Preserves brand colors, theme, and layout identity.
 */

:root {
  --site-header-height: 72px;
  --container-gutter: clamp(1rem, 4vw, 1.5rem);
  --section-space-y: clamp(3rem, 6vw, 6.25rem);
}

html {
  scroll-padding-top: calc(var(--site-header-height) + 12px);
}

/* --------------------------------------------------------------------------
   Global layout & overflow
   -------------------------------------------------------------------------- */
body {
  overflow-x: clip;
}

main.main {
  overflow-x: clip;
}

.container,
.container-fluid,
.container-xl {
  padding-left: max(var(--container-gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--container-gutter), env(safe-area-inset-right, 0px));
}

table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

pre,
code {
  max-width: 100%;
  overflow-x: auto;
}

/* --------------------------------------------------------------------------
   Typography scaling (fluid, same visual hierarchy)
   -------------------------------------------------------------------------- */
.hero h1 {
  font-size: clamp(1.65rem, 4.5vw, 3rem);
  line-height: 1.12;
}

.section-title p {
  font-size: clamp(1.35rem, 3.2vw, 2.25rem);
}

.page-title {
  padding: clamp(2.25rem, 5vw, 3.75rem) 0;
}

.page-title h1 {
  font-size: clamp(1.45rem, 4vw, 2.125rem);
  line-height: 1.2;
  word-wrap: break-word;
}

.page-title .lead,
.portfolio-category-hero .lead {
  font-size: clamp(0.9375rem, 2.2vw, 1.125rem);
  line-height: 1.65;
}

.portfolio-category-hero .hero-icon {
  font-size: clamp(2rem, 5vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.portfolio-category-hero h1 {
  font-size: clamp(1.45rem, 4vw, 2.25rem);
}

/* --------------------------------------------------------------------------
   Touch targets & interactive polish
   -------------------------------------------------------------------------- */
.btn,
.btn-get-started,
.btn-getstarted,
.header .btn-getstarted,
.php-email-form button[type="submit"],
.chatbot-send-btn,
#chatbot-send-btn,
.portfolio-hub-filters a {
  min-height: 44px;
}

.navmenu a {
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
  .portfolio-category-card,
  .portfolio-project-card,
  .services .service-item,
  .stats .stats-item {
    will-change: transform;
  }
}

@media (hover: none) {
  .portfolio-category-card:hover,
  .portfolio-project-card:hover,
  .services .service-item:hover {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .header .btn-getstarted {
    padding: 10px 16px;
    font-size: 13px;
    white-space: nowrap;
  }

  .navmenu .dropdown ul.dropdown-active {
    max-height: min(50vh, 320px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 400px) {
  .header .btn-getstarted {
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* --------------------------------------------------------------------------
   Hero & home sections
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .hero .hero-img {
    max-width: min(100%, 420px);
    margin-left: auto;
    margin-right: auto;
  }

  .hero-tech-badges {
    gap: 0.5rem;
  }

  .hero-tech-badge {
    font-size: 0.8125rem;
    padding: 0.4rem 0.75rem;
  }
}

@media (max-width: 575.98px) {
  .stats .stats-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 1.25rem 1rem;
  }

  .alt-features .icon-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .alt-features .icon-box i {
    margin-right: 0;
    margin-bottom: 0.75rem;
  }
}

/* --------------------------------------------------------------------------
   Services, features, cards
   -------------------------------------------------------------------------- */
.services .row > [class*="col-"] {
  display: flex;
}

.services .service-item {
  width: 100%;
  height: 100%;
}

.features .feature-box,
.values .icon-box {
  height: 100%;
}

/* --------------------------------------------------------------------------
   Portfolio hub & listings
   -------------------------------------------------------------------------- */
.portfolio-breadcrumb-nav {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 0.35rem;
  margin-bottom: 0.5rem;
}

.portfolio-breadcrumb-nav span:last-child {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 575.98px) {
  .portfolio-hub-filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.4rem;
    padding-bottom: 0.35rem;
    margin-bottom: 1.5rem;
  }

  .portfolio-hub-filters::-webkit-scrollbar {
    display: none;
  }

  .portfolio-hub-filters a {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
  }

  .portfolio-category-card {
    padding: 1.35rem 1.15rem;
  }

  .portfolio-category-services {
    padding: 1.25rem 1rem;
  }

  .portfolio-service-grid,
  .portfolio-tool-grid {
    gap: 0.4rem;
  }
}

/* Portfolio detail */
.portfolio-detail-hero-overlay h1 {
  font-size: clamp(1.2rem, 3.8vw, 2rem);
}

.portfolio-detail-hero-overlay p {
  font-size: clamp(0.875rem, 2vw, 1rem);
}

.portfolio-detail-cta-inner {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

@media (max-width: 575.98px) {
  .portfolio-detail-cta-inner .btn-get-started,
  .portfolio-detail-cta-inner .btn {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-right: 0 !important;
    margin-bottom: 0.5rem;
  }

  .portfolio-detail-sidebar {
    padding: 1.25rem;
  }

  .portfolio-gallery-item img {
    border-radius: 12px;
  }
}

.portfolio-color-swatches,
.portfolio-color-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   Forms & contact
   -------------------------------------------------------------------------- */
.php-email-form input,
.php-email-form textarea,
.php-email-form select,
.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 10px;
}

@media (max-width: 575.98px) {
  .php-email-form input,
  .php-email-form textarea,
  .contact .php-email-form input,
  .contact .php-email-form textarea {
    font-size: 16px;
    min-height: 48px;
  }

  .contact .php-email-form textarea {
    min-height: 120px;
  }

  .contact .php-email-form button[type="submit"],
  .php-email-form button[type="submit"] {
    width: 100%;
    justify-content: center;
  }

  .contact .info-item {
    text-align: center;
    flex-direction: column;
    align-items: center;
  }
}

/* --------------------------------------------------------------------------
   php-email-form: error + loading messages (mobile responsiveness)
   .sent-message is suppressed in favour of the top-of-page toast.
   -------------------------------------------------------------------------- */
.php-email-form .error-message,
.php-email-form .loading {
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

@media (max-width: 575.98px) {
  .php-email-form .error-message,
  .php-email-form .loading {
    padding: 0.75rem 0.875rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.45;
    border-radius: 10px;
  }

  .php-email-form .loading {
    display: none;
    align-items: center;
    gap: 0.65rem;
    text-align: left;
  }

  .php-email-form .loading.d-block,
  .php-email-form .loading[style*="display: block"] {
    display: flex !important;
  }

  .php-email-form .loading::before {
    width: 18px;
    height: 18px;
    border-width: 2.5px;
    margin: 0 !important;
  }

  /* Newsletter inline error/sent pill (footer + service pages) */
  .footer .footer-newsletter .error-message,
  .footer .footer-newsletter .sent-message {
    font-size: 0.85rem;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */
.blog .post-entry,
.blog-details .article {
  overflow-wrap: anywhere;
}

.blog .post-entry .post-img img,
.blog-details .article img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

@media (max-width: 767px) {
  .blog .sidebar {
    margin-top: 2rem;
  }

  .blog-pagination {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .footer .footer-top .row > [class*="col-"] {
    margin-bottom: 1.5rem;
  }

  .footer .footer-newsletter .newsletter-form {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0.75rem;
  }

  .footer .footer-newsletter .newsletter-form input[type="email"] {
    width: 100%;
    min-height: 48px;
  }

  .footer .footer-newsletter .newsletter-form input[type="submit"] {
    width: 100%;
    min-height: 48px;
  }
}

/* --------------------------------------------------------------------------
   FAQ, testimonials, clients
   -------------------------------------------------------------------------- */
.faq .faq-question-btn {
  min-height: 48px;
  align-items: center;
}

.testimonials .swiper,
.clients .swiper {
  padding-bottom: 2.5rem;
}

.testimonials .testimonial-item {
  height: auto;
}

/* --------------------------------------------------------------------------
   Scroll top + chatbot spacing
   -------------------------------------------------------------------------- */
.scroll-top {
  min-width: 44px;
  min-height: 44px;
}

@media (max-width: 576px) {
  .scroll-top {
    left: max(1rem, env(safe-area-inset-left, 0px));
    bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  }
}

/* --------------------------------------------------------------------------
   Large screens — comfortable reading width
   -------------------------------------------------------------------------- */
@media (min-width: 1400px) {
  .hero p {
    max-width: 560px;
  }

  .section-title p {
    max-width: 760px;
  }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .portfolio-category-card,
  .portfolio-project-card,
  .services .service-item,
  .hero .btn-get-started {
    transition-duration: 0.001ms !important;
  }
}

/* ============================================================================
   RESPONSIVE PASS — phone → ultra-wide
   Additive only. Does not override brand colors, typography, or layout.
   ============================================================================ */

/* --- 1. Box-sizing reset & root safety -----------------------------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  max-width: 100%;
}

/* --- 2. Defensive media safety (kills any forced horizontal overflow) ----*/
img,
picture,
video,
canvas,
svg {
  max-width: 100%;
  height: auto;
}

iframe,
embed,
object {
  max-width: 100%;
}

/* Bootstrap's .img-fluid keeps inline display for inline contexts */
img.img-fluid {
  display: inline-block;
}

/* --- 3. Long-word + heading wrap on narrow viewports ---------------------*/
h1, h2, h3, h4, h5, h6 {
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

p, li, a, span, dd, dt {
  overflow-wrap: anywhere;
}

/* --- 4. iOS zoom prevention on ALL text inputs (not just .php-email-form) */
@media (max-width: 575.98px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
  textarea,
  select {
    font-size: 16px;
  }
}

/* --- 5. Tablet 768-991 — slight gutter for stacked cards -----------------*/
@media (min-width: 768px) and (max-width: 991.98px) {
  .services .row > [class*="col-"],
  .features .row > [class*="col-"],
  .alt-features .row > [class*="col-"],
  .values .row > [class*="col-"] {
    margin-bottom: 0.5rem;
  }

  .portfolio-categories-grid > [class*="col-"] {
    margin-bottom: 0.75rem;
  }
}

/* --- 6. Tiny phones ≤360px — tighter card padding, smaller hero ----------*/
@media (max-width: 360px) {
  :root {
    --container-gutter: 0.75rem;
  }

  .hero h1 { font-size: 26px; line-height: 1.15; }
  .hero p  { font-size: 15.5px; }

  .portfolio-category-card,
  .portfolio-project-card,
  .services .service-item,
  .features .feature-box,
  .values .icon-box {
    padding: 1.1rem 0.95rem;
  }

  .section-title h2 { font-size: 12px; }
  .section-title p  { font-size: 1.25rem; }

  .blog-pagination li a,
  .blog-pagination li .page-link {
    min-width: 36px;
    padding: 0.4rem 0.6rem;
  }

  .chatbot-btn {
    width: 50px;
    height: 50px;
  }
  .chatbot-btn i { font-size: 20px; }
}

/* --- 7. Landscape phones (height ≤480 + landscape) -----------------------*/
@media (max-height: 480px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 80px 0 32px;
  }

  .hero h1 { font-size: clamp(1.4rem, 3.6vw, 2rem); }

  .hero-trust-row {
    margin-top: 12px;
    padding-top: 12px;
  }

  .page-title {
    padding: 1.5rem 0;
  }

  .chatbot-intro-popup,
  #technare-chatbot-intro {
    display: none !important;
  }

  .navmenu ul {
    height: calc(100dvh - 60px);
  }
}

/* --- 8. Large 1400-1599 — let hero image breathe -------------------------*/
@media (min-width: 1400px) and (max-width: 1599.98px) {
  .container,
  .container-xl {
    max-width: 1320px;
  }

  .hero .hero-img img {
    max-width: 100%;
  }
}

/* --- 9. Ultra-wide ≥1600 — cap content reading width ---------------------*/
@media (min-width: 1600px) {
  .container,
  .container-xl,
  .container-fluid.container-xl {
    max-width: 1480px;
  }

  .hero {
    padding-left: 0;
    padding-right: 0;
  }

  .section-title p {
    max-width: 820px;
  }
}

@media (min-width: 1920px) {
  .container,
  .container-xl {
    max-width: 1600px;
  }

  body {
    font-size: 17px;
  }
}

/* --- 10. Mobile chatbot fab size + scroll-top spacing --------------------*/
@media (max-width: 575.98px) {
  .chatbot-btn {
    width: 52px;
    height: 52px;
  }
  .chatbot-btn i {
    font-size: 22px;
  }

  /* Scroll-top sits on the left edge (set in main.css); keep visual balance */
  .scroll-top {
    width: 42px;
    height: 42px;
  }
}

/* --- 11. Sliders / swiper — touch friendly + no horizontal overflow -----*/
.swiper,
.swiper-wrapper {
  max-width: 100%;
}

.swiper-slide {
  height: auto;
}

@media (max-width: 575.98px) {
  .testimonials .testimonial-item,
  .clients .swiper-slide {
    padding: 1rem;
  }
}

/* --- 12. Modal / overlay safe-area ---------------------------------------*/
.modal-dialog,
.modal-content {
  max-width: calc(100% - 1rem);
}

@media (max-width: 575.98px) {
  .modal-body {
    padding: 1rem;
  }
}

/* --- 13. Print styles (clean handout) ------------------------------------*/
/* --- 14. Final polish — items found during whole-site review ------------*/

/* Chatbot intro popup — keep on-screen and readable on tiny phones */
@media (max-width: 360px) {
  .chatbot-intro-popup {
    right: 12px !important;
    bottom: max(74px, env(safe-area-inset-bottom, 0px) + 60px) !important;
    max-width: calc(100vw - 24px);
    font-size: 0.85rem;
    padding: 0.7rem 0.85rem;
  }
}

/* Bootstrap-Icons fallback — ensure consistent vertical alignment on phones */
.btn i.bi,
.btn-get-started i.bi,
.btn-getstarted i.bi,
.portfolio-back-btn i.bi,
.portfolio-hub-filter-nav i.bi {
  vertical-align: middle;
}

/* GLightbox — ensure the close icon is comfortably tappable on phones */
@media (max-width: 575.98px) {
  .glightbox-clean .gclose,
  .glightbox-clean .gnext,
  .glightbox-clean .gprev {
    min-width: 44px;
    min-height: 44px;
  }
}

/* Section padding hard floor — protects against template overrides */
@media (max-width: 380px) {
  section,
  .section {
    padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
  }
}

/* Newsletter "loading…" pill on phones — same compact treatment */
@media (max-width: 575.98px) {
  .footer .footer-newsletter .loading {
    font-size: 0.85rem;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
  }
}

/* Hero CTA — never let two side-by-side buttons crowd on narrow phones */
@media (max-width: 420px) {
  .hero .d-flex.flex-md-row {
    flex-direction: column;
  }
  .hero .btn-get-started.ms-md-4 {
    margin-left: 0 !important;
  }
}

@media print {
  .header,
  .footer,
  .chatbot-btn,
  .chatbot-window,
  .chatbot-backdrop,
  .scroll-top,
  .mobile-nav-overlay,
  #technare-chatbot-intro,
  .portfolio-hub-filters,
  .portfolio-breadcrumb-nav,
  .swiper-button-prev,
  .swiper-button-next,
  .swiper-pagination {
    display: none !important;
  }

  html, body {
    color: #000 !important;
    background: #fff !important;
  }

  main.main {
    padding-top: 0 !important;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    color: #444;
  }

  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  section,
  .section {
    page-break-inside: avoid;
    padding: 1rem 0 !important;
  }
}

/* ---------- WhatsApp contact button ---------- */
.ta-whatsapp-btn {
  position: fixed;
  z-index: 9998;
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  right: calc(max(20px, env(safe-area-inset-right, 0px)) + 72px);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.ta-whatsapp-btn i {
  font-size: 28px;
  line-height: 1;
}
.ta-whatsapp-btn:hover,
.ta-whatsapp-btn:focus-visible {
  color: #ffffff;
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}
.ta-whatsapp-btn:focus-visible {
  outline: 3px solid #00b9d2;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .ta-whatsapp-btn {
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    right: calc(max(16px, env(safe-area-inset-right, 0px)) + 66px);
    width: 56px;
    height: 56px;
  }
  .ta-whatsapp-btn i { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .ta-whatsapp-btn {
    transition-duration: 0.001ms !important;
  }
  .ta-whatsapp-btn:hover,
  .ta-whatsapp-btn:focus-visible {
    transform: none;
  }
}
/* ==========================================================================
   Phase 4 — layout/utilities formerly provided by Bootstrap 5
   Only classes used by live PHP pages. Keep markup class names.
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.container,
.container-fluid,
.container-xl {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-left: max(var(--container-gutter, 12px), env(safe-area-inset-left, 0px));
  padding-right: max(var(--container-gutter, 12px), env(safe-area-inset-right, 0px));
}

@media (min-width: 576px) {
  .container { max-width: 540px; }
}
@media (min-width: 768px) {
  .container { max-width: 720px; }
}
@media (min-width: 992px) {
  .container { max-width: 960px; }
}
@media (min-width: 1200px) {
  .container,
  .container-xl { max-width: 1140px; }
}
@media (min-width: 1400px) {
  .container,
  .container-xl { max-width: 1320px; }
}
@media (min-width: 1600px) {
  .container,
  .container-xl,
  .container-fluid.container-xl { max-width: 1480px; }
}
@media (min-width: 1920px) {
  .container,
  .container-xl { max-width: 1600px; }
}

.row {
  --ta-gutter-x: 1.5rem;
  --ta-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--ta-gutter-y));
  margin-right: calc(-0.5 * var(--ta-gutter-x));
  margin-left: calc(-0.5 * var(--ta-gutter-x));
}

.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--ta-gutter-x) * 0.5);
  padding-left: calc(var(--ta-gutter-x) * 0.5);
  margin-top: var(--ta-gutter-y);
}

.g-3, .gy-3 { --ta-gutter-y: 1rem; }
.g-3, .gx-3 { --ta-gutter-x: 1rem; }
.g-4, .gy-4 { --ta-gutter-y: 1.5rem; }
.g-4, .gx-4 { --ta-gutter-x: 1.5rem; }
.g-5, .gy-5 { --ta-gutter-y: 3rem; }
.g-5, .gx-5 { --ta-gutter-x: 3rem; }
.gx-0 { --ta-gutter-x: 0; }

.col-12 { flex: 0 0 auto; width: 100%; }

@media (min-width: 768px) {
  .col-md-3 { flex: 0 0 auto; width: 25%; }
  .col-md-6 { flex: 0 0 auto; width: 50%; }
  .col-md-12 { flex: 0 0 auto; width: 100%; }
}

@media (min-width: 992px) {
  .col-lg-2 { flex: 0 0 auto; width: 16.66666667%; }
  .col-lg-3 { flex: 0 0 auto; width: 25%; }
  .col-lg-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-lg-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-lg-6 { flex: 0 0 auto; width: 50%; }
  .col-lg-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-lg-8 { flex: 0 0 auto; width: 66.66666667%; }
}

@media (min-width: 1200px) {
  .col-xl-3 { flex: 0 0 auto; width: 25%; }
}

.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-block { display: block !important; }
.d-none { display: none !important; }

@media (min-width: 1200px) {
  .d-xl-none { display: none !important; }
}

.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-md-shrink-0 { flex-shrink: 0; }

@media (min-width: 768px) {
  .flex-md-row { flex-direction: row !important; }
  .flex-md-shrink-0 { flex-shrink: 0 !important; }
}

.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.align-self-center { align-self: center !important; }
.justify-content-center { justify-content: center !important; }
.gap-2 { gap: 0.5rem !important; }

.order-1 { order: 1; }
.order-2 { order: 2; }

@media (min-width: 992px) {
  .order-lg-1 { order: 1; }
  .order-lg-2 { order: 2; }
}

.h-100 { height: 100% !important; }
.w-100 { width: 100% !important; }
.position-relative { position: relative !important; }
.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.text-center { text-align: center !important; }
.text-muted { color: #64748b !important; }
.text-primary { color: #00b9d2 !important; }
.text-secondary { color: #6c757d !important; }
.text-dark { color: #212529 !important; }
.text-decoration-none { text-decoration: none !important; }
.link-dark { color: #212529; }

@media (min-width: 992px) {
  .text-lg-start { text-align: left !important; }
}

.fw-semibold { font-weight: 600 !important; }
.small { font-size: 0.875em; }

.bg-transparent { background-color: transparent !important; }

.m-0 { margin: 0 !important; }
.mt-auto { margin-top: auto !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.ms-0 { margin-left: 0 !important; }
.ms-2 { margin-left: 0.5rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-auto { margin-right: auto !important; }
.pt-0 { padding-top: 0 !important; }
.pt-3 { padding-top: 1rem !important; }
.px-1 { padding-left: 0.25rem !important; padding-right: 0.25rem !important; }

@media (min-width: 768px) {
  .ms-md-4 { margin-left: 1.5rem !important; }
  .mt-md-0 { margin-top: 0 !important; }
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  appearance: none;
}

.form-control:focus {
  border-color: #00b9d2;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 185, 210, 0.2);
}

.btn {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  background-color: transparent;
}

.btn-outline-secondary {
  color: #6c757d;
  border-color: #6c757d;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus-visible {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}

.stretched-link::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
}

/* SVG icon sprite */
.ta-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex-shrink: 0;
  vertical-align: -0.125em;
  overflow: visible;
  pointer-events: none;
}

.mobile-nav-toggle .ta-icon {
  width: 1.15em;
  height: 1.15em;
  pointer-events: none;
}

.stats .stats-item .ta-icon {
  width: 42px;
  height: 42px;
}

.chatbot-btn .ta-icon {
  width: 26px;
  height: 26px;
}

.ta-whatsapp-btn .ta-icon {
  width: 28px;
  height: 28px;
}

@media (max-width: 640px) {
  .ta-whatsapp-btn .ta-icon {
    width: 24px;
    height: 24px;
  }
  .chatbot-btn .ta-icon {
    width: 24px;
    height: 24px;
  }
}

/* AOS replacement — opacity only (no layout shift) */
[data-aos] {
  opacity: 0;
  transition: opacity 0.6s ease;
}

[data-aos].ta-inview {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    opacity: 1;
    transition: none;
  }
}

/* Native snap strips (testimonials / clients) */
.ta-snap-strip {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  outline: none;
}

.ta-snap-strip:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 185, 210, 0.35);
  border-radius: 8px;
}

.ta-snap-track {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  padding-bottom: 0.5rem;
}

.ta-snap-item {
  scroll-snap-align: start;
  flex: 0 0 min(100%, 380px);
  min-width: 0;
}

@media (min-width: 1200px) {
  .testimonials-strip .ta-snap-item {
    flex: 0 0 calc(33.333% - 1rem);
  }
}

.clients-strip .ta-snap-track {
  align-items: center;
  gap: 2rem;
}

.clients-strip .ta-snap-item--client {
  flex: 0 0 42%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 480px) {
  .clients-strip .ta-snap-item--client { flex-basis: 30%; }
}
@media (min-width: 640px) {
  .clients-strip .ta-snap-item--client { flex-basis: 22%; }
}
@media (min-width: 992px) {
  .clients-strip .ta-snap-item--client { flex-basis: 14%; }
}

.stats .stats-item .stats-label {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .stats .stats-item .stats-label {
    font-size: 1.25rem;
  }
}

/* Native lightbox */
.ta-lightbox {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: min(96vw, 1100px);
  max-height: 92vh;
}

.ta-lightbox::backdrop {
  background: rgba(15, 23, 42, 0.78);
}

.ta-lightbox-inner {
  position: relative;
  background: #0f172a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.ta-lightbox img {
  display: block;
  max-width: min(96vw, 1100px);
  max-height: calc(92vh - 72px);
  width: auto;
  height: auto;
  margin: 0 auto;
}

.ta-lightbox-caption {
  margin: 0;
  padding: 0.75rem 3.25rem 0.85rem 1rem;
  color: #e2e8f0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.ta-lightbox-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ta-lightbox-close:hover,
.ta-lightbox-close:focus-visible {
  background: #00b9d2;
  outline: none;
}

.ta-lightbox-close .ta-icon {
  width: 1.15rem;
  height: 1.15rem;
  pointer-events: none;
}

.ta-icon {
  max-width: none;
  width: 1em;
  height: 1em;
}

.testimonials .testimonial-item,
.testimonials .swiper-slide,
.testimonials .ta-snap-item {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.clients-strip img,
.clients .swiper-slide img {
  max-height: 80px;
  width: auto;
}

.btn .ta-icon,
.btn-get-started .ta-icon,
.btn-getstarted .ta-icon,
.portfolio-back-btn .ta-icon,
.portfolio-hub-filter-nav .ta-icon {
  vertical-align: middle;
}

.faq .faq-item .faq-toggle.ta-icon {
  width: 1em;
  height: 1em;
}

/* Phase 5: WebP picture + native FAQ <details> */
picture {
  display: contents;
}

.faq details.faq-item > summary.faq-question-btn {
  list-style: none;
}

.faq details.faq-item > summary.faq-question-btn::-webkit-details-marker {
  display: none;
}

.faq details.faq-item .faq-content {
  max-height: none;
  overflow: visible;
  opacity: 1;
}

.faq details.faq-item[open] {
  background-color: color-mix(in srgb, var(--accent-color), white 95%);
  border-color: var(--accent-color);
  margin-bottom: 16px;
}

.faq details.faq-item[open] .faq-question-btn {
  color: var(--accent-color);
}

.faq details.faq-item[open] .faq-toggle {
  transform: rotate(90deg);
}

.faq details.faq-item[open] .faq-content {
  max-height: none;
  opacity: 1;
  padding-top: 15px;
  margin-top: 15px;
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 90%);
}

/* Navbar logo: intrinsic 1080x1080. Do not let max-width:100% stretch it. */
.header .logo {
  flex: 0 0 auto;
  max-width: 220px;
  overflow: visible;
  line-height: 0;
}

.header .logo picture {
  display: block;
  line-height: 0;
  max-height: 48px;
}

.header .logo img,
.header .logo .navbar-logo-img {
  display: block;
  width: auto !important;
  height: 48px !important;
  max-height: 48px;
  max-width: 180px;
  object-fit: contain;
  object-position: left center;
}

.header .logo:hover {
  transform: none;
}

@media (max-width: 1199.98px) {
  .header .logo {
    max-width: 160px;
  }

  .header .logo picture {
    max-height: 40px;
  }

  .header .logo img,
  .header .logo .navbar-logo-img {
    height: 40px !important;
    max-height: 40px;
    max-width: 140px;
  }
}

@media (max-width: 575.98px) {
  .header .logo {
    max-width: 132px;
  }

  .header .logo picture {
    max-height: 36px;
  }

  .header .logo img,
  .header .logo .navbar-logo-img {
    height: 36px !important;
    max-height: 36px;
    max-width: 120px;
  }
}

.php-email-form .form-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--heading-color);
}

.php-email-form button[type="submit"][disabled] {
  opacity: 0.7;
  pointer-events: none;
}

.ta-quote-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 5rem 1rem 1.5rem;
  overflow-y: auto;
}

.ta-quote-modal[hidden] {
  display: none !important;
}

.ta-quote-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.ta-quote-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  margin: auto;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.18);
  padding: 1.75rem 1.5rem 1.5rem;
}

.ta-quote-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--heading-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ta-quote-modal__close .ta-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.ta-quote-modal h2 {
  font-size: 1.5rem;
  margin: 0 2rem 0.5rem 0;
}

.ta-quote-modal__lead {
  margin-bottom: 1.25rem;
  color: var(--default-color);
}

body.ta-quote-open {
  overflow: hidden;
}

