/* ==========================================================================
   VIWORKTECH - MODERN DIGITAL SOLUTIONS STYLESHEET
   Pure CSS3 with CSS Custom Properties (Variables), Grid, Flexbox, & Animations
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  --primary: #07306C;
  --primary-hover: #052453;
  --secondary: #0A4A9C;
  --primary-light: #1E64C8;
  --accent: #00D2FF;
  --accent-glow: rgba(0, 210, 255, 0.2);
  --background: #F3F5F4;
  --card-bg: #FFFFFF;
  --text: #172033;
  --text-muted: #5A6882;
  --border-color: #E2E8F0;
  --border-light: #EEF2F6;
  --error: #DC2626;
  --success: #10B981;

  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-sm: 0 4px 6px -1px rgba(7, 48, 108, 0.04), 0 2px 4px -1px rgba(7, 48, 108, 0.02);
  --shadow-md: 0 10px 25px -5px rgba(7, 48, 108, 0.08), 0 8px 10px -6px rgba(7, 48, 108, 0.04);
  --shadow-lg: 0 20px 40px -10px rgba(7, 48, 108, 0.12), 0 10px 20px -5px rgba(7, 48, 108, 0.06);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  list-style: none;
}

img, svg {
  display: block;
}

/* --------------------------------------------------------------------------
   3. LAYOUT & CONTAINERS
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  text-align: center;
}

.section-subtitle {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary);
  background: rgba(10, 74, 156, 0.08);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   4. BUTTONS & UI COMPONENTS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--card-bg);
  box-shadow: 0 4px 14px rgba(7, 48, 108, 0.25);
}

.btn-primary:hover {
  background-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(7, 48, 108, 0.35);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background-color: rgba(7, 48, 108, 0.05);
  transform: translateY(-2px);
}

.btn-large {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%) ;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   5. NAVBAR
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(243, 245, 244, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border-color);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.logo-img {
  height: 60px;
  width:90px;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.logo:hover .logo-img {
  transform: scale(1.08) translateY(-1px);
}

.footer-logo-img {
  height: 42px;
  background: #FFFFFF;
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.logo-accent {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background-color: var(--secondary);
  border-radius: var(--radius-full);
  transition: width var(--transition-fast);
}

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

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

.nav-cta-mobile {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Hamburger Button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.hamburger .bar {
  width: 100%;
  height: 2.5px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   6. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  padding-top: 10rem;
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.4;
  z-index: -1;
}

.glow-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.4;
}

.glow-1 {
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
}

.glow-2 {
  bottom: 10%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}

.circle-shape {
  position: absolute;
  border-radius: 50%;
  border: 2px stroke var(--border-color);
  border: 2px dashed rgba(7, 48, 108, 0.15);
  z-index: -1;
  pointer-events: none;
}

.circle-1 {
  top: 20%;
  right: 15%;
  width: 300px;
  height: 300px;
  animation: spinSlow 40s linear infinite;
}

.circle-2 {
  bottom: 15%;
  left: 5%;
  width: 180px;
  height: 180px;
  animation: spinSlow 25s linear reverse infinite;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(7, 48, 108, 0.06);
  border: 1px solid rgba(7, 48, 108, 0.12);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-highlights {
  display: flex;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.highlight-item svg {
  color: var(--secondary);
}

/* HERO VISUAL MOCKUP & CARDS */
.hero-visual {
  position: relative;
}

.hero-card-frame {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  z-index: 2;
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform var(--transition-slow);
}

.hero-card-frame:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  background: #F8FAFC;
  border-bottom: 1px solid var(--border-color);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background-color: #FF5F56; }
