/* ========================================
   Omphora Technologies — Main Stylesheet
   ======================================== */

:root {
  --blue: #0A1B3F;
  --blue-mid: #112550;
  --blue-deep: #060F24;
  --gold: #C9A24D;
  --gold-dark: #B8912C;
  --white: #FFFFFF;
  --gray-50: #F8F9FC;
  --gray-100: #F1F5F9;
  --gray-300: #CBD5E1;
  --gray-500: #64748B;
  --gray-700: #334155;
  --shadow-sm: 0 1px 3px rgba(10, 27, 63, 0.08);
  --shadow-md: 0 4px 16px rgba(10, 27, 63, 0.12);
  --shadow-lg: 0 8px 32px rgba(10, 27, 63, 0.16);
  --radius: 12px;
  --ease: 0.25s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--blue);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAVIGATION ---- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background var(--ease), box-shadow var(--ease), padding var(--ease);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 0.875rem 0;
}

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

.logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  transition: color var(--ease);
}

.logo-sub {
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

.nav.scrolled .logo-name { color: var(--blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color var(--ease);
}

.nav.scrolled .nav-links a { color: var(--gray-700); }
.nav-links a:hover, .nav.scrolled .nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--blue) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease) !important;
}

.nav-cta:hover {
  background: var(--gold-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(201, 162, 77, 0.35) !important;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--ease);
}

.nav.scrolled .hamburger span { background: var(--blue); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--blue);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  transition: color var(--ease);
}

.mobile-menu a:hover { color: var(--gold); }

.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
}

/* ---- HERO ---- */

.hero {
  min-height: 100vh;
  background: var(--blue);
  display: flex;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 60%, rgba(201, 162, 77, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 85% 20%, rgba(201, 162, 77, 0.04) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 9rem 2rem 6rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: rgba(201, 162, 77, 0.1);
  border: 1px solid rgba(201, 162, 77, 0.28);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.75); }
}

.hero h1 {
  font-size: clamp(2.8rem, 6.5vw, 5.25rem);
  font-weight: 800;
  line-height: 1.04;
  color: var(--white);
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  max-width: 820px;
}

.hero h1 .accent { color: var(--gold); }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2.75rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--blue);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.9rem 1.875rem;
  border-radius: 8px;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 162, 77, 0.32);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.9rem 1.875rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.18);
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.45);
  color: var(--white);
  background: rgba(255,255,255,0.04);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
  animation: scrollAnim 2.4s ease-in-out infinite;
}

@keyframes scrollAnim {
  0%, 100% { transform: scaleY(1); opacity: 0.8; }
  50% { transform: scaleY(0.5); opacity: 0.2; }
}

/* ---- LAYOUT UTILITIES ---- */

.section { padding: 5.5rem 0; }
.section-alt { background: var(--gray-50); }

.section-dark {
  background: var(--blue);
  color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.025rem;
  color: var(--gray-500);
  max-width: 540px;
  line-height: 1.75;
}

.section-dark .section-title { color: var(--white); }
.section-dark .section-sub { color: rgba(255,255,255,0.55); }

.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ---- SERVICE CARDS (home) ---- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(10, 27, 63, 0.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

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

.tag {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--blue);
  background: rgba(10, 27, 63, 0.06);
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
}

/* ---- WHY US ---- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.why-item { display: flex; flex-direction: column; gap: 0.75rem; }

.why-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
}

.why-line {
  width: 36px;
  height: 2px;
  background: rgba(201, 162, 77, 0.4);
}

.why-item h3 {
  font-size: 1.075rem;
  font-weight: 600;
  color: var(--white);
}

.why-item p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.7;
}

/* ---- CTA BAND ---- */

.cta-band {
  background: var(--blue);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(201, 162, 77, 0.07) 0%, transparent 70%);
}

.cta-band .container { position: relative; }

.cta-band h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.cta-band p {
  color: rgba(255,255,255,0.55);
  font-size: 1.05rem;
  margin-bottom: 2.25rem;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- FOOTER ---- */

.footer {
  background: var(--blue-deep);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 2.5rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 0;
}

.footer-logo-name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
}

.footer-logo-sub {
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
  display: block;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.125rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-col ul a {
  text-decoration: none;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--ease);
}

.footer-col ul a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.footer-bottom a { color: var(--gold); text-decoration: none; }

/* ---- PAGE HEADER (inner pages) ---- */

.page-header {
  background: var(--blue);
  padding: 8.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 64px 64px;
}

.page-header .container { position: relative; }

.breadcrumb {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.38);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: var(--gold);
  text-decoration: none;
}

.page-header h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.page-header p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  max-width: 500px;
  line-height: 1.75;
}

/* ---- SERVICES DETAIL PAGE ---- */

.svc-section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.svc-section:last-of-type { border-bottom: none; }

.svc-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.svc-icon-lg {
  width: 60px;
  height: 60px;
  background: rgba(10, 27, 63, 0.06);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.svc-icon-lg svg {
  width: 30px;
  height: 30px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svc-header-text h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.02em;
  margin-bottom: 0.375rem;
}

.svc-header-text p {
  font-size: 0.9rem;
  color: var(--gray-500);
}

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

.svc-offering {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--gray-100);
  transition: box-shadow var(--ease), border-color var(--ease);
}

.svc-offering:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 162, 77, 0.25);
}

.svc-offering h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.625rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.svc-offering h3::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

.svc-offering p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.svc-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.tool-tag {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--blue);
  background: rgba(10, 27, 63, 0.07);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-family: 'Inter', monospace;
}

/* ---- ABOUT PAGE ---- */

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  background: var(--blue);
  border-radius: var(--radius);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.stat-box.gold-border { border-color: rgba(201, 162, 77, 0.3); }

.stat-num {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.375rem;
}

.stat-lbl {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}

.about-text .section-label { margin-bottom: 0.75rem; }

.about-text p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-text p:last-child { margin-bottom: 0; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.875rem;
  transition: box-shadow var(--ease);
}

.value-card:hover { box-shadow: var(--shadow-md); }

.value-icon {
  width: 40px;
  height: 40px;
  background: rgba(201, 162, 77, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.125rem;
}

.value-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ---- CONTACT PAGE ---- */

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4.5rem;
  align-items: start;
}

.contact-info-block { margin-bottom: 2rem; }

.contact-info-block h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.375rem;
}

.contact-info-block a,
.contact-info-block p {
  font-size: 0.95rem;
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
}

.contact-info-block a:hover { color: var(--gold); }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 2.75rem;
  box-shadow: var(--shadow-sm);
}

.contact-form-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.375rem;
}

.contact-form-card > p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
}

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

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.45rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--blue);
  background: var(--white);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 77, 0.14);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(10,27,63,0.3); }

.btn-submit {
  width: 100%;
  padding: 0.9rem;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  margin-top: 0.5rem;
}

