/* ═══════════════════════════════════════════════════════════
   BRO SUCCESS GROUP — Landing Page Styles
   Mobile-First · Responsive · iOS & Android compatible
   Palette: Navy #1B3A8C | Blue #0099CC | White #FFF
   ═══════════════════════════════════════════════════════════ */

:root {
  --navy:      #1B3A8C;
  --navy-dark: #0D1F4E;
  --blue:      #0099CC;
  --blue-light:#33BBEE;
  --gold:      #D4A017;
  --white:     #FFFFFF;
  --gray-50:   #F8FAFC;
  --gray-100:  #EFF3FA;
  --gray-200:  #DDE4F0;
  --gray-400:  #94A3B8;
  --gray-600:  #475569;
  --gray-800:  #1E293B;
  --black:     #0A0F1E;

  --font:      'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(27,58,140,.08);
  --shadow-md: 0 8px 32px rgba(27,58,140,.12);
  --shadow-lg: 0 20px 60px rgba(27,58,140,.18);
  --shadow-xl: 0 40px 100px rgba(27,58,140,.25);

  --transition: .35s cubic-bezier(.4,0,.2,1);
  --nav-h:     70px;
}

/* ════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* Prevent iOS font size inflation */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
  cursor: none;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { cursor: none; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── CUSTOM CURSOR (desktop only) ── */
#cursor {
  position: fixed; top: 0; left: 0;
  width: 12px; height: 12px;
  background: var(--blue); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, background .2s;
}
#cursor-follower {
  position: fixed; top: 0; left: 0;
  width: 40px; height: 40px;
  border: 2px solid var(--navy); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform .12s ease, width .2s, height .2s;
  opacity: .6;
}
body:has(a:hover) #cursor,
body:has(button:hover) #cursor     { width: 20px; height: 20px; background: var(--gold); }
body:has(a:hover) #cursor-follower,
body:has(button:hover) #cursor-follower { width: 56px; height: 56px; opacity: .3; }

/* ════════════════════════════════════════
   LOADER
════════════════════════════════════════ */
#loader {
  position: fixed; inset: 0;
  background: var(--navy-dark);
  display: flex; align-items: center; justify-content: center;
  z-index: 10000;
  transition: opacity .6s ease, visibility .6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner  { text-align: center; padding: 0 24px; }
.loader-logo {
  font-family: var(--font);
  font-size: clamp(2.5rem, 12vw, 6rem);
  font-weight: 900; color: var(--white); letter-spacing: .12em;
  animation: logoGlow 1.2s ease-in-out infinite alternate;
}
@keyframes logoGlow {
  from { text-shadow: 0 0 20px rgba(0,153,204,.4); }
  to   { text-shadow: 0 0 60px rgba(0,153,204,.9), 0 0 100px rgba(27,58,140,.6); }
}
.loader-bar {
  margin-top: 24px; width: min(200px, 70vw); height: 3px;
  background: rgba(255,255,255,.15); border-radius: 99px; overflow: hidden;
}
.loader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  border-radius: 99px;
  animation: barFill 1.8s ease forwards;
}
@keyframes barFill { from { width: 0; } to { width: 100%; } }

/* ════════════════════════════════════════
   LAYOUT
════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 80px 0; }

/* ── SECTION LABELS & TITLES ── */
.section-label {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
}
.section-title {
  font-family: var(--font);
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 800; color: var(--navy-dark);
  line-height: 1.2; margin-bottom: 16px;
}
.section-title .highlight {
  background: linear-gradient(135deg, var(--blue), var(--navy));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-subtitle {
  font-size: clamp(.9rem, 2.2vw, 1.05rem);
  color: var(--gray-600); max-width: 600px; margin: 0 auto;
  line-height: 1.7;
}
.section-header { text-align: center; margin-bottom: 48px; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 50px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white); font-family: var(--font); font-weight: 700;
  font-size: .9rem; letter-spacing: .04em;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(0,153,204,.35);
  /* Touch-friendly */
  min-height: 48px; touch-action: manipulation;
}
.btn-primary:hover, .btn-primary:focus {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,153,204,.5);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 28px; border-radius: 50px;
  border: 2px solid rgba(255,255,255,.6);
  color: var(--white); font-family: var(--font); font-weight: 700;
  font-size: .9rem;
  transition: var(--transition);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  min-height: 48px; touch-action: manipulation;
}
.btn-outline:hover, .btn-outline:focus {
  background: rgba(255,255,255,.15); border-color: var(--white);
}
.btn-full { width: 100%; justify-content: center; }

