/* ===================================================
   BELONIX INFOTECH - STYLESHEET
   Professional Company Website
   =================================================== */

/* ===== VARIABLES ===== */
:root {
  --primary: #0057FF;
  --primary-light: #3378FF;
  --primary-dark: #003DC4;
  --accent: #00C8FF;
  --accent2: #7B2FFF;
  --bg: #050A15;
  --bg-2: #080F1F;
  --bg-3: #0C1428;
  --surface: #0F1A30;
  --surface-2: #142040;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(0,87,255,0.35);
  --text: #E8EDF5;
  --text-muted: #7A8BA8;
  --text-light: #B0BFCF;
  --white: #ffffff;
  --success: #00C48C;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent2) 100%);
  --gradient-text: linear-gradient(90deg, #0057FF, #00C8FF, #7B2FFF);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(0,87,255,0.2);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --nav-h: 72px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ===== CONTAINER ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== SECTION ===== */
.section {
  padding: 6rem 0;
}
.section--dark {
  background: var(--bg-2);
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}
.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0,200,255,0.08);
  border: 1px solid rgba(0,200,255,0.2);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1rem;
}
.section-desc {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== GRADIENT TEXT ===== */
.gradient-text, .title-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,87,255,0.35);
}
.btn--primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,87,255,0.5);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn--outline:hover {
  border-color: var(--primary);
  color: var(--accent);
  background: rgba(0,87,255,0.06);
}
.btn--lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}
.btn--full { width: 100%; justify-content: center; }

/* ===================================================
   NAVIGATION
   =================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}
.header.scrolled {
  background: rgba(5,10,21,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
  flex-shrink: 0;
}
.logo-icon {
  width: 38px; height: 38px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}
.logo-text { color: var(--white); }
.logo-accent { color: var(--accent); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav__link {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transform: translateX(-50%);
  transition: width 0.3s;
}
.nav__link:hover, .nav__link.active {
  color: var(--white);
}
.nav__link:hover::after, .nav__link.active::after {
  width: 60%;
}
.nav__cta { flex-shrink: 0; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px; height: 42px;
  gap: 5px;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.nav__toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: var(--transition);
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================================================
   HERO
   =================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,87,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,87,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}
.glow-1 {
  width: 600px; height: 600px;
  background: var(--primary);
  top: -100px; right: -150px;
  animation: float 8s ease-in-out infinite;
}
.glow-2 {
  width: 400px; height: 400px;
  background: var(--accent2);
  bottom: -50px; left: -100px;
  animation: float 10s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(0,200,255,0.06);
  border: 1px solid rgba(0,200,255,0.2);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.5vw, 5.5rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.hero__title em {
  font-style: italic;
  color: var(--accent);
}
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-light);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat__num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat__num + span {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  font-weight: 500;
}
.stat__divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--accent), transparent);
  animation: scroll-anim 1.5s ease-in-out infinite;
}
@keyframes scroll-anim {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* ===================================================
   ABOUT
   =================================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about__image-wrap {
  position: relative;
}
.about__img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 3rem;
  overflow: hidden;
  position: relative;
}
.about__img-placeholder span {
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
}
.about__img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,87,255,0.08), rgba(123,47,255,0.08));
}
.about__tag {
  position: absolute;
  background: var(--surface-2);
  border: 1px solid var(--border-hover);
  border-radius: 100px;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
.about__tag i { color: var(--accent); }
.tag-1 { bottom: -1rem; left: -1rem; }
.tag-2 { top: -1rem; right: -1rem; }

.about__accent-box {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  font-style: italic;
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}

.about__desc {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1rem;
}
.about__pillars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.pillar {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.pillar:hover {
  border-color: var(--border-hover);
  background: var(--surface-2);
}
.pillar i {
  font-size: 1.25rem;
  color: var(--primary);
  margin-top: 0.1rem;
  flex-shrink: 0;
}
.pillar div { display: flex; flex-direction: column; gap: 0.2rem; }
.pillar strong { font-family: var(--font-display); font-weight: 700; color: var(--white); }
.pillar span { font-size: 0.85rem; color: var(--text-muted); }

/* ===================================================
   SERVICES
   =================================================== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.service-card:hover::before { opacity: 1; }

.service-card__icon {
  width: 56px; height: 56px;
  background: rgba(0,87,255,0.12);
  border: 1px solid rgba(0,87,255,0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.service-card p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.service-card__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.service-card__list li {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(0,200,255,0.07);
  border: 1px solid rgba(0,200,255,0.15);
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  transition: gap 0.2s;
}
.service-card__link:hover { gap: 0.7rem; color: var(--accent); }

/* ===================================================
   APPS
   =================================================== */
.apps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
}
.app-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.app-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.app-icon {
  width: 60px; height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}
