/* --- Base / Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #0f172a; /* slate-900 */
  background: #ffffff;
  line-height: 1.5;
}
:root{
  --brand:#1e40af;      /* TLS primary blue */
  --brand-2:#3b82f6;    /* TLS accent blue */
  --ink:#0f172a;
  --muted:#475569;      /* slate-600 */
  --bg-soft:#f1f5f9;    /* slate-100 */
  --card:#ffffff;
  --ring: rgba(30,64,175,.18);
  --radius:16px;
  --shadow: 0 10px 30px rgba(2,8,23,.08);
}

/* --- Layout --- */
.container { width: min(1200px, 92%); margin-inline: auto; }
header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.2) blur(6px);
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(15,23,42,.06);
}
.nav {
  display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 0;
}
.logo {
  display:flex; align-items:center; gap:12px; text-decoration:none; color:var(--ink);
  font-weight:700; letter-spacing:.2px;
}
.logo img { height:15px; width:auto; object-fit:contain; }
.nav a.cta {
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 14px; border-radius:999px; text-decoration:none; color:#fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 6px 18px var(--ring);
}
.nav a.cta:hover{ transform: translateY(-1px); }

/* --- Logo Strip --- */
.logo-strip {
  background: #3D5BA9;
  padding: 15px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo-strip img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0;
  background:
    radial-gradient(60% 60% at 80% -10%, rgba(30,64,175,.15), transparent 60%),
    radial-gradient(60% 60% at -10% 20%, rgba(59,130,246,.15), transparent 60%),
    linear-gradient(#ffffff, #ffffff);
}
.hero-inner { display:grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items:center; }
@media (max-width: 900px){ .hero-inner{ grid-template-columns:1fr; } }
.hero h1 { font-size: clamp(28px, 3.6vw, 44px); line-height:1.1; margin: 0 0 12px; }
.hero p.lead { color: var(--muted); font-size: clamp(16px, 1.8vw, 18px); margin: 0 0 22px; }
.tags { display:flex; flex-wrap:wrap; gap:10px; margin-top: 10px; }
.tag {
  font-size: 13px; padding:8px 12px; border-radius: 999px; background: var(--bg-soft);
  border:1px solid #e2e8f0; color:#0f172a;
}

/* Tag variants with TLS hex values for borders */
.tag.tag-1 {
  border: 1px solid #A4E25A;
}

.tag.tag-2 {
  border: 1px solid #26CFC8;
}

.tag.tag-3 {
  border: 1px solid #00BCDD;
}

.tag.tag-4 {
  border: 1px solid #3D5BA9;
}
.hero-img {
  aspect-ratio: 16 / 10; width: 100%; border-radius: var(--radius);
  background:#e2e8f0 url('../assets/hero-muscat-golden-sunset.png') center/cover no-repeat;
  box-shadow: var(--shadow);
  border:1px solid #e2e8f0;
}

/* --- Sections --- */
section { padding: clamp(40px, 6vw, 72px) 0; }
.section-title { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 16px; }
.section-sub { color: var(--muted); margin: 0 0 24px; }

.cards {
  display:grid; gap: 18px;
  grid-template-columns: repeat(12, 1fr);
}
.card {
  grid-column: span 3; background: var(--card); border-radius: var(--radius);
  padding: 18px; border:1px solid #e2e8f0; box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 10px; font-size: 18px; }
.card p { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.card .img {
  width:100%; aspect-ratio: 16 / 9; border-radius: 12px;
  background:#e2e8f0 center/cover no-repeat;
  border:1px solid #e2e8f0; margin: 10px 0 12px;
}

/* Specific card images */
.card.products {
  color: #0f172a;
  border: 1px solid #A4E25A;
}
.card.products .img {
  background-image: url('../assets/products-image.png');
}

.card.infrastructure {
  color: #0f172a;
  border: 1px solid #26CFC8;
}
.card.infrastructure .img {
  background-image: url('../assets/infrastructure-image.jpg');
}

.card.solutions {
  color: #0f172a;
  border: 1px solid #00BCDD;
}
.card.solutions .img {
  background-image: url('../assets/solutions-image.png');
}

.card.services {
  color: #0f172a;
  border: 1px solid #3D5BA9;
}
.card.services .img {
  background-image: url('../assets/services-image.png');
}
.card ul { margin: 0; padding-left: 18px; }
.card li { margin: 6px 0; }

@media (max-width: 1200px){
  .card { grid-column: span 6; }
}
@media (max-width: 640px){
  .card { grid-column: span 12; }
}

.twocol {
  display:grid; gap: 18px; grid-template-columns: 1fr 1fr;
}
@media (max-width: 900px){ .twocol{ grid-template-columns: 1fr; } }
.blurb {
  background: var(--card); border-radius: var(--radius); padding: 18px;
  border:1px solid #e2e8f0; box-shadow: var(--shadow);
}

/* --- Footer --- */
footer {
  background: var(--brand); color: #ffffff;
  padding: 30px 0 36px; margin-top: 20px;
}
.footer-grid {
  display:grid; gap: 16px; grid-template-columns: 2fr 1fr;
}
@media (max-width: 800px){ .footer-grid{ grid-template-columns: 1fr; } }
.contact {
  display:flex; flex-wrap:wrap; gap: 10px; margin-top: 8px;
}
.chip {
  background: rgba(255,255,255,.15); border:1px solid rgba(255,255,255,.25);
  color:#ffffff; border-radius: 999px; padding: 8px 12px; font-size: 14px;
}
.chip a { color: #ffffff; text-decoration: none; }
.muted { color: #94a3b8; }

/* --- Small helpers --- */
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }