/* ==========================================================================
   TIWARI GROUP - OFFICIAL WEBSITE STYLESHEET
   Design System: Royal Navy & Metallic Gold Luxury
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & THEME DEFINITIONS
   -------------------------------------------------------------------------- */
:root {
  /* Colors - Deep Sapphire Navy Palette */
  --bg-primary: #050814;
  --bg-secondary: #0a1026;
  --bg-card: rgba(12, 20, 48, 0.65);
  --bg-card-hover: rgba(18, 30, 72, 0.85);
  --bg-glass: rgba(10, 16, 40, 0.55);
  --bg-glass-heavy: rgba(7, 12, 28, 0.85);
  --bg-surface: #0e1738;

  /* Colors - Majestic Gold Palette */
  --gold-primary: #d4af37;
  --gold-light: #f7e5a9;
  --gold-pale: #fbf5b7;
  --gold-dark: #aa771c;
  --gold-amber: #e6b325;
  --gold-bronze: #8f6516;

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #f7e5a9 0%, #d4af37 50%, #aa771c 100%);
  --gradient-gold-reverse: linear-gradient(135deg, #aa771c 0%, #d4af37 50%, #f7e5a9 100%);
  --gradient-gold-radial: radial-gradient(circle, #f7e5a9 0%, #d4af37 60%, #8f6516 100%);
  --gradient-gold-soft: linear-gradient(135deg, rgba(247, 229, 169, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
  --gradient-dark: linear-gradient(180deg, #050814 0%, #0a1026 50%, #050814 100%);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(212, 175, 55, 0.02) 100%);
  --gradient-glow: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.18), transparent 70%);

  /* Borders */
  --border-gold-subtle: 1px solid rgba(212, 175, 55, 0.18);
  --border-gold-medium: 1px solid rgba(212, 175, 55, 0.35);
  --border-gold-bright: 1px solid rgba(247, 229, 169, 0.65);
  --border-radius-sm: 8px;
  --border-radius-md: 14px;
  --border-radius-lg: 20px;
  --border-radius-xl: 30px;
  --border-radius-full: 9999px;

  /* Shadows & Glows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --glow-gold-sm: 0 0 15px rgba(212, 175, 55, 0.25);
  --glow-gold-md: 0 0 30px rgba(212, 175, 55, 0.35);
  --glow-gold-lg: 0 0 60px rgba(212, 175, 55, 0.45);
  --shadow-card-3d: 0 20px 50px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.12);

  /* Typography */
  --font-heading: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Text Colors */
  --text-primary: #f0f4ff;
  --text-secondary: #a3b3d4;
  --text-muted: #6f7f9e;
  --text-gold: #f7e5a9;

  /* Layout & Transitions */
  --container-max: 1240px;
  --nav-height: 84px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(26, 44, 99, 0.25) 0%, transparent 50%);
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #aa771c, #d4af37, #aa771c);
  border-radius: 5px;
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-light);
}

/* Selection */
::selection {
  background: rgba(212, 175, 55, 0.3);
  color: var(--gold-pale);
}

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

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY & UTILITY CLASSES
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.text-gold-gradient {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.text-gold {
  color: var(--gold-primary);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(212, 175, 55, 0.1);
  border: var(--border-gold-subtle);
  border-radius: var(--border-radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}

.section-tag i, .section-tag span.gem {
  color: var(--gold-primary);
  font-size: 0.85rem;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 65px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 700;
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 1.06rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* Decorative Divider */
.gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 22px auto 0;
}
.gold-divider::before, .gold-divider::after {
  content: '';
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5));
}
.gold-divider::after {
  background: linear-gradient(270deg, transparent, rgba(212, 175, 55, 0.5));
}
.gold-divider-diamond {
  width: 7px;
  height: 7px;
  background: var(--gold-primary);
  transform: rotate(45deg);
  box-shadow: 0 0 8px var(--gold-primary);
}

/* --------------------------------------------------------------------------
   4. BUTTONS & INTERACTIVE ELEMENTS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--border-radius-full);
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  z-index: 1;
}

.btn-primary {
  background: var(--gradient-gold);
  color: #050814;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.55);
  color: #03050d;
}

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

.btn-secondary {
  background: rgba(10, 16, 40, 0.65);
  color: var(--text-primary);
  border: var(--border-gold-medium);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-light);
  color: var(--gold-pale);
  transform: translateY(-3px);
  box-shadow: var(--glow-gold-sm);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.85rem;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   5. PRELOADER
   -------------------------------------------------------------------------- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #040712;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.preloader-ring {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.12);
  border-top: 2px solid var(--gold-primary);
  border-right: 2px solid var(--gold-light);
  animation: spinRing 2s linear infinite;
  position: absolute;
}

.preloader-ring-outer {
  width: 185px;
  height: 185px;
  border-radius: 50%;
  border: 1px dashed rgba(212, 175, 55, 0.25);
  animation: spinRingReverse 6s linear infinite;
  position: absolute;
}

.preloader-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: var(--glow-gold-md);
  animation: pulseLogo 2.2s ease-in-out infinite;
  z-index: 2;
}

.preloader-title {
  margin-top: 50px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.preloader-progress-bar {
  width: 180px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  margin-top: 15px;
  overflow: hidden;
  position: relative;
}

.preloader-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--gradient-gold);
  border-radius: 3px;
  transition: width 0.3s ease;
}

@keyframes spinRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spinRingReverse {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

@keyframes pulseLogo {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4)); }
  50% { transform: scale(1.06); filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.7)); }
}

/* --------------------------------------------------------------------------
   6. NAVIGATION BAR
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal), height var(--transition-normal);
  display: flex;
  align-items: center;
}

.navbar.scrolled {
  background: rgba(5, 8, 20, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  height: 72px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.25);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.nav-brand:hover .nav-logo-img {
  transform: rotate(5deg) scale(1.05);
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.55);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  line-height: 1.1;
}

.nav-brand-tagline {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-primary);
}

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

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-gold);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--gold-light);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   7. HERO SECTION & 3D CANVAS
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 70px;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Hero Background Glows */
.hero-ambient-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(10, 16, 40, 0) 70%);
  filter: blur(60px);
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  animation: pulseAmbient 8s ease-in-out infinite alternate;
}