.app-icon--blue { background: linear-gradient(135deg, #0057FF, #00C8FF); }
.app-icon--green { background: linear-gradient(135deg, #00B341, #00E676); }
.app-icon--orange { background: linear-gradient(135deg, #FF6B00, #FFB400); }
.app-icon--purple { background: linear-gradient(135deg, #7B2FFF, #C46BFF); }
.app-icon--red { background: linear-gradient(135deg, #FF2D55, #FF7B8A); }

.app-card__meta h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.app-stars {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.75rem;
  color: #FFB800;
  margin-bottom: 0.25rem;
}
.app-stars span {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-left: 0.25rem;
}
.app-category {
  font-size: 0.73rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.app-card__desc {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.app-card__info {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.app-card__info i { color: var(--success); margin-right: 0.25rem; }
.app-card__actions {}
.btn-playstore img {
  height: 40px;
  width: auto;
  filter: brightness(0.9);
  transition: filter 0.2s;
}
.btn-playstore:hover img { filter: brightness(1); }

/* Coming soon badge */
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px dashed rgba(255,255,255,0.12);
  padding: 0.45rem 0.9rem;
  border-radius: 100px;
}
.coming-soon-badge i { color: var(--accent2); }

.app-card--cta {
  background: var(--gradient);
  border: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  min-height: 260px;
}
.app-card--cta i {
  font-size: 2.5rem;
  color: rgba(255,255,255,0.8);
}
.app-card--cta h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
}
.app-card--cta p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  line-height: 1.6;
}
.app-card--cta .btn--primary {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,0.35);
  color: var(--white);
  box-shadow: none;
}
.app-card--cta .btn--primary:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

/* ===================================================
   PORTFOLIO
   =================================================== */
.portfolio__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
}
.project-card--wide {
  grid-column: 1 / -1;
  aspect-ratio: 16/6;
}
.project-card__img {
  width: 100%; height: 100%;
  position: relative;
}
.project-img--1 { background: linear-gradient(135deg, #1a0533, #3d0c7a, #0057ff); }
.project-img--2 { background: linear-gradient(135deg, #003322, #006644, #00c48c); }
.project-img--3 { background: linear-gradient(135deg, #330011, #7a0022, #ff2d55); }
.project-img--4 { background: linear-gradient(135deg, #1a0800, #5c2200, #ff6b00); }

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.5rem;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-tag {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0,200,255,0.15);
  border: 1px solid rgba(0,200,255,0.3);
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
  width: fit-content;
}
.project-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
}
.project-overlay p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}
.project-tech {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.project-tech span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

/* ===================================================
   TECH MARQUEE
   =================================================== */
.tech__marquee {
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
}
.tech__marquee::before,
.tech__marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
}
.tech__marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.tech__marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.tech__track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.tech__track:hover { animation-play-state: paused; }
.tech__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.2s;
}
.tech__item:hover { color: var(--white); }
.tech__item i { font-size: 1.4rem; }

/* ===================================================
   TESTIMONIALS
   =================================================== */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
}
.testi-card::before {
  content: '"';
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.15;
  line-height: 1;
}
.testi-card:hover { border-color: var(--border-hover); }
.testi-card__stars {
  display: flex;
  gap: 0.2rem;
  font-size: 0.85rem;
  color: #FFB800;
  margin-bottom: 1rem;
}
.testi-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testi-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testi-avatar {
  width: 44px; height: 44px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}
.testi-card__author strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--white);
}
.testi-card__author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Empty / placeholder testimonial cards */
.testi-card--empty {
  border-style: dashed;
  border-color: rgba(255,255,255,0.1);
}
.testi-card--empty::before { display: none; }
.testi-icon {
  font-size: 2rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: block;
  opacity: 0.4;
}
.testi-avatar--empty {
  background: var(--surface-2) !important;
  border: 2px dashed var(--border);
  color: var(--text-muted) !important;
}

/* CTA testimonial card */
.testi-card--cta {
  background: linear-gradient(135deg, rgba(0,87,255,0.12), rgba(123,47,255,0.12));
  border-color: rgba(0,87,255,0.25);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.testi-card--cta::before { display: none; }
.testi-card--cta i { font-size: 2rem; color: var(--accent); }
.testi-card--cta h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}
.testi-card--cta p {
  font-style: normal;
  margin-bottom: 0.5rem;
}
  color: var(--text-muted);
}

/* ===================================================
   CONTACT
   =================================================== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  transition: var(--transition);
}
.contact-item:hover { border-color: var(--border-hover); }
.contact-item__icon {
  width: 42px; height: 42px;
  background: rgba(0,87,255,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.contact-item a,
.contact-item span {
  font-size: 0.92rem;
  color: var(--text-light);
  transition: color 0.2s;
}
.contact-item a:hover { color: var(--accent); }

.contact__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.contact__social a {
  width: 44px; height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.contact__social a:hover {
  color: var(--white);
  border-color: var(--primary);
  background: rgba(0,87,255,0.12);
  transform: translateY(-2px);
}

/* Form */
.contact__form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.form-group label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-3);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,87,255,0.1);
}
.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}
.form-note i { margin-right: 0.3rem; color: var(--success); }
.form-success {
  display: none;
  align-items: center;
  gap: 0.75rem;
  background: rgba(0,196,140,0.1);
  border: 1px solid rgba(0,196,140,0.3);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: var(--success);
  font-weight: 600;
  margin-top: 1rem;
  font-size: 0.9rem;
}
.form-success.show { display: flex; }
.form-success i { font-size: 1.25rem; }

/* ===================================================
   FOOTER
   =================================================== */
.footer { background: var(--bg-2); }
.footer__top {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--border);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 3rem;
}
.footer__brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
  max-width: 280px;
}
.footer__social {
  display: flex;
  gap: 0.6rem;
}
.footer__social a {
  width: 38px; height: 38px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer__social a:hover {
  color: var(--white);
  border-color: var(--primary);
  background: rgba(0,87,255,0.12);
}
.footer__links h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer__links ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__links li a {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}
.footer__links li a i { font-size: 0.8rem; color: var(--primary); flex-shrink: 0; }
.footer__links li a:hover { color: var(--accent); }
.footer__links li:not(:has(a)) {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer__links li:not(:has(a)) i { font-size: 0.8rem; color: var(--primary); }

.footer__bottom {
  padding: 1.5rem 0;
}
.footer__bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer__legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer__legal a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer__legal a:hover { color: var(--accent); }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 46px; height: 46px;
  background: var(--primary);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(0,87,255,0.4);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: var(--transition);
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.back-to-top:hover { transform: translateY(-3px); }

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1), transform 0.65s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px; /* adjust space as needed */
}

/* ===================================================
   RESPONSIVE
   =================================================== */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
  .container { max-width: 1360px; }
  .hero__title { font-size: 6rem; }
}

/* Desktop (1024px - 1280px) */
@media (max-width: 1280px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .about__grid { gap: 3rem; }
}

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
  :root { --nav-h: 66px; }
  .section { padding: 4.5rem 0; }
  
  .nav__menu {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(5,10,21,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    z-index: 999;
  }
  .nav__menu.open {
    transform: translateY(0);
    opacity: 1;
  }
  .nav__link {
    padding: 0.85rem 1rem;
    font-size: 1rem;
    border-radius: var(--radius);
  }
  .nav__link::after { display: none; }
  .nav__link:hover, .nav__link.active {
    background: rgba(0,87,255,0.1);
    color: var(--white);
  }
  .nav__toggle { display: flex; }
  .nav__cta { display: none; }

  .about__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__visual { order: -1; }
  .about__tag.tag-1 { bottom: -0.5rem; left: 0; }
  .about__tag.tag-2 { top: -0.5rem; right: 0; }

  .services__grid { grid-template-columns: 1fr 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .portfolio__grid { grid-template-columns: 1fr; }
  .project-card--wide { aspect-ratio: 16/7; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* Mobile Large (480px - 768px) */
@media (max-width: 768px) {
  :root { --nav-h: 62px; }
  .section { padding: 3.5rem 0; }
  .container { padding: 0 1rem; }
  
  .hero { padding: calc(var(--nav-h) + 2rem) 0 3rem; }
  .hero__title { letter-spacing: -0.01em; }
  .hero__actions { flex-direction: column; gap: 0.75rem; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__stats { gap: 1.25rem; }
  .stat__num, .stat__num + span { font-size: 1.8rem; }
  .stat__divider { display: none; }

  .services__grid { grid-template-columns: 1fr; }
  .apps__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact__form { padding: 1.75rem 1.25rem; }
  .portfolio__grid { grid-template-columns: 1fr; }
  .project-card, .project-card--wide { aspect-ratio: 4/3; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom .container { flex-direction: column; text-align: center; }
}

/* Mobile (< 480px) */
@media (max-width: 480px) {
  .hero__badge { font-size: 0.72rem; }
  .section-title { font-size: 1.75rem; }
  .hero__stats { flex-direction: column; gap: 1rem; }
  .stat { flex-direction: row; align-items: baseline; gap: 0.75rem; }
  .stat__label { margin-top: 0; }
  .about__tag { position: static; margin: 0.5rem 0; }
  .about__image-wrap { overflow: visible; }
  .about__tag.tag-1, .about__tag.tag-2 { display: none; }
  .contact__form { padding: 1.25rem 1rem; }
  .back-to-top { bottom: 1.25rem; right: 1.25rem; }
}

/* Print */
@media print {
  .header, .hero__scroll, .back-to-top, .nav__toggle { display: none; }
  .section { padding: 2rem 0; }
  body { background: white; color: black; }
}