/* ════════════════════════════════════════
   NAVBAR
════════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 1000;
  transition: var(--transition);
  padding: 0 24px;
}
#navbar.scrolled {
  background: rgba(10,15,30,.96);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 4px 30px rgba(0,0,0,.3);
}
.nav-container {
  max-width: 1280px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; gap: 32px;
}
.nav-logo-img {
  height: 44px; width: auto;
  filter: brightness(0) invert(1);
  transition: var(--transition);
  flex-shrink: 0;
}
#navbar.scrolled .nav-logo-img { filter: none; }

/* Desktop nav links */
.nav-links {
  display: flex; align-items: center; gap: 28px; margin-left: auto;
}
.nav-link {
  font-family: var(--font); font-size: .82rem; font-weight: 600;
  color: rgba(255,255,255,.85); letter-spacing: .05em;
  position: relative; transition: var(--transition);
  padding: 4px 0;
  white-space: nowrap;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--blue); border-radius: 99px;
  transform: scaleX(0); transition: var(--transition);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex; align-items: center;
  padding: 10px 22px; border-radius: 50px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white); font-family: var(--font); font-weight: 700;
  font-size: .82rem;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0,153,204,.4);
  white-space: nowrap; flex-shrink: 0;
  min-height: 44px; touch-action: manipulation;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,153,204,.5); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; padding: 8px; margin-left: auto;
  min-width: 44px; min-height: 44px; cursor: pointer;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

