/*
Theme Name: Inforeign Technologies
Theme URI: https://inforeigntechnologies.com
Author: Inforeign Technologies Pvt Ltd
Description: Premium custom theme for Inforeign Technologies — Web, Mobile, ERP, IoT, SEO
Version: 1.0.0
License: Proprietary
Text Domain: inforeign
*/

/* ============================================================
   CSS VARIABLES & RESET
   ============================================================ */
:root {
  --navy:        #0D1B4B;
  --navy-dark:   #080F2E;
  --navy-mid:    #162158;
  --navy-light:  #1E2E6E;
  --gold:        #E8A020;
  --gold-light:  #F5C842;
  --gold-glow:   rgba(232, 160, 32, 0.35);
  --white:       #FFFFFF;
  --off-white:   #EEF1FA;
  --text-muted:  #8B9CC8;
  --glass:       rgba(255, 255, 255, 0.06);
  --glass-border:rgba(255, 255, 255, 0.12);
  --card-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  --radius:      16px;
  --radius-sm:   10px;
  --transition:  0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

/* All sections clear fixed navbar on anchor jump */
section[id], div[id] { scroll-margin-top: 80px; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--navy-dark);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 99998;
  transform: translate(-50%, -50%);
  transition: transform 0.12s, width 0.3s, height 0.3s, border-color 0.3s;
  opacity: 0.7;
}
.cursor-ring.hover {
  width: 56px; height: 56px;
  border-color: var(--gold-light);
  opacity: 1;
  background: var(--gold-glow);
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
#scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 10000;
  transition: width 0.1s linear;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 100px 0; }

.gradient-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, #FFF8DC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 50px; padding: 6px 18px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 20px;
}
.section-tag::before {
  content: ''; width: 8px; height: 8px;
  background: var(--gold); border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.6); }
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.15;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem; color: var(--text-muted);
  line-height: 1.8; max-width: 600px;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-dark); font-weight: 700; font-size: 0.95rem;
  padding: 14px 32px; border-radius: 50px;
  border: none; cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 32px var(--gold-glow);
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.25));
  transform: translateX(-100%);
  transition: transform 0.4s;
}
.btn-primary:hover::after { transform: translateX(0); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 48px var(--gold-glow); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--white); font-weight: 600;
  font-size: 0.95rem; padding: 13px 30px; border-radius: 50px;
  border: 1px solid var(--glass-border); cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  border-color: var(--gold); color: var(--gold);
  background: var(--glass); transform: translateY(-3px);
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 16px 0;
  background: rgba(8, 15, 46, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all 0.4s ease;
}
#navbar.scrolled {
  background: rgba(8, 15, 46, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
  padding: 10px 0;
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}

.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.nav-logo .logo-svg-wrap {
  flex-shrink: 0; width: 46px; height: 46px;
  filter: drop-shadow(0 0 8px rgba(232,160,32,0.4));
  transition: filter 0.3s;
}
.nav-logo:hover .logo-svg-wrap {
  filter: drop-shadow(0 0 14px rgba(232,160,32,0.7));
}
.nav-logo img { height: 46px; width: auto; }
.nav-logo-text { line-height: 1.1; }
.nav-logo-text .brand-name {
  font-size: 1.15rem; font-weight: 800; color: var(--white);
  letter-spacing: -0.3px;
}
.nav-logo-text .brand-sub {
  font-size: 0.62rem; color: var(--gold); letter-spacing: 1.5px;
  text-transform: uppercase; font-weight: 600;
}

/* Active nav link */
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { width: 100%; }

