/* TMark Digital - Custom Overrides */

/* ========================================
   Top Bar + Header - sticky together
   ======================================== */
.pre-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 101 !important;
  height: auto !important;
}

.header-area {
  top: 36px !important;
}

.background-header {
  top: 36px !important;
}

/* ========================================
   Logo - bigger, proper display
   ======================================== */
.logo img {
  max-height: 80px !important;
  width: auto !important;
  object-fit: contain;
}

.header-area .main-nav .logo {
  line-height: 80px !important;
}

.background-header .logo img {
  max-height: 55px !important;
}

.background-header .main-nav .logo {
  line-height: 80px !important;
}

/* ========================================
   TMark Mega Menu
   ======================================== */
.tmark-mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  border-top: 3px solid #dc2626;
  padding: 30px 0;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.tmark-mega.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tmark-mega-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
}

.tmark-mega-col {
  display: flex;
  flex-direction: column;
}

.tmark-mega-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #2a2a2a;
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 2px solid #dc2626;
  transition: color 0.3s;
}

.tmark-mega-title i {
  color: #dc2626;
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.tmark-mega-title:hover {
  color: #dc2626;
}

.tmark-mega-link {
  font-size: 13px;
  color: #777;
  padding: 5px 0;
  transition: all 0.2s;
  display: block;
}

.tmark-mega-link:hover {
  color: #dc2626;
  padding-left: 5px;
}

/* Services trigger hover state */
#services-trigger {
  position: relative;
}
#services-trigger > a {
  cursor: pointer;
}

/* ========================================
   Toast Notifications
   ======================================== */
#toast-container {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast-notif {
  background: #fff;
  border-radius: 12px;
  padding: 18px 50px 18px 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.18);
  display: flex;
  align-items: flex-start;
  gap: 15px;
  min-width: 340px;
  max-width: 420px;
  position: relative;
  border-left: 4px solid #4caf50;
  animation: toastSlideIn 0.4s ease forwards;
}