@keyframes pulseAmbient {
  0% { transform: translateX(-50%) scale(0.9); opacity: 0.6; }
  100% { transform: translateX(-50%) scale(1.2); opacity: 1; }
}

.hero-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(212, 175, 55, 0.1);
  border: var(--border-gold-subtle);
  border-radius: var(--border-radius-full);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--gold-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold-primary);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.5; }
}

.hero-badge-text {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 700;
  margin-bottom: 22px;
  line-height: 1.16;
}

.hero-description {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 38px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 45px;
}

.hero-quick-stats {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.quick-stat-item {
  display: flex;
  flex-direction: column;
}

.quick-stat-number {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}

.quick-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* 3D Hero Visual Element */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.hero-3d-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 30% 30%, rgba(20, 32, 70, 0.85), rgba(7, 12, 28, 0.95));
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 36px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.8),
    0 0 50px rgba(212, 175, 55, 0.2),
    inset 0 0 40px rgba(212, 175, 55, 0.08);
  backdrop-filter: blur(20px);
  transform-style: preserve-3d;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
  animation: floatCard 6s ease-in-out infinite alternate;
}

@keyframes floatCard {
  0% { transform: translateY(0px) rotateX(2deg) rotateY(-2deg); }
  100% { transform: translateY(-16px) rotateX(-2deg) rotateY(3deg); }
}

.hero-3d-card-inner {
  transform: translateZ(50px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-card-logo-wrap {
  position: relative;
  width: 190px;
  height: 190px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.5));
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease;
}

