/* top sections part */

:root {
  --bg: #112733; /* hero background */
  --bg-darker: #0c1d26;
  --text: #e9f1f5;
  --muted: #b9c6cf;
  --accent: #6bb0a7; /* button/hover accent */
  --outline: #274150;
  --maxw: 1200px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
/* Dark (your current look) */
.theme-dark {
  --bg: #2a4654; /* base behind gradient */
  --spot: #183a49; /* inner spot color */
  --ind-text: #ffffff; /* text on dark */
}

/* Light companion */
.theme-light {
  --bg: #d1e6f0; /* light base */
  --spot: #5c8ea2; /* lighter cousin of #183a49 */
  --ind-text: #0f2730; /* dark ink text (AA+/AAA on the light bg) */
}

/* --- Reset & base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
  color: var(--text);
  background: #183a49;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}
.logo {
  text-decoration: none;
  font-size: 24px;
  letter-spacing: 0.3px;
  font-weight: 600;
  color: white;
}
/* --- Header --- */
.site-header {
  position: sticky;
  background: radial-gradient(
      1200px 600px at 25% 30%,
      #183a49 0%,
      var(--bg) 60%
    ),
    var(--bg);
  color: var(--text);
}
.container {
  width: 90%;
  margin: 0 auto;
  padding: 0 28px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 1rem;
}
.brand {
  font-family: "Crimson Text", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1rem, 1.5vw + 0.6rem, 1.35rem);
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: clamp(0.75rem, 1.2vw, 1.5rem);
  align-items: center;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.4rem 0.2rem;
  border-radius: 8px;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-links a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.06);
}
.nav-links a.active {
  color: #fff;
  padding-bottom: 2px;
  border-bottom: 2px solid #fff;
  font-size: 20px;
}
/* --- Hero --- */
.hero {
  /* background: radial-gradient(
        1200px 600px at 25% 30%,
        #183a49 0%,
        var(--bg) 60%
      ),
      var(--bg); */
  color: var(--text);
  isolation: isolate;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 3.2vw, 3rem);
  align-items: center;
  padding: clamp(2rem, 4.5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
}

.eyebrow {
  font-size: 0.95rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.hero h1 {
  font-family: "Crimson Text", Georgia, serif;
  font-size: clamp(2rem, 3.8vw + 1rem, 3.4rem);
  line-height: 1.06;
  margin: 0 0 0.85rem 0;
  text-wrap: balance;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
}
.hero p.lead {
  color: var(--muted);
  font-size: clamp(1rem, 0.7vw + 0.9rem, 1.1rem);
  margin: 0 0 1.2rem 0;
  max-width: 62ch;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.35rem;
  background: transparent;
  border: 1.5px solid var(--outline);
  color: var(--text);
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.08s ease, background-color 0.2s ease,
    border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}
.cta:hover {
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.06)
  );
  border-color: #33596c;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* --- Right image card --- */
