/* ===============================
   Base tokens
================================= */

:root {
  --bg: #0b1020;
  --bg-alt: #121629;
  --bg-light: #f5f6fa;
  --primary: #133a7c;
  --accent: #c9383a;
  --text: #0d1220;
  --muted: #667085;
  --border: #e2e4ee;
  --radius-lg: 18px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.16);
  --transition-fast: 0.18s ease-out;
}

/* ===============================
   Reset / base
================================= */

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  color: var(--text);
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* Layout helpers */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4.5rem 0;
}

@media (min-width: 960px) {
  section {
    padding: 5.5rem 0;
  }
}

/* ===============================
   Navbar
================================= */

.navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 228, 238, 0.9);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(
    circle at 30% 10%,
    #fefefe 0,
    #f4f7ff 40%,
    #133a7c 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.25);
}

.logo-mark span {
  font-weight: 700;
  color: var(--accent);
  font-size: 18px;
}

.logo-text-main {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}

.logo-text-sub {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: -0.18rem;
}

/* Nav links */

.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 999px;
  transition: width var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.is-active {
  color: var(--text);
  font-weight: 600;
}

.nav-links a.is-active::after {
  width: 100%;
}

/* Nav CTA */

.nav-cta {
  display: none;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.3);
  background: #102f63;
}

.nav-cta:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
}

/* Mobile menu toggle */

.nav-toggle {
  display: inline-flex;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
  position: relative;
  transition: all 0.18s ease-out;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
  transition: all 0.18s ease-out;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle.open span {
  background: transparent;
}

.nav-toggle.open span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.open span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile menu */

.nav-menu-mobile {
  display: none;
  border-top: 1px solid rgba(226, 228, 238, 0.9);
  padding: 0.6rem 0 0.9rem;
}

.nav-menu-mobile a {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.95rem;
  color: var(--muted);
}

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

.nav-menu-mobile a.is-active {
  color: #102f63;
  font-weight: 600;
}

/* Desktop breakpoint for nav */

@media (min-width: 880px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
  }

  .nav-menu-mobile {
    display: none !important;
  }
}

/* ===============================
   Hero
================================= */

.hero {
  background: radial-gradient(
    circle at top left,
    #f8fafc 0,
    #e8ecff 26%,
    #ffffff 60%,
    #f5f7ff 100%
  );
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: grid;
  gap: 2.5rem;
  padding: 3.2rem 0 3.8rem;
}

/* Left side */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.2rem 0.6rem 0.2rem 0.25rem;
  background: rgba(19, 58, 124, 0.06);
  border: 1px solid rgba(19, 58, 124, 0.18);
  font-size: 0.75rem;
  color: var(--muted);
}

.badge-dot {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: radial-gradient(
    circle at 30% 30%,
    #ffffff 0,
    #c9383a 35%,
    #7f1112 100%
  );
  box-shadow: 0 0 0 4px rgba(201, 56, 58, 0.18);
}

.hero-title {
  font-size: 2.15rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 1rem 0 0.75rem;
  color: #020617;
}