.hero-card-logo-wrap::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px dashed rgba(212, 175, 55, 0.4);
  animation: spinRing 20s linear infinite;
}

.hero-card-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.15);
  animation: spinRingReverse 30s linear infinite;
}

.hero-card-badge {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.hero-card-sub {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* Floating 3D Floating Badges */
.floating-chip {
  position: absolute;
  background: rgba(10, 16, 42, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--border-radius-lg);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.2);
  backdrop-filter: blur(14px);
  z-index: 3;
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

.floating-chip-1 {
  top: 10%;
  left: -20px;
  animation: floatChip1 5s ease-in-out infinite alternate;
}

.floating-chip-2 {
  bottom: 12%;
  right: -25px;
  animation: floatChip2 6s ease-in-out infinite alternate;
}

@keyframes floatChip1 {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-12px) rotate(-2deg); }
}

@keyframes floatChip2 {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(14px) rotate(2deg); }
}

.chip-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.05rem;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.chip-content {
  display: flex;
  flex-direction: column;
}

.chip-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.chip-sub {
  font-size: 0.72rem;
  color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   8. 3D CARD TILT UTILITIES & GLASSMORPHISM
   -------------------------------------------------------------------------- */
.tilt-card {
  position: relative;
  background: var(--bg-card);
  border: var(--border-gold-subtle);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.15s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
  transform-style: preserve-3d;
  overflow: hidden;
}

.tilt-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 229, 169, 0.4), transparent);
}

.tilt-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: var(--shadow-card-3d);
}

/* Card Glare effect generated via JS */
.card-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(247, 229, 169, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.tilt-card:hover .card-glare {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   9. ABOUT US SECTION
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.about-visual {
  position: relative;
}

.about-card-featured {
  background: linear-gradient(145deg, rgba(14, 23, 56, 0.8), rgba(7, 12, 28, 0.95));
  border: var(--border-gold-medium);
  border-radius: var(--border-radius-xl);
  padding: 44px;
  position: relative;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.about-card-featured::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.about-logo-center {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.about-logo-img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.about-brand-titles h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.about-brand-titles p {
  font-size: 0.82rem;
  color: var(--gold-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-highlights-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(212, 175, 55, 0.1);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.about-highlight-item:hover {
  transform: translateX(6px);
  border-color: rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.05);
}

.highlight-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.highlight-text h5 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.highlight-text p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.about-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 22px;
}

.about-content p {
  margin-bottom: 20px;
  font-size: 1.02rem;
  line-height: 1.8;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.pillar-box {
  padding: 20px;
  background: rgba(10, 16, 40, 0.5);
  border: var(--border-gold-subtle);
  border-radius: var(--border-radius-md);
}

.pillar-box i {
  font-size: 1.4rem;
  color: var(--gold-primary);
  margin-bottom: 10px;
  display: block;
}

.pillar-box h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.pillar-box p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   10. MISSION & VISION SECTION
   -------------------------------------------------------------------------- */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.mv-card {
  padding: 44px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.mv-icon-wrap {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold-light);
  margin-bottom: 26px;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.15);
  transition: transform var(--transition-normal);
}

.mv-card:hover .mv-icon-wrap {
  transform: scale(1.1) rotate(5deg);
  border-color: var(--gold-light);
  box-shadow: var(--glow-gold-md);
}

.mv-card h3 {
  font-size: 1.65rem;
  margin-bottom: 16px;
}

.mv-card p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.mv-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mv-point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.mv-point i {
  color: var(--gold-primary);
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   11. DETAILED SERVICES SECTION
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--border-radius-xl);
  min-height: 380px;
  position: relative;
}

.service-card-top {
  position: relative;
  z-index: 2;
}

.service-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: var(--gold-light);
  margin-bottom: 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon-box {
  background: var(--gradient-gold);
  color: #050814;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  font-weight: 700;
  transition: color var(--transition-fast);
}

.service-card:hover h3 {
  color: var(--gold-light);
}

.service-card p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 22px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
}

.service-tag {
  font-size: 0.74rem;
  font-weight: 500;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 6px;
  color: var(--gold-light);
}

.service-card-bottom {
  position: relative;
  z-index: 2;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-primary);
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.service-card:hover .service-link {
  color: var(--gold-light);
  gap: 12px;
}

/* --------------------------------------------------------------------------
   12. TECHNOLOGIES MARQUEE & GRID
   -------------------------------------------------------------------------- */
.tech-section {
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 16, 40, 0.5) 50%, transparent 100%);
  overflow: hidden;
}

.tech-marquee-container {
  display: flex;
  flex-direction: column;
  gap: 22px;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.tech-marquee-track {
  display: flex;
  width: max-content;
  gap: 24px;
}

.tech-marquee-track.track-forward {
  animation: marqueeForward 40s linear infinite;
}

.tech-marquee-track.track-reverse {
  animation: marqueeReverse 40s linear infinite;
}

.tech-marquee-container:hover .tech-marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeForward {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeReverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.tech-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 26px;
  background: rgba(14, 22, 52, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: var(--border-radius-full);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.tech-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(24, 38, 88, 0.9);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(212, 175, 55, 0.2);
}

.tech-icon-svg {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.tech-card span {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

.tech-card:hover span {
  color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   13. OUR PROCESS TIMELINE
   -------------------------------------------------------------------------- */
.process-timeline {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.5) 15%, rgba(212, 175, 55, 0.5) 85%, transparent);
  transform: translateX(-50%);
}

.timeline-step {
  display: flex;
  align-items: center;
  margin-bottom: 55px;
  position: relative;
}

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

.timeline-step:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: calc(50% - 45px);
  padding: 30px;
  border-radius: var(--border-radius-lg);
  background: var(--bg-card);
  border: var(--border-gold-subtle);
  backdrop-filter: blur(14px);
  position: relative;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.timeline-step:hover .timeline-content {
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-3d);
}

.timeline-badge {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--gold-light);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
  z-index: 2;
  transition: all var(--transition-normal);
}

.timeline-step:hover .timeline-badge {
  background: var(--gradient-gold);
  color: #050814;
  transform: translateX(-50%) scale(1.15);
  box-shadow: var(--glow-gold-md);
}

.timeline-step-tag {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 8px;
}

.timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.timeline-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   14. WHY CHOOSE US & ANIMATED COUNTERS
   -------------------------------------------------------------------------- */
.stats-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 70px;
}

.stat-card {
  padding: 34px 24px;
  text-align: center;
  border-radius: var(--border-radius-lg);
  background: linear-gradient(145deg, rgba(16, 26, 62, 0.7), rgba(8, 14, 34, 0.8));
  border: var(--border-gold-subtle);
  transition: all var(--transition-normal);
}

.stat-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-3d);
}

.stat-icon {
  font-size: 2rem;
  color: var(--gold-primary);
  margin-bottom: 14px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.1;
}

.stat-number-suffix {
  color: var(--gold-primary);
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

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

.strength-box {
  padding: 30px;
  background: var(--bg-card);
  border: var(--border-gold-subtle);
  border-radius: var(--border-radius-lg);
  transition: all var(--transition-normal);
}

.strength-box:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.strength-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 20px;
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.strength-box h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.strength-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   15. PORTFOLIO & SHOWCASE SECTION
   -------------------------------------------------------------------------- */
.portfolio-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 45px;
}

.filter-btn {
  padding: 9px 24px;
  border-radius: var(--border-radius-full);
  background: rgba(14, 22, 50, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.2);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gradient-gold);
  color: #050814;
  border-color: var(--gold-light);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35);
}

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