/* Mobile nav li CTA - hidden on desktop */
.nav-mobile-cta { display: none; }

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100); /* iOS Safari fix */
  min-height: 100svh; /* modern browsers */
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, var(--navy-dark) 0%, #0D2D6B 50%, var(--navy) 100%);
  overflow: hidden;
  padding-top: var(--nav-h);
}
#particles-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(0,153,204,.15) 0%, transparent 60%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 40px 20px;
  width: 100%; max-width: 900px;
}
.hero-badge {
  display: inline-block;
  padding: 7px 18px; border-radius: 50px;
  background: rgba(0,153,204,.15);
  border: 1px solid rgba(0,153,204,.3);
  color: var(--blue-light);
  font-size: clamp(.65rem, 2vw, .8rem);
  font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 24px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.hero-title {
  font-family: var(--font);
  font-size: clamp(2.4rem, 10vw, 7.5rem);
  font-weight: 900; line-height: 1;
  letter-spacing: -.02em; margin-bottom: 20px;
}
.hero-title-bsg     { color: var(--white); }
.hero-title-success {
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title-group   { color: rgba(255,255,255,.7); }

.hero-tagline {
  font-family: var(--font);
  font-size: clamp(.8rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,.7); font-weight: 300;
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-desc {
  font-size: clamp(.9rem, 2vw, 1.1rem);
  color: rgba(255,255,255,.65);
  line-height: 1.8; margin-bottom: 40px;
}
.hero-desc strong { color: var(--white); }
.hero-desc .br-mobile { display: none; }

.hero-actions {
  display: flex; gap: 14px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 48px;
}
.hero-scroll-hint {
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  color: rgba(255,255,255,.4);
  font-size: .72rem; letter-spacing: .1em;
  animation: bounceY 2s ease-in-out infinite;
}
.scroll-mouse {
  width: 22px; height: 34px;
  border: 2px solid rgba(255,255,255,.3); border-radius: 11px;
  display: flex; justify-content: center; padding-top: 5px;
}
.scroll-wheel {
  width: 4px; height: 7px;
  background: var(--blue); border-radius: 2px;
  animation: scrollDown 1.5s ease infinite;
}
@keyframes scrollDown {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}
@keyframes bounceY {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}

/* Floating shapes */
.hero-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape       { position: absolute; border-radius: 50%; opacity: .06; }
.shape-1 { width: 600px; height: 600px; background: var(--blue); top: -200px; right: -200px; animation: shapeFloat 8s ease-in-out infinite; }
.shape-2 { width: 400px; height: 400px; background: var(--navy); bottom: -150px; left: -150px; animation: shapeFloat 10s ease-in-out infinite reverse; }
.shape-3 { width: 200px; height: 200px; background: var(--blue-light); top: 50%; left: 10%; animation: shapeFloat 6s ease-in-out infinite 1s; }
@keyframes shapeFloat {
  0%,100% { transform: translateY(0) scale(1); }
  50%     { transform: translateY(-30px) scale(1.05); }
}

/* ════════════════════════════════════════
   TICKER
════════════════════════════════════════ */
.ticker-wrap {
  background: linear-gradient(135deg, var(--blue), var(--navy));
  overflow: hidden; white-space: nowrap; padding: 14px 0;
}
.ticker-track {
  display: inline-block;
  animation: ticker 30s linear infinite;
  font-family: var(--font); font-size: clamp(.7rem, 2vw, .8rem);
  font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.9);
}
.ticker-track span { margin: 0 28px; }
.ticker-track .sep { color: rgba(255,255,255,.4); margin: 0 8px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }

/* ════════════════════════════════════════
   ABOUT
════════════════════════════════════════ */
#about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.about-visual    { position: relative; min-height: 440px; }
.about-img-wrap  { position: relative; height: 100%; }
.about-hexagons  { position: absolute; inset: 0; pointer-events: none; }
.hex {
  position: absolute;
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  border-radius: 4px;
}
.hex-1 { width: 260px; height: 300px; background: linear-gradient(135deg, var(--gray-100), var(--gray-200)); top: 40px; left: 40px; }
.hex-2 { width: 180px; height: 208px; background: linear-gradient(135deg, var(--blue), var(--navy)); top: 20px; left: 160px; opacity: .15; }
.hex-3 { width: 120px; height: 138px; background: var(--blue); bottom: 60px; right: 40px; opacity: .1; }
.about-logo-large {
  position: relative; z-index: 2;
  background: var(--white); border-radius: var(--radius-xl);
  padding: 36px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  margin: 40px;
}
.about-logo-large img { max-width: 260px; }
.about-card-float {
  position: absolute; z-index: 3; background: var(--white);
  border-radius: var(--radius); padding: 11px 16px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font); font-size: .78rem; font-weight: 700;
  color: var(--navy-dark);
  animation: cardFloat 4s ease-in-out infinite;
  white-space: nowrap;
}
.card-float-1 { top: 20px; right: 0; animation-delay: 0s; }
.card-float-2 { bottom: 80px; left: 0; animation-delay: 1.5s; }
@keyframes cardFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-12px); }
}

/* About mobile-only simple logo */
.about-logo-mobile {
  display: none; /* shown only on mobile */
  justify-content: center; margin-bottom: 32px;
}
.about-logo-mobile img {
  max-width: 260px; width: 100%;
  padding: 28px; background: var(--white);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
}

.about-p { font-size: .97rem; color: var(--gray-600); line-height: 1.85; margin-bottom: 14px; }
.about-values { display: flex; flex-direction: column; gap: 14px; margin: 28px 0; }
.value-item   { display: flex; gap: 14px; align-items: flex-start; }
.value-icon   { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.value-item strong { font-family: var(--font); font-weight: 700; color: var(--navy-dark); display: block; margin-bottom: 3px; }
.value-item p      { font-size: .88rem; color: var(--gray-600); }

/* ════════════════════════════════════════
   SERVICES
════════════════════════════════════════ */
#services { background: var(--gray-50); position: relative; overflow: hidden; }
.services-bg-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(27,58,140,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Desktop: flip cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  perspective: 1200px; height: 340px;
  cursor: pointer; touch-action: manipulation;
}
.service-card-inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: .65s cubic-bezier(.4,0,.2,1);
}
.service-card:hover .service-card-inner,
.service-card.flipped .service-card-inner { transform: rotateY(180deg); }

