/* ============================================
   TECHPULSE — MAIN SITE CSS  (Audited & Fixed)
   ============================================ */
:root {
  --tp-navy: #0a1628;
  --tp-blue: #1e3a8a;
  --tp-red: #dc2626;
  --tp-green: #16a34a;
  --tp-accent: #3b82f6;
  --tp-light: #f8fafc;
  --tp-gray: #64748b;
  --tp-gradient: linear-gradient(135deg, #0a1628 0%, #1e3a8a 50%, #1e40af 100%);
  --tp-gradient-red: linear-gradient(135deg, #dc2626, #b91c1c);
  --transition: all 0.3s ease;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.14);
  --radius: 12px;
  /* FIX: consolidated top-bar height as single source of truth */
  --top-bar-h: 36px;
  --navbar-h: 68px;
  --nav-offset: calc(var(--top-bar-h) + var(--navbar-h));
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: #1e293b; line-height: 1.7; overflow-x: hidden; }

/* ---- TOP BAR — FIX: removed heavy 2px bottom border ---- */
.top-bar {
  background: #1e3a8a; color: #e2e8f0; font-size: 0.78rem;
  height: var(--top-bar-h);
  position: fixed; width: 100%; top: 0; z-index: 10000;
  /* FIX: removed border-bottom: 2px solid #2563eb — was visually heavy */
}
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 0.5rem; }
.top-bar-left { display: flex; align-items: center; gap: 0.5rem; white-space: nowrap; opacity: 0.9; }
.top-bar-sep { opacity: 0.35; }
.top-bar-center { flex: 1; text-align: center; font-weight: 700; letter-spacing: 0.04em; color: #fff; text-transform: uppercase; font-size: 0.7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-bar-right { display: flex; align-items: center; gap: 0.6rem; }
.top-bar-right a { color: #bfdbfe; text-decoration: none; font-size: 0.8rem; transition: color 0.2s; }
.top-bar-right a:hover { color: #fff; }
.btn-free-consult {
  display: flex; align-items: center; gap: 0.4rem;
  background: var(--tp-red) !important;
  color: #fff !important;
  font-size: 0.72rem !important;
  font-weight: 700;
  padding: 0.28rem 0.85rem;
  border-radius: 50px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: var(--transition);
}
.btn-free-consult:hover { background: #b91c1c !important; transform: translateY(-1px); }
@media (max-width: 767px) { .top-bar-left, .top-bar-right { display: none; } .top-bar-center { font-size: 0.65rem; } }

/* ---- NAVBAR ---- */
.navbar-tp {
  background: rgba(10,22,40,0.97); backdrop-filter: blur(20px);
  padding: 0.875rem 0;
  position: fixed; width: 100%;
  top: var(--top-bar-h); z-index: 9999;
  transition: var(--transition);
  /* FIX: removed visible border-bottom — now only on scroll */
  border-bottom: none;
}
.navbar-tp.scrolled { padding: 0.6rem 0; box-shadow: 0 4px 30px rgba(0,0,0,0.3); }
.navbar-brand-tp { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand-icon { width: 42px; height: 42px; background: var(--tp-gradient-red); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2rem; }
.brand-text-nav { line-height: 1.1; }
.brand-name-nav { color: white; font-size: 1rem; font-weight: 800; letter-spacing: 0.05em; }
.brand-name-nav .tech { color: #fff; }
.brand-name-nav .pulse { color: var(--tp-red); }
.brand-name-nav .se { color: var(--tp-green); }
.brand-sub-nav { color: rgba(255,255,255,0.45); font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; }
.nav-link-tp { color: rgba(255,255,255,0.8) !important; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.02em; padding: 0.45rem 0.9rem !important; border-radius: 6px; transition: var(--transition); text-decoration: none; }
.nav-link-tp:hover, .nav-link-tp.active { color: #fff !important; background: rgba(255,255,255,0.1); }
.btn-nav-cta { background: var(--tp-red) !important; color: white !important; border-radius: 8px !important; padding: 0.5rem 1.4rem !important; font-weight: 600 !important; }
.btn-nav-cta:hover { background: #b91c1c !important; color: white !important; }

/* Mobile nav */
@media (max-width: 991px) {
  .collapse.navbar-collapse { background: rgba(10,22,40,0.98); padding: 1rem; border-radius: 0 0 12px 12px; margin-top: 0.5rem; }
  .nav-link-tp { padding: 0.6rem 1rem !important; display: block; }
}

/* ---- HERO SECTION (static fallback) — FIX: removed conflicting display:none override ---- */
.hero-section { min-height: 100vh; background: var(--tp-gradient); position: relative; display: flex; align-items: center; overflow: hidden; padding-top: var(--nav-offset); }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); padding: 0.4rem 1rem; border-radius: 50px; color: rgba(255,255,255,0.9); font-size: 0.8rem; font-weight: 500; margin-bottom: 1.5rem; backdrop-filter: blur(10px); }
.hero-badge .dot { width: 8px; height: 8px; background: var(--tp-green); border-radius: 50%; animation: pulse-dot 1.5s infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.2)} }
.hero-title { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; color: white; line-height: 1.1; margin-bottom: 1.5rem; }
.hero-title .highlight { color: var(--tp-red); }
.hero-subtitle { font-size: 1.2rem; color: rgba(255,255,255,0.75); max-width: 580px; margin-bottom: 2.5rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-tp-primary {
  background: linear-gradient(135deg, #ef4444 0%, var(--tp-red) 55%, #b91c1c 100%);
  color: white; border: none; padding: 0.95rem 2.25rem; border-radius: 10px;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.65rem;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(220,38,38,0.28), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-tp-primary i { font-size: 0.92em; }
.btn-tp-primary:hover {
  background: linear-gradient(135deg, #f87171 0%, #dc2626 55%, #991b1b 100%);
  color: white; transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(220,38,38,0.4), inset 0 1px 0 rgba(255,255,255,0.22);
}
.btn-tp-primary:active { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(220,38,38,0.3); }
.btn-tp-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.3); padding: 0.9rem 2rem; border-radius: 10px; font-weight: 600; font-size: 0.95rem; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; transition: var(--transition); }
.btn-tp-outline:hover { border-color: white; color: white; background: rgba(255,255,255,0.1); }

/* ============================================
   HERO SLIDER — PREMIUM SAAS STYLE
   ============================================ */
.hero-slider-section { position: relative; width: 100%; overflow: hidden; }
/* FIX: height accounts for section padding-top (nav-offset) */
.hero-slider { position: relative; width: 100%; height: calc(700px - var(--nav-offset, 104px)); min-height: 480px; overflow: hidden; background: var(--tp-navy); }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.8s ease, visibility 0.8s ease; pointer-events: none; z-index: 0; }
.hero-slide.active { opacity: 1; visibility: visible; pointer-events: auto; z-index: 1; }
.slide-bg { position: absolute; inset: 0; overflow: hidden; }
.slide-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.05); transition: transform 8s ease; }
.hero-slide.active .slide-bg-img { transform: scale(1); }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(10,22,40,0.88) 0%, rgba(10,22,40,0.72) 45%, rgba(10,22,40,0.38) 100%); }
.slide-content { position: relative; z-index: 2; width: 100%; }
.slide-inner { max-width: 600px; }
.hero-slide .slide-inner > * { transform: translateY(20px); opacity: 0; transition: opacity 0.6s ease, transform 0.6s ease; }
.hero-slide.active .slide-inner > * { opacity: 1; transform: translateY(0); }
.hero-slide.active .slide-inner > *:nth-child(1) { transition-delay: 0.15s; }
.hero-slide.active .slide-inner > *:nth-child(2) { transition-delay: 0.28s; }
.hero-slide.active .slide-inner > *:nth-child(3) { transition-delay: 0.4s; }
.hero-slide.active .slide-inner > *:nth-child(4) { transition-delay: 0.52s; }
.slide-heading { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 900; color: #fff; line-height: 1.12; margin-bottom: 1.25rem; letter-spacing: -0.02em; }
.slide-desc { font-size: clamp(1rem, 1.4vw, 1.15rem); color: rgba(255,255,255,0.82); line-height: 1.7; margin-bottom: 2.25rem; max-width: 560px; }
.slide-cta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.btn-hero-primary { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--tp-red); color: #fff; border: 2px solid var(--tp-red); padding: 0.875rem 2rem; border-radius: 50px; font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(220,38,38,0.35); white-space: nowrap; min-height: 52px; }
.btn-hero-primary:hover { background: #b91c1c; border-color: #b91c1c; color: #fff; transform: translateY(-3px) scale(1.03); box-shadow: 0 8px 30px rgba(220,38,38,0.5); }
.btn-hero-outline { display: inline-flex; align-items: center; gap: 0.5rem; background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.45); padding: 0.875rem 2rem; border-radius: 50px; font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: all 0.3s ease; white-space: nowrap; min-height: 52px; backdrop-filter: blur(6px); }
.btn-hero-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; color: #fff; transform: translateY(-3px) scale(1.03); }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: rgba(255,255,255,0.12); border: 1.5px solid rgba(255,255,255,0.25); color: #fff; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; cursor: pointer; backdrop-filter: blur(10px); transition: all 0.3s ease; }
.slider-arrow:hover { background: rgba(255,255,255,0.28); border-color: rgba(255,255,255,0.5); transform: translateY(-50%) scale(1.1); }
.slider-prev { left: 1.75rem; }
.slider-next { right: 1.75rem; }
.slider-dots { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 0.6rem; align-items: center; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: all 0.3s ease; padding: 0; }
.slider-dot.active { background: #fff; width: 28px; border-radius: 5px; }
.slider-dot:hover { background: rgba(255,255,255,0.7); }
.hero-slider-section .scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.4rem; color: rgba(255,255,255,0.5); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; z-index: 5; animation: bounce 2s infinite; pointer-events: none; }
.hero-slider-section .scroll-indicator i { font-size: 1rem; }
.scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.5); font-size: 0.75rem; animation: bounce 2s infinite; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ---- SECTIONS ---- */
.section-tp { padding: 5.5rem 0; }
.section-tp-alt { padding: 5.5rem 0; background: #f8fafc; }
.section-badge { display: inline-block; background: rgba(30,58,138,0.1); color: var(--tp-blue); padding: 0.3rem 1rem; border-radius: 50px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.section-title { font-size: clamp(1.75rem, 4vw, 2.7rem); font-weight: 800; color: var(--tp-navy); line-height: 1.2; margin-bottom: 1rem; }
.section-subtitle { color: var(--tp-gray); font-size: 1.05rem; max-width: 600px; margin: 0 auto 3rem; }
.separator { width: 48px; height: 4px; background: var(--tp-gradient-red); border-radius: 2px; margin: 1rem auto; }

/* ---- SERVICE / PRODUCT CARDS — FIX: removed double-border patterns ---- */
.service-card {
  background: white; border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow);
  transition: var(--transition);
  /* FIX: removed visible border that clashed with shadow */
  border: none;
  height: 100%;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-icon { width: 60px; height: 60px; background: var(--tp-gradient); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.4rem; margin-bottom: 1.25rem; overflow: hidden; }
.service-icon.has-image { background: #0a1628; padding: 0; }
.service-icon.has-image img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.service-card h4 { font-size: 1.05rem; font-weight: 700; color: var(--tp-navy); margin-bottom: 0.65rem; }
.service-card p { color: var(--tp-gray); font-size: 0.875rem; margin-bottom: 1rem; }
.service-link { color: var(--tp-blue); font-size: 0.84rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; transition: var(--transition); }
.service-link:hover { color: var(--tp-red); gap: 0.7rem; }

.product-card { background: white; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); transition: var(--transition); text-align: center; border: none; height: 100%; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-icon { width: 76px; height: 76px; background: var(--tp-gradient); border-radius: 18px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.85rem; margin: 0 auto 1.25rem; overflow: hidden; }
.product-icon.has-image { background: #0a1628; padding: 0; }
.product-icon.has-image img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

.portfolio-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); background: white; height: 100%; }
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.portfolio-img { height: 200px; background: var(--tp-gradient); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; color: white; font-size: 3rem; }
.portfolio-img img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-body { padding: 1.4rem; }
.portfolio-cat { font-size: 0.73rem; color: var(--tp-blue); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }

.blog-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); height: 100%; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-img { height: 180px; background: var(--tp-gradient); display: flex; align-items: center; justify-content: center; color: white; font-size: 2.5rem; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 1.4rem; }
.blog-cat { font-size: 0.73rem; color: var(--tp-blue); font-weight: 600; text-transform: uppercase; }
.blog-title { font-size: 1rem; font-weight: 700; color: var(--tp-navy); margin: 0.4rem 0; line-height: 1.4; }
.blog-title a { color: inherit; text-decoration: none; transition: var(--transition); }
.blog-title a:hover { color: var(--tp-blue); }

/* FIX: testimonial card — replaced heavy border-left with subtle top accent */
.testimonial-card {
  background: white; border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow);
  /* FIX: replaced border-left: 4px solid — too visually heavy */
  border-top: 3px solid var(--tp-blue);
  height: 100%;
}
.testimonial-stars { color: #f59e0b; margin-bottom: 1rem; font-size: 0.9rem; }
.testimonial-text { color: var(--tp-gray); font-style: italic; margin-bottom: 1.5rem; font-size: 0.925rem; line-height: 1.75; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--tp-gradient); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 1rem; }
.author-name { font-weight: 700; color: var(--tp-navy); font-size: 0.9rem; }
.author-company { font-size: 0.78rem; color: var(--tp-gray); }

/* ---- STATS ---- */
.stats-section { background: var(--tp-gradient); padding: 5rem 0; }
.stat-item { text-align: center; padding: 1.5rem; }
.stat-number { font-size: 3rem; font-weight: 900; color: white; display: block; }
.stat-label { color: rgba(255,255,255,0.7); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* ---- TECH STACK ---- */
.tech-grid { display: flex; flex-wrap: wrap; gap: 0.875rem; justify-content: center; }
.tech-item { background: white; border-radius: 10px; padding: 0.875rem 1.4rem; display: flex; align-items: center; gap: 0.75rem; font-weight: 600; color: var(--tp-navy); box-shadow: var(--shadow); transition: var(--transition); font-size: 0.875rem; border: none; }
.tech-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tech-item i { font-size: 1.4rem; }

/* ---- WHY CHOOSE US ---- */
.why-item { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.25rem; border-radius: var(--radius); transition: var(--transition); }
.why-item:hover { background: #f8fafc; }
.why-icon { width: 48px; height: 48px; min-width: 48px; background: var(--tp-gradient); border-radius: 11px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.15rem; }
.why-content h5 { font-size: 0.975rem; font-weight: 700; color: var(--tp-navy); margin-bottom: 0.35rem; }
.why-content p { color: var(--tp-gray); font-size: 0.875rem; margin: 0; }

/* ---- CTA ---- */
.cta-section { background: var(--tp-gradient); padding: 5rem 0; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%); }

/* ---- CONTACT ---- */
.contact-info-box { background: var(--tp-navy); border-radius: var(--radius); padding: 2.5rem; color: white; height: 100%; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.75rem; }
.contact-info-icon { width: 42px; height: 42px; min-width: 42px; background: rgba(255,255,255,0.1); border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; }
.contact-form-box { background: white; border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow); }
.form-control-tp { border: 1.5px solid #e2e8f0; border-radius: 9px; padding: 0.75rem 1rem; font-size: 0.925rem; transition: var(--transition); width: 100%; background: #f8fafc; outline: none; font-family: inherit; color: #1e293b; }
.form-control-tp:focus { border-color: var(--tp-blue); background: white; box-shadow: 0 0 0 3px rgba(30,58,138,0.08); }
label.tp-label { font-size: 0.82rem; font-weight: 600; color: var(--tp-navy); margin-bottom: 0.35rem; display: block; }
.btn-submit { background: var(--tp-red); color: white; border: none; padding: 0.875rem 2.25rem; border-radius: 10px; font-weight: 700; font-size: 0.975rem; cursor: pointer; transition: var(--transition); display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-submit:hover { background: #b91c1c; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(220,38,38,0.3); }

/* ---- FOOTER — FIX: removed mid-section dividers between footer cols ---- */
.footer-tp { background: var(--tp-navy); color: rgba(255,255,255,0.8); padding: 4rem 0 0; }
.footer-brand { margin-bottom: 1.5rem; }
.footer-brand-name { color: white; font-size: 1.05rem; font-weight: 800; letter-spacing: 0.05em; display: block; }
.footer-tagline { color: rgba(255,255,255,0.45); font-size: 0.75rem; letter-spacing: 0.1em; }
.footer-desc { color: rgba(255,255,255,0.58); font-size: 0.865rem; line-height: 1.8; margin-bottom: 1.5rem; }
.footer-title { color: white; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1.125rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a { color: rgba(255,255,255,0.58); text-decoration: none; font-size: 0.855rem; transition: var(--transition); display: flex; align-items: center; gap: 0.4rem; }
.footer-links a:hover { color: white; padding-left: 4px; }
.social-links { display: flex; gap: 0.625rem; }
.social-link { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.65); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: var(--transition); font-size: 0.875rem; }
.social-link:hover { background: var(--tp-red); color: white; transform: translateY(-3px); }
.footer-bottom {
  /* FIX: single clean top divider, no extra borders */
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.375rem 0; margin-top: 3rem;
}
.footer-bottom p { color: rgba(255,255,255,0.45); font-size: 0.78rem; margin: 0; }
.powered-by { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.35); font-size: 0.73rem; }
.powered-by strong { color: rgba(255,255,255,0.6); }

/* ---- WHATSAPP ---- */
.whatsapp-float { position: fixed; bottom: 2rem; right: 2rem; width: 54px; height: 54px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.45rem; z-index: 9999; text-decoration: none; box-shadow: 0 4px 18px rgba(37,211,102,0.4); transition: var(--transition); animation: wa-pulse 2.5s infinite; }
.whatsapp-float:hover { background: #20ba5c; color: white; transform: scale(1.1); }
@keyframes wa-pulse { 0%,100%{box-shadow:0 4px 18px rgba(37,211,102,0.4)} 50%{box-shadow:0 4px 36px rgba(37,211,102,0.65)} }

/* ---- PAGE HERO — FIX: correct offset for top-bar + navbar ---- */
.page-hero {
  background: var(--tp-gradient);
  /* FIX: was margin-top:70px which didn't account for top-bar height */
  padding-top: calc(var(--nav-offset) + 3.5rem);
  padding-bottom: 3.5rem;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2.25rem, 5.5vw, 3.25rem); font-weight: 900; color: white; letter-spacing: -0.01em; }
.page-hero p { color: rgba(255,255,255,0.82); font-size: 1.15rem; line-height: 1.6; margin-top: 0.75rem; max-width: 640px; margin-left: auto; margin-right: auto; }
.breadcrumb-tp { display: flex; align-items: center; justify-content: center; gap: 0.5rem; color: rgba(255,255,255,0.55); font-size: 0.83rem; margin-top: 1rem; }
.breadcrumb-tp a { color: rgba(255,255,255,0.65); text-decoration: none; }
.breadcrumb-tp a:hover { color: white; }

/* ---- CAREER CARD ---- */
.career-card { background: white; border-radius: var(--radius); padding: 1.75rem 2rem; box-shadow: var(--shadow); transition: var(--transition); border-left: 3px solid var(--tp-blue); }
.career-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.career-badge { display: inline-block; padding: 0.2rem 0.7rem; border-radius: 50px; font-size: 0.73rem; font-weight: 600; }
.badge-full { background: rgba(22,163,74,0.1); color: var(--tp-green); }
.badge-intern { background: rgba(245,158,11,0.1); color: #d97706; }
.badge-remote { background: rgba(30,58,138,0.1); color: var(--tp-blue); }

/* ---- BLOG DETAIL ---- */
.blog-content { font-size: 1.05rem; line-height: 1.9; color: #334155; }
.blog-content h2, .blog-content h3 { color: var(--tp-navy); margin-top: 2rem; margin-bottom: 1rem; font-weight: 700; }
.blog-content p { margin-bottom: 1.25rem; }

/* ---- ABOUT ---- */
.about-img-wrap { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.value-item { text-align: center; padding: 1.75rem; border-radius: var(--radius); background: white; box-shadow: var(--shadow); transition: var(--transition); }
.value-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.value-icon { font-size: 2.25rem; margin-bottom: 0.875rem; }
.team-card { text-align: center; padding: 2rem; background: white; border-radius: var(--radius); box-shadow: var(--shadow); transition: var(--transition); }
.team-card:hover { transform: translateY(-4px); }
.team-avatar { width: 76px; height: 76px; border-radius: 50%; background: var(--tp-gradient); display: flex; align-items: center; justify-content: center; color: white; font-size: 1.9rem; margin: 0 auto 1rem; }

/* ---- LOGIN ---- */
.login-page { min-height: 100vh; display: flex; }
.login-left { background: var(--tp-gradient); flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem; position: relative; overflow: hidden; }
.login-right { width: 480px; display: flex; align-items: center; justify-content: center; padding: 3rem; background: #f8fafc; }
.login-box { width: 100%; max-width: 400px; }
.login-logo { display: flex; flex-direction: column; align-items: center; margin-bottom: 3rem; }
.login-welcome { color: white; font-size: 1.5rem; font-weight: 800; margin-top: 1rem; }
.login-sub { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.login-features { margin-top: 3rem; }
.login-feature { display: flex; align-items: center; gap: 1rem; color: rgba(255,255,255,0.85); margin-bottom: 1.25rem; font-size: 0.9rem; }
.login-feature i { width: 32px; height: 32px; background: rgba(255,255,255,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
@media (max-width: 768px) { .login-left { display: none; } .login-right { width: 100%; padding: 2rem 1.5rem; } }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .section-tp, .section-tp-alt { padding: 3.5rem 0; }
  .hero-slider { height: 520px; }
  .contact-form-box, .contact-info-box { padding: 1.75rem; }
}
@media (max-width: 991px) {
  .hero-slider { height: 560px; }
  .slider-arrow { width: 44px; height: 44px; font-size: 1rem; }
  .slider-prev { left: 1rem; }
  .slider-next { right: 1rem; }
  .slide-heading { font-size: clamp(1.8rem, 4vw, 2.5rem); }
}
@media (max-width: 575px) {
  .hero-slider { height: 520px; }
  .slide-content { text-align: center; }
  .slide-inner { max-width: 100%; }
  .slide-heading { font-size: clamp(1.5rem, 6vw, 2rem); }
  .slide-desc { font-size: 0.925rem; margin-bottom: 1.75rem; }
  .slide-overlay { background: linear-gradient(180deg, rgba(10,22,40,0.85) 0%, rgba(10,22,40,0.75) 100%); }
  .slide-cta { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .btn-hero-primary, .btn-hero-outline { justify-content: center; width: 100%; padding: 0.85rem 1.5rem; }
  .slider-arrow { display: none; }
  .slider-dots { bottom: 1.5rem; }
  .hero-slider-section .scroll-indicator { display: none; }
}

/* ---- ANIMATIONS ---- */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.counter { font-variant-numeric: tabular-nums; }

/* Footer newsletter input */
.footer-email-input {
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  color: white !important;
  border-radius: 7px !important;
}
.footer-email-input::placeholder { color: rgba(255,255,255,0.4); }
.footer-email-input:focus { background: rgba(255,255,255,0.12) !important; border-color: rgba(255,255,255,0.35) !important; box-shadow: none !important; }

/* ---- HERO STATS (static hero) ---- */
.hero-stats { display: flex; gap: 2rem; margin-top: 3rem; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat .number { font-size: 2rem; font-weight: 900; color: white; }
.hero-stat .label { font-size: 0.73rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.1em; }
.hero-card { background: rgba(255,255,255,0.08); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.15); border-radius: 16px; padding: 1.5rem; margin-bottom: 1rem; animation: float 6s ease-in-out infinite; }
.hero-card:nth-child(2) { animation-delay: 2s; }
.hero-card:nth-child(3) { animation-delay: 4s; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-15px)} }

/* ---- CYBERSECURITY NETWORK — SERVICES SECTION ---- */
.services-cyber-section {
  position: relative;
  padding: 5.5rem 0;
  background: radial-gradient(circle at 25% 15%, #122c52 0%, var(--tp-navy) 55%, #060c16 100%);
  overflow: hidden;
}
.cyber-network-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}
.services-cyber-section .container { position: relative; z-index: 1; }
.services-cyber-section .section-badge { background: rgba(59,130,246,0.15); color: #93c5fd; border: 1px solid rgba(59,130,246,0.3); }
.services-cyber-section .section-title { color: #fff; }
.services-cyber-section .section-subtitle { color: rgba(255,255,255,0.65); }
.services-cyber-section .service-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.services-cyber-section .service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59,130,246,0.45);
  box-shadow: 0 16px 48px rgba(59,130,246,0.2), 0 8px 32px rgba(0,0,0,0.35);
}
.services-cyber-section .service-card h4 { color: #fff; }
.services-cyber-section .service-card p { color: rgba(255,255,255,0.6); }
.services-cyber-section .service-link { color: #60a5fa; }
.services-cyber-section .service-link:hover { color: var(--tp-red); }
@media (max-width: 575px) {
  .services-cyber-section { padding: 3.5rem 0; }
}

/* ---- SERVICE DETAIL — HERO IMAGE / DUMMY PLACEHOLDER ---- */
.service-hero-image { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); height: 320px; }
.service-hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-hero-dummy { position: relative; width: 100%; height: 100%; background: var(--tp-gradient); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.service-hero-dummy::before {
  content: ''; position: absolute; inset: -40%;
  background: radial-gradient(circle at 28% 30%, rgba(255,255,255,0.18) 0%, transparent 50%),
              radial-gradient(circle at 75% 72%, rgba(220,38,38,0.28) 0%, transparent 45%);
}
.service-hero-dummy::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.service-hero-dummy i { position: relative; z-index: 2; font-size: 5rem; color: rgba(255,255,255,0.92); filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3)); }
.service-hero-dummy .dummy-tag {
  position: absolute; bottom: 1rem; right: 1.1rem; z-index: 2;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.8); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 0.3rem 0.7rem;
  border-radius: 50px; backdrop-filter: blur(6px);
}
@media (max-width: 575px) { .service-hero-image { height: 220px; } .service-hero-dummy i { font-size: 3.25rem; } }