.portfolio-card {
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  background: var(--bg-card);
  border: var(--border-gold-subtle);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.portfolio-card.hidden {
  display: none;
}

.portfolio-preview {
  position: relative;
  width: 100%;
  height: 220px;
  background: #080d22;
  overflow: hidden;
}

.portfolio-img-mockup {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-img-mockup {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 8, 20, 0.95) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.portfolio-category-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 12px;
  border-radius: var(--border-radius-full);
  background: rgba(5, 8, 20, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.3);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-light);
  backdrop-filter: blur(6px);
}

.portfolio-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.portfolio-body h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.portfolio-body p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
}

.portfolio-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.portfolio-tech {
  font-size: 0.72rem;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  color: var(--gold-light);
}

.portfolio-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.portfolio-details-btn {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gold-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.portfolio-details-btn:hover {
  color: var(--gold-light);
  gap: 10px;
}

/* --------------------------------------------------------------------------
   16. TESTIMONIALS CAROUSEL
   -------------------------------------------------------------------------- */
.testimonials-section {
  position: relative;
  overflow: hidden;
}

.testimonials-slider-wrap {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 10px;
}

.testimonial-card {
  padding: 48px;
  background: var(--bg-card);
  border: var(--border-gold-medium);
  border-radius: var(--border-radius-xl);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  position: relative;
  text-align: center;
}

.testimonial-quote-icon {
  font-size: 2.4rem;
  color: rgba(212, 175, 55, 0.3);
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.85;
  margin-bottom: 30px;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 20px;
  color: var(--gold-amber);
  font-size: 0.95rem;
}

.testimonial-author-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.testimonial-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  object-fit: cover;
  margin-bottom: 8px;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.testimonial-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-role {
  font-size: 0.82rem;
  color: var(--gold-light);
  letter-spacing: 0.05em;
}

/* Slider Controls */
.slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: rgba(14, 22, 50, 0.7);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-arrow:hover {
  background: var(--gold-primary);
  color: #050814;
  border-color: var(--gold-light);
  box-shadow: var(--glow-gold-sm);
  transform: scale(1.08);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dot.active {
  width: 26px;
  border-radius: 10px;
  background: var(--gradient-gold);
}

/* --------------------------------------------------------------------------
   17. FAQ ACCORDION SECTION
   -------------------------------------------------------------------------- */
.faq-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: var(--border-gold-subtle);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item.active {
  border-color: rgba(212, 175, 55, 0.45);
  background: var(--bg-card-hover);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.faq-question {
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-question h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-right: 15px;
  transition: color var(--transition-fast);
}

.faq-item.active .faq-question h3 {
  color: var(--gold-light);
}

.faq-toggle-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: transform var(--transition-normal), background var(--transition-fast);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  background: var(--gold-primary);
  color: #050814;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 28px;
}

.faq-item.active .faq-answer {
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* --------------------------------------------------------------------------
   18. CONTACT SECTION & FORMS
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

.contact-info-card {
  padding: 44px;
  background: linear-gradient(145deg, rgba(14, 23, 56, 0.85), rgba(7, 12, 28, 0.95));
  border: var(--border-gold-medium);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-header h3 {
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.contact-info-header p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 34px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon-box {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1.1rem;
}

.contact-detail-text h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.contact-detail-text p, .contact-detail-text a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact-detail-text a:hover {
  color: var(--gold-light);
}

.contact-social-bar {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.contact-social-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--gradient-gold);
  color: #050814;
  border-color: var(--gold-light);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
  transform: translateY(-3px);
}

/* Contact Form Card */
.contact-form-card {
  padding: 44px;
  background: var(--bg-card);
  border: var(--border-gold-subtle);
  border-radius: var(--border-radius-xl);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 13px 18px;
  background: rgba(7, 12, 28, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--border-radius-md);
  color: var(--text-primary);
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold-primary);
  background: rgba(10, 16, 40, 0.9);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.25);
}

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

.form-select option {
  background: #0a1026;
  color: var(--text-primary);
}

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

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}

.form-alt-submit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.form-alt-submit a {
  color: #25d366;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.form-alt-submit a:hover {
  text-decoration: underline;
}

/* Form Toast Notification */
.form-toast {
  display: none;
  padding: 14px 20px;
  background: rgba(16, 52, 34, 0.9);
  border: 1px solid #2ecc71;
  border-radius: var(--border-radius-md);
  color: #d4edda;
  font-size: 0.9rem;
  margin-top: 20px;
  align-items: center;
  gap: 10px;
  animation: slideInDown 0.4s ease;
}

.form-toast.show {
  display: flex;
}

@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   19. FOOTER SECTION
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  background: #03050c;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  padding: 85px 0 35px;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  box-shadow: 0 0 20px var(--gold-primary);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.footer-logo-img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
}