/* Section dot nav */
#section-dots {
  position: fixed; right: 24px; top: 50%;
  transform: translateY(-50%); z-index: 900;
  display: flex; flex-direction: column; gap: 10px;
}
.section-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--glass-border); cursor: pointer;
  transition: all 0.3s; border: 1px solid rgba(255,255,255,0.2);
  position: relative;
}
.section-dot.active {
  background: var(--gold); transform: scale(1.4);
  box-shadow: 0 0 10px var(--gold-glow);
}
.section-dot:hover { background: var(--text-muted); transform: scale(1.2); }
.section-dot::before {
  content: attr(data-label);
  position: absolute; right: 18px; top: 50%;
  transform: translateY(-50%);
  font-size: 0.72rem; font-weight: 600; color: var(--gold);
  white-space: nowrap; opacity: 0; pointer-events: none;
  background: var(--navy-dark); padding: 3px 10px; border-radius: 4px;
  border: 1px solid var(--glass-border);
  transition: opacity 0.2s;
}
.section-dot:hover::before { opacity: 1; }

.nav-links {
  display: flex; align-items: center; gap: 36px;
}
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
  transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 16px; }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; height: 2px; border-radius: 2px;
  background: var(--white); transition: all 0.3s;
}
.nav-hamburger span:nth-child(1) { width: 24px; }
.nav-hamburger span:nth-child(2) { width: 18px; }
.nav-hamburger span:nth-child(3) { width: 24px; }

/* Mobile Nav */
.mobile-nav {
  position: fixed; inset: 0; background: var(--navy-dark);
  z-index: 999; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 32px;
  transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { font-size: 2rem; font-weight: 700; color: var(--white); transition: color 0.3s; }
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav-close {
  position: absolute; top: 24px; right: 24px;
  font-size: 2rem; cursor: pointer; color: var(--text-muted);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; padding-top: 80px;
}

#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

.hero-gradient-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(13,27,75,0.4) 0%, rgba(8,15,46,0.85) 70%);
  z-index: 1;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 50px; padding: 8px 20px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 28px; backdrop-filter: blur(10px);
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); animation: pulse-dot 1.5s infinite;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900; line-height: 1.1;
  margin-bottom: 24px; letter-spacing: -1px;
}

.hero-typed-wrap {
  display: inline-block; min-width: 320px;
  border-right: 3px solid var(--gold);
  animation: blink 0.75s step-end infinite;
}
@keyframes blink { 50% { border-color: transparent; } }

.hero-desc {
  font-size: 1.1rem; color: var(--text-muted);
  line-height: 1.9; margin-bottom: 40px;
  max-width: 580px;
}

.hero-cta {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap;
}
.stat-item { text-align: left; }
.stat-num {
  display: block; font-size: 2.2rem; font-weight: 900;
  color: var(--gold); line-height: 1;
}
.stat-label {
  font-size: 0.78rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-top: 4px; display: block;
}

.hero-3d-object {
  position: absolute; right: 5%; top: 50%;
  transform: translateY(-50%);
  width: 480px; height: 480px; z-index: 2;
}
#hero-3d-canvas {
  width: 100%; height: 100%;
}

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: 0.75rem; letter-spacing: 2px;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-line 2s ease infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   MARQUEE / TECH LOGOS
   ============================================================ */
.marquee-section {
  background: var(--glass); border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 24px 0; overflow: hidden;
}
.marquee-track {
  display: flex; gap: 60px; width: max-content;
  animation: marquee 25s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: 12px;
  white-space: nowrap; font-size: 0.85rem; font-weight: 600;
  color: var(--text-muted); transition: color 0.3s;
}
.marquee-item:hover { color: var(--gold); }
.marquee-item i { font-size: 1.4rem; color: var(--gold); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
  position: relative; overflow: hidden;
}
.services-section::before {
  content: ''; position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,160,32,0.08) 0%, transparent 70%);
  top: -200px; right: -200px; pointer-events: none;
}

.services-header { text-align: center; margin-bottom: 70px; }
.services-header .section-desc { margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 40px 36px;
  position: relative; overflow: hidden;
  transition: var(--transition);
  transform-style: preserve-3d;
  cursor: pointer;
}
.service-card::before {
  content: ''; position: absolute;
  inset: 0; opacity: 0;
  background: linear-gradient(135deg, rgba(232,160,32,0.08), rgba(232,160,32,0.02));
  transition: opacity 0.4s;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  border-color: rgba(232,160,32,0.3);
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 40px rgba(232,160,32,0.1);
}