.btn-submit:hover {
  background: var(--blue-mid);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.form-success {
  display: none;
  text-align: center;
  padding: 2.5rem 1rem;
}

.form-success.show { display: block; }

.success-icon {
  width: 56px;
  height: 56px;
  background: rgba(201, 162, 77, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.success-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-success h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.form-success p {
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* ---- SCROLL ANIMATIONS ---- */

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ---- RESPONSIVE ---- */

@media (max-width: 900px) {
  .svc-grid,
  .about-story-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-visual { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

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

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

  .section { padding: 4rem 0; }
  .svc-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero-content { padding: 7.5rem 1.25rem 5rem; }
  .contact-form-card { padding: 1.75rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ---- CAREERS PAGE ---- */

.why-join-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.join-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.875rem;
  transition: box-shadow var(--ease), transform var(--ease);
}

.join-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.join-icon {
  width: 44px; height: 44px;
  background: rgba(201,162,77,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.125rem;
}

.join-icon svg {
  width: 20px; height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.join-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.join-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.careers-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: start;
}

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

.profile-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-100);
}

.profile-item:last-child { border-bottom: none; padding-bottom: 0; }

.profile-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-top: 3px;
  flex-shrink: 0;
  width: 24px;
}

.profile-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.35rem;
}

.profile-item p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.skills-box {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 2rem;
  position: sticky;
  top: 6rem;
}

.skills-box h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.skills-group {
  margin-bottom: 1.25rem;
}

.skills-group:last-child { margin-bottom: 0; }

.skill-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.resume-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.resume-btn {
  font-size: 1rem;
  padding: 1rem 2.25rem;
  gap: 0.625rem;
}

.resume-hint {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
}

.resume-hint a {
  color: var(--gold);
  text-decoration: none;
}

.resume-hint a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .careers-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .skills-box { position: static; }
}

/* ---- Open Positions / Job Listings ---- */

.openings-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 3rem;
}

.opening-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 2.25rem;
  transition: box-shadow var(--ease), border-color var(--ease);
}

.opening-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(201,162,77,0.2);
}

.opening-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.opening-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.opening-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.badge-new  { background: rgba(201,162,77,0.12); color: var(--gold-dark); }
.badge-type { background: rgba(10,27,63,0.07);   color: var(--blue); }
.badge-loc  { background: var(--gray-100);        color: var(--gray-500); }

.opening-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.opening-dept {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.btn-apply {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gold);
  color: var(--blue);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: 7px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
}

.btn-apply:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(201,162,77,0.3);
}

.opening-desc {
  font-size: 0.925rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--gray-100);
}

.opening-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.opening-section h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.875rem;
}

.opening-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.opening-section ul li {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
  padding-left: 1rem;
  position: relative;
}

.opening-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

@media (max-width: 640px) {
  .opening-top { flex-direction: column; }
  .btn-apply { align-self: flex-start; }
  .opening-details { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ======================================
   ANIMATIONS & MOVING ELEMENTS
   ====================================== */

/* ---- Hero two-column layout ---- */

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  min-height: calc(100vh - 15rem);
}

.hero-text { position: relative; }

/* ---- Animated background blobs ---- */

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0;
  animation: blob-drift 20s ease-in-out infinite;
}

.blob-1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(201,162,77,0.09) 0%, transparent 70%);
  top: 10%; right: 5%;
  animation-delay: 0s;
  animation-duration: 22s;
}

.blob-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(201,162,77,0.06) 0%, transparent 70%);
  bottom: 10%; left: 5%;
  animation-delay: 6s;
  animation-duration: 18s;
}

.blob-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  top: 50%; left: 40%;
  animation-delay: 12s;
  animation-duration: 25s;
}

@keyframes blob-drift {
  0%   { opacity: 0;    transform: translate(0, 0) scale(1); }
  10%  { opacity: 1; }
  33%  { transform: translate(30px, -40px) scale(1.08); }
  66%  { transform: translate(-20px, 30px) scale(0.94); }
  90%  { opacity: 1; }
  100% { opacity: 0;    transform: translate(0, 0) scale(1); }
}

/* ---- Hero visual container ---- */