.footer-brand-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-primary);
}

.footer-about-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--gold-primary);
  border-radius: 2px;
}

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

.footer-links-list a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links-list a:hover {
  color: var(--gold-light);
  transform: translateX(5px);
}

.footer-newsletter p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex-grow: 1;
  padding: 11px 16px;
  background: rgba(14, 22, 50, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--border-radius-full);
  color: var(--text-primary);
  font-size: 0.88rem;
}

.newsletter-input:focus {
  border-color: var(--gold-primary);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.footer-bottom-links a:hover {
  color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   20. BACK TO TOP & FLOATING ELEMENTS
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(10, 16, 40, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.2);
  backdrop-filter: blur(10px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gradient-gold);
  color: #050814;
  border-color: var(--gold-light);
  box-shadow: var(--glow-gold-md);
  transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   21. PROJECT MODAL PREVIEW
   -------------------------------------------------------------------------- */
.project-modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 14, 0.85);
  backdrop-filter: blur(16px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.project-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--bg-surface);
  border: var(--border-gold-medium);
  border-radius: var(--border-radius-xl);
  max-width: 680px;
  width: 100%;
  padding: 38px;
  position: relative;
  box-shadow: var(--shadow-lg), var(--glow-gold-sm);
  transform: scale(0.92);
  transition: transform var(--transition-normal);
}

.project-modal.active .modal-dialog {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--gold-primary);
  color: #050814;
}

.modal-content-wrap h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.modal-category-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  display: inline-block;
}

.modal-body-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.modal-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.modal-tech-badge {
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.25);
  font-size: 0.8rem;
  color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   22. ANIMATION UTILITIES (IntersectionObserver)
   -------------------------------------------------------------------------- */
.reveal-fade-up {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-zoom-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.is-revealed {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Delay helpers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* --------------------------------------------------------------------------
   23. RESPONSIVE DESIGN (MEDIA QUERIES)
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero-content-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }
  .hero-text {
    text-align: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-quick-stats {
    justify-content: center;
  }
  .hero-visual {
    margin-top: 10px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-banner {
    grid-template-columns: repeat(2, 1fr);
  }
  .strengths-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .process-timeline::before {
    left: 24px;
  }
  .timeline-step {
    flex-direction: row !important;
    padding-left: 65px;
  }
  .timeline-content {
    width: 100%;
  }
  .timeline-badge {
    left: 24px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 74px;
  }
  .section {
    padding: 80px 0;
  }
  .hamburger {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    right: -100%;
    width: 280px;
    height: calc(100vh - var(--nav-height));
    background: rgba(5, 8, 20, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(212, 175, 55, 0.2);
    flex-direction: column;
    align-items: flex-start;
    padding: 35px 25px;
    gap: 20px;
    transition: right var(--transition-normal);
  }
  .nav-links.active {
    right: 0;
  }
  .nav-actions .btn {
    display: none;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .strengths-grid {
    grid-template-columns: 1fr;
  }
  .about-pillars {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .floating-chip {
    display: none;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.85rem;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .stats-banner {
    grid-template-columns: 1fr;
  }
  .contact-info-card, .contact-form-card, .mv-card {
    padding: 26px 20px;
  }
}
