:root {
  /* Fonts */
  --font-heading: "Inter", "Poppins", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;

  /* Brand core (from logo) */
  --blue-main: #009edf; /* main logo blue */
  --blue-main-dark: #007bb5; /* darker shade */
  --blue-main-deep: #005a86; /* deepest shade for cards */
  --blue-soft: #e0f6ff; /* very light blue */
  --blue-soft-2: #c4ecff; /* slightly richer soft blue */
  --blue-bg: #f0f9ff; /* page background tint */

  --accent-red: #e93639;
  --accent-red-soft: #ffe4e5;
  --accent-gold: #fbbf24; /* <— this was missing */

  --text-main: #062034;
  --text-muted: #5b6a79;

  --surface: rgba(255, 255, 255, 0.96);
  --surface-soft: rgba(255, 255, 255, 0.9);
}

/* RESET / BASE ------------------------------------------------------------ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: radial-gradient(
      circle at top left,
      rgba(0, 158, 223, 0.07),
      transparent 55%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(241, 180, 53, 0.06),
      transparent 55%
    ),
    var(--blue-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
}

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

p {
  margin: 0;
  line-height: 1.6;
}

.container {
  width: min(1120px, 100% - 3rem);
  margin: 0 auto;
}

/* HEADER + NAV ------------------------------------------------------------ */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  font-size: 0.95rem;
}

/* RC number – small, neat, readable */
.logo-rc {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(241, 245, 249, 0.85);
}

#site-header {
  position: sticky;
  top: 0;
  z-index: 60;
}

.site-header {
  position: relative;
  /* richer Dyelkyen blue band */
  background: linear-gradient(90deg, #008fd1 0%, #00a8ff 45%, #0070a9 100%);
  color: #f9fafb;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 14px 40px rgba(0, 27, 60, 0.55);
}

/* soft curved glow that blends header into hero */
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  height: 14px;
  background: linear-gradient(
    to bottom,
    rgba(0, 63, 110, 0.45),
    rgba(0, 63, 110, 0) 100%
  );
  opacity: 0.9;
  pointer-events: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.25rem; /* a bit tighter and more “pro” */
}

/* brand stack (logo + RC) stays as-is, we just make sure it sits nicely */
.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  align-items: flex-start;
  position: relative;
  z-index: 80; /* keep logo above nav overlay */
}
.logo img {
  display: block;
  height: 42px; /* tweak if you want it bigger/smaller */
  width: auto;
}

/* HAMBURGER (always visible, clearer) */
.nav-toggle {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: #ffffff;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.nav-toggle span {
  display: block;
  width: 1.3rem;
  height: 2px;
  border-radius: 999px;
  background: var(--blue-main-dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.45);
  border-color: rgba(0, 158, 223, 0.7);
}

/* Hamburger → X */
.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}
.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

/* SIDE DRAWER NAV --------------------------------------------------------- */

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 16, 31, 0.85); /* deep blue veil */
  color: #e5e7eb;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 60;
}

.nav-overlay.nav-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* narrow side panel */
.nav-overlay-inner {
  width: 280px;
  max-width: 80%;
  height: 100vh;
  position: relative;
  background: linear-gradient(
    180deg,
    var(--blue-main-deep) 0%,
    #02101f 45%,
    #000814 100%
  );
  box-shadow: -18px 0 50px rgba(15, 23, 42, 0.9);
  padding: 4.5rem 2.1rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  border-left: 2px solid var(--blue-main);
}

/* Close button inside drawer – bigger + clearer */
.nav-close {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.9);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  cursor: pointer;
  padding: 0;
}

.nav-close span {
  display: block;
  width: 1.1rem;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  transform-origin: center;
}

.nav-close span:nth-child(1) {
  transform: rotate(45deg);
}
.nav-close span:nth-child(2) {
  transform: rotate(-45deg);
}