.service-front, .service-back {
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  overflow: hidden;
}
.service-front {
  background: var(--white); padding: 32px 24px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
  display: flex; flex-direction: column; gap: 10px;
  transition: var(--transition);
}
.service-card:hover .service-front { box-shadow: var(--shadow-lg); }
.service-icon-wrap {
  width: 60px; height: 60px; border-radius: 14px;
  background: rgba(0,153,204,.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service-icon-wrap svg { width: 32px; height: 32px; color: var(--c, #0099CC); }
.service-number {
  font-family: var(--font); font-size: .72rem; font-weight: 800;
  letter-spacing: .2em; color: var(--gray-400);
}
.service-front h3 {
  font-family: var(--font); font-size: 1.05rem; font-weight: 800;
  color: var(--navy-dark); line-height: 1.3;
}
.service-front p {
  font-size: .88rem; color: var(--gray-600);
  line-height: 1.7; flex: 1;
}
.service-hover-hint {
  font-size: .78rem; font-weight: 700; color: var(--blue);
  letter-spacing: .05em; opacity: 0;
  transition: var(--transition); transform: translateY(6px);
}
.service-card:hover .service-hover-hint { opacity: 1; transform: translateY(0); }

.service-back {
  background: linear-gradient(145deg, var(--navy-dark), var(--navy));
  transform: rotateY(180deg);
  padding: 32px 24px;
  display: flex; flex-direction: column; gap: 16px;
  border: 1px solid rgba(255,255,255,.08);
}
.service-back::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(0,153,204,.2), transparent 60%);
}
.service-back h3 {
  font-family: var(--font); font-size: 1rem; font-weight: 800;
  color: var(--white); position: relative;
  padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.service-back ul {
  display: flex; flex-direction: column; gap: 9px; flex: 1; position: relative;
}
.service-back ul li {
  font-size: .85rem; color: rgba(255,255,255,.8);
  display: flex; align-items: center; gap: 10px;
}
.service-back ul li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); flex-shrink: 0;
}
.service-back-btn {
  display: inline-block; text-align: center;
  padding: 11px 22px; border-radius: 50px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: var(--white); font-family: var(--font); font-weight: 700;
  font-size: .83rem; position: relative;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0,153,204,.4);
  min-height: 44px; touch-action: manipulation;
}
.service-back-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,153,204,.6); }

/* ════════════════════════════════════════
   WHY US
════════════════════════════════════════ */
#why-us  { background: var(--white); }
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.why-card {
  padding: 32px 24px; border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200); background: var(--white);
  transition: var(--transition); position: relative; overflow: hidden;
}
.why-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  opacity: 0; transition: var(--transition);
}
.why-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.why-card:hover::before { opacity: 1; }
.why-card:hover .why-icon,
.why-card:hover h3,
.why-card:hover p  { color: var(--white); position: relative; z-index: 1; }
.why-card:hover p  { color: rgba(255,255,255,.8); }
.why-icon  { font-size: 2.2rem; margin-bottom: 16px; position: relative; z-index: 1; transition: var(--transition); }
.why-card h3 { font-family: var(--font); font-weight: 800; font-size: 1rem; color: var(--navy-dark); margin-bottom: 10px; position: relative; z-index: 1; transition: var(--transition); }
.why-card p  { font-size: .88rem; color: var(--gray-600); line-height: 1.7; position: relative; z-index: 1; transition: var(--transition); }