.hero-media {
  background: var(--bg-darker);
  border: 1px solid var(--outline);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* --- Footer (tiny) --- */
.site-footer {
  color: #5f6f79;
  font-size: 0.9rem;
  text-align: center;
  padding: 28px 0 42px;
  border-top: 1px solid #eef2f5;
  background: white;
}
/*industry code-------------------------------------*/
/* Container (reuse across site) */
/* .container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  padding-bottom: 40px;
} */

/* Section background + typography to match your site */
.industries-grid {
  background: radial-gradient(
      1200px 600px at 25% 30%,
      var(--spot, #183a49) 0%,
      #496573 60%
    ),
    #496573 !important; /* page blue-gray */
  color: #fff;
  padding: 40px 0 64px;
  font-family: "Crimson Text", Georgia, serif;
}

/* Grid: 4 across on desktop */
.ind-grid {
  pointer-events: auto;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(230px, 1fr));
  gap: clamp(18px, 3vw, 55px);
  /* gap: clamp(18px, 3vw, 28px); */
}

/* Card */
.ind-item a {
  color: inherit;
  text-decoration: none;
}
.ind-figure {
  margin: 0;
  aspect-ratio: 1 / 1; /* square image box */
  border-radius: 8px;
  overflow: hidden;
  background: #223740; /* fallback while loading */
}
.ind-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.ind-item:hover .ind-figure img {
  transform: scale(1.03);
}

.ind-title {
  text-align: center;
  font-size: 22px;
  margin: 14px 8px 0;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.2px;
  text-wrap: balance; /* nicer multi-line titles where supported */
}
/*card background--------------------------------*/
li.ind-item:hover {
  box-shadow: 0 0px 17px #ffffff7d;
  cursor: pointer;
}
li.ind-item {
  padding: 36px;
  box-shadow: -1px 0px 13px hsl(0deg 0% 0% / 32%);
  /* padding: 11px; */
  border-radius: 18px;
}
/*-------------*/
/* Responsive steps: 4 → 3 → 2 → 1 */
@media (max-width: 1100px) {
  .ind-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 820px) {
  .ind-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .ind-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Responsive --- */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-media {
    order: -1; /* image on top for mobile */
  }
  .nav {
    align-items: flex-start;
  }
}
/* ------------------------------------------------------------------------ */

/* foot ------------------------------------------------------------------------ */

/* Footer */
footer {
  background: radial-gradient(
      1200px 600px at 25% 30%,
      #183a49 0%,
      var(--bg) 60%
    ),
    var(--bg);
  padding: 70px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 64px;

  align-items: center;
  justify-items: center;
}
.footer-title {
  font-size: 31px;
  margin: 0 0 16px 0;
  font-weight: 600;
}
.made-with {
  color: #b8c8d2;
}
.section-title {
  font-size: 22px;
  margin: 0 0 16px 0;
  font-weight: 600;
  color: #dbe6ee;
}
.footer-col p {
  margin: 0 0 10px 0;
  color: #d4e1ea;
}
.footer-col a {
  color: #cfe0ea;
}

/* Responsive tweaks */
@media (max-width: 1020px) {
  .about-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about h1 {
    font-size: 56px;
  }
  .underline {
    width: 210px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-title {
    font-size: 38px;
  }
}
@media (max-width: 560px) {
  .brand {
    font-size: 20px;
  }
  .nav-links {
    gap: 18px;
    font-size: 15px;
  }
  .about h1 {
    font-size: 44px;
  }
  .underline {
    width: 180px;
  }
}

img.footer-image {
  width: 136%;
  height: 15vh;
  border-radius: 10px;
  box-shadow: -1px 0px 13px hsl(0deg 0% 0% / 0%);
  border: solid 2px #5c8ea212;
}

/* page loading----------------------------------------*/
:root {
  --bg: #112733; /* base behind gradient */
  --bg: #112733;
  --bg-darker: #0c1d26;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: radial-gradient(
      1200px 600px at 25% 30%,
      var(--spot) 0%,
      var(--bg) 60%
    ),
    var(--bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.page-loader.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.pl-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: #fff;
  font: 600 18px/1.2 "Inter", system-ui, sans-serif;
}
.pl-spinner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader {
    transition: none;
  }
  .pl-spinner {
    animation: none;
  }
}
/* popup modal for contact */
.skylark-call {
  color: var(--text);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.4rem 0.2rem;
  border-radius: 8px;
  transition: color 0.15s ease, background-color 0.15s ease;
  background: none;
  border: none;
}
.skylark-call:hover {
  color: white;
  background: rgba(255, 255, 255, 0.06);
}
.skylark-veil {
  position: fixed;
  inset: 0;
  display: none;
}
.skylark-veil[aria-hidden="false"] {
  display: block;
}

.skylark-backdrop {
  position: absolute;
  inset: 0;
  background: var(--sk-bg);
  backdrop-filter: blur(4px);
  animation: sk-fade 0.18s ease-out;
}

.skylark-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(720px, calc(100% - 40px));
  background: linear-gradient(
    180deg,
    rgba(18, 23, 31, 0.96),
    rgba(18, 23, 31, 0.92)
  );
  color: var(--sk-text);
  border-radius: 10px;
  box-shadow: var(--sk-shadow);
  padding: 20px 20px 22px;
  animation: sk-pop 0.18s ease-out forwards;
}
.skylark-panel::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(
    from 180deg at 50% 50%,
    var(--sk-ring1),
    var(--sk-ring2),
    var(--sk-ring1)
  );
  filter: blur(20px);
  opacity: 0.15;
  z-index: -1;
}

.skylark-x {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  color: var(--sk-muted);
  font-size: 22px;
  cursor: pointer;
}
.skylark-x:hover {
  color: #fff;
}

.skylark-panel h2 {
  margin: 6px 4px 6px;
  font: 800 clamp(26px, 4vw, 42px) / 1.1 system-ui, -apple-system, Segoe UI,
    Inter, Arial, sans-serif;
  letter-spacing: 0.01em;
}
.skylark-sub {
  margin: 0 4px 14px;
  color: var(--sk-muted);
}

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

.skylark-input {
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 14, 22, 0.55);
  color: var(--sk-text);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background 0.2s ease;
}
.skylark-input:focus {
  border-color: rgba(124, 92, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.18);
  background: rgba(10, 14, 22, 0.7);
}
.skylark-area {
  resize: vertical;
  min-height: 120px;
}

.skylark-send {
  margin-top: 2px;
  justify-self: start;
  border: 0;
  padding: 0.85rem 1.2rem;
  border-radius: 12px;
  color: #0b0c0f;
  background: linear-gradient(135deg, #00e0c6, #7c5cff);
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 224, 198, 0.25);
  transition: transform 0.15s ease, filter 0.2s ease;
}
.skylark-send:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.skylark-hint {
  margin: 10px 4px 0;
  color: var(--sk-muted);
  font-size: 0.95rem;
}

@media (max-width: 700px) {
  .skylark-row {
    grid-template-columns: 1fr;
  }
}

@keyframes sk-pop {
  to {
    transform: translate(-50%, -50%) scale(1);
  }
}
@keyframes sk-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