/* Links inside panel – brighter, easier to read */
.nav-link {
  width: 100%;
  text-align: left;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  color: #f9fafb;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  background: var(--accent-red);
  transition: width 0.2s ease;
}

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

/* prevent body scroll when menu open */
body.no-scroll {
  overflow: hidden;
}

/* HERO (HOME) ------------------------------------------------------------- */

.hero {
  position: relative;
  /* richer blue gradient behind the photo */
  background: linear-gradient(135deg, #005a86 0%, #009edf 45%, #4fd3ff 100%);
  color: #f9fafb;
  padding: 4.25rem 0 5rem;
  overflow: hidden;
}

.hero-home {
  background-image: linear-gradient(
      135deg,
      rgba(0, 27, 60, 0.55) 0%,
      rgba(0, 123, 181, 0.45) 45%,
      rgba(0, 158, 223, 0.35) 100%
    ),
    url("/assets/images/home-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40%;
  left: 35%;
  background: radial-gradient(
      circle at 80% 20%,
      rgba(79, 209, 255, 0.65),
      transparent 60%
    ),
    radial-gradient(circle at 5% 90%, rgba(233, 54, 57, 0.35), transparent 65%);
  mix-blend-mode: soft-light;
  opacity: 0.95;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -3.5rem;
  left: 50%;
  width: 160%;
  height: 7rem;
  background: #e0f6ff;
  border-radius: 50% / 100%;
  transform: translateX(-50%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1; /* sits above the glow + curve */
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 3rem;
  align-items: center;
}

/* hero text side */

.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 36rem;

  padding: 1.8rem 2rem 2rem;
  border-radius: 2rem;
  background: radial-gradient(
      circle at top left,
      rgba(0, 158, 223, 0.55),
      transparent 55%
    ),
    rgba(3, 7, 18, 0.83);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 30px 80px rgba(3, 7, 18, 0.9);
  backdrop-filter: blur(8px);
}

/* thin glowing edge around the text card */
.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(
      135deg,
      rgba(79, 209, 255, 0.65),
      rgba(233, 54, 57, 0.2),
      rgba(15, 23, 42, 0.6)
    )
    border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.6;
  pointer-events: none;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: #d1e9ff;
}

.hero-title {
  font-size: 2.6rem;
  line-height: 1.1;
  margin: 0 0 1rem;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* subtle gradient highlight on key phrase */
.hero-accent {
  background: linear-gradient(120deg, #ffffff 0%, #ffe4e5 40%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  max-width: 32rem;
  color: #e4f2ff;
  margin: 0.25rem 0 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #d1e9ff;
}

.pill {
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(226, 239, 255, 0.7);
  background: rgba(15, 23, 42, 0.3);
}

.pill-soft {
  background: rgba(15, 23, 42, 0.08);
}

/* hero right side – card/image */

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  position: relative;
  z-index: 1;
  border-radius: 2rem;
  padding: 1.6rem 1.9rem 2.1rem;
  background: radial-gradient(
    circle at top left,
    #1f2937 0,
    #003b60 40%,
    #000814 100%
  );
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 32px 80px rgba(3, 7, 18, 0.95);
  max-width: 25rem;
  color: #e5f2ff;
}

/* soft cyan “aura” hugging the card */
.hero-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(79, 209, 255, 0.9),
    rgba(0, 148, 214, 0.2),
    rgba(15, 23, 42, 0.4)
  );
  opacity: 0.65;
  z-index: -2;
}

/* stronger base glow under the card */
.hero-card::after {
  content: "";
  position: absolute;
  inset: auto 8% -22%;
  height: 42%;
  background: radial-gradient(
    circle,
    rgba(79, 209, 255, 0.55),
    transparent 70%
  );
  filter: blur(12px);
  z-index: -1;
}

.hero-photo-frame {
  max-width: 360px;
  border-radius: 1.6rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 26px 60px rgba(3, 7, 18, 0.8);
}