@media (min-width: 960px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-highlight {
  color: var(--primary);
}

.hero-text {
  color: var(--muted);
  max-width: 32rem;
  font-size: 0.98rem;
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.btn-primary,
.btn-ghost {
  border-radius: 999px;
  padding: 0.75rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #1f2937);
  color: white;
  box-shadow: 0 15px 38px rgba(15, 23, 42, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  border-color: rgba(19, 58, 124, 0.25);
}

.btn-ghost:hover {
  background: white;
  border-color: rgba(19, 58, 124, 0.4);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 2rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

/* Right side – slider card */

.hero-card {
  /* base, may reuse */
}

.hero-card--slider {
  background: linear-gradient(145deg, #020617, #030711);
  border-radius: 26px;
  padding: 1.3rem 1.3rem 1.4rem;
  color: #e5e7f5;
  align-self: center;
  border: 1px solid rgba(148, 163, 255, 0.25);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.6);
  animation: heroBorderGlow 6s ease-in-out infinite;
}

/* Small border glow animation */

@keyframes heroBorderGlow {
  0%,
  100% {
    border-color: rgba(148, 163, 255, 0.25);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.55);
  }
  50% {
    border-color: rgba(148, 163, 255, 0.75);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.75);
  }
}

/* Hero slider header + dots */

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.hero-card-title {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9ca3ff;
}

.hero-slider-dots {
  display: inline-flex;
  gap: 0.35rem;
}

.hero-slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(148, 163, 255, 0.4);
  transition: background 0.25s ease-out, transform 0.25s ease-out;
}

.hero-slider-dot.active {
  background: #cbd5ff;
  transform: scale(1.25);
}

/* Slider shell */

.hero-slider-shell {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 255, 0.35);
  background: radial-gradient(circle at top, #020617 0, #020617 55%, #030711 100%);
}

.hero-slider-track {
  display: flex;
  transition: transform 0.45s ease-out;
  will-change: transform;
}

/* Each slide */

.hero-slide-card {
  min-width: 100%;
  display: flex;
  flex-direction: column;
}

/* Slide image */

.hero-slide-image-wrap {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(15, 23, 42, 0.8);
}

.hero-slide-image {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.6s ease-out, filter 0.6s ease-out;
}

/* Pill on image */

.hero-image-pill {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 255, 0.55);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e5e7f5;
  transition:
    background 0.35s ease-out,
    border-color 0.35s ease-out,
    transform 0.35s ease-out,
    box-shadow 0.35s ease-out,
    color 0.35s ease-out;
}

/* Pill hover effect */

.hero-card--slider:hover .hero-image-pill {
  background: linear-gradient(
    135deg,
    rgba(148, 163, 255, 0.92),
    rgba(201, 56, 58, 0.45)
  );
  border-color: rgba(226, 232, 255, 0.9);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow:
    0 0 10px rgba(148, 163, 255, 0.5),
    0 0 16px rgba(15, 23, 42, 0.7);
}

/* Slide text */

.hero-slide-text {
  padding: 0.8rem 0.95rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.hero-slide-title {
  font-size: 0.96rem;
  font-weight: 600;
}

.hero-slide-body {
  font-size: 0.84rem;
  color: #cbd5f5;
}

/* Image hover */

.hero-card--slider:hover .hero-slide-image {
  transform: scale(1.06);
  filter: saturate(1.08);
}

/* Hero desktop layout */

@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
    align-items: center; /* center vertically */
    column-gap: 2.5rem;
  }

  .hero-card--slider {
    margin-left: auto;
    max-width: 460px;
  }

  .hero-slide-image {
    height: 380px;
  }
}

/* ===============================
   Sections – generic titles
================================= */

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.section-intro {
  color: var(--muted);
  max-width: 34rem;
  font-size: 0.96rem;
}

/* ===============================
   About
================================= */

.about-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2.4rem;
}

.about-highlight {
  padding: 1.3rem 1.4rem;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  font-size: 0.9rem;
}

.about-highlight strong {
  color: var(--primary);
}

.about-cols {
  display: grid;
  gap: 1.4rem;
}

.about-item-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 0.96rem;
}

.about-item-text {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (min-width: 880px) {
  .about-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    column-gap: 3rem;
  }
}

/* ===============================
   Our Expertise
================================= */

