/* 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) */
}
.logo {
  text-decoration: none;
  font-size: 24px;
  letter-spacing: 0.3px;
  font-weight: 600;
  color: white;
}
/* --- 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: white;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}

/* --- 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);
}

/* --- 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;
}

/* --- 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;
  }
}
/* ------------------------------------------------------------------------ */
/* sevices sections */
.services {
  position: relative;
  background: url("../images/services.jpg") center/cover no-repeat;
  height: 527px; /* adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-overlay {
  text-align: center;
  color: #fff;
  background: rgb(0 0 0 / 21%); /* semi-transparent dark overlay */
  padding: 40px;
  border-radius: 10px;
  width: 34%;
}

.services-overlay h2 {
  font-family: "Crimson Text", Georgia, serif;
  font-size: clamp(1.8rem, 1.6rem + 2.2vw, 3rem);
  margin-bottom: 20px;
}

.services-btn {
  display: inline-block;
  width: 30%;
  padding: 6px 28px;
  background-color: #2c4756;
  border: 1.5px solid #3d5c6e;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.services-btn:hover {
  background-color: #3d5c6e;
  transform: translateY(-2px);
}
/* ------------------------------------------------------------------------ */
/* ====== Industries Styles ====== */

/* potiental changes for the image fix 

.ind-img img {
    width: 100%;
    height: 100%;
    object-fit: ;
    display: block;
    transform: scale(1.02);
    transition: transform 0.35s ease, filter 0.35s ease;
}
    .industries-inner {
    width: min(100% - 1rem, 1496px);
    margin-inline: auto;
}
    */
.industries {
  background: radial-gradient(
      1200px 600px at 25% 30%,
      var(--spot, #183a49) 0%,
      #496573 60%
    ),
    #496573;
  color: var(--ind-text);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 3.5rem;
}

.industries-inner {
  width: min(100% - 2rem, 1200px);
  margin-inline: auto;
  color: white;
}
.industries-title {
  text-align: center;
  font-family: "Crimson Text", Georgia, serif;
  font-size: clamp(1.8rem, 1.6rem + 2.2vw, 3rem);
  margin: 0 0 1.5rem;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
}

.industries-controls {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.industries-scroller {
  overflow: hidden; /* hide native scrollbar */
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  border-radius: 10px;
  position: relative;
  z-index: 0;
}
.industries-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: clamp(14px, 2vw, 24px);
  padding: 14px clamp(6px, 1vw, 10px);
}
a.ind-link {
  color: white;
  text-decoration: none;
}
.ind-link {
  display: block;
  position: relative;
  z-index: 5;
}
.industries-scroller {
  position: relative;
  z-index: 0;
}

.ind-card {
  scroll-snap-align: start;
  text-align: center;
}
.ind-img {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--ind-outline);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
.ind-img img {
  width: 100%;
  height: 100%;
  object-fit: inherit;
  display: block;
  transform: scale(1.02);
  transition: transform 0.35s ease, filter 0.35s ease;
}
.ind-img:hover img {
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.02);
}

/* circle arrow overlay like screenshot */
.ind-hover-dot {
  position: absolute;
  inset: auto 12px 12px auto;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
  color: #20323c;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(32, 50, 60, 0.12);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  z-index: 10;
}
.ind-link-cover {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: block;
}

.ind-img:hover .ind-hover-dot {
  opacity: 1;
  transform: translateY(0);
}

.ind-card h3 {
  font-family: "Crimson Text", Georgia, serif;
  font-weight: 600;

  margin: 10px 0 0;
  font-size: clamp(1.05rem, 0.9rem + 0.5vw, 1.3rem);
}

.ind-arrow {
  position: relative;
  z-index: 50; /* above cards/overlays */
  pointer-events: auto; /* ensure they can be clicked */
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}
.ind-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
}
.ind-arrow:active {
  transform: scale(0.98);
}

.ind-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin: 18px 0 26px;
}
.ind-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  transition: width 0.2s ease, background 0.2s ease;
}
.ind-dot.active {
  width: 24px;
  background: #fff;
}

.ind-cta-wrap {
  text-align: center;
}
.ind-cta {
  display: inline-block;
  padding: 14px 22px;
  background: #ffffff;
  color: #2a4350;
  border-radius: 10px;
  border: 1px solid #dfe8ec;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.12s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.ind-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}
.ind-cta:active {
  transform: translateY(0);
  opacity: 0.95;
}
@media (max-width: 680px) {
  .ind-arrow {
    display: none;
  } /* <-- hides arrows on small screens */
}

/* Responsive: ensure a nice number of visible cards */
@media (max-width: 1100px) {
  .industries-track {
    grid-auto-columns: minmax(280px, 1fr);
  }
}
@media (max-width: 680px) {
  .industries-controls {
    grid-template-columns: 1fr;
  }
  .ind-arrow {
    display: none;
  }
  .industries-track {
    grid-auto-columns: 85%;
  }
}
/* 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;
}
/* 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;
  }
}
