/* =========================================== */
/* TWOKO - CUSTOM.CSS                          */
/* Dark Minimal Design Layer                   */
/* =========================================== */

/* ── VARIABLES ── */
:root {
  --tw-orange: #F95813;
  --tw-orange-light: #FF7A3D;
  --tw-orange-glow: rgba(249,88,19,0.15);
  --tw-amber: #F59E0B;
  --tw-red: #D33929;
  --tw-black: #09090b;
  --tw-navy: #0f0f11;
  --tw-purple: #13111c;
  --tw-white: #f5f5f5;
  --tw-gray: #b4b4be;
  --tw-gray-light: #d4d4d8;
  --tw-card-bg: #18181b;
  --tw-card-border: rgba(255,255,255,0.06);
  --tw-orange-text: #FF8C55;
  --card-radius: 12px;
  --card-padding: 24px;
  --card-padding-sm: 20px;
}

/* ── GLOBAL TEXT ── */
.copy-area .copy p { text-align: center !important; }

/* ══════════════════════════════════════════════════
   1. TYPEWRITER CURSOR
══════════════════════════════════════════════════ */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

#tw-typewriter {
  display: inline;
}
#tw-typewriter::after {
  content: '|';
  color: var(--tw-orange);
  animation: blink 1s step-end infinite;
  margin-left: 2px;
  font-weight: 300;
}

/* ══════════════════════════════════════════════════
   2. SECTION HEADING UNDERLINE
══════════════════════════════════════════════════ */
.section-heading h2 {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #fff 0%, #e4e4e7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-heading h2::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 50%;
  transform: translateX(-50%);
  height: 2px; width: 48px;
  background: linear-gradient(90deg, var(--tw-orange), var(--tw-orange-light));
  border-radius: 2px;
  opacity: 0.6;
}

/* ══════════════════════════════════════════════════
   3. CARD HOVER SYSTEM
══════════════════════════════════════════════════ */
.value-card,
.service-card,
.step,
.stat-card,
.feature-card,
.media-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

/* Radial glow that follows top-center on hover */
.value-card::before,
.service-card::before,
.step::before,
.stat-card::before,
.feature-card::before,
.media-card::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 120px;
  background: radial-gradient(ellipse, rgba(249,88,19,0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

/* Hover effects — only on pointer devices */
@media (hover: hover) and (pointer: fine) {
  .value-card:hover,
  .service-card:hover,
  .step:hover,
  .stat-card:hover,
  .feature-card:hover,
  .media-card:hover {
    transform: translateY(-2px);
    border-color: rgba(249,88,19,0.12) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25), 0 0 0 1px rgba(249,88,19,0.06) !important;
    background: #1c1c1f !important;
  }

  .value-card:hover::before,
  .service-card:hover::before,
  .step:hover::before,
  .stat-card:hover::before,
  .feature-card:hover::before,
  .media-card:hover::before {
    opacity: 1;
  }
}

/* Touch devices — active/tap feedback */
@media (hover: none) {
  .value-card:active,
  .service-card:active,
  .step:active,
  .stat-card:active,
  .feature-card:active,
  .media-card:active {
    border-color: rgba(249,88,19,0.12) !important;
    background: #1c1c1f !important;
    transition: background 0.1s ease;
  }
}

/* Card inner content stays above the glow */
.value-card > *,
.service-card > *,
.step > *,
.stat-card > *,
.feature-card > *,
.media-card > * {
  position: relative;
  z-index: 1;
}

/* Service card as link */
a.service-card { text-decoration: none; color: inherit; }
a.service-card h3 { color: var(--tw-white) !important; }

/* Pointer-device hover micro-interactions */
.media-card a { transition: transform 0.25s ease, color 0.25s ease; }

@media (hover: hover) and (pointer: fine) {
  .service-card:hover .service-icon {
    background: rgba(249,88,19,0.12);
    transition: background 0.25s ease;
  }
  .value-card:hover i {
    color: var(--tw-orange-light) !important;
    transition: color 0.25s ease;
  }
  .stat-card:hover .number {
    text-shadow: 0 0 20px rgba(249,88,19,0.3);
    transition: text-shadow 0.25s ease;
  }
  .service-card:hover .service-tag {
    background: rgba(249,88,19,0.08);
    color: var(--tw-orange) !important;
    transition: background 0.25s ease, color 0.25s ease;
  }
  .media-card:hover a { transform: translateX(3px); }
}

/* ══════════════════════════════════════════════════
   4. BUTTON HOVER
══════════════════════════════════════════════════ */
.common-btn:hover, .btn-cta:hover {
  box-shadow: 0 4px 12px rgba(255,255,255,0.1) !important;
}

/* ══════════════════════════════════════════════════
   5. CARD SERVICE HEIGHT EQUAL
══════════════════════════════════════════════════ */
.best-service-area .row { align-items: stretch !important; }
.awesome-card {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}
@media (hover: hover) and (pointer: fine) {
  .awesome-card:hover {
    border-color: rgba(249,88,19,0.2) !important;
    box-shadow: 0 0 40px rgba(249,88,19,0.04) !important;
  }
}
.awesome-card p { flex-grow: 1 !important; }

/* ══════════════════════════════════════════════════
   6. BLOG CARDS
══════════════════════════════════════════════════ */
.blog-area .row { align-items: stretch !important; }
.single-blog-card {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  border: 1px solid var(--tw-card-border) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: var(--tw-card-bg) !important;
  box-shadow: none !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}
@media (hover: hover) and (pointer: fine) {
  .single-blog-card:hover {
    border-color: rgba(249,88,19,0.2) !important;
    box-shadow: 0 0 40px rgba(249,88,19,0.04) !important;
  }
}
.single-blog-card .blog-img {
  position: relative !important;
  overflow: hidden !important;
  height: 220px !important;
}
.single-blog-card .blog-img img {
  width: 100% !important; height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.4s ease !important;
}
@media (hover: hover) and (pointer: fine) {
  .single-blog-card:hover .blog-img img { transform: scale(1.03) !important; }
}
.single-blog-card .blog-content {
  flex-grow: 1 !important;
  display: flex !important; flex-direction: column !important;
  justify-content: space-between !important;
  padding: 20px 25px !important;
}
.single-blog-card .blog-content h3 {
  font-size: 20px !important; font-weight: 700 !important;
  color: var(--tw-white) !important;
  margin: 0 0 12px !important; line-height: 1.3 !important;
}
.single-blog-card .blog-content h3 a {
  color: var(--tw-white) !important; text-decoration: none !important;
  transition: color 0.3s !important;
}
.single-blog-card .blog-content h3 a:hover { color: var(--tw-orange) !important; }
.single-blog-card .blog-content p {
  font-size: 15px !important;
  line-height: 1.6 !important; color: var(--tw-gray) !important;
  margin-bottom: 16px !important; flex-grow: 1 !important;
}
.single-blog-card .blog-content .read-more {
  display: inline-flex !important; align-items: center !important;
  color: var(--tw-orange) !important; font-weight: 600 !important;
  text-decoration: none !important;
  transition: color 0.3s ease, transform 0.3s ease !important;
  margin-top: auto !important;
}
@media (hover: hover) and (pointer: fine) {
  .single-blog-card .blog-content .read-more:hover {
    color: var(--tw-orange-light) !important;
    transform: translateX(5px) !important;
  }
}

/* ══════════════════════════════════════════════════
   7. NAV STYLES
══════════════════════════════════════════════════ */
.navbar-area {
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}
.navbar-area.nav-scrolled {
  background: rgba(9,9,11,0.95) !important;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.navbar-nav .nav-link {
  font-weight: 500;
  font-size: 14px;
  color: #a1a1aa !important;
  transition: color 0.2s;
}
.navbar-nav .nav-link:hover {
  color: #fafafa !important;
}
.navbar-nav .nav-link.active,
.desktop-nav .navbar .navbar-nav .nav-item a.active {
  color: #fafafa !important;
}
.navbar-area.is-sticky .desktop-nav .navbar .navbar-nav .nav-item a.active {
  color: #fafafa !important;
}
.navbar .dropdown-menu {
  background: #18181b;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 6px;
  min-width: 220px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.navbar .dropdown-menu .dropdown-item {
  color: #a1a1aa;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
}
.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus {
  background: rgba(255,255,255,0.04);
  color: #fafafa;
}
.navbar .dropdown-toggle::after { opacity: 0.5; }
@media(min-width:992px) {
  .navbar .dropdown:hover .dropdown-menu { display: block; margin-top: 0; }
}
.nav-cta {
  padding: 10px 18px !important;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  background: #fafafa;
  border-radius: 6px;
  color: #09090b !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.15s ease;
}
@media (hover: hover) and (pointer: fine) {
  .nav-cta:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(255,255,255,0.08);
  }
}
.desktop-nav .navbar .navbar-nav .nav-item .dropdown-menu li a.active {
  color: var(--tw-orange) !important;
}

/* ══════════════════════════════════════════════════
   8. SCROLL PROGRESS BAR
══════════════════════════════════════════════════ */
#tw-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--tw-orange), var(--tw-orange-light));
  z-index: 99999;
  pointer-events: none;
  transition: width 0.1s linear;
}

/* ══════════════════════════════════════════════════
   9. COOKIE CONSENT BANNER
══════════════════════════════════════════════════ */
@keyframes cookieSlide {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes cookieHide {
  from { transform: translateY(0);    opacity: 1; }
  to   { transform: translateY(110%); opacity: 0; }
}

#tw-cookie {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 99990;
  padding: 0 16px 16px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
}
#tw-cookie.visible {
  pointer-events: auto;
  animation: cookieSlide 0.45s cubic-bezier(0.34,1.2,0.64,1) forwards;
}
#tw-cookie.hiding {
  animation: cookieHide 0.45s ease forwards;
}

