/* ==========================================================================
   TECH DELIGHT — global stylesheet
   ========================================================================== */

:root {
  --navy-900: #071a33;
  --navy-800: #0d2647;
  --navy-700: #133463;
  --navy-600: #1c4272;
  --accent: #17b8ce;
  --accent-dark: #0e8fa3;
  --amber: #ffb020;
  --light: #f5f8fb;
  --light-2: #eaf1f6;
  --white: #ffffff;
  --gray-600: #5b6b82;
  --gray-500: #7c8aa0;
  --border: #e3e9f0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(13, 38, 71, 0.06);
  --shadow-md: 0 10px 30px rgba(13, 38, 71, 0.10);
  --shadow-lg: 0 20px 50px rgba(13, 38, 71, 0.16);
  --container: 1180px;
  --font: 'Poppins', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font);
  color: var(--navy-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0 0 .5em; font-weight: 700; line-height: 1.25; color: var(--navy-900); }
p { margin: 0 0 1em; color: var(--gray-600); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

section { padding: 90px 0; }
@media (max-width: 768px) { section { padding: 60px 0; } }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: rgba(23, 184, 206, 0.1);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--amber); color: var(--navy-900); }
.btn-primary:hover { background: #ffc85c; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-navy { background: var(--navy-800); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: var(--navy-900); }
.btn-accent:hover { background: #33c9dd; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--border);
}
/* backdrop-filter makes the header a containing block for fixed-position
   children, which would trap the mobile nav panel inside the header box —
   so it is applied only at widths where .main-nav is not fixed. */
@media (min-width: 901px) {
  .site-header { backdrop-filter: blur(10px); }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; }
.brand { flex: none; }
.brand img { height: 42px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  color: var(--navy-800);
  white-space: nowrap;
  transition: all .2s ease;
}
.main-nav a:hover, .main-nav a.active { background: var(--light-2); color: var(--accent-dark); }
.header-actions { display: flex; align-items: center; gap: 14px; }

/* Six nav items plus the CTA need a little breathing room on mid-size laptops. */
@media (max-width: 1240px) {
  .main-nav { gap: 0; }
  .main-nav a { padding: 10px 11px; font-size: 14.5px; }
}
.nav-toggle { display: none; flex: none; background: none; border: none; font-size: 24px; padding: 4px; color: var(--navy-800); cursor: pointer; }
.mobile-quote-btn { display: none; }

@media (max-width: 900px) {
  .main-nav {
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--white);
    flex-direction: column; align-items: stretch;
    padding: 20px 24px; gap: 4px;
    transform: translateY(-110%);
    transition: transform .3s ease;
    z-index: 99;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 16px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-toggle { display: block; }
  .mobile-quote-btn { display: flex; margin-top: 16px; }
}

/* Below ~600px the logo + quote button + hamburger no longer fit on one
   row, so the header CTA moves into the mobile nav panel instead. */
@media (max-width: 600px) {
  .header-actions .btn-navy.btn-sm { display: none; }
  .brand img { height: 32px; }
  .main-nav { top: 62px; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700) 80%);
  position: relative;
  overflow: hidden;
  padding: 90px 0 70px;
}
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent);
  font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-eyebrow::before { content: ''; width: 30px; height: 2px; background: var(--accent); }
.hero h1 { color: var(--white); font-size: clamp(34px, 5vw, 54px); line-height: 1.15; margin-bottom: 18px; }
.hero h1 span { color: var(--accent); }
.hero p.lead { color: #c6d3e5; font-size: 18px; max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats .stat strong { display: block; font-size: 28px; color: var(--white); }
.hero-stats .stat span { color: #9db1cb; font-size: 13px; }
.hero-art { position: relative; animation: heroFloat 6s ease-in-out infinite; }
.hero-art svg { width: 100%; height: auto; }
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 360px; margin: 0 auto; }
}

/* Hero entrance animation */
.hero-eyebrow, .hero h1, .hero p.lead, .hero-actions, .hero-stats {
  opacity: 0;
  transform: translateY(24px);
  animation: heroUp .8s ease forwards;
}
.hero-eyebrow { animation-delay: .1s; }
.hero h1 { animation-delay: .25s; }
.hero p.lead { animation-delay: .4s; }
.hero-actions { animation-delay: .55s; }
.hero-stats { animation-delay: .7s; }

