/* ===== CUSTOM FONTS & IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

@font-face {
  font-family: 'Harper Bold';
  src: url('../fonts/Harper-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ===== CSS VARIABLES ===== */
:root {
  --bg-primary: #080808;
  --bg-secondary: #151515;
  --bg-card: rgba(255,255,255,0.03);
  --accent: #00B9F4;
  --accent-dark: #0096C7;
  --text-primary: #FFFFFF;
  --text-secondary: #999999;
  --text-muted: #666666;
  --border-color: rgba(255,255,255,0.08);
  --border-color-light: rgba(255,255,255,0.12);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 50px;
  --radius-full: 50%;
  --max-width: 1320px;
  --section-padding: 120px 0;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== GLOBAL BACKGROUND EFFECTS ===== */
.global-noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.global-grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 90% 85% at 50% 50%, black 10%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 85% at 50% 50%, black 10%, transparent 100%);
}

.global-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  animation: globalOrbIn 2.2s ease forwards;
}

.global-orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,255,255,0.028) 0%, transparent 70%);
  top: -280px; left: -180px;
  animation-delay: 0.2s;
}

.global-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.02) 0%, transparent 70%);
  bottom: -100px; right: -100px;
  animation-delay: 0.5s;
}

@keyframes globalOrbIn { to { opacity: 1; } }

.global-cursor-glow {
  position: fixed;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  filter: blur(60px);
  transition: left 0.1s ease, top 0.1s ease;
}

.container, section, header, footer, nav, .content-layer {
  position: relative;
  z-index: 1;
}

ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { border: none; outline: none; cursor: pointer; font-family: var(--font-body); }
a { text-decoration: none !important; } 
* { text-decoration: none !important; } /* global override to prevent any underlines */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); color: var(--text-primary); line-height: 1.2; font-weight: 300; }
h1 strong, h2 strong, h3 strong, h4 strong, h5 strong, h6 strong,
h1 b, h2 b, h3 b, h4 b, h5 b, h6 b { font-weight: 700; color: #fff; }

/* ===== UTILITIES ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 40px; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 20px; font-family: var(--font-body);
}
.section-label .label-icon { color: var(--accent); font-size: 16px; }
.section-heading {
  font-size: clamp(36px, 4.5vw, 56px); font-weight: 300;
  color: var(--text-primary); line-height: 1.15;
  font-family: var(--font-heading);
}
.section-heading .highlight, .section-heading strong, .section-heading b { font-weight: 700; color: var(--accent); font-style: normal; }
.section-desc {
  font-size: 16px; color: var(--text-secondary);
  line-height: 1.8; max-width: 540px;
}
/* ===== GLASSMORPHISM BUTTON SYSTEM ===== */

/* ── Pill / text buttons ── */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.07);
  border: 0.5px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-pill);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-primary);
  font-weight: 500;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.btn-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(255,255,255,0.08) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}
.btn-pill:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.28);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(255,255,255,0.07);
}
.btn-pill:hover::before { opacity: 1; }
.btn-pill:active { transform: translateY(0) scale(0.97); }