.service-icon-wrap {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 16px; display: flex;
  align-items: center; justify-content: center;
  margin-bottom: 28px;
  box-shadow: 0 8px 24px var(--gold-glow);
  transition: transform 0.4s;
}
.service-card:hover .service-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
}
.service-icon-wrap i { font-size: 1.6rem; color: var(--navy-dark); }

.service-number {
  position: absolute; top: 28px; right: 28px;
  font-size: 4rem; font-weight: 900; color: rgba(255,255,255,0.04);
  line-height: 1; user-select: none;
}

.service-title {
  font-size: 1.3rem; font-weight: 700;
  margin-bottom: 14px; color: var(--white);
}

.service-desc {
  font-size: 0.92rem; color: var(--text-muted);
  line-height: 1.8; margin-bottom: 24px;
}

.service-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.service-tag {
  font-size: 0.72rem; font-weight: 600;
  padding: 4px 12px; border-radius: 50px;
  background: rgba(232,160,32,0.1);
  border: 1px solid rgba(232,160,32,0.2);
  color: var(--gold);
}

.service-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 24px; font-size: 0.88rem; font-weight: 600;
  color: var(--gold); opacity: 0;
  transform: translateY(8px);
  transition: var(--transition);
}
.service-card:hover .service-link {
  opacity: 1; transform: translateY(0);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  padding: 100px 0;
  background: var(--navy-dark);
  position: relative; overflow: hidden;
}

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}

.about-visual {
  position: relative;
}
.about-img-wrap {
  position: relative; border-radius: 24px; overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--glass-border);
}
.about-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
}
.about-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,27,75,0.6), transparent);
}

.about-float-card {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--navy-mid);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 20px 28px;
  backdrop-filter: blur(20px);
  box-shadow: var(--card-shadow);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float-card-title { font-size: 2rem; font-weight: 900; color: var(--gold); }
.float-card-sub { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; }

.about-experience-badge {
  position: absolute; top: -20px; left: -20px;
  width: 100px; height: 100px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  box-shadow: 0 8px 32px var(--gold-glow);
  animation: float 3s ease-in-out infinite reverse;
}
.exp-num { font-size: 1.8rem; font-weight: 900; color: var(--navy-dark); line-height: 1; }
.exp-text { font-size: 0.6rem; font-weight: 700; color: var(--navy-dark); text-align: center; text-transform: uppercase; }

.about-content {}
.about-content .section-desc { margin-bottom: 32px; }

.about-features { margin-bottom: 48px; }
.about-feature {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--glass-border);
}
.about-feature:last-child { border-bottom: none; }
.feature-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(232,160,32,0.1); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.feature-icon i { color: var(--gold); font-size: 1.1rem; }
.feature-title { font-weight: 700; margin-bottom: 4px; }
.feature-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* Stats row */
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 8px;
}
.about-stat {
  text-align: center; padding: 24px 16px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
}
.about-stat-num {
  font-size: 2.2rem; font-weight: 900;
  color: var(--gold); display: block;
}
.about-stat-label {
  font-size: 0.78rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px;
}

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.process-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  position: relative; overflow: hidden;
}

.process-header { text-align: center; margin-bottom: 70px; }

.process-steps {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; position: relative;
}
.process-steps::before {
  content: ''; position: absolute;
  top: 40px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--glass-border), var(--gold), var(--glass-border));
}