.expertise-grid {
  margin-top: 2.3rem;
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 768px) {
  .expertise-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.expertise-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #ffffff;
  padding: 1.3rem 1.25rem 1.35rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.expertise-title {
  font-weight: 600;
  font-size: 0.98rem;
}

.expertise-body {
  font-size: 0.9rem;
  color: var(--muted);
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.45rem;
  font-size: 0.74rem;
}

.expertise-tags span {
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #f9fafb;
}

/* ===============================
   Products
================================= */

.products {
  background: linear-gradient(180deg, #f8f9fd 0%, #ffffff 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.products-intro {
  margin-top: 0.4rem;
}

.products-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.2rem;
}

.product-showcase {
  border-radius: 20px;
  border: 1px solid rgba(19, 58, 124, 0.2);
  background: linear-gradient(145deg, #0a1328 0%, #112748 55%, #153462 100%);
  color: #eaf1ff;
  padding: 1.35rem 1.35rem 1.45rem;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.28);
}

.product-showcase-layout {
  display: grid;
  gap: 1rem;
}

.product-showcase-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.product-kicker {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #a8c1ff;
}

.product-title {
  font-size: 1.3rem;
  line-height: 1.2;
}

.product-description {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  color: #cfdcff;
  max-width: 58ch;
}

.product-points {
  margin-top: 0.85rem;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.3rem;
}

.product-points li {
  color: #e5eeff;
  font-size: 0.88rem;
}

.product-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.product-showcase .btn-primary {
  background: linear-gradient(135deg, #b7ccff, #d6e4ff);
  color: #0a1730;
  box-shadow: 0 10px 26px rgba(9, 15, 28, 0.35);
}

.product-showcase .btn-primary:hover {
  background: linear-gradient(135deg, #c8d9ff, #e4edff);
}

.product-showcase-media {
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(181, 202, 255, 0.35);
  background: linear-gradient(160deg, rgba(8, 16, 34, 0.85), rgba(19, 44, 82, 0.75));
  padding: 0.8rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.product-showcase-media:hover {
  transform: translateY(-2px);
  border-color: rgba(214, 228, 255, 0.65);
}

.product-showcase-image {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.product-showcase-image-contain {
  object-fit: contain;
  aspect-ratio: 16 / 6;
}

@media (min-width: 900px) {
  .product-showcase-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    align-items: center;
    column-gap: 1.2rem;
  }

  .product-showcase-media {
    max-width: 380px;
    margin-left: auto;
  }
}

/* ===============================
   Focus Areas (cards)
================================= */

.cards-grid {
  margin-top: 2.2rem;
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #ffffff;
  padding: 1.3rem 1.25rem 1.35rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(201, 56, 58, 0.06),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.22s ease-out;
}

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

.card-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.card-title {
  font-size: 0.98rem;
  font-weight: 600;
}

.card-body {
  font-size: 0.9rem;
  color: var(--muted);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.45rem;
}

.chip {
  font-size: 0.74rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(248, 250, 252, 0.9);
}

/* ===============================
   Projects
================================= */

.projects {
  background: #050816;
  color: #e5e7f5;
  border-top: 1px solid #111827;
  border-bottom: 1px solid #111827;
}

.projects .section-label {
  color: #9ca3ff;
}

.projects .section-title {
  color: #ffffff;
}

.projects .section-intro {
  color: #9ca3c9;
}

.projects-grid {
  margin-top: 2.3rem;
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 880px) {
  .projects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.project-card {
  background: radial-gradient(circle at top, #1f2937 0, #020617 75%);
  border-radius: 20px;
  padding: 1.1rem 1.1rem 1.2rem;
  border: 1px solid rgba(148, 163, 255, 0.35);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
}

.project-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3ff;
  margin-bottom: 0.4rem;
}

.project-title {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.project-body {
  font-size: 0.86rem;
  color: #cbd5f5;
  margin-bottom: 0.6rem;
}

.project-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.74rem;
}

.project-tag {
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 255, 0.55);
  color: #e5e7f5;
}

/* ===============================
   Visuals section (multi-images)
================================= */

.visuals-grid {
  margin-top: 2.3rem;
  display: grid;
  gap: 1.3rem;
}

@media (min-width: 768px) {
  .visuals-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.visual-card {
  border-radius: 18px;
  background: #020617;
  border: 1px solid rgba(148, 163, 255, 0.35);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7);
  display: flex;
  flex-direction: column;
}

.visual-image-wrap {
  position: relative;
  overflow: hidden;
}

.visual-image-wrap img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.6s ease-out, filter 0.6s ease-out;
}

.visual-tag {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  padding: 0.26rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(226, 232, 255, 0.9);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e5e7f5;
}

.visual-caption {
  padding: 0.75rem 0.85rem 0.85rem;
  background: radial-gradient(circle at top, #020617 0, #020617 60%, #030711 100%);
}

.visual-kicker {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9ca3ff;
  margin-bottom: 0.1rem;
}

.visual-title {
  font-size: 0.86rem;
  color: #e5e7f5;
}

/* Hover effect for visuals */

.visual-card:hover .visual-image-wrap img {
  transform: scale(1.06);
  filter: saturate(1.08);
}

/* ===============================
   Contact
================================= */

.contact-grid {
  margin-top: 2.3rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 880px) {
  .contact-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: flex-start;
  }
}

.contact-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.4rem 1.5rem;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.contact-heading {
  font-size: 0.96rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.contact-text {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  font-size: 0.88rem;
}

.field label {
  font-weight: 500;
}

.input,
.textarea {
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast);
  background: #f9fafb;
}

.textarea {
  border-radius: 16px;
  min-height: 130px;
  resize: vertical;
  padding-top: 0.7rem;
}

.input:focus,
.textarea:focus {
  border-color: rgba(19, 58, 124, 0.55);
  box-shadow: 0 0 0 3px rgba(19, 58, 124, 0.12);
  background: #ffffff;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ===============================
   Footer
================================= */

.footer {
  border-top: 1px solid var(--border);
  padding: 2.2rem 0 1.8rem;
  background: #f9fafb;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 880px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.7fr) minmax(0, 1fr);
    column-gap: 2rem;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-mark-small {
  width: 28px;
  height: 28px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
}

.footer-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--muted);
}

.footer-text {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 0.4rem;
  max-width: 24rem;
}

.footer-col-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #111827;
  margin-bottom: 0.1rem;
}

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

.footer-links-column a {
  color: var(--muted);
}

.footer-links-column a:hover {
  color: var(--text);
}

.footer-small {
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e5e7eb;
  padding-top: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

/* Intro row: text + image */
.about-intro {
  display: grid;
  gap: 1.8rem;
  margin-top: 1.8rem;
  margin-bottom: 2.2rem;
}

/* About intro image — centered, wide, compact height */
.about-intro-image {
  display: flex;
  justify-content: center;      /* center horizontally */
  align-items: center;           /* center vertically */
  width: 100%;                   /* take full width of the right column */
  max-width: 420px;              /* but do not become huge */
  margin: 0 auto;                /* center inside column */
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f9fafb;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.about-intro-image img {
  width: 100%;
  height: 140px;                 /* 👈 compact height */
  object-fit: cover;             /* 👈 "wide cropped" look */
  object-position: center;       /* crop evenly */
  display: block;
  border-radius: 12px;
}

/* Two columns on desktop */
/*@media (min-width: 880px) {
  .about-intro {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
  }
}*/
@media (min-width: 880px) {
  .about-intro {
    display: grid;
    grid-template-columns: 1.4fr 1fr; /* text left, image right */
    align-items: center;
    gap: 2.2rem;
  }
}

/* Image under highlight block */
.about-highlight-image {
  margin-top: 1rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: #f3f4ff;
}

.about-highlight-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Hover animation for expertise cards */
.expertise-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  transition:
    transform 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

/* Hover animation for expertise cards — Soft Orange Theme */
.expertise-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  transition:
    transform 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.expertise-card:hover {
  transform: translateY(-4px) scale(1.02);
  background: linear-gradient(145deg, #f7f8fa, #f1f3f6);
  border-color: rgba(120, 125, 140, 0.45);
  box-shadow:
    0 14px 32px rgba(50, 55, 70, 0.15),
    0 0 0 3px rgba(120, 125, 140, 0.12);
}

.expertise-card::before {
  background: radial-gradient(
    circle at top right,
    rgba(140, 145, 165, 0.2),
    transparent 60%
  );
}

/* Text color shift on hover */
.expertise-card:hover .expertise-title {
  color: #1d2a53;  /* soft deep blue */
}

.expertise-card:hover .expertise-body {
  color: #3a4259;  /* mid neutral blue-gray */
}

.expertise-card:hover .expertise-tags span {
  color: #1d2a53;
  border-color: rgba(29, 42, 83, 0.4);
  background: #f5f7fa;
}

/* Expertise intro: same layout as about-intro */
.expertise-intro {
  display: grid;
  gap: 1.8rem;
  margin-top: 1.8rem;
  margin-bottom: 2.2rem;
}

/* Image container */
.expertise-intro-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f9fafb;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

/* Image crop settings */
.expertise-intro-image img {
  width: 100%;
  height: 140px;     /* wide + compact */
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

/* Desktop layout */
@media (min-width: 880px) {
  .expertise-intro {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: 2.2rem;
  }
}

/* Hover effect: soft zoom + glow for intro images */
.about-intro-image,
.expertise-intro-image {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.about-intro-image:hover,
.expertise-intro-image:hover {
  transform: scale(1.03); /* subtle zoom */
  box-shadow:
    0 12px 28px rgba(50, 55, 70, 0.15),
    0 0 0 4px rgba(120, 125, 140, 0.15); /* graphite halo */
  border-color: rgba(120, 125, 140, 0.45);
}

/* Contact intro: text + image */
.contact-intro {
  display: grid;
  gap: 1.8rem;
  margin-top: 1.8rem;
  margin-bottom: 2.2rem;
}

.contact-intro-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f9fafb;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.contact-intro-image img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

/* Desktop two-column layout */
@media (min-width: 880px) {
  .contact-intro {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: 2.2rem;
  }
}

.about-intro-image,
.expertise-intro-image,
.contact-intro-image {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.about-intro-image:hover,
.expertise-intro-image:hover,
.contact-intro-image:hover {
  transform: scale(1.03);
  box-shadow:
    0 12px 28px rgba(50, 55, 70, 0.15),
    0 0 0 4px rgba(120, 125, 140, 0.15);
  border-color: rgba(120, 125, 140, 0.45);
}

.project-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 255, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
  background: radial-gradient(circle at 30% 20%, #1f2937 0, #020617 65%);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.7);
  color: #e5e7f5;
  font-size: 0.9rem;
}

.project-card:hover .project-icon {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.9);
  border-color: rgba(199, 210, 254, 0.9);
}

#news {
  background:
    radial-gradient(circle at 90% 10%, rgba(19, 58, 124, 0.08), transparent 35%),
    linear-gradient(180deg, #f7f9fd 0%, #ffffff 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

#news .section-intro {
  margin-top: 0.35rem;
}

.news-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.news-card {
  background: #ffffff;
  border: 1px solid #dde4f0;
  border-radius: 16px;
  padding: 1rem 1.05rem 1.05rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: rgba(19, 58, 124, 0.35);
  box-shadow:
    0 16px 30px rgba(15, 23, 42, 0.11),
    0 0 0 1px rgba(19, 58, 124, 0.12);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.news-venue {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #153462;
  background: #e7edfb;
  border: 1px solid #c6d5f4;
  border-radius: 999px;
  padding: 0.14rem 0.5rem;
}

.news-date {
  font-size: 0.75rem;
  color: #475569;
  border: 1px solid #d6deed;
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
}

.news-title {
  font-size: 1.02rem;
  line-height: 1.35;
  color: #0f172a;
}

.news-body {
  margin-top: 0.55rem;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.58;
}

.news-actions {
  margin-top: 0.75rem;
}

.news-link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #153462;
  border-bottom: 1px solid rgba(21, 52, 98, 0.35);
}

.news-link:hover {
  color: #1f4d8f;
  border-bottom-color: rgba(31, 77, 143, 0.6);
}

.news-link-muted {
  color: #64748b;
  border-bottom: 0;
  font-weight: 500;
}

@media (min-width: 900px) {
  .news-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
  }

  .news-card {
    padding: 1.15rem 1.15rem 1.2rem;
  }
}