.btn-pill .btn-text {
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  font-family: var(--font-body);
  position: relative;
  z-index: 1;
}
.btn-pill .btn-icon {
  width: 48px; height: 48px;
  background: var(--accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
  position: relative;
  z-index: 1;
}
.btn-pill .btn-icon svg { width: 18px; height: 18px; stroke: var(--bg-primary); }
.btn-pill:hover .btn-icon {
  transform: rotate(45deg) scale(1.1);
  box-shadow: 0 0 20px rgba(0, 185, 244, 0.7);
}
.img-placeholder {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border-radius: var(--radius-md); width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 14px; overflow: hidden;
  position: relative;
}
.img-placeholder img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* ===== SCROLL ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  height: 85px; display: flex; align-items: center;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition); background: transparent;
}
.navbar.scrolled {
  background: rgba(13,13,13,0.95); backdrop-filter: blur(20px);
  height: 70px; /* Optional: compress slightly on scroll */
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo .logo-icon {
  width: 40px; height: 40px;
}
.nav-logo .logo-icon svg { width: 100%; height: 100%; }
.nav-logo .logo-text {
  font-family: var(--font-heading); font-size: 26px;
  font-weight: 700; color: var(--text-primary);
}
.nav-menu { display: flex; align-items: center; gap: 36px; }
.nav-menu li { position: relative; }
.nav-menu li a {
  font-size: 15px; font-weight: 700; color: var(--text-primary);
  display: flex; align-items: center; gap: 6px;
  text-decoration: none;
  transition: var(--transition); padding: 5px 0;
}
.nav-menu li a:hover { color: var(--accent); }
.nav-menu li a svg { width: 12px; height: 12px; margin-top: 2px; }

/* ===== DROPDOWN MENU ===== */
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 20px); left: 0; min-width: 260px;
  background: var(--bg-secondary); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); padding: 15px 0;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.3s ease; z-index: 1050;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.dropdown-menu li { display: block; width: 100%; position: static; }
.dropdown-menu li a {
  display: flex !important; align-items: center; justify-content: flex-start;
  padding: 12px 25px !important; font-size: 14px !important; font-weight: 500 !important;
  color: var(--text-secondary) !important; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.02);
}
.dropdown-menu li:last-child a { border-bottom: none; }
.dropdown-menu li a:hover { color: var(--accent) !important; background: rgba(0, 185, 244, 0.05); padding-left: 30px !important; }
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0); top: 100%;
}

/* ===== INNER PAGE HERO ===== */
.inner-page-hero {
  padding: 180px 0 80px; position: relative; background: var(--bg-primary);
  text-align: center; border-bottom: 1px solid var(--border-color); overflow: hidden;
}
.inner-page-hero::before {
  content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; background: radial-gradient(circle, rgba(0,185,244,0.15) 0%, transparent 60%);
  z-index: 0; pointer-events: none;
}
.inner-page-hero .container { position: relative; z-index: 1; }
.inner-page-title {
  font-family: var(--font-heading); font-size: clamp(40px, 5vw, 64px);
  color: #fff; margin-bottom: 15px; font-weight: 700;
}
.breadcrumb {
  display: inline-flex; gap: 10px; font-size: 14px; color: var(--text-secondary); font-family: var(--font-body);
}
.breadcrumb a { color: var(--text-secondary); text-decoration: none; transition: 0.3s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--border-color-light); }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-social { display: flex; align-items: center; gap: 14px; }
.nav-social a {
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 16px;
  transition: var(--transition);
}
.nav-social a:hover { color: #fff; }
.nav-hamburger {
  width: 44px; height: 44px; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center; gap: 3px;
  cursor: pointer; padding: 11px; background: #1a1a1a;
  border-radius: var(--radius-full); transition: var(--transition);
}
.nav-hamburger span {
  width: 4px; height: 4px; background: #fff;
  border-radius: 50%; transition: var(--transition);
}
.nav-hamburger:hover { background: var(--accent); }
.nav-hamburger:hover span { background: var(--bg-primary); }

/* Mobile menu */
.mobile-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.8);
  z-index: 9999; opacity: 0; visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.mobile-menu-overlay.open, .mobile-menu-overlay.active { opacity: 1 !important; visibility: visible !important; }
.mobile-menu {
  position: fixed; top: 0; right: -100%; width: 320px;
  height: 100vh; background: var(--bg-secondary); z-index: 10001;
  padding: 80px 30px 30px; transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}