/* Hero illustration motion */
@keyframes heroFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes heroUp { to { opacity: 1; transform: translateY(0); } }

.hero-svg .hero-glow { animation: heroGlowPulse 5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes heroGlowPulse { 0%, 100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }

.hero-svg .hero-line {
  stroke-dasharray: 8 7;
  animation: heroDash 2.6s linear infinite;
}
@keyframes heroDash { to { stroke-dashoffset: -60; } }

.hero-svg .hero-node {
  transform-box: fill-box;
  transform-origin: center;
  animation: heroNodePulse 2.2s ease-in-out infinite;
}
.hero-svg .hero-node:nth-of-type(2) { animation-delay: .3s; }
.hero-svg .hero-node:nth-of-type(3) { animation-delay: .6s; }
.hero-svg .hero-node:nth-of-type(4) { animation-delay: .9s; }
@keyframes heroNodePulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(1.4); } }

.hero-svg .hero-float {
  transform-box: fill-box;
  transform-origin: center;
  animation: heroFloatSmall 4s ease-in-out infinite;
}
.hero-svg .f2 { animation-delay: .5s; }
.hero-svg .f3 { animation-delay: 1s; }
.hero-svg .f4 { animation-delay: 1.5s; }
@keyframes heroFloatSmall { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero-svg .hero-blink { animation: heroBlink 2.4s ease-in-out infinite; }
@keyframes heroBlink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

@media (prefers-reduced-motion: reduce) {
  .hero-art, .hero-eyebrow, .hero h1, .hero p.lead, .hero-actions, .hero-stats,
  .hero-svg .hero-glow, .hero-svg .hero-line, .hero-svg .hero-node, .hero-svg .hero-float, .hero-svg .hero-blink {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700) 85%);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: var(--white); font-size: clamp(28px, 4vw, 42px); margin-bottom: 10px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; color: #a9bbd4; font-size: 14px; }
.breadcrumb a { color: var(--accent); }
.page-header::after {
  content: '';
  position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(23,184,206,.18), transparent 70%);
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  transition: all .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 14.5px; margin-bottom: 0; }
.card.featured { border-color: var(--accent); box-shadow: var(--shadow-sm); }

.service-card { position: relative; }
.service-card .learn-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; font-size: 14px; color: var(--accent-dark); }
.service-card ul { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.service-card ul li { font-size: 14px; color: var(--gray-600); display: flex; gap: 8px; align-items: flex-start; }
.service-card ul li i { color: var(--accent); margin-top: 3px; font-size: 12px; }

/* ---------- Why choose / feature list ---------- */
.feature-row { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 30px; }
.feature-row .num {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  background: var(--light-2); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.feature-row h4 { margin-bottom: 6px; font-size: 17px; }
.feature-row p { margin: 0; font-size: 14.5px; }

/* ---------- Industries ---------- */
.chip-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.chip {
  display: flex; align-items: center; gap: 10px;
  background: var(--light);
  border: 1px solid var(--border);
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--navy-800);
}
.chip i { color: var(--accent); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: ''; position: absolute; left: -60px; bottom: -100px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,176,32,.16), transparent 70%);
}
.cta-band h2 { color: var(--white); font-size: 28px; margin-bottom: 8px; max-width: 460px; position: relative; }
.cta-band p { color: #b9c8dd; margin-bottom: 0; position: relative; }
.cta-band .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }

/* ---------- Projects ---------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-bar a {
  padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 14px;
  border: 1px solid var(--border); color: var(--navy-800);
}
.filter-bar a.active, .filter-bar a:hover { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }

.project-card { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: var(--white); transition: all .25s ease; }
.project-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.project-thumb { position: relative; aspect-ratio: 8/5; overflow: hidden; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.project-card:hover .project-thumb img { transform: scale(1.06); }
.project-status {
  position: absolute; top: 14px; left: 14px;
  padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700;
  color: var(--white);
}
.project-status.Completed { background: var(--accent-dark); }
.project-status.Ongoing { background: var(--amber); color: var(--navy-900); }
.project-status.Upcoming { background: var(--gray-500); }
.project-body { padding: 24px; }
.project-body .cat { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-dark); }
.project-body h3 { font-size: 19px; margin: 8px 0; }
.project-meta { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; font-size: 13.5px; color: var(--gray-600); }
.project-meta span { display: flex; gap: 8px; align-items: center; }
.project-meta i { color: var(--accent); width: 14px; }

/* ---------- Sales items ---------- */
.sales-category { margin-bottom: 70px; scroll-margin-top: 100px; }
.sales-category:last-child { margin-bottom: 0; }
.sales-category-head {
  display: flex; align-items: center; gap: 20px;
  padding-bottom: 22px; margin-bottom: 34px;
  border-bottom: 1px solid var(--border);
}
.sales-category-icon {
  flex: none; width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 21px;
}
.sales-category-head h2 { font-size: clamp(21px, 2.4vw, 27px); margin-bottom: 4px; }
.sales-category-head p { margin: 0; font-size: 14.5px; }
.sales-count {
  margin-left: auto; flex: none;
  padding: 7px 16px; border-radius: 999px;
  background: var(--light-2); color: var(--accent-dark);
  font-size: 13px; font-weight: 700; white-space: nowrap;
}
@media (max-width: 620px) {
  .sales-category-head { flex-wrap: wrap; gap: 14px; }
  .sales-count { margin-left: 0; }
}

.sales-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .25s ease;
}
.sales-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.sales-gallery { padding: 14px 14px 0; }
.sales-main {
  position: relative;
  aspect-ratio: 8/5; overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--light-2);
  cursor: zoom-in;
}
.sales-main img { width: 100%; height: 100%; object-fit: cover; }
.sales-main::after {
  content: '\f00e'; /* magnifying glass — Font Awesome */
  font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; right: 10px; bottom: 10px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(7, 26, 51, .72); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; opacity: 0; transition: opacity .25s ease;
}
.sales-card:hover .sales-main::after { opacity: 1; }

.sales-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.sales-thumb {
  padding: 0; border: 2px solid transparent; border-radius: 6px;
  background: var(--light-2); overflow: hidden; cursor: pointer;
  aspect-ratio: 1/1; transition: border-color .2s ease, transform .2s ease;
}
.sales-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sales-thumb:hover { transform: translateY(-2px); }
.sales-thumb.active { border-color: var(--accent); }

.sales-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.sales-body .cat { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-dark); }
.sales-body h3 { font-size: 17.5px; margin: 7px 0 8px; }
.sales-body p { font-size: 14px; margin-bottom: 14px; }
.sales-body .learn-more {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 14px; color: var(--accent-dark);
}
.sales-body .learn-more:hover { gap: 10px; }

.sales-body h3 a { transition: color .2s ease; }
.sales-body h3 a:hover { color: var(--accent-dark); }
.sales-card-links { margin-top: auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sales-card-links .learn-more { margin-top: 0; }
.sales-card-links .quote-link {
  font-size: 13.5px; font-weight: 600; color: var(--gray-600);
  border-bottom: 1px dashed var(--border); padding-bottom: 1px;
}
.sales-card-links .quote-link:hover { color: var(--navy-800); border-bottom-color: var(--accent); }

/* ---------- Product detail page ---------- */
.product-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: start; }
@media (max-width: 900px) { .product-layout { grid-template-columns: 1fr; gap: 34px; } }

.product-gallery {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  position: sticky; top: 100px;
}
@media (max-width: 900px) { .product-gallery { position: static; } }
.product-gallery .sales-main { aspect-ratio: 4/3; }
.product-gallery .sales-main::after { opacity: 1; }
.product-gallery .sales-thumbs { gap: 10px; }
.gallery-hint { margin: 12px 0 0; font-size: 12.5px; color: var(--gray-500); text-align: center; }
.gallery-hint i { color: var(--accent); margin-right: 4px; }

.product-info .product-cat {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--accent-dark); background: rgba(23, 184, 206, 0.1);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 16px;
}
.product-info h2 { font-size: clamp(24px, 3vw, 33px); margin-bottom: 16px; }
.product-desc { font-size: 15.5px; line-height: 1.8; }
.product-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 30px; }

.product-assurance {
  display: flex; flex-direction: column; gap: 12px;
  padding: 22px 24px; border-radius: var(--radius-md);
  background: var(--light); border: 1px solid var(--border);
}
.product-assurance > div { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: var(--navy-800); }
.product-assurance i { flex: none; width: 32px; height: 32px; border-radius: 9px; background: var(--white); color: var(--accent-dark); display: flex; align-items: center; justify-content: center; font-size: 13px; border: 1px solid var(--border); }