.hero-photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* featured project card */
/*.hero-card {
  position: relative;
  background: radial-gradient(
    circle at top left,
    #1f2937 0,
    var(--blue-main-deep) 55%,
    #020617 100%
  );
  border-radius: 1.6rem;
  padding: 1.5rem 1.75rem 1.9rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 26px 60px rgba(3, 7, 18, 0.8);
  max-width: 23rem;
}*/

.hero-card h3 {
  margin-top: 0.4rem;
}

/* BUTTONS -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent-red);
  color: #ffffff;
  box-shadow: 0 14px 35px rgba(233, 54, 57, 0.6);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 45px rgba(233, 54, 57, 0.75);
}

/* new: secondary ghost button for hero */
.btn-secondary {
  background: transparent;
  border-color: rgba(226, 239, 255, 0.85);
  color: #f3f7ff;
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.35);
}

.btn-outline {
  background: transparent;
  border-color: rgba(226, 239, 255, 0.9);
  color: #f3f7ff;
}

.btn-outline:hover {
  background: rgba(10, 61, 98, 0.6);
}

.btn-light {
  background: var(--surface);
  color: var(--blue-main-dark);
  border-color: transparent;
}

.btn-light:hover {
  background: #ffffff;
}

/* SECTIONS --------------------------------------------------------------- */

.section {
  padding: 3.75rem 0;
  background: var(--blue-soft);
}

.section-alt {
  padding: 3.75rem 0;
  background: linear-gradient(
    135deg,
    var(--blue-soft) 0%,
    var(--blue-soft-2) 60%,
    var(--blue-bg) 100%
  );
}

.section-header {
  text-align: left;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 1.6rem;
  margin: 0 0 0.5rem;
}

.section-header p {
  color: var(--text-muted);
}

/* GRID + CARDS ----------------------------------------------------------- */

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

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border-radius: 1.25rem;
  padding: 1.5rem 1.6rem 1.8rem;
  border: 1px solid rgba(0, 122, 181, 0.15);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    border-color 0.15s ease, background 0.15s ease;
}

.card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.08rem;
}

.card p {
  color: var(--text-muted);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 158, 223, 0.7);
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
  color: #0f172a;
}

/* ensure all text inside also goes dark */
.card:hover h3,
.card:hover p,
.card:hover li,
.card:hover span,
.card:hover small {
  color: #0f172a;
}

/* ensure all text inside also goes dark */
.card:hover h3,
.card:hover p,
.card:hover li,
.card:hover span,
.card:hover small {
  color: #0f172a;
}
.card-project .project-client {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0 0 0.9rem;
}

.project-gallery img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

/* INNER PAGE HERO (ABOUT / SERVICES / PROJECTS / CONTACT) ---------------- */

.page-hero {
  position: relative; /* important: for ::before overlay */
  padding: 3.25rem 0 2.75rem;
  background: linear-gradient(135deg, var(--blue-main-dark), var(--blue-main));
  color: #f9fafb;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: center;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 34rem;

  /* soft glass panel behind text */
  padding: 1.25rem 1.5rem;
  border-radius: 1.2rem;
  background: rgba(2, 6, 23, 0.55); /* deep navy, semi-transparent */
  backdrop-filter: blur(3px);
}

.breadcrumb {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cde8ff;
}

.page-hero h1 {
  margin: 0;
  font-size: 1.9rem;
}

.page-hero p {
  max-width: 40rem;
  color: #e4f2ff;
  margin: 0.25rem 0 0;
}

/* hero image on inner pages */
.page-hero-visual {
  display: flex;
  justify-content: flex-end;
}

.page-hero-photo {
  max-width: 320px;
  border-radius: 1.6rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 22px 50px rgba(3, 7, 18, 0.7);
}

.page-hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* overlay tint for inner-page hero */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 16, 31, 0.25) 0%,
    rgba(0, 123, 181, 0.55) 40%,
    rgba(0, 158, 223, 0.45) 100%
  );
  z-index: 0;
}

/* CONTACT STRIP ---------------------------------------------------------- */

.contact-strip {
  background: linear-gradient(135deg, var(--blue-main-dark), var(--blue-main));
  color: #e5e7eb;
  padding: 2.6rem 0;
}

.contact-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.contact-strip h2 {
  margin: 0 0 0.5rem;
}

.contact-strip p {
  margin: 0;
  color: #d1e9ff;
}

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

.site-footer {
  background: #020617;
  color: #9ca3af;
  padding-top: 2.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  gap: 2rem;
  padding-bottom: 1.5rem;
}

.footer-logo {
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 0.5rem;
}

.footer-text {
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding: 0.85rem 0 1.4rem;
  font-size: 0.8rem;
}

/* HIGHLIGHT STRIP UNDER HERO --------------------------------------------- */

.section-strip {
  padding-block: 1.75rem;
  background: linear-gradient(90deg, #e0f4ff 0%, #f5fbff 100%);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 0.25rem;
}

.stat-number {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: #0f172a;
}

.stat-text {
  font-size: 0.88rem;
  color: #475569;
  margin: 0;
}

.section-cta {
  margin-top: 1.5rem;
}

.text-link {
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--blue-main-dark);
}

.text-link:hover {
  text-decoration: underline;
}

/* CTA band at bottom */
.section-cta-band {
  padding-block: 2.25rem;
  background: linear-gradient(135deg, var(--blue-main) 0%, #001322 100%);
  color: #f9fafb;
}

.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.cta-band-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-ghost {
  border-radius: 999px;
  border: 1px solid rgba(241, 245, 249, 0.7);
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  background: transparent;
  color: #e5e7eb;
}

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

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .hero-visual {
    justify-content: flex-start;
  }

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

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

  .page-hero-inner {
    grid-template-columns: 1fr;
  }

  .page-hero-visual {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 2rem, 100%);
  }

  .hero {
    padding: 3.25rem 0 3.8rem;
  }

  .hero-title {
    font-size: 2.15rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .grid-3,
  .grid-2,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .contact-strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

/* About page */
.page-hero-about {
  background-image: linear-gradient(
      135deg,
      rgba(0, 16, 31, 0.45) 0%,
      rgba(0, 123, 181, 0.7) 40%,
      rgba(0, 158, 223, 0.55) 100%
    ),
    url("/assets/images/about-hero.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Services page */
.page-hero-services {
  background-image: linear-gradient(
      135deg,
      rgba(0, 16, 31, 0.45) 0%,
      rgba(0, 123, 181, 0.7) 40%,
      rgba(0, 158, 223, 0.55) 100%
    ),
    url("/assets/images/services-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Projects page */
.page-hero-projects {
  background-image: linear-gradient(
      135deg,
      rgba(0, 16, 31, 0.45) 0%,
      rgba(0, 123, 181, 0.7) 40%,
      rgba(0, 158, 223, 0.55) 100%
    ),
    url("/assets/images/projects-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Contact page */
.page-hero-contact {
  background-image: linear-gradient(
      135deg,
      rgba(0, 16, 31, 0.45) 0%,
      rgba(0, 123, 181, 0.7) 40%,
      rgba(0, 158, 223, 0.55) 100%
    ),
    url("/assets/images/contact-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.project-experience-grid {
  gap: 1.9rem;
}

/* gradient + glow cards */
.card-project-mini {
  position: relative;
  border-radius: 1.4rem;
  padding: 1.55rem 1.7rem 1.9rem;
  background: radial-gradient(
      circle at top left,
      rgba(0, 158, 223, 0.12),
      transparent 55%
    ),
    #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

/* subtle colored strip on the left */
.card-project-mini::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue-main), var(--accent-red));
  opacity: 0.9;
}

/* inner content offset so the strip doesn’t cover text */
.card-project-mini > * {
  position: relative;
  margin-left: 0.8rem;
}

/* slight stagger for visual rhythm */
.card-project-mini:nth-child(odd) {
  transform: translateY(4px);
}
.card-project-mini:nth-child(even) {
  transform: translateY(-4px);
}

.card-project-mini:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.18);
  border-color: rgba(0, 158, 223, 0.4);
}

/* small label at the top of each card */
.project-meta {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.card-project-mini h3 {
  font-size: 1.02rem;
  margin: 0 0 0.45rem;
}

.card-project-mini .project-client {
  font-size: 0.86rem;
  margin-bottom: 0.45rem;
  color: var(--text-muted);
}

/* HIGHLIGHTED PROJECT CARDS (TOP SECTION) ------------------------------- */

.projects-highlight-grid {
  gap: 1.8rem;
}

/* big feature cards with gradient + glow */
.card-project {
  position: relative;
  border-radius: 1.6rem;
  padding: 1.4rem 1.6rem 1.9rem;
  background: radial-gradient(
      circle at top left,
      rgba(0, 158, 223, 0.08),
      transparent 55%
    ),
    #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

/* subtle colored ring */
.card-project::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(0, 158, 223, 0.75),
    rgba(233, 54, 57, 0.5)
  );
  opacity: 0.35;
  z-index: -1;
}

/* inner “glass” layer so text stays crisp */
.card-project::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.98);
  z-index: -1;
}

/* hover: lift + brighter border */
.card-project:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.25);
  border-color: rgba(0, 158, 223, 0.45);
}