.mobile-menu.open, .mobile-menu.active { right: 0 !important; }
.mobile-menu-close {
  position: absolute; top: 20px; right: 20px; width: 40px; height: 40px;
  background: none; border: 1px solid var(--border-color); border-radius: 50%;
  color: var(--text-primary); font-size: 20px; display: flex;
  align-items: center; justify-content: center; cursor: pointer;
}
.mobile-menu ul { display: flex; flex-direction: column; gap: 0; }
.mobile-menu ul li a {
  display: block; padding: 16px 0; font-size: 16px; color: var(--text-primary);
  border-bottom: 1px solid var(--border-color); font-family: var(--font-heading);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 140px 0 80px;
}
.hero-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.hero-bg video {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(13, 13, 13, 0.4);
}
.hero .container { position: relative; z-index: 1; }
.hero-content { text-align: left; }
.hero-title {
  font-size: clamp(70px, 9.5vw, 140px); font-weight: 400;
  line-height: 1.05; margin-bottom: 50px;
  font-family: var(--font-heading); color: var(--text-primary);
}
.hero-title .hero-animated-text {
  display: block; color: var(--accent); font-weight: 700;
}
.hero-animated-text .fade-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  padding-right: 2px; /* Slight spacing for font rendering safely */
  transition: opacity 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-animated-text .fade-char.in {
  opacity: 1;
  transform: translateY(0);
}
.hero-animated-text .fade-char.out {
  opacity: 0;
  transform: translateY(-20px);
}

.hero-bottom { display: flex; align-items: center; gap: 60px; margin-top: 10px; }
.hero-play-area { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.hero-play-btn {
  width: 70px; height: 70px; background: var(--accent);
  border-radius: var(--radius-full); display: flex;
  align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition); flex-shrink: 0;
}
.hero-play-btn:hover { transform: scale(1.1); }
.hero-play-btn svg { width: 24px; height: 24px; fill: var(--bg-primary); margin-left: 3px; }
.hero-circular-text {
  width: 100px; height: 100px; position: relative; flex-shrink: 0;
}
.hero-circular-text svg { animation: spin 12s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }
.hero-circular-text .arrow-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 30px; height: 30px; display: flex;
  align-items: center; justify-content: center;
}
.hero-desc {
  font-size: 16px; color: var(--text-secondary); line-height: 1.8;
  max-width: 520px;
}

/* ===== MARQUEE ===== */
.marquee-section {
  background: var(--accent); padding: 30px 0; overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex; gap: 0; animation: marqueeScroll 25s linear infinite;
  width: max-content;
}
.marquee-track .marquee-item {
  display: flex; align-items: center; gap: 30px;
  white-space: nowrap; padding: 0 30px;
  font-size: 32px; font-weight: 600; color: var(--bg-primary);
  font-family: var(--font-heading);
}
.marquee-track .marquee-item .separator { font-size: 36px; }
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== ABOUT SECTION ===== */
.about-section { padding: var(--section-padding); position: relative; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start;
}
.about-left { position: relative; }
.btn-circle-action {
  width: 50px; height: 50px; flex-shrink: 0;
  background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.btn-circle-action:hover {
  transform: scale(1.05); filter: brightness(1.1);
}

.about-right {
  display: flex; flex-direction: column; gap: 50px;
  position: relative; padding-left: 40px;
}
/* The thin left vertical line */
.about-right::before {
  content: ''; position: absolute; left: 0; top: 10px; bottom: 0;
  width: 1px; background: rgba(255,255,255,0.05);
}

.about-timeline-item { position: relative; }
.about-timeline-dot {
  position: absolute; left: -44px; top: 40px; /* Aligned vertically with the title */
  width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid var(--accent);
  background: transparent;
  z-index: 2;
  transform: translateY(-50%);
}
.about-timeline-dot::before {
  content: ''; position: absolute; left:-4.5px; top:-4.5px; right:-4.5px; bottom:-4.5px;
  background: var(--bg-primary); z-index:-1; border-radius:50%;
}

.about-icon {
  width: 24px; height: 24px; margin-bottom: 24px;
}
.about-icon svg { width: 100%; height: 100%; stroke: var(--accent); }

.about-info-content h4 {
  font-size: 20px; font-weight: 700; margin-bottom: 12px;
  font-family: var(--font-heading); color: #FFF;
}
.about-info-content p {
  font-size: 14px; color: #A0A0A0; line-height: 1.8;
  max-width: 90%;
}

@media (max-width: 991px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-right { padding-left: 30px; }
  .about-timeline-dot { left: -34.5px; }
}

/* ===== SERVICES SECTION ===== */
.services-section { padding: var(--section-padding); }
.services-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: end; margin-bottom: 60px;
}
.services-header-right {
  display: flex; flex-direction: column; gap: 20px; align-items: flex-start;
}
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 40px; }
.service-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); padding: 40px 30px;
  transition: var(--transition); position: relative;
}
.service-card:hover { border-color: var(--accent); transform: translateY(-5px); }
.service-card-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 50px;
}
.service-card-icon {
  width: 60px; height: 60px; color: var(--accent);
}
.service-card-icon svg { width: 52px; height: 52px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.service-card-arrow {
  color: var(--accent); font-size: 20px; transition: var(--transition);
}
.service-card:hover .service-card-arrow { transform: translate(3px, -3px); }
.service-card h3 {
  font-size: 22px; font-weight: 700; margin-bottom: 16px;
  font-family: var(--font-heading);
}
.service-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }
.services-cta {
  text-align: center; font-size: 16px; color: var(--text-secondary);
  padding-top: 20px;
}
.services-cta a {
  color: var(--text-primary); text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}