.tw-cookie-inner {
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--tw-card-border);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 -4px 40px rgba(0,0,0,0.3), 0 8px 32px rgba(0,0,0,0.5);
}

.tw-cookie-icon {
  flex-shrink: 0;
  color: var(--tw-orange);
  display: flex; align-items: center;
}
.tw-cookie-icon svg { fill: var(--tw-orange); }

.tw-cookie-text {
  flex: 1;
  min-width: 0;
}
.tw-cookie-text strong {
  display: block;
  color: #fff;
  font-size: 15px;
  margin-bottom: 4px;
}
.tw-cookie-text p {
  font-size: 13px !important;
  color: var(--tw-gray) !important;
  margin: 0 !important;
  text-align: left !important;
  line-height: 1.5 !important;
}
.tw-cookie-text p a {
  color: var(--tw-orange) !important;
  text-decoration: underline;
}

.tw-cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.tw-cookie-btn {
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.tw-cookie-accept {
  background: var(--tw-orange);
  color: #fff;
}
.tw-cookie-accept:hover {
  background: var(--tw-orange-light);
  box-shadow: 0 4px 16px rgba(249,88,19,0.3);
}
.tw-cookie-reject {
  background: transparent;
  color: var(--tw-gray);
  border: 1px solid rgba(255,255,255,0.1) !important;
}
.tw-cookie-reject:hover {
  border-color: rgba(255,255,255,0.2) !important;
  color: #fff;
}

@media (max-width: 767px) {
  .tw-cookie-inner {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding: 18px 16px;
  }
  .tw-cookie-icon { justify-content: center; }
  .tw-cookie-text p { text-align: center !important; }
  .tw-cookie-actions { justify-content: center; width: 100%; }
  .tw-cookie-btn { flex: 1; }
}

/* ══════════════════════════════════════════════════
   10. STICKY CTA BAR
══════════════════════════════════════════════════ */
#tw-sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9980;
  display: flex;
  justify-content: center;
  padding: 10px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(9,9,11,0.95) 100%);
  pointer-events: none;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34,1.2,0.64,1);
}
#tw-sticky-cta.visible {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.tw-sticky-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  background: var(--tw-orange);
  color: #fff !important;
  font-weight: 800;
  font-size: 15px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(249,88,19,0.3);
  transition: all 0.25s ease;
}
.tw-sticky-btn svg { fill: #fff; flex-shrink: 0; }
.tw-sticky-btn:hover {
  background: var(--tw-orange-light);
  color: #fff !important;
  box-shadow: 0 8px 32px rgba(249,88,19,0.4);
}

@media (max-width: 767px) {
  #tw-whatsapp { bottom: 80px; }
}

/* ══════════════════════════════════════════════════
   11. SELECTION COLOR
══════════════════════════════════════════════════ */
::selection {
  background: rgba(249,88,19,0.35);
  color: #fff;
}
::-moz-selection {
  background: rgba(249,88,19,0.35);
  color: #fff;
}

/* ══════════════════════════════════════════════════
   12. FOCUS RING
══════════════════════════════════════════════════ */
*:focus-visible {
  outline: 2px solid var(--tw-orange);
  outline-offset: 3px;
}

/* ══════════════════════════════════════════════════
   13. SCROLLBAR
══════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--tw-black); }
::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }

/* ══════════════════════════════════════════════════
   14. LINK UNDERLINE HOVER
══════════════════════════════════════════════════ */
.media-card a,
.cta-contact a {
  position: relative;
  display: inline-block;
}
.media-card a::after,
.cta-contact a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--tw-orange);
  transition: width 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
  .media-card a:hover::after,
  .cta-contact a:hover::after {
    width: 100%;
  }
}

