/* ===== MANNAN ENTERPRISES — ENHANCED DESIGN SYSTEM ===== */

/* --- Google Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #161616;
  --bg-card-hover: #1e1e1e;
  --accent: #e8912d;
  --accent-hover: #f5a623;
  --accent-light: #ffc370;
  --accent-glow: rgba(232, 145, 45, 0.12);
  --accent-glow-strong: rgba(232, 145, 45, 0.25);
  --accent-gradient: linear-gradient(135deg, #e8912d, #f5a623);
  --accent-gradient-wide: linear-gradient(135deg, #d47a1e, #f5a623, #ffc370);
  --text-primary: #f5f5f5;
  --text-secondary: #9a9a9a;
  --text-muted: #555555;
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-accent: rgba(232, 145, 45, 0.25);
  --glass-bg: rgba(22, 22, 22, 0.65);
  --glass-border: rgba(255, 255, 255, 0.07);
  --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 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-accent: 0 4px 24px rgba(232, 145, 45, 0.2);
  --shadow-accent-lg: 0 8px 40px rgba(232, 145, 45, 0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  --max-width: 1200px;
  --nav-height: 72px;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', 'Inter', sans-serif;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
}

h2 {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.accent-text {
  color: var(--accent);
}

.gradient-text {
  background: var(--accent-gradient-wide);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 110px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 14px;
  padding: 7px 18px;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: 50px;
  position: relative;
  overflow: hidden;
}

.section-label::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(232, 145, 45, 0.15), transparent);
  animation: shimmer 3s infinite;
}

/* --- Decorative Elements --- */
.accent-line {
  width: 60px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 2px;
  margin: 16px auto 0;
  position: relative;
  overflow: hidden;
}

.accent-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 2s infinite;
}

/* --- Floating Particles --- */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 6s infinite;
}

.particle:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
  animation-duration: 8s;
}

.particle:nth-child(2) {
  left: 25%;
  animation-delay: 1s;
  animation-duration: 7s;
}

.particle:nth-child(3) {
  left: 40%;
  animation-delay: 2s;
  animation-duration: 9s;
}

.particle:nth-child(4) {
  left: 55%;
  animation-delay: 0.5s;
  animation-duration: 6s;
}

.particle:nth-child(5) {
  left: 70%;
  animation-delay: 1.5s;
  animation-duration: 8s;
}

.particle:nth-child(6) {
  left: 85%;
  animation-delay: 2.5s;
  animation-duration: 7s;
}

.particle:nth-child(7) {
  left: 15%;
  animation-delay: 3s;
  animation-duration: 10s;
}

.particle:nth-child(8) {
  left: 60%;
  animation-delay: 3.5s;
  animation-duration: 6.5s;
}

.particle:nth-child(9) {
  left: 90%;
  animation-delay: 1.2s;
  animation-duration: 8.5s;
}

.particle:nth-child(10) {
  left: 35%;
  animation-delay: 4s;
  animation-duration: 7.5s;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.nav-logo .logo-icon {
  width: 42px;
  height: 42px;
  background: var(--accent-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  color: #fff;
  box-shadow: var(--shadow-accent);
  transition: transform var(--transition-spring);
}

.nav-logo:hover .logo-icon {
  transform: rotate(-8deg) scale(1.1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
  position: relative;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-accent-lg);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-3px);
}

.btn-icon {
  font-size: 1.1rem;
  transition: transform var(--transition-normal);
}

.btn:hover .btn-icon {
  transform: translateX(5px);
}

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(232, 145, 45, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover::after {
  opacity: 1;
}

.card-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: all var(--transition-spring);
}

.card:hover .card-icon {
  background: var(--accent-gradient);
  border-color: transparent;
  box-shadow: var(--shadow-accent);
  transform: scale(1.1) rotate(-5deg);
}

.card h3 {
  margin-bottom: 12px;
  color: var(--text-primary);
}

.card p {
  font-size: 0.95rem;
}

.card-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg .glow-1 {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 145, 45, 0.1) 0%, transparent 70%);
  top: -150px;
  right: -150px;
  animation: floatGlow 8s ease-in-out infinite;
}

.hero-bg .glow-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 145, 45, 0.06) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  animation: floatGlow 10s ease-in-out infinite reverse;
}

.hero-bg .glow-3 {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulseGlow 4s ease-in-out infinite;
}

.hero-bg .grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

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

.hero-content h1 {
  margin-bottom: 24px;
  font-weight: 900;
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 40px;
  max-width: 550px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border-subtle);
}

.hero-stat {
  text-align: left;
}

.hero-stat .number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--accent-gradient-wide);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat .label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- Hero Split Layout --- */
.hero-split {
  display: flex;
  align-items: center;
  gap: 56px;
}

.hero-split .hero-content {
  flex: 1;
  min-width: 0;
}

.hero-split .hero-image {
  flex: 0.85;
  min-width: 0;
  position: relative;
}

.hero-split .hero-image img {
  width: 100%;
  height: auto;
}

/* Floating badge on hero image */
.hero-image .floating-badge {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  animation: badgeFloat 3s ease-in-out infinite;
}

.hero-image .floating-badge.badge-1 {
  top: 10%;
  right: -20px;
  animation-delay: 0s;
}

.hero-image .floating-badge.badge-2 {
  bottom: 15%;
  left: -20px;
  animation-delay: 1.5s;
}

.floating-badge .badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.floating-badge .badge-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.floating-badge .badge-text strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.95rem;
}

/* --- Image Card with Overlay --- */
.img-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-card:hover img {
  transform: scale(1.05);
}

.img-card .img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}

.img-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-accent);
}

/* --- Marquee / Scrolling Text --- */
.marquee-section {
  padding: 24px 0;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.marquee-track {
  display: flex;
  gap: 64px;
  animation: marqueeScroll 20s linear infinite;
  width: max-content;
}

.marquee-item {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.marquee-item .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  padding: calc(var(--nav-height) + 80px) 0 80px;
  position: relative;
  text-align: center;
  overflow: hidden;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 145, 45, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  margin-bottom: 16px;
  position: relative;
}

.page-hero p {
  max-width: 550px;
  margin: 0 auto;
  position: relative;
}

/* --- Grid Layouts --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

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

/* --- Stats Bar --- */
.stats-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--accent-glow) 0%, transparent 20%, transparent 80%, var(--accent-glow) 100%);
  pointer-events: none;
}

.stats-bar .grid-4 {
  text-align: center;
}

.stat-item .stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  background: var(--accent-gradient-wide);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* --- Feature Row --- */
.feature-row {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 40px 0;
}

.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-visual {
  flex: 1;
  min-width: 0;
}

.feature-visual .visual-box {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.feature-visual img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  transition: transform 0.6s ease;
}

.feature-row:hover .feature-visual img {
  transform: scale(1.02);
}

.feature-text {
  flex: 1;
  min-width: 0;
}

.feature-text h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.feature-text p {
  margin-bottom: 24px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.feature-list li::before {
  content: '✦';
  color: var(--accent);
  font-size: 0.8rem;
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: 110px 0;
}

.cta-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 145, 45, 0.08) 0%, transparent 70%);
  pointer-events: none;
  animation: floatGlow 6s ease-in-out infinite;
}

.cta-box h2 {
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-box p {
  max-width: 500px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}

/* --- Form Styles --- */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: all var(--transition-normal);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow), 0 0 20px var(--accent-glow);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* --- Contact Info Card --- */
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.contact-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.contact-card .contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all var(--transition-normal);
}

.contact-card:hover .contact-icon {
  background: var(--accent-gradient);
  box-shadow: var(--shadow-accent);
}

.contact-card h4 {
  margin-bottom: 4px;
  color: var(--text-primary);
}

.contact-card p {
  font-size: 0.9rem;
}

/* --- Timeline --- */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--border-subtle));
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg-primary), 0 0 0 6px var(--accent), 0 0 16px var(--accent-glow-strong);
}

.timeline-item .year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.timeline-item h3 {
  margin-bottom: 8px;
}

.timeline-item p {
  font-size: 0.9rem;
}

/* --- Team Grid --- */
.team-card {
  text-align: center;
  padding: 36px 24px;
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 2px solid var(--border-accent);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all var(--transition-spring);
}

.team-card:hover .team-avatar {
  border-color: var(--accent);
  box-shadow: var(--shadow-accent-lg);
  transform: scale(1.08) rotate(-5deg);
}