.process-step {
  text-align: center; padding: 0 16px;
  position: relative;
}
.step-number {
  width: 80px; height: 80px;
  background: var(--navy-dark);
  border: 2px solid var(--gold);
  border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.4rem; font-weight: 900;
  color: var(--gold); position: relative; z-index: 1;
  box-shadow: 0 0 0 8px var(--navy-dark), 0 0 30px var(--gold-glow);
  transition: var(--transition);
}
.process-step:hover .step-number {
  background: var(--gold); color: var(--navy-dark);
  transform: scale(1.1);
}
.step-title { font-weight: 700; margin-bottom: 8px; font-size: 0.95rem; }
.step-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   WHY US SECTION
   ============================================================ */
.why-section {
  padding: 100px 0;
  background: var(--navy-dark);
  position: relative;
}
.why-section::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}

.why-content .section-title { margin-bottom: 40px; }

.why-list { display: flex; flex-direction: column; gap: 20px; }
.why-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px; border-radius: var(--radius);
  background: var(--glass); border: 1px solid var(--glass-border);
  transition: var(--transition);
}
.why-item:hover {
  border-color: rgba(232,160,32,0.3);
  transform: translateX(8px);
  box-shadow: -4px 0 0 var(--gold);
}
.why-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 12px; display: flex;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
}
.why-icon i { font-size: 1.3rem; color: var(--navy-dark); }
.why-title { font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.why-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

.why-visual { position: relative; }
.why-visual-inner {
  position: relative; border-radius: 24px; overflow: hidden;
  background: var(--glass); border: 1px solid var(--glass-border);
  padding: 48px 32px;
}
.testimonial-mini-card {
  background: var(--navy-mid); border-radius: var(--radius);
  padding: 24px; margin-bottom: 16px;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}
.testimonial-mini-card:hover { border-color: rgba(232,160,32,0.3); }
.stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 12px; }
.testimonial-text { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; color: var(--navy-dark);
}
.author-name { font-weight: 600; font-size: 0.88rem; }
.author-role { font-size: 0.75rem; color: var(--text-muted); }

/* ============================================================
   PORTFOLIO SECTION
   ============================================================ */
.portfolio-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
}

.portfolio-header { text-align: center; margin-bottom: 50px; }

.portfolio-filter {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 50px;
}
.filter-btn {
  padding: 8px 24px; border-radius: 50px; cursor: pointer;
  font-size: 0.85rem; font-weight: 600;
  background: var(--glass); border: 1px solid var(--glass-border);
  color: var(--text-muted); transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--gold); color: var(--navy-dark);
  border-color: var(--gold);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-card {
  border-radius: var(--radius); overflow: hidden;
  position: relative; aspect-ratio: 4/3;
  background: var(--navy-mid);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: var(--transition);
}
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow); }

.portfolio-card-img {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.5s;
}
.portfolio-card:hover .portfolio-card-img { transform: scale(1.05); }

.portfolio-card-mock {
  width: 80%; aspect-ratio: 16/10;
  background: var(--navy-dark); border-radius: 8px;
  border: 1px solid var(--glass-border);
  overflow: hidden; position: relative;
}
.mock-topbar {
  height: 20px; background: var(--glass);
  display: flex; align-items: center; padding: 0 8px; gap: 4px;
}
.mock-dot {
  width: 6px; height: 6px; border-radius: 50%;
}
.mock-dot:nth-child(1) { background: #FF5F57; }
.mock-dot:nth-child(2) { background: #FEBC2E; }
.mock-dot:nth-child(3) { background: #28C840; }
.mock-content {
  padding: 12px; display: flex; flex-direction: column; gap: 6px;
}
.mock-line {
  height: 6px; border-radius: 3px; background: var(--glass);
}

.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,15,46,0.95) 40%, transparent);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; opacity: 0; transition: opacity 0.4s;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-cat {
  font-size: 0.72rem; font-weight: 600; color: var(--gold);
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 6px;
}
.portfolio-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.portfolio-tech { font-size: 0.78rem; color: var(--text-muted); }
.portfolio-arrow {
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px;
  background: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-dark); font-size: 1rem;
  transform: rotate(45deg);
}

/* ============================================================
   TECH STACK SECTION
   ============================================================ */
.tech-section {
  padding: 80px 0; background: var(--navy-dark);
}
.tech-header { text-align: center; margin-bottom: 50px; }

.tech-categories { display: flex; flex-direction: column; gap: 40px; }
.tech-category-title {
  font-size: 0.78rem; font-weight: 600; color: var(--gold);
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 20px;
}
.tech-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.tech-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 50px;
  background: var(--glass); border: 1px solid var(--glass-border);
  font-size: 0.85rem; font-weight: 600; color: var(--text-muted);
  transition: var(--transition); cursor: default;
}
.tech-pill i { font-size: 1.1rem; }
.tech-pill:hover {
  border-color: var(--gold); color: var(--gold);
  background: rgba(232,160,32,0.06);
  transform: translateY(-2px);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-section {
  padding: 100px 0; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(232,160,32,0.12) 0%, transparent 70%);
}

.cta-inner { text-align: center; position: relative; }
.cta-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900; margin-bottom: 20px; line-height: 1.15;
}
.cta-desc { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 48px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.cta-floating-shapes { position: absolute; inset: 0; pointer-events: none; }
.cta-shape {
  position: absolute;
  border: 1px solid rgba(232,160,32,0.15);
  border-radius: 50%;
  animation: spin-shape 20s linear infinite;
}
.cta-shape:nth-child(1) { width: 400px; height: 400px; top: -100px; right: -100px; animation-duration: 30s; }
.cta-shape:nth-child(2) { width: 200px; height: 200px; bottom: -50px; left: 10%; animation-direction: reverse; animation-duration: 18s; }
.cta-shape:nth-child(3) { width: 150px; height: 150px; top: 20px; left: 20%; animation-duration: 25s; }
@keyframes spin-shape { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  padding: 100px 0; background: var(--navy-dark);
}

.contact-grid {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 60px; align-items: start;
}

.contact-info .section-title { margin-bottom: 16px; }
.contact-info .section-desc { margin-bottom: 48px; }

.contact-items { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex; gap: 20px; align-items: flex-start;
}
.contact-icon-wrap {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 12px; display: flex;
  align-items: center; justify-content: center;
  background: var(--glass); border: 1px solid var(--glass-border);
  transition: var(--transition);
}
.contact-item:hover .contact-icon-wrap {
  background: rgba(232,160,32,0.1); border-color: rgba(232,160,32,0.3);
}
.contact-icon-wrap i { font-size: 1.2rem; color: var(--gold); }
.contact-item-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px; }
.contact-item-value { font-weight: 600; font-size: 1rem; }

.contact-socials { display: flex; gap: 12px; margin-top: 40px; }
.social-btn {
  width: 44px; height: 44px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 10px; display: flex;
  align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--text-muted);
  transition: var(--transition);
}
.social-btn:hover {
  background: var(--gold); color: var(--navy-dark);
  border-color: var(--gold); transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 24px; padding: 48px 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--text-muted); margin-bottom: 8px;
  text-transform: uppercase; letter-spacing: 1px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--white); font-size: 0.95rem;
  font-family: inherit; transition: var(--transition);
  outline: none; resize: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(232,160,32,0.04);
  box-shadow: 0 0 0 3px rgba(232,160,32,0.1);
}
.form-group textarea { height: 130px; }
.form-group select option { background: var(--navy-dark); }

.form-submit { width: 100%; padding: 16px; font-size: 1rem; }

.form-success {
  display: none; text-align: center; padding: 24px;
}
.form-success i { font-size: 3rem; color: var(--gold); margin-bottom: 16px; display: block; }
.form-success h4 { font-size: 1.3rem; margin-bottom: 8px; }
.form-success p { color: var(--text-muted); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy-dark);
  border-top: 1px solid var(--glass-border);
}

.footer-main { padding: 80px 0 50px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
}

.footer-brand .nav-logo { margin-bottom: 20px; }
.footer-about {
  font-size: 0.88rem; color: var(--text-muted);
  line-height: 1.8; margin-bottom: 28px;
}
.footer-socials { display: flex; gap: 10px; }