/* top gallery strip */
.project-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.project-gallery img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 1rem;
}

/* make the left image span vertically for that banner feel */
.project-gallery img:first-child {
  grid-row: 1 / span 2;
  height: 150px;
}

/* text styling inside card */
.card-project h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
}

.card-project .project-client {
  font-size: 0.86rem;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

/* small category label above title (reuse if you like later) */
.card-project .project-meta {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.25rem;
}

/* responsive tweak for smaller screens */
@media (max-width: 640px) {
  .project-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .project-gallery img {
    height: 110px;
    border-radius: 0.9rem;
  }

  .project-gallery img:first-child {
    grid-row: auto;
    height: 110px;
  }
}

/* =================================================================== */
/* DYELKYEN "WOW" UPGRADE PACK – add at the BOTTOM of style.css        */
/* =================================================================== */

.hero {
  background: linear-gradient(135deg, #005a86 0%, #009edf 45%, #4fd3ff 100%);
  background-size: 220% 220%;
  animation: heroGradient 22s ease-in-out infinite;
  position: relative;
}

.hero::before {
  /* soft glow behind hero copy */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 0% 0%,
      rgba(255, 255, 255, 0.12),
      transparent 55%
    ),
    radial-gradient(circle at 100% 100%, rgba(0, 0, 0, 0.35), transparent 55%);
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

/* a slightly bolder hero title */
.hero-title {
  font-size: 2.9rem;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

/* hero badge strip upgraded */
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.hero-meta .pill {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.55);
}

/* animated gradient keyframe */
@keyframes heroGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* 3) Buttons – more premium, tactile CTAs */
.btn {
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding-inline: 1.7rem;
  padding-block: 0.7rem;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-image: linear-gradient(135deg, #ffb347, #f97316, #e93639);
  color: #ffffff;
  box-shadow: 0 14px 35px rgba(233, 54, 57, 0.55);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.3),
    transparent 40%,
    transparent 60%,
    rgba(255, 255, 255, 0.3)
  );
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 18px 40px rgba(233, 54, 57, 0.65);
}

.btn-primary:hover::after {
  transform: translateX(100%);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.78);
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.5);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.6);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.9);
  transform: translateY(-1px);
}

/* 4) Section headers – stronger visual anchor */
.section-header {
  position: relative;
  margin-bottom: 2.4rem;
}

.section-header h2 {
  position: relative;
  font-size: 1.9rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.section-header h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.55rem;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--blue-main),
    var(--accent-gold),
    var(--accent-red)
  );
  box-shadow: 0 0 0 4px rgba(0, 158, 223, 0.12);
}