.team-card h3 {
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.team-card .role {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
}

/* --- Image Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.gallery-grid .img-card:first-child {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.gallery-grid .img-card {
  min-height: 220px;
}

.gallery-grid .img-card:first-child {
  min-height: 460px;
}

/* --- Footer --- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-about p {
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-col ul li a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom .social-links {
  display: flex;
  gap: 12px;
}

.footer-bottom .social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all var(--transition-spring);
}

.footer-bottom .social-links a:hover {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent-gradient);
  box-shadow: var(--shadow-accent);
  transform: translateY(-3px);
}

/* --- Map Container --- */
.map-container {
  width: 100%;
  height: 350px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== ANIMATIONS ===== */

@keyframes floatGlow {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, -30px) scale(1.1);
  }
}

@keyframes pulseGlow {

  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.3);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 200%;
  }
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes particleFloat {
  0% {
    bottom: -10px;
    opacity: 0;
    transform: translateX(0);
  }

  10% {
    opacity: 0.6;
  }

  50% {
    opacity: 0.3;
    transform: translateX(20px);
  }

  90% {
    opacity: 0;
  }

  100% {
    bottom: 100%;
    opacity: 0;
    transform: translateX(-10px);
  }
}

@keyframes badgeFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes textReveal {
  0% {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  }

  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

@keyframes borderGlow {

  0%,
  100% {
    border-color: var(--border-subtle);
  }

  50% {
    border-color: var(--border-accent);
  }
}

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.animate-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.animate-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

.delay-5 {
  animation-delay: 0.5s;
}

/* Staggered children animation */
.stagger-children>*:nth-child(1) {
  transition-delay: 0.05s;
}

.stagger-children>*:nth-child(2) {
  transition-delay: 0.1s;
}

.stagger-children>*:nth-child(3) {
  transition-delay: 0.15s;
}

.stagger-children>*:nth-child(4) {
  transition-delay: 0.2s;
}

.stagger-children>*:nth-child(5) {
  transition-delay: 0.25s;
}

.stagger-children>*:nth-child(6) {
  transition-delay: 0.3s;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .feature-row {
    flex-direction: column;
    gap: 32px;
  }

  .feature-row.reverse {
    flex-direction: column;
  }

  .hero-split {
    flex-direction: column;
    gap: 32px;
  }

  .hero-split .hero-image {
    flex: 1;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid .img-card:first-child {
    grid-column: 1 / 3;
    grid-row: auto;
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .cta-box {
    padding: 48px 24px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid .img-card:first-child {
    grid-column: auto;
    min-height: 250px;
  }

  .gallery-grid .img-card {
    min-height: 200px;
  }

  .floating-badge {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== ANIMATED ROBOT MASCOT ===== */

.robot-mascot {
  position: relative;
  width: 48px;
  height: 48px;
  margin-left: 6px;
  cursor: pointer;
  animation: robotBob 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

/* Antenna */
.robot-antenna {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 10px;
  background: var(--accent);
  transform-origin: bottom center;
  animation: antennaWave 2s ease-in-out infinite;
}

.robot-antenna::after {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent), 0 0 16px rgba(232, 145, 45, 0.4);
  animation: antennaPulse 1.5s ease-in-out infinite;
}

/* Robot Head/Body */
.robot-head {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 30px;
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
  border-radius: 10px 10px 8px 8px;
  border: 1.5px solid var(--border-accent);
  overflow: hidden;
  box-shadow: 0 0 12px rgba(232, 145, 45, 0.1);
}

/* Screen on face */
.robot-screen {
  position: absolute;
  top: 5px;
  left: 4px;
  right: 4px;
  bottom: 7px;
  background: linear-gradient(180deg, #0d1117, #161b22);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Eyes */
.robot-eyes {
  display: flex;
  gap: 8px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.robot-eye {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent), 0 0 12px rgba(232, 145, 45, 0.3);
  animation: eyeBlink 3s ease-in-out infinite;
}

.robot-eye:last-child {
  animation-delay: 0.1s;
}

/* Screen scan line */
.robot-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(232, 145, 45, 0.2);
  animation: scanLine 2s linear infinite;
  z-index: 1;
}

/* Screen code flicker */
.robot-screen::after {
  content: '</ >';
  position: absolute;
  font-family: monospace;
  font-size: 5px;
  color: rgba(232, 145, 45, 0.15);
  top: 2px;
  left: 3px;
  animation: codeFlicker 4s steps(1) infinite;
  z-index: 0;
}

/* Robot Body (below head) */
.robot-body {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 16px;
  background: linear-gradient(135deg, #222, #1a1a1a);
  border-radius: 4px 4px 10px 10px;
  border: 1.5px solid rgba(232, 145, 45, 0.15);
  border-top: none;
}

/* Body chest light */
.robot-body::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.7;
  animation: chestPulse 1.8s ease-in-out infinite;
}

/* Arms */
.robot-arm-left,
.robot-arm-right {
  position: absolute;
  bottom: 8px;
  width: 5px;
  height: 14px;
  background: #2a2a2a;
  border: 1px solid rgba(232, 145, 45, 0.15);
  border-radius: 3px;
}

.robot-arm-left {
  left: 3px;
  transform-origin: top center;
  animation: armWaveLeft 3s ease-in-out infinite;
}

.robot-arm-right {
  right: 3px;
  transform-origin: top center;
  animation: armWaveRight 3s ease-in-out infinite;
}

/* Floating code symbols around robot */
.robot-code-symbols {
  position: absolute;
  inset: -16px;
  pointer-events: none;
}

.code-sym {
  position: absolute;
  font-family: 'Courier New', monospace;
  font-size: 8px;
  color: var(--accent);
  opacity: 0;
  font-weight: 700;
}

.code-sym:nth-child(1) {
  content: '</>';
  top: -8px;
  right: -6px;
  animation: floatSymbol 4s ease-in-out infinite 0s;
}

.code-sym:nth-child(2) {
  top: 50%;
  left: -14px;
  animation: floatSymbol 4s ease-in-out infinite 1.3s;
}

.code-sym:nth-child(3) {
  bottom: -4px;
  right: -10px;
  animation: floatSymbol 4s ease-in-out infinite 2.6s;
}

/* Robot mascot animations */
@keyframes robotBob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes antennaWave {

  0%,
  100% {
    transform: translateX(-50%) rotate(0deg);
  }

  25% {
    transform: translateX(-50%) rotate(12deg);
  }

  75% {
    transform: translateX(-50%) rotate(-12deg);
  }
}

@keyframes antennaPulse {

  0%,
  100% {
    box-shadow: 0 0 8px var(--accent), 0 0 16px rgba(232, 145, 45, 0.4);
  }

  50% {
    box-shadow: 0 0 12px var(--accent), 0 0 28px rgba(232, 145, 45, 0.6);
  }
}

@keyframes eyeBlink {

  0%,
  42%,
  44%,
  100% {
    transform: scaleY(1);
  }

  43% {
    transform: scaleY(0.1);
  }
}

@keyframes scanLine {
  0% {
    top: 0;
  }

  100% {
    top: 100%;
  }
}

@keyframes codeFlicker {

  0%,
  50% {
    content: '</ >';
  }

  25% {
    content: '{ }';
  }

  75% {
    content: '01';
  }
}

@keyframes chestPulse {

  0%,
  100% {
    opacity: 0.4;
    box-shadow: none;
  }

  50% {
    opacity: 1;
    box-shadow: 0 0 8px rgba(232, 145, 45, 0.5);
  }
}

@keyframes armWaveLeft {

  0%,
  100% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(-15deg);
  }
}

@keyframes armWaveRight {

  0%,
  100% {
    transform: rotate(0deg);
  }

  30% {
    transform: rotate(20deg);
  }

  60% {
    transform: rotate(-5deg);
  }
}

@keyframes floatSymbol {

  0%,
  100% {
    opacity: 0;
    transform: translateY(0) scale(0.8);
  }

  20% {
    opacity: 0.7;
    transform: translateY(-6px) scale(1);
  }

  80% {
    opacity: 0.3;
    transform: translateY(-14px) scale(0.9);
  }
}

/* Robot hover interaction */
.robot-mascot:hover {
  animation: robotBob 0.8s ease-in-out infinite;
}

.robot-mascot:hover .robot-eye {
  width: 7px;
  height: 7px;
  box-shadow: 0 0 10px var(--accent), 0 0 20px rgba(232, 145, 45, 0.5);
}

.robot-mascot:hover .robot-antenna::after {
  box-shadow: 0 0 14px var(--accent), 0 0 32px rgba(232, 145, 45, 0.7);
}

.robot-mascot:hover .code-sym {
  animation-duration: 2s;
}

@media (max-width: 768px) {
  .robot-mascot {
    width: 40px;
    height: 40px;
  }

  .robot-head {
    width: 30px;
    height: 26px;
  }

  .robot-body {
    width: 24px;
    height: 14px;
  }
}