.dot.yellow { background-color: #FFBD2E; }
.dot.green { background-color: #27C93F; }

.card-title-text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
  font-weight: 500;
}

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.chart-box {
  background: var(--background);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.chart-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 70px;
  gap: 0.5rem;
}

.bar {
  width: 20%;
  height: var(--height);
  background: rgba(7, 48, 108, 0.15);
  border-radius: 4px;
  transition: height 1s ease;
}

.bar.highlight {
  background: linear-gradient(to top, var(--primary), var(--secondary));
}

.metrics-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.metric-card {
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
}

.metric-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.code-line-preview {
  background: #0F172A;
  color: #F8FAFC;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-size: 0.8rem;
  overflow-x: auto;
}

.c-keyword { color: #38BDF8; }
.c-attr { color: #F472B6; }
.c-str { color: #FACC15; }
.c-txt { color: #F8FAFC; }

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: var(--card-bg);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}

.badge-top-right {
  top: -20px;
  right: -20px;
  animation-delay: 0s;
}

.badge-bottom-left {
  bottom: -20px;
  left: -20px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-icon.blue {
  background: rgba(7, 48, 108, 0.1);
  color: var(--primary);
}

.float-icon.green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.float-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text);
}

.float-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   7. ABOUT SECTION & STATISTICS
   -------------------------------------------------------------------------- */
.about-section {
  background-color: var(--card-bg);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: stretch;
}

.main-about-card {
  background: var(--background);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-content h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.about-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.value-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: rgba(7, 48, 108, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Stats Cards */
.stats-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(7, 48, 108, 0.2);
}

.stat-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(7, 48, 108, 0.08) 0%, rgba(10, 74, 156, 0.15) 100%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   8. SERVICES SECTION
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(7, 48, 108, 0.15);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 16px rgba(7, 48, 108, 0.2);
  transition: transform var(--transition-fast);
}

.service-card:hover .service-icon {
  transform: scale(1.08);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.85rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. WHY CHOOSE US SECTION
   -------------------------------------------------------------------------- */
.why-us-section {
  background-color: var(--card-bg);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.why-card {
  background: var(--background);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  background: var(--card-bg);
  border-color: rgba(7, 48, 108, 0.2);
}

.why-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(7, 48, 108, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: all var(--transition-fast);
}

.why-card:hover .why-icon {
  background: var(--primary);
  color: var(--card-bg);
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.65rem;
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   10. OUR PROCESS SECTION
   -------------------------------------------------------------------------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

/* Desktop Connecting Line */
.process-steps::before {
  content: '';
  position: absolute;
  top: 45px;
  left: 10%;
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  z-index: 1;
}

.step-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 2;
  text-align: center;
  transition: all var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.step-number-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--card-bg);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--background);
  box-shadow: var(--shadow-sm);
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(7, 48, 108, 0.06);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.75rem auto 1.25rem;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.step-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   11. PROJECTS SECTION
   -------------------------------------------------------------------------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(7, 48, 108, 0.18);
}

/* CSS-only Project Previews */
.project-preview {
  height: 190px;
  background: #F1F5F9;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.preview-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  background: #E2E8F0;
  border-bottom: 1px solid #CBD5E1;
}

.preview-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.preview-dot.red { background-color: #EF4444; }
.preview-dot.yellow { background-color: #F59E0B; }
.preview-dot.green { background-color: #10B981; }

.preview-url {
  font-size: 0.65rem;
  color: #64748B;
  margin-left: 0.4rem;
  font-family: monospace;
}

.preview-content {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mock-hero {
  background: var(--card-bg);
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  margin-bottom: 0.5rem;
}

.mock-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.mock-p {
  height: 6px;
  background: #E2E8F0;
  border-radius: 3px;
  width: 90%;
  margin-bottom: 4px;
}

.mock-p.short {
  width: 60%;
}

.mock-cards {
  display: flex;
  gap: 0.5rem;
}

.mock-box {
  flex: 1;
  height: 35px;
  background: rgba(7, 48, 108, 0.08);
  border-radius: 4px;
}

.mock-store {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mock-nav {
  height: 12px;
  background: var(--primary);
  border-radius: 3px;
  width: 100%;
}

.mock-products {
  display: flex;
  gap: 0.5rem;
}

.mock-item {
  flex: 1;
  background: var(--card-bg);
  padding: 0.5rem;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.item-img {
  height: 35px;
  background: linear-gradient(135deg, #0A4A9C, #00D2FF);
  border-radius: 3px;
  margin-bottom: 0.25rem;
}

.item-txt {
  height: 5px;
  background: #E2E8F0;
  border-radius: 2px;
}

.mock-analytics {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mock-line-chart {
  height: 60px;
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.chart-path {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  height: 30px;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.3) 0%, rgba(7, 48, 108, 0.7) 100%);
  clip-path: polygon(0 80%, 25% 40%, 50% 60%, 75% 20%, 100% 0%, 100% 100%, 0% 100%);
}

.mock-stats-row {
  display: flex;
  gap: 0.5rem;
}

.mock-stat-pill {
  flex: 1;
  height: 16px;
  background: var(--card-bg);
  border-radius: 3px;
  box-shadow: var(--shadow-sm);
}

.project-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.project-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-category {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.project-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex: 1;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  background: rgba(7, 48, 108, 0.06);
  color: var(--primary);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(7, 48, 108, 0.1);
}

/* --------------------------------------------------------------------------
   12. CONTACT SECTION & FORM
   -------------------------------------------------------------------------- */
.contact-section {
  background-color: var(--card-bg);
  border-top: 1px solid var(--border-color);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(7, 48, 108, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.info-val {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
}

/* Form Styling */
.contact-form-card {
  background: var(--background);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.form-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
}

.form-alert.alert-success {
  background-color: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.form-alert.alert-error {
  background-color: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

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

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.required {
  color: var(--error);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  background: var(--card-bg);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text);
  outline: none;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(10, 74, 156, 0.15);
}

.form-group input.input-error,
.form-group select.input-error,
.form-group textarea.input-error {
  border-color: var(--error);
}

.error-msg {
  font-size: 0.775rem;
  color: var(--error);
  font-weight: 500;
  display: none;
}

.error-msg.visible {
  display: block;
}

/* --------------------------------------------------------------------------
   13. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background-color: #041E44;
  color: #CBD5E1;
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-logo {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #94A3B8;
  max-width: 280px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.925rem;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-info-text {
  font-size: 0.925rem;
  color: #94A3B8;
  margin-bottom: 0.6rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.75rem;
  text-align: center;
  font-size: 0.875rem;
  color: #64748B;
}

/* --------------------------------------------------------------------------
   14. ANIMATIONS & REVEAL CLASSES
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   15. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */

/* TABLET (768px - 1199px) */
@media (max-width: 1199px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-highlights {
    justify-content: center;
  }

  .hero-card-frame {
    transform: none;
    max-width: 600px;
    margin: 0 auto;
  }

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

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 1.5rem;
  }

  .process-steps::before {
    display: none;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

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

/* NAVBAR RESPONSIVE BREAKPOINT (1077px and below) */
@media (max-width: 1077px) {
  .hamburger {
    display: flex;
  }

  .nav-cta-desktop {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-cta-mobile {
    display: inline-flex;
    width: 100%;
    margin-top: 0.5rem;
  }
}

/* MOBILE LAYOUT ADJUSTMENTS (Below 768px) */
@media (max-width: 767px) {
  .section {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

  /* Mobile Hero */
  .hero-title {
    font-size: 2.25rem;
  }

  .hero-description {
    font-size: 1.05rem;
  }

  .badge-top-right,
  .badge-bottom-left {
    display: none;
  }

  /* Services 1 per row */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Why Us 1 per row */
  .why-grid {
    grid-template-columns: 1fr;
  }

  /* Process Steps Vertical */
  .process-steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .process-steps::before {
    display: block;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
  }

  /* Projects 1 per row */
  .projects-grid {
    grid-template-columns: 1fr;
  }

  /* Form Grid 1 col */
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-form-card {
    padding: 1.5rem;
  }

  /* Footer 1 col */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