/* 5) Service & "Why Dyelkyen" cards – glassy, more luxurious */
.card-service,
.card-why {
  position: relative;
  background: radial-gradient(
      circle at top left,
      rgba(0, 158, 223, 0.12),
      transparent 55%
    ),
    rgba(15, 23, 42, 0.94);
  color: #e5e7eb;
  border-radius: 1.6rem;
  padding: 1.7rem 1.8rem 1.9rem;
  border: 1px solid rgba(148, 163, 184, 0.32);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.75);
  overflow: hidden;
}

.card-service::before,
.card-why::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 120% -10%,
    rgba(79, 209, 255, 0.4),
    transparent 55%
  );
  opacity: 0.8;
  mix-blend-mode: screen;
  pointer-events: none;
}

.card-service h3,
.card-why h3 {
  position: relative;
  margin-bottom: 0.5rem;
  font-size: 1.02rem;
}

.card-service p,
.card-why p {
  position: relative;
  color: #cbd5f5;
}

/* soft hover lift */
.card-service:hover,
.card-why:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.9);
}

/* 6) Small "chip" tags for scopes/clients if you want to use them */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
}

/* 7) Projects – a bit more drama on hover */
.card-project {
  transform: translateY(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card-project:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 70px rgba(15, 23, 42, 0.4);
  border-color: rgba(0, 158, 223, 0.55);
}

.project-gallery img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card-project:hover .project-gallery img:first-child {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.48);
}

/* 8) Simple "reveal" animation utilities for key blocks */
@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealRight {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.reveal-up {
  opacity: 0;
  animation: revealUp 0.8s ease-out forwards;
}

.reveal-right {
  opacity: 0;
  animation: revealRight 0.8s ease-out forwards;
}

/* stagger helpers */
.reveal-delay-1 {
  animation-delay: 0.15s;
}
.reveal-delay-2 {
  animation-delay: 0.3s;
}
.reveal-delay-3 {
  animation-delay: 0.45s;
}

/* 9) Responsive tweaks so hero stays bold on mobile */
@media (max-width: 768px) {
  .hero {
    padding-top: 3.5rem;
    padding-bottom: 3.9rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }
}
/* === Hero image visibility tweak ==================================== */
.hero-home {
  /* keep the blue wash, but make it lighter so the photo shows */
  background-image: linear-gradient(
      135deg,
      rgba(0, 27, 60, 0.25) 0%,
      rgba(0, 123, 181, 0.18) 45%,
      rgba(0, 158, 223, 0.12) 100%
    ),
    url("/assets/images/home-hero.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

/* optional: on larger screens, nudge image slightly to the right */
@media (min-width: 900px) {
  .hero-home {
    background-position: center right 10%;
  }
}
/* ==================== CONTACT PAGE ==================== */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-card {
  background: radial-gradient(
      circle at top left,
      rgba(0, 158, 223, 0.18),
      transparent 55%
    ),
    rgba(2, 6, 23, 0.98);
  border-radius: 1.6rem;
  padding: 2rem 2.1rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.7);
  color: #e5e7eb;
}

.contact-card h2,
.contact-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.contact-intro {
  color: #cbd5f5;
  margin-bottom: 1.4rem;
}

/* form layout */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 0.4rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-field label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(15, 23, 42, 0.85);
  padding: 0.75rem 0.9rem;
  color: #e5e7eb;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #6b7280;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue-main);
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.6);
}

.contact-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #9ca3af;
}

.contact-note a {
  color: #f97316;
}

/* info column */

.contact-card--info {
  background: radial-gradient(
      circle at top right,
      rgba(249, 115, 22, 0.22),
      transparent 55%
    ),
    rgba(3, 7, 18, 0.98);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-list h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.contact-list p {
  margin: 0;
  color: #cbd5f5;
}

.contact-list a {
  color: #38bdf8;
}

/* responsive */

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