.services-cta a:hover { color: var(--accent); }

/* ===== CUSTOM CURSOR TRAIL ===== */
@media (pointer: fine) {
  body, a, button, input, select, textarea, .interactive { cursor: none; }
}

.cursor-dot {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.15s, height 0.15s, background 0.15s;
}

.cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.15s, height 0.15s, border-color 0.15s;
}

.cursor-trail {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99997;
  opacity: 0;
  transform: translate(-50%, -50%);
}

/* ===== OUR TEAM PAGE ===== */
.team-row-top {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 30px;
}
.team-row-bottom {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
  width: 75%; margin: 0 auto;
}

.team-card {
  position: relative; text-align: left;
}
.tc-img-wrapper {
  position: relative; width: 100%; aspect-ratio: 3 / 4;
  background-size: cover; background-position: center top; background-color: #1a1a1a;
  border-radius: var(--radius-md); overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 0 0 rgba(0, 185, 244, 0); border: 1px solid transparent;
}
.team-card:hover .tc-img-wrapper {
  box-shadow: 0 0 25px rgba(0, 185, 244, 0.15); border: 1px solid rgba(0, 185, 244, 0.4);
}

.tc-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(13, 13, 13, 0.85); backdrop-filter: blur(5px);
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 30px; opacity: 0; transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.team-card:hover .tc-overlay {
  opacity: 1; transform: translateY(0);
}