.hero-visual {
  position: relative;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Orbital rings ---- */

.orb-ring {
  position: absolute;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.orb-ring-1 {
  width: 160px; height: 160px;
  border: 1.5px solid rgba(201,162,77,0.3);
  animation: spin-cw 18s linear infinite;
}

.orb-ring-1::before {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  top: -4px; left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(201,162,77,0.7);
}

.orb-ring-2 {
  width: 280px; height: 280px;
  border: 1px solid rgba(201,162,77,0.14);
  border-style: dashed;
  animation: spin-ccw 28s linear infinite;
}

.orb-ring-2::before {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  background: rgba(201,162,77,0.5);
  border-radius: 50%;
  bottom: -3px; left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 6px rgba(201,162,77,0.4);
}

.orb-ring-3 {
  width: 400px; height: 400px;
  border: 1px solid rgba(255,255,255,0.04);
  animation: spin-cw 45s linear infinite;
}

@keyframes spin-cw {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes spin-ccw {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(-360deg); }
}

/* ---- Center node ---- */

.hero-node {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 84px; height: 84px;
  background: rgba(201,162,77,0.08);
  border: 1.5px solid rgba(201,162,77,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: node-pulse 3.5s ease-in-out infinite;
  z-index: 2;
}

@keyframes node-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,162,77,0.2), 0 0 16px rgba(201,162,77,0.08); }
  50%       { box-shadow: 0 0 0 18px rgba(201,162,77,0), 0 0 32px rgba(201,162,77,0.14); }
}

/* ---- Floating tech badges ---- */

.fbadge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 7px;
  padding: 0.45rem 0.875rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  white-space: nowrap;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 3;
}

.fbadge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Badge positions */
.fbadge-gh     { top: 4%;   left: 32%;  animation: fbfloat1 8.5s ease-in-out infinite;                       }
.fbadge-aws    { top: 15%;  left: 2%;   animation: fbfloat2 7s   ease-in-out infinite; animation-delay:0.8s; }
.fbadge-azure  { top: 12%;  right: 2%;  animation: fbfloat3 9s   ease-in-out infinite; animation-delay:1.5s; }
.fbadge-k8s    { top: 46%;  left: -4%;  animation: fbfloat4 7.5s ease-in-out infinite; animation-delay:0.3s; }
.fbadge-tf     { top: 43%;  right:-3%;  animation: fbfloat2 8s   ease-in-out infinite; animation-delay:2s;   }
.fbadge-docker { bottom:18%;left: 5%;   animation: fbfloat3 6.5s ease-in-out infinite; animation-delay:1.1s; }
.fbadge-ansible{ bottom:15%;right: 3%;  animation: fbfloat1 7.5s ease-in-out infinite; animation-delay:0.5s; }
.fbadge-prom   { bottom:4%; left: 30%;  animation: fbfloat4 9.5s ease-in-out infinite; animation-delay:1.8s; }

@keyframes fbfloat1 {
  0%,100% { transform: translate(0, 0)     rotate(-0.8deg); }
  35%     { transform: translate(5px,-13px) rotate(0.8deg);  }
  70%     { transform: translate(-3px,-6px) rotate(-0.4deg); }
}
@keyframes fbfloat2 {
  0%,100% { transform: translate(0, 0)      rotate(0.6deg);  }
  35%     { transform: translate(-7px,-11px) rotate(-0.8deg); }
  70%     { transform: translate(4px, -4px)  rotate(0.4deg);  }
}
@keyframes fbfloat3 {
  0%,100% { transform: translate(0, 0);              }
  50%     { transform: translate(8px,-15px) rotate(1deg); }
}
@keyframes fbfloat4 {
  0%,100% { transform: translate(0, 0)      rotate(-0.5deg); }
  40%     { transform: translate(-5px,-10px) rotate(0.9deg);  }
  80%     { transform: translate(4px, -5px)  rotate(-0.8deg); }
}

/* ---- Word cycling in hero h1 ---- */

.hero h1 .accent {
  display: inline-block;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero h1 .accent.word-exit {
  opacity: 0;
  transform: translateY(10px);
}

/* ---- Service icon hover spin ---- */

.service-card:hover .service-icon svg {
  animation: icon-spin 0.6s ease forwards;
}

@keyframes icon-spin {
  0%   { transform: rotate(0deg)   scale(1);    }
  50%  { transform: rotate(18deg)  scale(1.15); }
  100% { transform: rotate(0deg)   scale(1);    }
}

/* ---- Responsive: hide visual on smaller screens ---- */

@media (max-width: 960px) {
  .hero-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-visual { display: none; }
}

