/* ============================================================
   MINIMALIST OVERRIDE — High Focus Agency
   ============================================================ */

/* ---------- PRELOADER ---------- */
.preloader {
  animation: preloaderFade 0.2s ease forwards !important;
}

@keyframes preloaderFade {
  0% { opacity: 1; visibility: visible; }
  99% { opacity: 0; visibility: visible; }
  100% { opacity: 0; visibility: hidden; z-index: -1; }
}

/* ---------- CONTENT PROTECTION ---------- */
* {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
}

img {
  pointer-events: none !important;
  -webkit-user-drag: none !important;
}

/* Allow select in form inputs */
input, textarea, select {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

/* ---------- GLOBAL TYPOGRAPHY ---------- */
body, .home-one {
  font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif !important;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.home-one h1, .home-one h2, .home-one h3,
.home-one h4, .home-one h5, .home-one h6 {
  font-family: 'Inter', 'Roboto', -apple-system, sans-serif !important;
  letter-spacing: -0.02em;
}

p { line-height: 1.8; }

/* ---------- PAGE FADE IN ---------- */
.wow {
  opacity: 0;
}

.project-active .item .wow,
.project-active .wow {
  opacity: 1;
}

.wow.page-fade-in {
  animation: pageFade 0.5s ease forwards;
}

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

/* ---------- NAV CTA BUTTON VISIBLE ON TABLET ---------- */
@media (min-width: 992px) and (max-width: 1199px) {
  .menu-btns .theme-btn {
    display: inline-flex !important;
    padding: 10px 20px !important;
    font-size: 12px !important;
    margin-left: 15px !important;
    margin-right: 10px !important;
  }
}

/* ---------- LOGO RETINA ---------- */
.logo-outer .logo img,
.mobile-logo img {
  height: 60px !important;
  width: auto !important;
}

.footer-logo img {
  height: 60px !important;
  width: auto !important;
}

/* ---------- FIX ORANGE CIRCLE TO RED ---------- */
.banner-shapes:after {
  border-color: #f8211f !important;
}

/* ---------- HIDE DECORATIVE SHAPES ---------- */
.hero-three-shapes,
.work-process-shape,
.wave-shapes,
.about-image-one .image-left,
.statistics-three-image .image-right,
.hero-content-three::before,
.bg-squire-shape::before {
  display: none !important;
}

/* ---------- HEADER ---------- */
.main-header .header-upper {
  padding: 6px 0;
}

.main-header.fixed-header .header-upper {
  background: rgba(255,255,255,0.98) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06) !important;
}

.main-menu .navigation > li > a {
  font-family: 'Inter', sans-serif !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  text-transform: none !important;
  letter-spacing: 0;
}

/* ---------- BUTTONS ---------- */
.theme-btn, .home-one .theme-btn {
  border-radius: 6px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 13px 30px !important;
  text-transform: none !important;
  letter-spacing: 0.01em;
}

.theme-btn::after, .home-one .theme-btn::after {
  border-radius: 6px !important;
}

/* ---------- SUBTITLES ---------- */
.sub-title, .section-title .sub-title {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   HERO MODERN — centered + marquee
   ============================================================ */
.hero-modern {
  padding: 200px 0 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
  overflow: hidden;
}

.hero-modern-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 90px;
}

.hero-modern-center h1 {
  font-size: clamp(34px, 5vw, 58px) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  color: #293043;
}

.hero-modern-center p {
  font-size: 17px;
  line-height: 1.7;
  color: #696e7b;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-modern-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #293043;
  padding: 13px 30px;
  border-radius: 6px;
  border: none;
  background: none;
  text-decoration: none;
  transition: color 0.2s ease;
  letter-spacing: 0.01em;
}

.hero-btn-secondary i {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.hero-btn-secondary:hover {
  color: #f8211f;
}

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

/* Marquee */
.hero-marquee-wrap {
  padding-bottom: 100px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
}

.hero-marquee {
  overflow: hidden;
  width: 100%;
}

.hero-marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
}

.hero-marquee-track-js {
  animation: none !important;
}

.hero-marquee {
  cursor: grab;
}

.hero-marquee:active {
  cursor: grabbing;
}

.hero-marquee-item {
  display: block;
  flex-shrink: 0;
  width: 380px;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-marquee-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 48px rgba(0,0,0,0.12);
}

.hero-marquee-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 991px) {
  .hero-modern { padding: 140px 0 0; }
  .hero-modern-center { margin-bottom: 50px; }
  .hero-marquee-item { width: 300px; }
  .hero-marquee-wrap { padding-bottom: 60px; }
}