/* ══════════════════════════════════════════════════
   16. ICON MICRO-ANIMATIONS (pointer devices only)
══════════════════════════════════════════════════ */
.service-card .service-icon i {
  transition: transform 0.25s ease, color 0.25s ease;
}
.value-card i {
  transition: transform 0.3s ease, color 0.25s ease;
}
.feature-card h3 i {
  transition: transform 0.3s ease, color 0.25s ease;
}
.media-card img {
  transition: transform 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover .service-icon i {
    color: var(--tw-orange-light) !important;
    transform: scale(1.15);
    transition: transform 0.25s cubic-bezier(0.34,1.4,0.64,1), color 0.25s ease;
  }
  .value-card:hover i {
    transform: translateY(-3px);
    transition: transform 0.3s cubic-bezier(0.34,1.2,0.64,1), color 0.25s ease;
  }
  .step:hover .num {
    box-shadow: 0 0 0 4px rgba(249,88,19,0.12), 0 0 16px rgba(249,88,19,0.08);
    transition: box-shadow 0.3s ease;
  }
  .feature-card:hover h3 i {
    transform: rotate(-8deg) scale(1.1);
    color: var(--tw-orange-light) !important;
    transition: transform 0.3s cubic-bezier(0.34,1.4,0.64,1), color 0.25s ease;
  }
  .media-card:hover img {
    transform: scale(1.03);
  }
}

/* ══════════════════════════════════════════════════
   17. TOAST NOTIFICATION
══════════════════════════════════════════════════ */
@keyframes toastIn {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
@keyframes toastOut {
  from { transform: translateX(0);    opacity: 1; }
  to   { transform: translateX(120%); opacity: 0; }
}

#tw-toast {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 99985;
  max-width: 360px;
  border: 1px solid rgba(249,88,19,0.15);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(249,88,19,0.06);
  opacity: 0;
  transform: translateX(120%);
  pointer-events: none;
}
#tw-toast.visible {
  pointer-events: auto;
  animation: toastIn 0.5s cubic-bezier(0.34,1.2,0.64,1) forwards;
}
#tw-toast.hiding {
  animation: toastOut 0.4s ease forwards;
}

#tw-toast .tw-toast-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
#tw-toast .tw-toast-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(249,88,19,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
#tw-toast .tw-toast-icon svg { fill: var(--tw-orange); }
#tw-toast .tw-toast-close {
  background: none; border: none; color: var(--tw-gray);
  cursor: pointer; padding: 2px; line-height: 1;
  font-size: 18px; transition: color 0.2s;
}
#tw-toast .tw-toast-close:hover { color: #fff; }
#tw-toast .tw-toast-title {
  color: #fff; font-weight: 700; font-size: 14px;
  margin-bottom: 4px;
}
#tw-toast .tw-toast-body {
  color: var(--tw-gray); font-size: 13px; line-height: 1.5;
  margin-bottom: 12px;
}
#tw-toast .tw-toast-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px;
  background: var(--tw-orange); color: #fff !important;
  font-weight: 700; font-size: 13px;
  border-radius: 8px; border: none;
  cursor: pointer; text-decoration: none;
  transition: all 0.2s ease;
}
#tw-toast .tw-toast-btn:hover {
  background: var(--tw-orange-light);
  box-shadow: 0 4px 16px rgba(249,88,19,0.3);
}