/* ════════════════════════════════════════
   STATS
════════════════════════════════════════ */
#stats { position: relative; padding: 72px 0; overflow: hidden; }
.stats-bg {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 100%);
}
.stats-bg::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,153,204,.2) 0%, transparent 70%);
}
.stats-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; text-align: center;
}
.stat-item { padding: 32px 16px; }
.stat-number-wrap { display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.stat-number {
  font-family: var(--font); font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--white), var(--blue-light));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; line-height: 1;
}
.stat-plus {
  font-family: var(--font); font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 900; color: var(--blue);
}
.stat-label {
  font-family: var(--font); font-size: clamp(.7rem, 1.8vw, .82rem);
  font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.6); margin-top: 10px;
}

/* ════════════════════════════════════════
   CONTACT
════════════════════════════════════════ */
#contact { background: var(--gray-50); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 48px; align-items: start;
}
.contact-info-card {
  background: linear-gradient(145deg, var(--navy-dark), var(--navy));
  border-radius: var(--radius-xl); padding: 40px 32px;
  color: var(--white); box-shadow: var(--shadow-xl);
  position: relative; overflow: hidden;
}
.contact-info-card::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(0,153,204,.12);
}
.contact-detail {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08);
  position: relative; z-index: 1;
}
.contact-detail:last-of-type { border-bottom: none; }
.contact-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.contact-detail strong {
  font-family: var(--font); font-weight: 700; font-size: .8rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--blue-light);
  display: block; margin-bottom: 4px;
}
.contact-detail p,
.contact-detail a { font-size: .92rem; color: rgba(255,255,255,.8); }
.contact-detail a:hover { color: var(--blue-light); }
.contact-socials { display: flex; gap: 10px; margin-top: 24px; position: relative; z-index: 1; }
.social-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); font-weight: 700; font-size: .88rem;
  transition: var(--transition); touch-action: manipulation;
}
.social-btn:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* Form */
.contact-form {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 40px 36px; box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-group label {
  font-family: var(--font); font-size: .78rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--gray-600);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px; border-radius: var(--radius);
  border: 1.5px solid var(--gray-200);
  font-size: 1rem; /* 1rem minimum prevents iOS zoom */
  color: var(--gray-800); background: var(--gray-50);
  transition: var(--transition); outline: none;
  -webkit-appearance: none; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue); background: var(--white);
  box-shadow: 0 0 0 4px rgba(0,153,204,.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  background-size: 16px;
}
.form-success {
  display: none; margin-top: 14px; padding: 14px 18px;
  border-radius: var(--radius); background: rgba(46,204,113,.1);
  border: 1px solid rgba(46,204,113,.3); color: #27AE60;
  font-weight: 600; text-align: center;
}
.form-success.show { display: block; animation: fadeIn .4s ease; }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
#footer { background: var(--black); }
.footer-top { padding: 72px 0 40px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand p {
  font-size: .88rem; color: rgba(255,255,255,.5); line-height: 1.8; margin: 16px 0;
}
.footer-logo {
  height: 52px; width: auto;
  filter: brightness(0) invert(1);
}
.footer-socials { display: flex; gap: 10px; margin-top: 16px; }
.footer-links h4,
.footer-contact-info h4 {
  font-family: var(--font); font-size: .82rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--white); margin-bottom: 18px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: .88rem; color: rgba(255,255,255,.5); transition: var(--transition); }
.footer-links a:hover { color: var(--blue-light); }
.footer-contact-info p { font-size: .88rem; color: rgba(255,255,255,.5); margin-bottom: 9px; }
.footer-contact-info a { color: rgba(255,255,255,.5); transition: var(--transition); }
.footer-contact-info a:hover { color: var(--blue-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.35); }

/* ════════════════════════════════════════
   BACK TO TOP
════════════════════════════════════════ */
#backToTop {
  position: fixed; bottom: 24px; right: 20px; z-index: 999;
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white); font-size: 1.1rem; font-weight: 700;
  box-shadow: var(--shadow-md); transition: var(--transition);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  touch-action: manipulation;
}
#backToTop.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover   { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ════════════════════════════════════════
   SCROLL ANIMATIONS