@media (max-width: 575px) {
  .hero-modern { padding: 120px 0 0; }
  .hero-modern-center h1 { font-size: 28px !important; }
  .hero-modern-btns { flex-direction: column; align-items: center; }
  .hero-marquee-item { width: 260px; }
  .hero-marquee-track { gap: 14px; }
  .hero-marquee-wrap { padding-bottom: 40px; }
}

/* ============================================================
   FULLSCREEN MOBILE MENU
   ============================================================ */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(10, 10, 15, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-overlay-inner {
  text-align: center;
  width: 100%;
  padding: 30px;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.mobile-overlay.is-open .mobile-overlay-inner {
  transform: translateY(0);
}

/* Close button */
.mobile-overlay-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-overlay-close span {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.mobile-overlay-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-overlay-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Logo */
.mobile-overlay-logo {
  margin-bottom: 40px;
}

.mobile-overlay-logo img {
  height: 40px;
  width: auto;
}

/* Nav links */
.mobile-overlay-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}

.mobile-overlay-nav li {
  margin: 0;
}

.mobile-overlay-nav li a {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 14px 0;
  transition: color 0.2s ease, transform 0.2s ease;
  letter-spacing: -0.01em;
}

.mobile-overlay-nav li a:hover {
  color: #f8211f;
  transform: translateX(5px);
}

/* Language switcher */
.mobile-overlay-lang {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.mobile-overlay-lang button {
  background: rgba(255,255,255,0.08);
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  opacity: 0.5;
}

.mobile-overlay-lang button.active {
  border-color: #f8211f;
  opacity: 1;
  background: rgba(248, 33, 31, 0.1);
}

/* CTA */
.mobile-overlay-cta .theme-btn {
  font-size: 15px !important;
}

/* ---------- SERVICES ---------- */
.feature-item-five {
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 10px;
}

.feature-item-five:hover {
  border-color: #ddd;
  background-color: #fff !important;
  background-image: none !important;
  transform: translateY(-8px) !important;
}

.feature-item-five:hover i,
.feature-item-five:hover h5,
.feature-item-five:hover h5 a {
  color: inherit !important;
}

.feature-item-five h5 {
  font-size: 13px !important;
  font-weight: 600 !important;
}

/* ---------- SECTIONS ---------- */
.bgc-lighter {
  background-color: #fafbfc !important;
}

.support-features-area {
  background-image: none !important;
}

/* ---------- TECH CARDS ---------- */
.service-item.style-two {
  border: 1px solid #eef0f3 !important;
  border-radius: 10px !important;
}

.service-item.style-two:hover {
  background: #fff !important;
  border-color: #f8211f !important;
  box-shadow: none !important;
  transform: translateY(-3px) !important;
}

.service-item.style-two:hover .icon,
.service-item.style-two:hover a,
.service-item.style-two:hover p {
  color: inherit !important;
}

.service-item.style-two:hover:after {
  opacity: 0 !important;
}

/* Isotope — only fade, no position animation */
.project-active .item {
  transition: opacity 0.3s ease !important;
}

.project-active .item.isotope-hidden {
  pointer-events: none;
}

/* ---------- IMAGES ---------- */
.about-image-one img,
.statistics-three-image img,
.project-item.style-two .project-iamge img {
  border-radius: 8px;
}

.project-item.style-two .project-iamge {
  border-radius: 8px;
  overflow: hidden;
}

/* ---------- PROJECTS ---------- */
.project-filter.filter-btns-one li {
  font-family: 'Inter', sans-serif !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  text-transform: none !important;
  border-radius: 6px !important;
}

/* ---------- FEATURE CARDS (detail pages) ---------- */
.feature-item-three {
  border: 1px solid #eef0f3 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

.feature-item-three:hover {
  border-color: #ccc !important;
}

/* ---------- TECH STACK BADGES ---------- */
.tech-stack-section {
  margin: 40px 0;
  text-align: center;
}

.tech-stack-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #999;
  margin-bottom: 14px;
}

.tech-stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tech-stack-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.tech-stack-badge:hover {
  border-color: #ddd;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.tech-stack-logo {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.tech-stack-text-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f2f5;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #666;
}

.tech-stack-name {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #293043;
}

a.tech-stack-badge:hover .tech-stack-name {
  color: #f8211f;
}

@media (max-width: 575px) {
  .tech-stack-badge {
    padding: 6px 12px;
  }
  .tech-stack-name {
    font-size: 12px;
  }
  .tech-stack-logo {
    width: 16px;
    height: 16px;
  }
}

/* ---------- ABOUT RATING BADGE ---------- */
.about-rating-badge {
  position: absolute;
  right: 0;
  top: 0;
  background: #f8211f;
  padding: 30px 52px;
  text-align: center;
  z-index: 2;
}

.about-rating-score {
  font-family: 'Inter', sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.about-rating-stars {
  display: flex;
  gap: 3px;
  justify-content: center;
  margin: 10px 0 8px;
}

.about-rating-stars i {
  color: #ffc107;
  font-size: 14px;
}

.about-rating-text {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  line-height: 1.3;
}

@media (max-width: 991px) {
  .about-area-one .about-image-one {
    display: none !important;
  }
}

@media (max-width: 575px) {
  .about-rating-badge {
    padding: 18px 22px;
  }
  .about-rating-score {
    font-size: 32px;
  }
  .about-rating-stars i {
    font-size: 11px;
  }
  .about-rating-text {
    font-size: 11px;
  }
}

/* ---------- PAGE BANNER (subpages) ---------- */
.page-banner-area {
  padding: 200px 0 100px !important;
}

@media (max-width: 575px) {
  .page-banner-area {
    padding: 140px 0 60px !important;
  }
}

/* ---------- PROCESS ---------- */
.work-process-item {
  margin-top: 0 !important;
}

.work-process-item.process-down {
  margin-top: 45px !important;
}

.work-process-item.process-up {
  margin-top: 0 !important;
}

.work-process-item h4 {
  font-size: 17px !important;
}

.work-process-item .icon .number {
  font-family: 'Inter', sans-serif !important;
  font-weight: 800;
}

@media (max-width: 575px) {
  .work-process-item.process-down,
  .work-process-item.process-up {
    margin-top: 0 !important;
  }
}

/* ---------- FOOTER ---------- */
.main-footer .footer-cta .section-title p {
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.75;
}

.social-style-two a {
  box-shadow: none !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  background: rgba(255,255,255,0.05) !important;
}

.social-style-two a:hover {
  background: rgba(255,255,255,0.12) !important;
}

.copyright-area p {
  font-size: 13px;
  opacity: 0.6;
}

/* ---------- CONTACT THANK YOU ---------- */
.contact-thank-you {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 80px;
  min-height: 520px;
  padding: 40px 30px;
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 14px;
  animation: thankYouFade 0.6s ease forwards;
}

@keyframes thankYouFade {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.contact-thank-you-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  animation: checkPop 0.5s 0.3s ease both;
}

@keyframes checkPop {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.contact-thank-you-icon i {
  font-size: 28px;
  color: #16a34a;
}

.contact-thank-you h2 {
  font-size: 26px !important;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.contact-thank-you p {
  font-size: 15px;
  max-width: 360px;
  margin: 0 auto 32px;
  line-height: 1.7;
  color: #696e7b;
}

.contact-thank-you-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 575px) {
  .contact-thank-you { min-height: 400px; padding: 30px 20px; }
  .contact-thank-you h2 { font-size: 22px !important; }
  .contact-thank-you p { font-size: 14px; }
  .contact-thank-you-btns { flex-direction: column; align-items: center; }
}

/* ---------- CONTACT PAGE SOCIAL ---------- */
.contact-social {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.contact-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f2f5;
  color: #293043;
  font-size: 16px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.contact-social a:hover {
  background: #f8211f;
  color: #fff;
}

.contact-social a.contact-social-wapp:hover {
  background: #25d366;
  color: #fff;
}

/* ---------- FORMS ---------- */
.contact-form input,
.contact-form textarea,
.contactForm input,
.contactForm textarea {
  border-radius: 8px !important;
  font-family: 'Inter', sans-serif !important;
}

/* Phone input with prefix */
.phone-input-wrap {
  display: flex;
  align-items: stretch;
}

.phone-prefix-select {
  position: relative;
  flex-shrink: 0;
}

.phone-prefix-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 16px;
  background: #f8f9fb;
  border: 1px solid rgba(248,33,31,0.1);
  border-right: none;
  border-radius: 8px 0 0 8px !important;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #293043;
  transition: background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.phone-prefix-btn:hover {
  background: #eef0f3;
}

.phone-flag-img {
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
  display: block;
}

.phone-prefix-code {
  font-weight: 600;
  font-size: 14px;
  color: #293043;
}

.phone-prefix-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 200;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  min-width: 220px;
  max-height: 280px;
  overflow-y: auto;
  padding: 6px;
  scrollbar-width: thin;
}

.phone-prefix-dropdown::-webkit-scrollbar { width: 4px; }
.phone-prefix-dropdown::-webkit-scrollbar-thumb { background: #ddd; border-radius: 2px; }

.phone-prefix-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #293043;
  transition: background 0.15s ease;
  text-align: left;
  border-radius: 6px;
}

.phone-prefix-option:hover {
  background: #f3f4f6;
}

.phone-prefix-option.active {
  background: #fef2f2;
}

.phone-prefix-option .phone-prefix-code {
  margin-left: auto;
  font-size: 13px;
  font-weight: 500;
  color: #9ca3af;
}

.phone-input,
input.phone-input,
input.phone-input.form-control {
  border-radius: 0 8px 8px 0 !important;
  border-left: none !important;
  flex: 1;
  min-width: 0;
  -webkit-border-radius: 0 8px 8px 0 !important;
}

.phone-input:focus,
input.phone-input:focus {
  border-color: rgba(248,33,31,0.3) !important;
  border-left: none !important;
}

/* Make prefix btn match input border on phone error */
.phone-input-wrap:has(.form-error) .phone-prefix-btn {
  border-color: #f8211f;
}

/* Validation errors */
.form-error {
  border-color: #f8211f !important;
  box-shadow: 0 0 0 3px rgba(248,33,31,0.06) !important;
}

.form-error-text {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #dc2626;
  margin-top: 6px;
  line-height: 1.4;
}

.form-error-text::before {
  content: '\f06a';
  font-family: 'Font Awesome 5 Pro';
  font-weight: 400;
  font-size: 11px;
  flex-shrink: 0;
}

/* Contact form labels */
.contactForm label {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #293043 !important;
  margin-bottom: 6px !important;
}

/* Status messages */
.form-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
}

.form-status i {
  font-size: 16px;
  flex-shrink: 0;
}

.form-status-success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.form-status-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.form-status-sending {
  background: #f8f9fb;
  color: #696e7b;
  border: 1px solid #eef0f3;
}

/* Disabled submit */
.contactForm .theme-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Focus states */
.contactForm .form-control:focus {
  border-color: rgba(248,33,31,0.3) !important;
  box-shadow: 0 0 0 3px rgba(248,33,31,0.06) !important;
  outline: none;
}

@media (max-width: 575px) {
  .phone-prefix-dropdown {
    min-width: 200px;
    max-height: 220px;
  }
  .phone-prefix-option {
    padding: 9px 10px;
    font-size: 13px;
  }
}

/* ---------- MISC ---------- */
.section-title h2 {
  font-size: clamp(24px, 3.2vw, 40px) !important;
  line-height: 1.2 !important;
}

hr { opacity: 0.15; }

.slick-arrow { border-radius: 8px !important; }

::selection {
  background: rgba(248, 33, 31, 0.12);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f5f5f5; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #aaa; }

/* ============================================================
   TECH MARQUEE (mobile only)
   ============================================================ */
.tech-marquee-mobile {
  display: none;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  margin: 0 -15px;
}

.tech-marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  will-change: transform;
}

.tech-marquee-track-js {
  animation: none !important;
}

.tech-marquee-drag {
  overflow: hidden;
  cursor: grab;
}

.tech-marquee-drag:active {
  cursor: grabbing;
}

.tech-marquee-card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 12px;
  padding: 18px 20px;
  width: 110px;
  text-align: center;
}

.tech-marquee-card img {
  width: 36px;
  height: 36px;
}

.tech-marquee-card span {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #293043;
  line-height: 1.2;
}

@keyframes tech-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   HOMEPAGE CTA
   ============================================================ */
.homepage-cta {
  padding: 100px 0;
}

.homepage-cta-inner {
  text-align: center;
  background: #293043;
  background-image: url('../images/features/support-features-bg-dark.png');
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  padding: 70px 40px;
  position: relative;
  overflow: hidden;
}

.homepage-cta-inner h2 {
  color: #fff !important;
  font-size: clamp(26px, 3.5vw, 38px) !important;
  margin-bottom: 16px;
}

.homepage-cta-inner p {
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  max-width: 440px;
  margin: 0 auto 36px;
}

.homepage-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.homepage-cta-wapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #25d366;
  text-decoration: none;
  padding: 13px 28px;
  border: 1.5px solid rgba(37,211,102,0.3);
  border-radius: 6px;
  transition: all 0.25s ease;
}

.homepage-cta-wapp i {
  font-size: 18px;
}

.homepage-cta-wapp:hover {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}

@media (max-width: 575px) {
  .homepage-cta { padding: 60px 0; }
  .homepage-cta-inner { padding: 50px 24px; border-radius: 12px; }
  .homepage-cta-btns { flex-direction: column; }
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 99998;
  animation: cookieSlideUp 0.4s ease;
}

.cookie-banner-inner {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 20px;
}

.cookie-banner-inner p {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #696e7b;
  margin: 0;
  flex: 1;
}

.cookie-banner-inner p a {
  color: #f8211f;
  text-decoration: underline;
  font-weight: 500;
}

.cookie-banner-btns {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn-accept {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border: none;
  border-radius: 6px;
  background: #f8211f;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.cookie-btn-accept:hover { opacity: 0.85; }

.cookie-btn-decline {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: none;
  color: #696e7b;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.cookie-btn-decline:hover { border-color: #999; }

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

@media (max-width: 575px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
    padding: 18px 16px;
    gap: 14px;
  }
}

/* ============================================================
   MOBILE REFINEMENTS
   ============================================================ */

/* Tablet & small laptop — project detail pages */
@media (min-width: 768px) and (max-width: 1399px) {
  .project-details-area,
  .project-details-area .container,
  .project-details-area .row,
  .project-details-area [class*="col-"] {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

@media (max-width: 767px) {
  .project-details-area .container,
  .page-banner-area .container {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

@media (max-width: 991px) {
  .theme-btn, .home-one .theme-btn {
    padding: 11px 22px !important;
    font-size: 13px !important;
  }

  /* Sections — tighter padding */
  .feature-area-five.bgc-lighter { padding-top: 70px !important; }
  .about-area-one { padding: 80px 0 !important; }
  .statistics-area-three { padding-bottom: 60px !important; }
  .support-features-area { padding: 80px 0 60px !important; }
  .project-area-three { padding: 80px 0 !important; }
  .feedback-area .container { padding-top: 80px !important; }
  .feedback-area { padding-bottom: 80px !important; }
  .work-process-area { padding: 60px 0 !important; }

  /* Section titles */
  .section-title h2 {
    font-size: 28px !important;
  }
  .section-title .sub-title {
    font-size: 11px !important;
  }
}

/* Mobile */
@media (max-width: 575px) {
  .section-title h2 {
    font-size: 22px !important;
    line-height: 1.25 !important;
  }

  /* Hero */
  .hero-modern {
    padding-top: 180px !important;
    padding-bottom: 20px !important;
  }
  .hero-modern-center {
    margin-bottom: 50px;
    padding: 0 8px;
  }
  .hero-modern-center h1 {
    font-size: 30px !important;
    line-height: 1.15 !important;
    margin-bottom: 20px !important;
  }
  .hero-modern-center p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 32px;
  }
  .hero-modern-btns {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .hero-btn-secondary {
    padding: 10px 20px;
    font-size: 13px;
  }
  .hero-marquee-item { width: 240px; }
  .hero-marquee-track { gap: 12px; }
  .hero-marquee-wrap { padding-bottom: 35px; }

  /* Services section */
  .feature-area-five { padding: 60px 0 40px !important; }
  .feature-area-five .section-title { margin-bottom: 35px !important; }
  .feature-area-five .section-title h2 { font-size: 20px !important; }
  .feature-item-five {
    padding: 20px 12px !important;
    margin-bottom: 12px !important;
  }
  .feature-item-five i {
    font-size: 36px !important;
    margin-bottom: 6px !important;
  }
  .feature-item-five h5 {
    font-size: 12px !important;
    line-height: 1.3 !important;
  }

  /* Why us */
  .about-area-one { padding: 50px 0 !important; }
  .about-area-one .section-title { margin-bottom: 25px !important; }
  .about-area-one .section-title h2 { font-size: 20px !important; }
  .about-image-one { margin-bottom: 30px !important; }
  .list-style-one li {
    margin-bottom: 20px !important;
  }
  .list-style-one li .content h4 {
    font-size: 15px !important;
    margin-bottom: 6px !important;
  }
  .list-style-one li .content p {
    font-size: 13px !important;
    line-height: 1.6 !important;
  }

  /* More spacing between sections on mobile */
  .support-features-content { margin-top: 30px; }
  .support-features-content .section-title h2 { font-size: 20px !important; }
  .support-features-content p { font-size: 13px !important; }

  /* Technologies section */
  .support-features-area {
    padding: 60px 0 !important;
    background-image: none !important;
  }

  /* Flip order: text first, cards second */
  .support-features-area > .container > .row {
    flex-direction: column-reverse !important;
  }
  .support-features-area > .container > .row > div {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  .support-features-content {
    text-align: center;
    margin-bottom: 30px !important;
  }
  .support-features-content .section-title h2 { font-size: 20px !important; }
  .support-features-content p { font-size: 13px !important; }

  /* Hide desktop grid, show mobile marquee */
  .tech-grid-desktop { display: none !important; }
  .tech-marquee-mobile { display: block !important; }

  /* Projects slider */
  .project-area-three { padding: 60px 0 !important; }

  /* Reviews */
  .feedback-area { padding-bottom: 60px !important; }
  .feedback-area .container { padding-top: 60px !important; }
  .feedback-area .col-lg-4 {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  /* Process — tight 2-col grid on mobile */
  .work-process-area { padding: 50px 0 40px !important; }
  .work-process-area .section-title { margin-bottom: 35px !important; }
  .work-process-wrap > .row {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 16px !important;
    margin: 0 !important;
  }
  .work-process-wrap > .row > div {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding: 0 !important;
  }
  .work-process-item {
    text-align: center;
    margin: 0 !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
  }
  .work-process-item .icon {
    margin-bottom: 12px !important;
    padding: 8px !important;
  }
  .work-process-item .icon i {
    width: 60px !important;
    height: 60px !important;
    font-size: 26px !important;
    line-height: 60px !important;
  }
  .work-process-item .icon .number {
    font-size: 48px !important;
  }
  .work-process-item h4 {
    font-size: 14px !important;
    margin-bottom: 6px !important;
  }
  .work-process-item p {
    font-size: 12px !important;
    line-height: 1.5 !important;
    padding: 0 4px;
  }

  /* Footer */
  .main-footer .footer-cta {
    margin: 40px 0 !important;
  }
  .main-footer .footer-cta .section-title p {
    font-size: 13px !important;
  }
  .social-style-two a {
    width: 40px !important;
    height: 40px !important;
  }
  .copyright-area p {
    font-size: 11px !important;
  }
  .anpc-badges img {
    height: 38px !important;
  }

  /* Detail pages */
  .project-details-area { padding-top: 80px !important; }
  .feature-item-three .content h5 {
    font-size: 15px !important;
  }
  .feature-item-three .content p {
    font-size: 13px !important;
  }

  /* Contact page */
  .contact-form input,
  .contact-form textarea {
    border-radius: 8px !important;
    font-family: 'Inter', sans-serif !important;
  }
}

/* Small phones */
@media (max-width: 380px) {
  .hero-modern-center h1 {
    font-size: 23px !important;
  }
  .hero-marquee-item { width: 200px; }
  .section-title h2 {
    font-size: 20px !important;
  }
}