@media (max-width: 575px) {
  #tw-toast {
    bottom: 12px; right: 12px; left: 12px;
    max-width: none;
  }
}

/* ══════════════════════════════════════════════════
   18. EXIT-INTENT OVERLAY
══════════════════════════════════════════════════ */
@keyframes overlayFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes overlayScaleIn {
  from { transform: scale(0.92) translateY(20px); opacity: 0; }
  to   { transform: scale(1) translateY(0);       opacity: 1; }
}

#tw-exit-overlay {
  position: fixed;
  inset: 0;
  z-index: 99995;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
#tw-exit-overlay.visible {
  display: flex;
}
#tw-exit-overlay .tw-exit-bg {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  animation: overlayFadeIn 0.3s ease forwards;
}
#tw-exit-overlay .tw-exit-card {
  position: relative;
  max-width: 440px; width: 100%;
  background: #18181b;
  border: 1px solid rgba(249,88,19,0.12);
  border-radius: 18px;
  padding: 36px 32px;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(249,88,19,0.06);
  animation: overlayScaleIn 0.4s cubic-bezier(0.34,1.2,0.64,1) forwards;
}
#tw-exit-overlay .tw-exit-close {
  position: absolute; top: 14px; right: 14px;
  background: none; border: none; color: var(--tw-gray);
  cursor: pointer; font-size: 20px; padding: 4px;
  transition: color 0.2s;
}
#tw-exit-overlay .tw-exit-close:hover { color: #fff; }

#tw-exit-overlay .tw-exit-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(249,88,19,0.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
#tw-exit-overlay .tw-exit-icon svg { fill: var(--tw-orange); }

#tw-exit-overlay .tw-exit-title {
  color: #fff; font-weight: 800; font-size: 22px;
  margin-bottom: 10px; letter-spacing: -0.02em;
}
#tw-exit-overlay .tw-exit-body {
  color: var(--tw-gray); font-size: 15px; line-height: 1.6;
  margin-bottom: 24px;
}
#tw-exit-overlay .tw-exit-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  background: var(--tw-orange); color: #fff !important;
  font-weight: 800; font-size: 15px;
  border-radius: 10px; border: none;
  cursor: pointer; text-decoration: none;
  transition: all 0.2s ease;
}
#tw-exit-overlay .tw-exit-cta:hover {
  background: var(--tw-orange-light);
  box-shadow: 0 8px 24px rgba(249,88,19,0.35);
  transform: translateY(-1px);
}
#tw-exit-overlay .tw-exit-cta-secondary {
  display: block; margin-top: 12px;
  color: var(--tw-orange) !important; font-size: 13px; font-weight: 600;
  text-decoration: none; transition: color 0.2s;
}
#tw-exit-overlay .tw-exit-cta-secondary:hover { color: var(--tw-orange-light) !important; }

#tw-exit-overlay .tw-exit-skip {
  display: block; margin-top: 14px;
  color: var(--tw-gray); font-size: 13px;
  background: none; border: none; cursor: pointer;
  transition: color 0.2s;
}
#tw-exit-overlay .tw-exit-skip:hover { color: #fff; }

/* ══════════════════════════════════════════════════
   19. GRADIENT ACCENT TOUCHES
══════════════════════════════════════════════════ */

/* Service tags — warmer on hover */
@media (hover: hover) and (pointer: fine) {
  .service-card:hover .service-tag {
    background: linear-gradient(135deg, rgba(249,88,19,0.1), rgba(245,158,11,0.06)) !important;
  }
}

/* Badge chips — amber glow */
.badge-ai, .badge-chip {
  text-shadow: 0 0 12px rgba(249,88,19,0.2);
}

/* ══════════════════════════════════════════════════
   20. SERVICES GRID & CATEGORY SPACING
══════════════════════════════════════════════════ */
.services-grid { gap: 16px !important; }
.services-category { margin: 48px 0 16px; }
.services-category:first-of-type { margin-top: 8px; }