════════════════════════════════════════ */
.reveal, .reveal-up, .reveal-card {
  opacity: 0; transform: translateY(36px);
  transition: opacity .75s ease, transform .75s ease;
}
.reveal-card { transform: translateY(36px) scale(.97); }
.reveal.visible, .reveal-up.visible, .reveal-card.visible {
  opacity: 1; transform: translateY(0) scale(1);
}
.reveal-up { transform: translateY(56px); }

/* ════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════
   ████  RESPONSIVE BREAKPOINTS  ████
   xl  < 1199px  |  lg < 1023px  |  md < 767px
   sm  <  639px  |  xs <  479px
   ═══════════════════════════════════════════════════════════ */

/* ── TABLETS LANDSCAPE / SMALL DESKTOP (< 1100px) ── */
@media (max-width: 1099px) {
  :root { --nav-h: 68px; }
  .container { padding: 0 24px; }

  /* About: stack vertically */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { display: none; }                   /* hide complex visual */
  .about-logo-mobile { display: flex; }              /* show simple logo */

  /* Services: 2 columns */
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid .service-card:last-child {
    grid-column: 1 / -1; max-width: 480px; margin: 0 auto;
  }

  /* Footer: 2x2 */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ── TABLETS PORTRAIT (< 768px) ── */
@media (max-width: 767px) {
  :root { --nav-h: 64px; }
  section { padding: 64px 0; }
  .container { padding: 0 18px; }
  .section-header { margin-bottom: 36px; }

  /* ── Cursor disabled ── */
  #cursor, #cursor-follower { display: none; }
  body   { cursor: auto; }
  button { cursor: pointer; }
  a      { cursor: pointer; }

  /* ── Navbar ── */
  #navbar { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .hamburger { display: flex; }

  /* Mobile menu drawer */
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: rgba(8, 14, 30, .98);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    padding: 32px 24px 40px;
    gap: 8px; overflow-y: auto;
    border-top: 1px solid rgba(255,255,255,.08);
    align-items: stretch;
    z-index: 999;
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open .nav-link {
    display: block; width: 100%;
    font-size: 1.1rem; font-weight: 700; letter-spacing: .04em;
    color: rgba(255,255,255,.85);
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .nav-links.open .nav-link:hover { color: var(--blue-light); }

  /* CTA inside mobile menu */
  .nav-mobile-cta { display: block; margin-top: 24px; }
  .nav-mobile-cta a {
    display: flex; align-items: center; justify-content: center;
    padding: 15px 28px; border-radius: 50px;
    background: linear-gradient(135deg, var(--blue), var(--navy));
    color: var(--white); font-family: var(--font); font-weight: 700;
    font-size: 1rem; box-shadow: 0 6px 20px rgba(0,153,204,.4);
    min-height: 52px;
  }

  /* ── Hero ── */
  .hero-content { padding: 32px 16px; }
  .hero-title   { font-size: clamp(2.2rem, 12vw, 4rem); letter-spacing: -.01em; }
  .hero-tagline { font-size: clamp(.75rem, 3vw, 1rem); letter-spacing: .08em; }
  .hero-desc    { font-size: clamp(.88rem, 3vw, 1rem); margin-bottom: 32px; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { padding: 13px 24px; font-size: .88rem; }
  .hero-scroll-hint { display: none; } /* hide scroll hint on mobile */

  /* ── About ── */
  .about-p { font-size: .93rem; }

  /* ── Services: 1 column, no 3D flip ── */
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .services-grid .service-card:last-child { grid-column: auto; max-width: 100%; }

  /* Disable 3D flip on touch - show both faces stacked */
  .service-card { height: auto; perspective: none; }
  .service-card-inner {
    transform: none !important;
    transform-style: flat;
    position: static;
    display: flex; flex-direction: column; gap: 0;
  }
  .service-front, .service-back {
    position: static;
    -webkit-backface-visibility: visible; backface-visibility: visible;
    transform: none !important;
    border-radius: var(--radius-lg);
  }
  .service-back { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
  .service-front { border-radius: var(--radius-lg) var(--radius-lg) 0 0; border-bottom: none; }
  .service-card:hover .service-card-inner { transform: none !important; }
  .service-hover-hint { display: none; }
  .service-back::before { display: none; }
  .service-back { gap: 12px; padding: 20px 24px 24px; }
  .service-front { padding: 24px; gap: 8px; }

  /* ── Why Us: 1 column ── */
  .why-grid { grid-template-columns: 1fr; gap: 14px; }
  .why-card { padding: 24px 20px; }
  .why-card:hover { transform: none; } /* disable lift on touch */

  /* ── Stats: 2x2 ── */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat-item  { padding: 28px 16px; }
  #stats      { padding: 56px 0; }

  /* ── Contact: stack ── */
  .contact-grid    { grid-template-columns: 1fr; gap: 28px; }
  .contact-form    { padding: 28px 20px; }
  .form-row        { grid-template-columns: 1fr; }
  .contact-info-card { padding: 28px 20px; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-top  { padding: 48px 0 32px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  #backToTop { bottom: 20px; right: 16px; }
}

/* ── SMALL PHONES (< 480px): iPhone SE, Galaxy A03 etc. ── */
@media (max-width: 479px) {
  :root { --nav-h: 60px; }
  .container { padding: 0 16px; }
  section { padding: 56px 0; }

  /* Hero */
  .hero-badge { font-size: .6rem; letter-spacing: .08em; padding: 6px 14px; }
  .hero-title { font-size: clamp(1.9rem, 13vw, 3rem); }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; max-width: 280px; justify-content: center; }
  .hero-desc { font-size: .88rem; }

  /* Nav */
  .nav-logo-img { height: 36px; }

  /* Services */
  .service-front { padding: 20px 18px; }
  .service-back  { padding: 16px 18px 20px; }
  .service-front h3 { font-size: .98rem; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item  { padding: 24px 10px; }

  /* Contact */
  .contact-form { padding: 22px 16px; }
  .contact-info-card { padding: 22px 16px; }
  .section-title { font-size: clamp(1.4rem, 7vw, 2rem); }
  .btn-primary { font-size: .85rem; padding: 13px 22px; }

  /* Footer */
  .footer-logo { height: 44px; }
}

/* ── EXTRA SMALL (< 360px): very old/small phones ── */
@media (max-width: 359px) {
  .hero-title { font-size: 1.8rem; }
  .hero-badge { font-size: .58rem; }
  .container  { padding: 0 14px; }
}

/* ── Tablets: 768–1023px (specific fixes) ── */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Services: keep 2 columns */
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid .service-card:last-child { grid-column: 1/-1; max-width: 480px; margin: 0 auto; }

  /* Why us: 2 columns */
  .why-grid { grid-template-columns: repeat(2, 1fr); }

  /* Stats: 2x2 */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item  { padding: 36px 20px; }

  /* Contact: stack */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row     { grid-template-columns: 1fr 1fr; }

  /* Footer: 2x2 */
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 28px; }

  /* Restore 3D flip on tablets (mouse/stylus capable) */
  .service-card { height: 340px; perspective: 1200px; }
  .service-card-inner {
    position: relative; transform-style: preserve-3d;
    transition: .65s cubic-bezier(.4,0,.2,1);
    display: block;
  }
  .service-front, .service-back {
    position: absolute;
    -webkit-backface-visibility: hidden; backface-visibility: hidden;
  }
  .service-back { transform: rotateY(180deg); }
  .service-back::before { display: block; }
  .service-front { border-bottom: 1px solid var(--gray-200); border-radius: var(--radius-lg); }
  .service-back  { border-radius: var(--radius-lg); }
  .service-card:hover .service-card-inner { transform: rotateY(180deg); }
}

/* ── Reduce motion for accessibility ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .ticker-track { animation: none; }
}