.footer-col-title {
  font-size: 0.82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--white); margin-bottom: 24px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 0.88rem; color: var(--text-muted);
  transition: color 0.3s; display: flex; align-items: center; gap: 8px;
}
.footer-links a::before {
  content: '→'; color: var(--gold); font-size: 0.7rem;
  opacity: 0; transition: opacity 0.3s, transform 0.3s;
  transform: translateX(-4px);
}
.footer-links a:hover { color: var(--white); }
.footer-links a:hover::before { opacity: 1; transform: translateX(0); }

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding: 24px 0;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 0.82rem; color: var(--text-muted); }
.footer-copy span { color: var(--gold); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.82rem; color: var(--text-muted); transition: color 0.3s; }
.footer-legal a:hover { color: var(--gold); }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
#whatsapp-float {
  position: fixed; bottom: 96px; right: 32px; z-index: 999;
  width: 48px; height: 48px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.4rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: var(--transition); text-decoration: none;
}
#whatsapp-float:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(37,211,102,0.6); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
#back-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--navy-dark); font-size: 1.1rem; cursor: pointer;
  box-shadow: 0 8px 24px var(--gold-glow);
  transition: var(--transition);
  opacity: 0; pointer-events: none;
  transform: translateY(16px);
}
#back-top.show {
  opacity: 1; pointer-events: all; transform: translateY(0);
}
#back-top:hover { transform: translateY(-4px); box-shadow: 0 16px 40px var(--gold-glow); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed { 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; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-3d-object { display: none; }
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .process-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-float-card { right: 0; bottom: 0; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
  #section-dots { display: none; }
}

/* ============================================================
   INNER PAGE BANNER
   ============================================================ */
.page-banner {
  padding: 150px 0 80px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-dark) 0%, #0e1e5a 100%);
  border-bottom: 1px solid var(--glass-border); text-align: center;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(232,160,32,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-banner-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(232,160,32,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,160,32,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 0%, transparent 100%);
}
.page-banner-breadcrumb {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; font-size: 0.82rem; color: var(--text-muted);
  margin-bottom: 20px;
}
.page-banner-breadcrumb a { color: var(--gold); text-decoration: none; font-weight: 600; }
.page-banner-breadcrumb a:hover { text-decoration: underline; }
.page-banner-breadcrumb .sep { color: var(--glass-border); }
.page-banner-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900;
  color: var(--white); margin: 0 0 20px; line-height: 1.1;
}
.page-banner-desc {
  font-size: 1.05rem; color: var(--text-muted); max-width: 580px;
  margin: 0 auto; line-height: 1.7;
}
.page-banner-cta { margin-top: 36px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   DEMO IMAGE CARDS & ABOUT VISUAL
   ============================================================ */
.about-img-scene {
  width: 100%; min-height: 420px;
  border-radius: 24px; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-light) 100%);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.about-img-scene .scene-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  padding: 32px; width: 100%;
}
.scene-card {
  background: rgba(255,255,255,0.06); border-radius: 12px;
  padding: 20px; border: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; gap: 10px;
}
.scene-card-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
}
.scene-card-icon i { font-size: 1rem; color: var(--navy-dark); }
.scene-card-title { font-size: 0.82rem; font-weight: 700; color: var(--white); }
.scene-card-bar { height: 4px; border-radius: 2px; background: rgba(255,255,255,0.1); }
.scene-card-bar-fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.scene-card-val { font-size: 1.1rem; font-weight: 800; color: var(--gold); }

/* Process visual background */
.process-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23E8A020' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* Services section number style improvement */
.service-number {
  position: absolute; top: 20px; right: 24px;
  font-size: 3.5rem; font-weight: 900;
  background: linear-gradient(135deg, rgba(232,160,32,0.12), rgba(232,160,32,0.04));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1; user-select: none;
}