/* ══════════════════════════════════════════════════
   21. SECTION HEADING SPACING
══════════════════════════════════════════════════ */
.section-heading { margin-bottom: 48px !important; }

/* ══════════════════════════════════════════════════
   22. CTA SECTION HEADING SIZE
══════════════════════════════════════════════════ */
.cta-content h2 {
  font-size: 40px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
@media(max-width:767.98px) {
  .cta-content h2 { font-size: 28px; }
}

/* ══════════════════════════════════════════════════
   23. CTA CLOSING BUTTONS ORANGE
══════════════════════════════════════════════════ */
.cta-area .btn-cta {
  background: var(--tw-orange) !important;
  color: #fff !important;
  border-color: var(--tw-orange) !important;
}
.cta-area .btn-cta:hover {
  background: var(--tw-orange-light) !important;
  box-shadow: 0 4px 20px rgba(249,88,19,0.3);
}

/* ══════════════════════════════════════════════════
   24. SECTION DIVIDERS
══════════════════════════════════════════════════ */
.method-area, .mtd-area, .media-area, .cta-area {
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ══════════════════════════════════════════════════
   25. TOUCH TARGETS
══════════════════════════════════════════════════ */
#tw-toast .tw-toast-close {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tw-cookie-btn { min-height: 44px; }

/* ══════════════════════════════════════════════════
   26. FOCUS RING ON ORANGE BUTTONS
══════════════════════════════════════════════════ */
.tw-cookie-accept:focus-visible,
.tw-sticky-btn:focus-visible {
  outline-color: #fff;
}

/* ══════════════════════════════════════════════════
   27. SKIP LINK STYLES
══════════════════════════════════════════════════ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 100000;
  padding: 12px 24px;
  background: var(--tw-orange);
  color: #fff;
  font-weight: 700;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ══════════════════════════════════════════════════
   28. HERO TEXT GRADIENT
══════════════════════════════════════════════════ */
.text-gradient {
  background: linear-gradient(135deg, var(--tw-orange) 0%, var(--tw-orange-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════════════════════════
   29. PREFERS REDUCED MOTION
══════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ══════════════════════════════════════════════════
   30. MOBILE NAV DARK OVERRIDE
   Overrides template white nav in responsive.css
══════════════════════════════════════════════════ */
@media only screen and (max-width: 991px) {
  .navbar-area {
    background-color: var(--tw-black) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  }
  .mobile-responsive-nav .mobile-responsive-menu.mean-container .mean-nav,
  .mobile-responsive-nav .mobile-responsive-menu.mean-container .mean-nav ul {
    background-color: var(--tw-navy) !important;
  }
  .mobile-responsive-nav .mobile-responsive-menu.mean-container .mean-nav ul li a {
    border-top-color: rgba(255,255,255,0.06) !important;
    color: var(--tw-gray) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
  }
  .mobile-responsive-nav .mobile-responsive-menu.mean-container .mean-nav ul li a:hover {
    color: #fafafa !important;
  }
  .mobile-responsive-nav .mobile-responsive-menu.mean-container .mean-nav ul li a.active {
    color: #fafafa !important;
  }
  .mobile-responsive-nav .mobile-responsive-menu.mean-container a.meanmenu-reveal,
  .mobile-responsive-nav .mobile-responsive-menu.mean-container a.meanmenu-reveal span {
    color: var(--tw-orange) !important;
    background: var(--tw-orange) !important;
  }
  .mobile-responsive-nav .mobile-responsive-menu.mean-container a.meanmenu-reveal {
    background: transparent !important;
  }
  .mobile-responsive-nav .mobile-responsive-menu.mean-container .navbar-nav {
    box-shadow: 0 8px 30px rgba(0,0,0,0.4) !important;
  }
  .mobile-responsive-nav .mobile-responsive-menu.mean-container .navbar-nav::-webkit-scrollbar-track {
    background: var(--tw-navy) !important;
  }
  .mobile-responsive-nav .mobile-responsive-menu.mean-container .navbar-nav::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15) !important;
  }
}

/* ══════════════════════════════════════════════════
   31. MOBILE RESPONSIVE IMPROVEMENTS
══════════════════════════════════════════════════ */

/* Hero SVG scales properly on all screens */
.home-img img,
.home-img .banner-img-2 {
  max-width: 100%;
  height: auto;
}

@media only screen and (max-width: 991px) {
  .home-img img,
  .home-img .banner-img-2 {
    max-width: clamp(280px, 80vw, 400px);
    margin: 28px auto 0;
  }
}

@media only screen and (max-width: 575px) {
  /* Hero text responsive */
  .home-content h1 {
    font-size: clamp(22px, 6vw, 28px) !important;
    line-height: 1.3 !important;
  }
  .home-content p {
    font-size: 14px !important;
    max-width: 100% !important;
  }
  /* Full-width buttons on mobile */
  .button-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }
  .button-group .common-btn,
  .button-group .banner-btn,
  .button-group .banner-btn-2 {
    width: 100% !important;
    text-align: center !important;
  }
  /* Services grid single column */
  .services-grid {
    grid-template-columns: 1fr !important;
  }
  /* CTA section */
  .cta-content h2 {
    font-size: clamp(22px, 6vw, 28px) !important;
  }
}

/* Tablet intermediate breakpoint */
@media only screen and (min-width: 576px) and (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ══════════════════════════════════════════════════
   32. GSAP FALLBACK — if JS fails, elements stay visible
   GSAP sets autoAlpha:0 on init. If script doesn't load
   or errors on mobile, this ensures content is still shown.
══════════════════════════════════════════════════ */
.no-js .home-content .badge-ai,
.no-js .home-content h1,
.no-js .home-content p,
.no-js .home-content .button-group,
.no-js .home-img,
.no-js .fade-section,
.no-js .value-card,
.no-js .service-card,
.no-js .step,
.no-js .feature-card,
.no-js .media-card,
.no-js .media-card img,
.no-js .media-card a,
.no-js .cta-content h2,
.no-js .cta-content p,
.no-js .cta-content .cta-buttons,
.no-js .cta-content .cta-contact,
.no-js .services-category {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* ══════════════════════════════════════════════════
   33. BACKDROP-FILTER FALLBACKS
══════════════════════════════════════════════════ */
.navbar-area {
  background: rgba(9,9,11,0.92) !important;
}
@supports (backdrop-filter: blur(1px)) {
  .navbar-area {
    background: rgba(9,9,11,0.8) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}
.tw-cookie-inner {
  background: rgba(24,24,27,0.98);
}
@supports (backdrop-filter: blur(1px)) {
  .tw-cookie-inner {
    background: rgba(24,24,27,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
}
#tw-toast {
  background: rgba(24,24,27,0.98);
}
@supports (backdrop-filter: blur(1px)) {
  #tw-toast {
    background: rgba(24,24,27,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
}

/* ══════════════════════════════════════════════════
   34. MOBILE-SPECIFIC FIXES
══════════════════════════════════════════════════ */
@media only screen and (max-width: 767px) {
  /* Reduce fixed element stacking at bottom */
  #tw-sticky-cta {
    padding: 8px 12px;
  }
  .tw-sticky-btn {
    padding: 10px 24px;
    font-size: 14px;
  }

  /* Exit overlay — tighter padding on small screens */
  #tw-exit-overlay .tw-exit-card {
    padding: 24px 20px;
    margin: 0 8px;
  }
  #tw-exit-overlay .tw-exit-title {
    font-size: 19px;
  }
  #tw-exit-overlay .tw-exit-body {
    font-size: 14px;
  }

  /* Prevent horizontal overflow globally */
  body {
    overflow-x: hidden;
  }

  /* Blog card image height scales down */
  .single-blog-card .blog-img {
    height: 180px !important;
  }

  /* Section heading tighter spacing */
  .section-heading {
    margin-bottom: 32px !important;
  }
  .section-heading h2 {
    font-size: clamp(22px, 6vw, 30px) !important;
  }
}

@media only screen and (max-width: 375px) {
  /* Extra-small devices (iPhone SE, etc.) */
  .home-content h1 {
    font-size: 20px !important;
  }
  .tw-cookie-inner {
    padding: 14px 12px;
  }
  .tw-cookie-btn {
    padding: 8px 14px;
    font-size: 13px;
  }
  #tw-exit-overlay .tw-exit-card {
    padding: 20px 16px;
  }
}