.tc-details { color: #fff; width: 100%; }
.tc-details ul { list-style: none; padding-left: 0; margin-bottom: 20px; }
.tc-details li {
  position: relative; padding-left: 15px; font-size: 13px;
  line-height: 1.5; margin-bottom: 8px; color: rgba(255,255,255,0.85); font-family: var(--font-body);
}
.tc-details li::before {
  content: ''; position: absolute; left: 0; top: 6px;
  width: 5px; height: 5px; background: var(--accent); border-radius: 50%;
}
.tc-linkedin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; background: var(--accent); color: var(--bg-primary);
  border-radius: 50%; transition: all 0.3s ease;
}
.tc-linkedin svg { width: 18px; height: 18px; }
.tc-linkedin:hover { transform: scale(1.1); background: #fff; color: var(--accent); }

.tc-info { padding: 15px 5px 0; }
.tc-name { font-family: var(--font-heading); font-size: 22px; margin-bottom: 4px; color: var(--text-primary); font-weight: 700; }
.tc-position { font-family: var(--font-body); font-size: 14px; color: var(--accent); font-weight: 500; }

@media (max-width: 1024px) {
  .team-row-top { grid-template-columns: repeat(2, 1fr); }
  .team-row-bottom { grid-template-columns: repeat(2, 1fr); width: 100%; }
}
@media (max-width: 600px) {
  .team-row-top, .team-row-bottom { grid-template-columns: 1fr; }
}



/* Marquee Ticker */
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-content { width: 200%; }

/* ===== 9-DOTS TOGGLE & SIDE PANEL ===== */
.nine-dots-toggle {
  width: 24px;
  height: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-gap: 3px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 20px;
  position: relative;
  z-index: 1001;
  transition: transform 0.3s ease;
}
.nine-dots-toggle span {
  display: block;
  background-color: var(--text-primary);
  border-radius: 50%;
  width: 100%;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nine-dots-toggle:hover span {
  background-color: var(--accent);
}
.nine-dots-toggle.open {
  transform: rotate(45deg);
  grid-gap: 1px;
}
.nine-dots-toggle.open span { background-color: var(--accent); }
.nine-dots-toggle.open span:nth-child(1),
.nine-dots-toggle.open span:nth-child(3),
.nine-dots-toggle.open span:nth-child(7),
.nine-dots-toggle.open span:nth-child(9) { transform: scale(1.2); border-radius: 2px;}
.nine-dots-toggle.open span:nth-child(2),
.nine-dots-toggle.open span:nth-child(4),
.nine-dots-toggle.open span:nth-child(6),
.nine-dots-toggle.open span:nth-child(8) { opacity: 0; transform: scale(0); }

.side-panel {
  position: fixed;
  top: 0;
  right: -450px;
  width: 400px;
  max-width: 100%;
  height: 100vh;
  background-color: #0b0b0b;
  z-index: 2000;
  padding: 40px;
  transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(255,255,255,0.05);
  box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}
.side-panel.open { right: 0; }
.side-panel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(4px);
}
.side-panel-overlay.open { opacity: 1; visibility: visible; }
.side-panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 50px; }
.side-panel-close { background: none; border: none; color: #fff; font-size: 36px; cursor: pointer; transition: color 0.3s; line-height: 1; }
.side-panel-close:hover { color: var(--accent); }
@media (max-width: 480px) { .side-panel { width: 100%; padding: 30px 20px; } }




/* ==============================================================
   MOBILE OPTIMIZATION PATCH (Global Site-Wide Override)
   ============================================================== */
@media (max-width: 991px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative;
  }
  /* Force all wide content to not break layout */
  *, *::before, *::after {
    max-width: 100vw;
  }
  .global-orb, .global-orb-1, .global-orb-2, .global-cursor-glow {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px !important;
    overflow-x: hidden;
  }
  
  /* ===== NAVBAR ===== */
  #navbar, .navbar {
    padding: 8px 0;
    height: 65px;
  }
  .nav-logo img {
    max-width: 130px;
  }
  .nav-menu, .nav-social {
    display: none !important;
  }
  .nine-dots-toggle {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block !important;
    z-index: 10002 !important;
  }
  .mobile-menu-overlay {
    z-index: 10000 !important;
  }
  .mobile-menu {
    z-index: 10001 !important;
    width: min(300px, 85vw) !important;
  }
  .mobile-menu-close {
    font-size: 32px !important;
    right: 20px !important;
    top: 15px !important;
  }

  /* ===== HERO SECTION ===== */
  .hero {
    padding: 100px 0 50px !important;
    min-height: auto !important;
  }
  .inner-page-hero {
    padding: 120px 0 50px !important;
  }
  
  /* Typography: prevent overflow on all hero titles */
  h1, .hero-title, .hero h1, .contact-hero h1,
  .inner-page-title, .section-heading, .cta-big-text {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  h1, .hero-title, .hero h1, .contact-hero h1 {
    font-size: clamp(32px, 8vw, 42px) !important;
    line-height: 1.15 !important;
  }
  .inner-page-title {
    font-size: clamp(28px, 7vw, 36px) !important;
  }
  .section-heading {
    font-size: clamp(26px, 6vw, 36px) !important;
  }
  .hero-desc, .contact-hero-desc, .section-desc {
    font-size: 15px !important;
    max-width: 100% !important;
  }

  /* Hero bottom area */
  .hero-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 25px !important;
  }
  .hero-play-area {
    flex-direction: row !important;
    gap: 15px !important;
  }
  .hero-circular-text {
    width: 70px !important;
    height: 70px !important;
  }
  .hero-play-btn {
    width: 55px !important;
    height: 55px !important;
  }

  /* ===== SMM PAGE LETTER-SPACING FIX ===== */
  [style*="letter-spacing: 15px"],
  [style*="letter-spacing:15px"],
  [style*="letter-spacing: 20px"],
  [style*="letter-spacing:20px"] {
    letter-spacing: 4px !important;
    font-size: clamp(28px, 7vw, 36px) !important;
  }
  .smm-hero-title, .smm-hero-title span {
    letter-spacing: 3px !important;
    font-size: clamp(28px, 7vw, 36px) !important;
  }

  /* ===== BUTTON STACKING ===== */
  .btn-group, .hero-btns, .button-row,
  div[style*="display: flex"][style*="gap"] {
    flex-wrap: wrap !important;
  }
  .btn-pill {
    min-width: 0 !important;
  }

  /* ===== GRIDS ===== */
  .services-grid, .process-grid, .portfolio-grid, .blog-grid,
  .benefits-grid, .pricing-bar-inner, .social-grid,
  .contact-info-grid, .footer-grid {
    grid-template-columns: 1fr !important;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* Catch-all: force ALL inline grid layouts to single column on mobile */
  [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  /* Cap inline gap values */
  [style*="gap: 80px"], [style*="gap:80px"],
  [style*="gap: 60px"], [style*="gap:60px"] {
    gap: 30px !important;
  }

  /* ===== FOOTER ===== */
  .newsletter-form {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .newsletter-btn {
    width: 100% !important;
  }
  .footer-socials {
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
  }

  /* ===== CTA SECTION ===== */
  .cta-big-text {
    font-size: clamp(36px, 9vw, 60px) !important;
    letter-spacing: -1px !important;
  }
  .cta-big-text .cta-circle {
    width: 50px !important;
    height: 50px !important;
  }

  /* ===== CONTACT PAGE ===== */
  .contact-form-layout {
    grid-template-columns: 1fr !important;
  }
  .contact-form-card {
    padding: 30px 20px !important;
  }
  .form-row {
    grid-template-columns: 1fr !important;
  }
  .contact-cta-inner {
    padding: 50px 25px !important;
  }
  .contact-hero {
    padding: 130px 0 50px !important;
  }

  /* ===== SERVICE PAGE HERO LAYOUTS ===== */
  .fs-hero .container, .seo-hero .container, .ccp-hero .container,
  .bi-hero .container, .am-hero .container, .ec-hero .container {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  /* ===== SIDE PANEL ===== */
  .side-panel {
    width: 100vw !important;
    right: -110vw !important;
    padding: 30px 20px !important;
  }
  .side-panel.open {
    right: 0 !important;
  }

  /* ===== MARQUEE ===== */
  .marquee-track .marquee-item {
    font-size: 20px !important;
    padding: 0 15px !important;
  }

  /* ===== TEAM PAGE ===== */
  .team-row-top, .team-row-bottom {
    grid-template-columns: repeat(2, 1fr) !important;
    width: 100% !important;
  }

  /* ===== TESTIMONIALS ===== */
  .testimonials-content {
    grid-template-columns: 1fr !important;
  }
  .testimonial-quote {
    font-size: 18px !important;
  }
  .testimonial-nav {
    position: relative !important;
    margin-top: 20px !important;
    justify-content: center !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px !important;
  }
  h1, .hero-title, .hero h1 {
    font-size: clamp(26px, 7vw, 32px) !important;
  }
  .contact-hero-desc, .hero-desc {
    font-size: 14px !important;
  }
  .team-row-top, .team-row-bottom {
    grid-template-columns: 1fr !important;
  }
  .cta-big-text {
    font-size: clamp(28px, 8vw, 44px) !important;
  }
  .contact-hero h1 {
    font-size: clamp(26px, 7vw, 32px) !important;
  }
  .btn-pill .btn-text {
    padding: 12px 20px !important;
    font-size: 14px !important;
  }
  .btn-pill .btn-icon {
    width: 40px !important;
    height: 40px !important;
  }
}