.toast-notif.toast-error { border-left-color: #f44336; }

.toast-notif .toast-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

.toast-notif .toast-icon.success { background: #e8f5e9; color: #4caf50; }
.toast-notif .toast-icon.error { background: #fce4ec; color: #f44336; }

.toast-notif .toast-content h5 {
  font-size: 15px;
  font-weight: 700;
  color: #2a2a2a;
  margin: 0 0 4px;
}

.toast-notif .toast-content p {
  font-size: 13px;
  color: #888;
  margin: 0;
  line-height: 1.4;
}

.toast-notif .toast-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 18px;
  color: #ccc;
  cursor: pointer;
}
.toast-notif .toast-close:hover { color: #666; }

.toast-notif .toast-bar {
  position: absolute;
  bottom: 0;
  left: 4px;
  right: 0;
  height: 3px;
  background: #4caf50;
  border-radius: 0 0 12px 0;
  animation: toastBarShrink 4s linear forwards;
}
.toast-notif.toast-error .toast-bar { background: #f44336; }

@keyframes toastSlideIn {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes toastSlideOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(120%); opacity: 0; }
}
@keyframes toastBarShrink {
  from { width: calc(100% - 4px); }
  to { width: 0; }
}

/* ========================================
   Page Header / Breadcrumb
   ======================================== */
.page-heading {
  background: linear-gradient(135deg, #1e003d 0%, #2a0845 40%, #4a1a8a 100%);
  padding: 180px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-heading::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at top right, rgba(220,38,38,0.15) 0%, transparent 50%),
              radial-gradient(ellipse at bottom left, rgba(114,106,227,0.1) 0%, transparent 50%);
}
.page-heading * { position: relative; z-index: 1; }
.page-heading h6 { color: #dc2626; font-size: 15px; text-transform: uppercase; font-weight: 700; letter-spacing: 2px; margin-bottom: 15px; }
.page-heading h2 { color: #fff; font-size: 42px; font-weight: 700; margin-bottom: 15px; }
.page-heading p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto; font-size: 15px; }

.breadcrumb-wrap { display: flex; justify-content: center; align-items: center; margin-top: 25px; flex-wrap: wrap; }
.breadcrumb-wrap a { color: #dc2626; font-size: 14px; font-weight: 500; transition: all 0.3s; }
.breadcrumb-wrap a:hover { color: #fff; }
.breadcrumb-wrap a::after { content: '/'; color: rgba(255,255,255,0.4); padding: 0 10px; }
.breadcrumb-wrap span { color: rgba(255,255,255,0.6); font-size: 14px; }

/* ========================================
   Contact Form
   ======================================== */
.contact-us .contact-dec { display: none; }
form#contact::before, form#contact::after,
form#contact-form::before, form#contact-form::after { display: none !important; }

form#contact-form {
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  background-color: #fff;
  border-radius: 23px;
  position: relative;
}
form#contact-form #map iframe { border-top-left-radius: 23px; border-bottom-left-radius: 23px; margin-bottom: -7px; position: relative; z-index: 2; }
form#contact-form input { width: 100%; height: 46px; background-color: transparent; border: 1px solid #eee; outline: none; font-size: 15px; font-weight: 300; color: #2a2a2a; padding: 0 20px; border-radius: 23px; margin-top: 30px; }
form#contact-form input::placeholder { color: #aaa; }
form#contact-form textarea { width: 100%; min-height: 200px; max-height: 200px; border-radius: 23px; background-color: transparent; border: 1px solid #eee; outline: none; font-size: 15px; font-weight: 300; color: #2a2a2a; padding: 15px 20px; margin-top: 30px; }
form#contact-form textarea::placeholder { color: #aaa; }
form#contact-form button { display: inline-block; background-color: #fff; font-size: 15px; font-weight: 400; color: #dc2626; margin-top: 30px; width: 100%; padding: 12px 25px; border-radius: 23px; border: 1px solid #dc2626; transition: all .3s; outline: none; cursor: pointer; }
form#contact-form button:hover { background-color: #dc2626 !important; color: #fff !important; }

.cta-section { margin-bottom: 0 !important; }

/* ========================================
   Footer
   ======================================== */
footer {
  background: #1e003d !important;
  background-image: url('../images/footer-bg-pattern.svg') !important;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  padding: 80px 0 30px !important;
  margin-top: 0 !important;
  position: relative;
}
footer::before, footer::after { display: none !important; }
.footer-widget { margin-bottom: 40px; }
.footer-widget h4 { color: #fff; font-size: 18px; font-weight: 600; margin-bottom: 25px; }
.footer-widget p { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.8; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links li a { color: rgba(255,255,255,0.6); font-size: 14px; transition: all 0.3s; }
.footer-links li a:hover { color: #dc2626; padding-left: 5px; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; color: rgba(255,255,255,0.6); font-size: 14px; }
.footer-contact li a { color: rgba(255,255,255,0.6); transition: all 0.3s; }
.footer-contact li a:hover { color: #dc2626; }
footer .copyright { text-align: center; color: rgba(255,255,255,0.4); font-size: 13px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 20px; }

/* ========================================
   About / Stats / Why / CTA
   ======================================== */
.about-stats { padding: 80px 0; background: linear-gradient(135deg, #1e003d, #2a0845); }
.stat-item { text-align: center; padding: 30px; }
.stat-item h3 { font-size: 48px; font-weight: 700; color: #dc2626; margin-bottom: 5px; }
.stat-item p { color: rgba(255,255,255,0.8); font-size: 15px; font-weight: 500; }

.why-card { text-align: center; padding: 40px 30px; border-radius: 20px; background: #fff; box-shadow: 0 5px 30px rgba(0,0,0,0.08); margin-bottom: 30px; transition: all 0.4s; }
.why-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
.why-card .icon-wrap { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, rgba(220,38,38,0.1), rgba(114,106,227,0.1)); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.why-card h4 { font-size: 18px; font-weight: 600; color: #2a2a2a; margin-bottom: 12px; }
.why-card p { color: #afafaf; font-size: 14px; line-height: 1.7; }

.cta-section { background: linear-gradient(135deg, #dc2626, #726ae3); padding: 80px 0; text-align: center; margin-bottom: 0 !important; }
.cta-section h2 { color: #fff; font-size: 36px; font-weight: 700; margin-bottom: 15px; }
.cta-section p { color: rgba(255,255,255,0.9); font-size: 16px; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-section .cta-btn { display: inline-block; background: #fff; color: #dc2626; padding: 15px 40px; border-radius: 30px; font-weight: 600; font-size: 15px; transition: all 0.3s; }
.cta-section .cta-btn:hover { background: #2a2a2a; color: #fff; }

/* CTA floating SVGs */
.cta-float { position: absolute; opacity: 0.08; animation: ctaFloat 6s ease-in-out infinite; }
@keyframes ctaFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* Premium hover effects */
.why-card, .home-service-card, .industry-card, .service-card { transform-style: preserve-3d; }
.why-card:hover { box-shadow: 0 20px 60px rgba(220,38,38,0.15) !important; }
.home-service-card:hover { box-shadow: 0 25px 60px rgba(0,0,0,0.15) !important; }

/* Glow effect on hover for service cards */
.home-service-card::after { content:''; position:absolute; top:0; left:0; right:0; bottom:0; border-radius:20px; opacity:0; transition:opacity 0.4s; background:radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(220,38,38,0.06) 0%, transparent 60%); pointer-events:none; }
.home-service-card:hover::after { opacity:1; }

/* Glassmorphism for info cards */
.fill-form .icon { backdrop-filter: blur(5px); background: rgba(255,255,255,0.7) !important; }

/* Animated gradient on hero */
.main-banner { position: relative; }
.main-banner::before { content:''; position:absolute; top:0;right:0;width:50%;height:100%; background:radial-gradient(ellipse at 70% 50%, rgba(220,38,38,0.03) 0%, transparent 70%); animation: heroPulse 4s ease-in-out infinite; pointer-events:none; }
@keyframes heroPulse { 0%,100% { opacity:0.5; transform:scale(1); } 50% { opacity:1; transform:scale(1.05); } }

/* Smooth scroll behavior */
html { scroll-behavior: smooth; }

/* Fix quote section - keep original bg, add red overlay */
.free-quote { margin-bottom: 0 !important; padding: 80px 0 !important; position: relative !important; }
.free-quote::after { content:''; position:absolute; top:0; left:0; right:0; bottom:0; background:linear-gradient(135deg, rgba(220,38,38,0.85), rgba(100,20,80,0.85)); z-index:0; }
.free-quote .container { position:relative; z-index:1; }
.free-quote .main-button { background-color: #dc2626 !important; }
.our-portfolio { margin-bottom: 0 !important; }

/* Portfolio carousel text */
.our-portfolio .portfolio-item .down-content h4 { color: #2a2a2a !important; font-size: 16px; }
.our-portfolio .portfolio-item .down-content span { color: #dc2626 !important; }
.contact-us { padding-top: 80px !important; padding-bottom: 60px !important; }

/* Payment icons in footer */
.payment-icons { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.payment-icons span { background: #fff; color: #2a2a2a; padding: 6px 14px; border-radius: 5px; font-size: 11px; font-weight: 700; display: inline-block; }

/* ========================================
   Service Cards / Category / Detail / Sidebar
   ======================================== */
.service-card { background: #fff; border-radius: 20px; padding: 40px 30px; text-align: center; box-shadow: 0 5px 30px rgba(0,0,0,0.08); transition: all 0.4s; margin-bottom: 30px; height: 100%; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
.service-card .icon-wrapper { width: 90px; height: 90px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; background: linear-gradient(135deg, rgba(220,38,38,0.1), rgba(114,106,227,0.1)); transition: all 0.4s; }
.service-card:hover .icon-wrapper { background: linear-gradient(135deg, #dc2626, #726ae3); }
.service-card:hover .icon-wrapper svg { stroke: #fff !important; }
.service-card h4 { font-size: 18px; font-weight: 600; color: #2a2a2a; margin-bottom: 15px; }
.service-card p { font-size: 14px; color: #afafaf; line-height: 1.8; margin-bottom: 20px; }
.service-card .card-link { color: #dc2626; font-size: 14px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: all 0.3s; }
.service-card .card-link:hover { color: #726ae3; gap: 12px; }

.category-card { background: #fff; border-radius: 20px; padding: 50px 40px; box-shadow: 0 5px 30px rgba(0,0,0,0.08); transition: all 0.4s; margin-bottom: 30px; overflow: hidden; }
.category-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.12); }
.category-card .cat-icon { width: 80px; height: 80px; border-radius: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 25px; }
.category-card h3 { font-size: 24px; font-weight: 700; color: #2a2a2a; margin-bottom: 15px; }
.category-card p { color: #afafaf; font-size: 14px; line-height: 1.8; margin-bottom: 20px; }

.service-detail-section { padding: 100px 0; }
.service-detail-content h3 { font-size: 28px; font-weight: 700; color: #2a2a2a; margin-bottom: 20px; }
.service-detail-content p { color: #afafaf; line-height: 1.9; font-size: 15px; margin-bottom: 20px; }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin: 30px 0; }
.feature-item { display: flex; align-items: center; gap: 12px; padding: 15px 20px; background: #f9f9ff; border-radius: 12px; transition: all 0.3s; }
.feature-item:hover { background: linear-gradient(135deg, rgba(220,38,38,0.1), rgba(114,106,227,0.1)); transform: translateX(5px); }
.feature-item span { font-size: 14px; font-weight: 500; color: #2a2a2a; }

.service-sidebar { position: sticky; top: 120px; }
.sidebar-widget { background: #fff; border-radius: 20px; padding: 30px; box-shadow: 0 5px 30px rgba(0,0,0,0.08); margin-bottom: 30px; }
.sidebar-widget h4 { font-size: 18px; font-weight: 700; color: #2a2a2a; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 2px solid #f0f0f0; }
.sidebar-widget .service-list { list-style: none; padding: 0; margin: 0; }
.sidebar-widget .service-list li { margin-bottom: 5px; }
.sidebar-widget .service-list li a { display: flex; align-items: center; padding: 12px 15px; border-radius: 10px; color: #2a2a2a; font-size: 14px; font-weight: 500; transition: all 0.3s; gap: 10px; }
.sidebar-widget .service-list li a:hover, .sidebar-widget .service-list li a.active { background: linear-gradient(135deg, #dc2626, #726ae3); color: #fff; }
.sidebar-widget .service-list li a:hover svg, .sidebar-widget .service-list li a.active svg { stroke: #fff !important; }
.sidebar-cta { background: linear-gradient(135deg, #dc2626, #726ae3); border-radius: 20px; padding: 40px 30px; text-align: center; color: #fff; }
.sidebar-cta h4 { color: #fff !important; border-bottom: none !important; }
.sidebar-cta p { color: rgba(255,255,255,0.9); font-size: 14px; margin-bottom: 20px; }
.sidebar-cta .cta-btn { display: inline-block; background: #fff; color: #dc2626; padding: 12px 30px; border-radius: 30px; font-weight: 600; font-size: 14px; transition: all 0.3s; }
.sidebar-cta .cta-btn:hover { background: #2a2a2a; color: #fff; }

/* ========================================
   Portfolio
   ======================================== */
.portfolio-filter { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; flex-wrap: wrap; }
.portfolio-filter button { background: transparent; border: 2px solid #eee; padding: 10px 25px; border-radius: 30px; font-size: 14px; font-weight: 500; color: #2a2a2a; cursor: pointer; transition: all 0.3s; font-family: 'Poppins', sans-serif; }
.portfolio-filter button:hover, .portfolio-filter button.active { background: linear-gradient(135deg, #dc2626, #726ae3); border-color: transparent; color: #fff; }
.portfolio-grid-item { margin-bottom: 30px; }
.portfolio-grid-item .portfolio-item { border-radius: 20px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.08); transition: all 0.4s; }
.portfolio-grid-item .portfolio-item:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
.portfolio-grid-item .portfolio-item .thumb img { width: 100%; height: 250px; object-fit: cover; }
.portfolio-grid-item .portfolio-item .down-content { padding: 25px; background: #fff; }
.portfolio-grid-item .portfolio-item .down-content h4 { font-size: 18px; font-weight: 600; color: #2a2a2a; margin-bottom: 5px; }
.portfolio-grid-item .portfolio-item .down-content span { font-size: 13px; color: #dc2626; font-weight: 500; }

/* Process */
.process-step { text-align: center; padding: 30px 20px; }
.process-step .step-number { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, #dc2626, #726ae3); color: #fff; font-size: 24px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.process-step h4 { font-size: 18px; font-weight: 600; color: #2a2a2a; margin-bottom: 10px; }
.process-step p { font-size: 14px; color: #afafaf; line-height: 1.7; }

/* ========================================
   Home Service Cards
   ======================================== */
.services-overview { padding: 120px 0 80px; position: relative; }
.services-overview .section-heading { text-align: center; margin-bottom: 60px; }
.services-overview .section-heading .line-dec { margin: 0 auto; }

.home-service-card { background: #fff; border-radius: 20px; padding: 35px 30px; box-shadow: 0 5px 30px rgba(0,0,0,0.07); transition: all 0.4s; margin-bottom: 30px; position: relative; overflow: hidden; min-height: 320px; display: flex; flex-direction: column; }
.home-service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,0.12); }
.home-service-card .card-accent { position: absolute; top: 0; left: 0; width: 100%; height: 4px; }
.home-service-card .card-icon { width: 65px; height: 65px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 26px; }
.home-service-card h4 { font-size: 18px; font-weight: 700; color: #2a2a2a; margin-bottom: 15px; }
.service-mini-list { list-style: none; padding: 0; margin: 0 0 20px; flex-grow: 1; }
.service-mini-list li { font-size: 13px; color: #555; padding: 4px 0; display: flex; align-items: center; gap: 8px; }
.service-mini-list li .fa-check { font-size: 11px; }
.home-service-card .card-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 10px 20px; border: 2px solid; border-radius: 30px; transition: all 0.3s; align-self: flex-start; }
.home-service-card .card-btn:hover { background: #dc2626; border-color: #dc2626; color: #fff !important; }
.home-service-card .card-btn .fa-arrow-right { font-size: 12px; transition: transform 0.3s; }
.home-service-card .card-btn:hover .fa-arrow-right { transform: translateX(4px); }

.view-all-card { background: linear-gradient(135deg, #1e003d, #2a0845, #4a1a8a) !important; text-align: center; display: flex; align-items: center; justify-content: center; }
.view-all-card .view-all-inner { padding: 20px 0; }
.view-all-card .view-all-icon { width: 70px; height: 70px; border-radius: 50%; background: rgba(220,38,38,0.2); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 28px; color: #dc2626; }
.view-all-card h4 { color: #fff !important; font-size: 20px !important; }
.view-all-card p { color: rgba(255,255,255,0.7); font-size: 14px; line-height: 1.7; margin-bottom: 25px; }
.card-btn-filled { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 12px 30px; background: linear-gradient(135deg, #dc2626, #726ae3); color: #fff; border-radius: 30px; transition: all 0.3s; }
.card-btn-filled:hover { background: #fff; color: #dc2626; }

.ticks-list span { display: inline-block; margin-right: 15px; margin-bottom: 8px; }

/* ========================================
   Tech Stack Auto-Scroller
   ======================================== */
.tech-scroller-section {
  padding: 50px 0 60px;
  background: #f9f9ff;
  overflow: hidden;
}

.tech-scroller {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.tech-scroller::before,
.tech-scroller::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
}

.tech-scroller::before {
  left: 0;
  background: linear-gradient(to right, #f9f9ff, transparent);
}

.tech-scroller::after {
  right: 0;
  background: linear-gradient(to left, #f9f9ff, transparent);
}

.tech-track {
  display: flex;
  width: max-content;
  animation: techScroll 40s linear infinite;
}

.tech-track:hover {
  animation-play-state: paused;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 14px 24px;
  border-radius: 10px;
  margin-right: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  flex-shrink: 0;
  transition: all 0.3s;
  cursor: default;
}

.tech-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.tech-item i {
  font-size: 22px;
  color: #dc2626;
  width: 30px;
  text-align: center;
}

.tech-item span {
  font-size: 14px;
  font-weight: 600;
  color: #2a2a2a;
  white-space: nowrap;
}

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

/* ========================================
   Industries Section
   ======================================== */
.industries-section {
  background: #dc2626;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.industries-section::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  border: 30px solid rgba(255,255,255,0.05);
  border-radius: 50%;
}

.industries-section::after {
  content: '';
  position: absolute;
  bottom: -30px; left: -30px;
  width: 150px; height: 150px;
  border: 20px solid rgba(255,255,255,0.05);
  border-radius: 50%;
}

.industry-card {
  background: #fff;
  border-radius: 12px;
  padding: 22px 12px;
  text-align: center;
  margin-bottom: 20px;
  transition: all 0.3s;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.industry-card svg {
  flex-shrink: 0;
}

.industry-card span {
  font-size: 12px;
  font-weight: 700;
  color: #2a2a2a;
  line-height: 1.3;
}

/* Stats with icons and counter */
.stat-item {
  text-align: center;
  padding: 30px 15px;
  position: relative;
}

.stat-icon {
  margin-bottom: 15px;
}

.stat-item h3 {
  font-size: 52px !important;
  font-weight: 800 !important;
  color: #dc2626 !important;
  margin-bottom: 8px !important;
  line-height: 1;
}

.stat-item p {
  color: rgba(255,255,255,0.8) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  letter-spacing: 0.5px;
}

/* ========================================
   FAQ Accordion
   ======================================== */
.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item:hover {
  box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.faq-question {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s;
}

.faq-question span {
  font-size: 16px;
  font-weight: 600;
  color: #2a2a2a;
  flex: 1;
  padding-right: 15px;
}

.faq-question i {
  color: #dc2626;
  font-size: 14px;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-question {
  background: #dc2626;
}

.faq-item.open .faq-question span {
  color: #fff;
}

.faq-item.open .faq-question i {
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 20px 25px;
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  margin: 0;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1199px) {
  .tmark-mega-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .tmark-mega { padding: 25px 0; }
}

@media (max-width: 991px) {
  .tmark-mega-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
}

@media (max-width: 767px) {
  .background-header { top: 32px !important; }
  .page-heading { padding: 140px 0 50px; }
  .page-heading h2 { font-size: 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .service-sidebar { position: static; margin-top: 40px; }
  .cta-section { padding: 50px 0; }
  .cta-section h2 { font-size: 22px; }
  .cta-section p { font-size: 14px; }
  .stat-item h3 { font-size: 36px !important; }
  .home-service-card { min-height: auto; }
  .toast-notif { min-width: 280px; max-width: 90vw; }
  #toast-container { right: 10px; top: 15px; }

  /* Contact form mobile fix */
  .contact-us { padding-top: 40px !important; }
  form#contact-form { border-radius: 15px; }
  form#contact-form #map iframe { border-radius: 15px 15px 0 0 !important; height: 300px !important; }
  .fill-form { padding: 30px 20px !important; }
  .fill-form .info-post .icon { padding: 15px 10px; }
  .fill-form .icon a { font-size: 12px; }

  /* Industry cards mobile */
  .industries-section { padding: 60px 0; }
  .industry-card { padding: 15px 10px; }
  .industry-card svg { width: 26px; height: 26px; }
  .industry-card span { font-size: 11px; }

  /* FAQ mobile */
  .faq-question span { font-size: 14px; }

  /* Tech scroller mobile */
  .tech-scroller-section { padding: 30px 0 40px; }
  .tech-item { padding: 10px 16px; }

  /* Mobile mega menu */
  .tmark-mega {
    position: static;
    box-shadow: none;
    border-top: 1px solid #eee;
    padding: 15px;
    max-height: 60vh;
    overflow-y: auto;
    display: none;
  }
  .tmark-mega.active {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .tmark-mega-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tmark-mega-title { font-size: 12px; padding-bottom: 5px; margin-bottom: 4px; }
  .tmark-mega-link { font-size: 11px; padding: 2px 0; color: #999; }
  .logo img { max-height: 50px !important; }

  /* About section mobile */
  .about-left-image { margin-bottom: 30px; }
  .services-overview { padding: 80px 0 50px; }
  .why-card { padding: 25px 20px; }
  .category-card { padding: 30px 20px; }
}

@media (max-width: 480px) {
  .tmark-mega-grid { grid-template-columns: 1fr; }
  .page-heading h2 { font-size: 20px; }
  .stat-item h3 { font-size: 30px !important; }
  .industry-card { padding: 12px 8px; }
  .fill-form .info-post { margin-bottom: 10px; }
}