.spec-block { margin-top: 60px; }
.spec-block h3 { font-size: 21px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.spec-block h3 i { color: var(--accent); font-size: 17px; }
.spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.spec-table tr { border-bottom: 1px solid var(--border); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table tr:nth-child(odd) { background: var(--light); }
.spec-table th, .spec-table td { padding: 14px 20px; text-align: left; font-size: 14.5px; vertical-align: top; }
.spec-table th { width: 220px; font-weight: 600; color: var(--navy-900); white-space: nowrap; }
.spec-table td { color: var(--gray-600); }
@media (max-width: 620px) {
  .spec-table th, .spec-table td { display: block; width: auto; white-space: normal; }
  .spec-table th { padding-bottom: 2px; }
  .spec-table td { padding-top: 0; }
}
.spec-note { margin: 14px 0 0; font-size: 13.5px; color: var(--gray-500); }

/* Category chips on the home page */
.sales-chip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 980px) { .sales-chip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sales-chip-grid { grid-template-columns: 1fr; } }
.sales-chip {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; border-radius: var(--radius-md);
  background: var(--white); border: 1px solid var(--border);
  font-weight: 600; font-size: 14.5px; color: var(--navy-800);
  transition: all .25s ease;
}
.sales-chip:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.sales-chip i { flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--light-2); color: var(--accent-dark); display: flex; align-items: center; justify-content: center; font-size: 16px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(7, 26, 51, .93);
  display: none; align-items: center; justify-content: center;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1000px, 92vw); max-height: 82vh; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.lightbox-caption { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: #c6d3e5; font-size: 14px; }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.12); color: var(--white);
  border: none; border-radius: 50%; width: 46px; height: 46px;
  font-size: 18px; cursor: pointer; transition: background .2s ease;
}
.lightbox button:hover { background: rgba(255,255,255,.26); }
.lightbox .lb-close { top: 22px; right: 22px; }
.lightbox .lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
@media (max-width: 620px) {
  .lightbox .lb-prev { left: 10px; }
  .lightbox .lb-next { right: 10px; }
}

/* ---------- Values / mission-vision ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.split img, .split svg { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.mv-card {
  background: var(--light);
  border-radius: var(--radius-md);
  padding: 34px;
  border: 1px solid var(--border);
}
.mv-card i { font-size: 28px; color: var(--accent-dark); margin-bottom: 16px; }
.mv-card h3 { font-size: 20px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 14px; color: var(--navy-800); }
.form-field input, .form-field select, .form-field textarea {
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14.5px;
  color: var(--navy-800);
  background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(23,184,206,.14);
}
.form-field textarea { resize: vertical; min-height: 120px; }

.contact-card {
  display: flex; gap: 18px; padding: 26px; border-radius: var(--radius-md);
  background: var(--light); border: 1px solid var(--border); margin-bottom: 18px;
}
.contact-card i { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--navy-800); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.contact-card h4 { margin-bottom: 6px; font-size: 15.5px; }
.contact-card p { margin: 0; font-size: 14px; }

.alert { padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 24px; font-size: 14.5px; font-weight: 500; }
.alert-success { background: #e3f9ee; color: #0f7a4c; border: 1px solid #b7ebd0; }
.alert-error { background: #fdeaea; color: #b5322f; border: 1px solid #f5c2c1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #a9bbd4; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--white); font-size: 16px; margin-bottom: 20px; }
.footer-grid p { color: #93a5bf; font-size: 14px; }
.footer-grid ul li { margin-bottom: 12px; }
.footer-grid ul a { color: #a9bbd4; font-size: 14.5px; transition: color .2s ease; }
.footer-grid ul a:hover { color: var(--accent); }
.footer-grid .contact-line { display: flex; gap: 10px; margin-bottom: 14px; font-size: 14px; color: #a9bbd4; }
.footer-grid .contact-line i { color: var(--accent); margin-top: 3px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s ease;
}
.footer-social a:hover { background: var(--accent); color: var(--navy-900); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13.5px; color: #7f92ac;
}

/* ---------- Misc ---------- */
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--light-2); color: var(--accent-dark); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy-800); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: all .25s ease;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

.reveal { opacity: 0; transform: translateY(24px); transition: all .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
