/*
Theme Name: Prism Group
Theme URI: https://www.prismgroup.info
Author: Prism Group
Description: Custom lightweight one-page theme for Prism Group Limited. No page builder, no Elementor - clean hand-coded templates, easy to maintain, update and harden over time.
Version: 0.3.2
License: GNU General Public License v2 or later
Text Domain: prismgroup
*/

/* ============================================================
   Design tokens
   ============================================================ */
:root {
  --blue-dark: #1C4B81;
  --blue-mid: #165387;
  --blue-bright: #2465A3;
  --ink: #2E2E2E;
  --body: #444444;
  --muted: #F7F8FC;
  --white: #FFFFFF;
  --radius: 8px;
  --maxw: 1200px;
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ============================================================
   Base
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 128px; } /* offset so the sticky bar doesn't cover section tops */
body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  font-size: 17px;
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-mid); text-decoration: none; }
h1, h2, h3 { font-family: var(--font); color: var(--blue-dark); line-height: 1.2; margin: 0 0 .5em; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--muted { background: var(--muted); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 16px 0; background: transparent;
}
/* Rounded floating "island" bar holding the logo + menu */
.nav-island {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--white); border-radius: 50px;
  padding: 12px 30px; min-height: 88px;
  box-shadow: 0 10px 28px rgba(16,40,70,.16);
}
.site-logo img { max-height: 68px; width: auto; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; }
.main-nav a {
  color: var(--blue-dark); font-weight: 600; font-size: 18px; padding: 6px 0;
  border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.main-nav a:hover { color: var(--blue-bright); border-color: var(--blue-bright); }
/* Contact call-to-action pill */
.main-nav a.nav-cta {
  background: var(--blue-mid); color: var(--white);
  padding: 11px 30px; border-radius: 50px; border-bottom: 0;
}
.main-nav a.nav-cta:hover { background: var(--blue-dark); color: var(--white); border-color: transparent; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--blue-dark); margin: 5px 0; border-radius: 2px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-block; cursor: pointer; border: 0;
  font-family: var(--font); font-weight: 500; font-size: 17px;
  padding: 16px 40px; border-radius: 250px; transition: background .2s, color .2s;
}
.btn--light { background: var(--white); color: #000; }
.btn--light:hover { background: var(--blue-mid); color: var(--white); }
.btn--blue { background: var(--blue-mid); color: var(--white); }
.btn--blue:hover { background: var(--blue-dark); color: var(--white); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; color: var(--white); text-align: center;
  background: var(--blue-dark) center/cover no-repeat;
  padding: 150px 0 170px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(16,40,70,.45);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  color: var(--white); font-weight: 700;
  font-size: clamp(28px, 5vw, 52px); margin-bottom: 28px;
  max-width: 900px; margin-left: auto; margin-right: auto;
}

/* ============================================================
   Welcome
   ============================================================ */
.welcome .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.welcome h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 600; }
.welcome p { margin: 0 0 16px; text-align: justify; }
.checklist { list-style: none; margin: 22px 0 0; padding: 0; }
.checklist li {
  position: relative; padding-left: 40px; margin-bottom: 13px;
  font-weight: 500; font-size: 19px; color: var(--ink);
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue-mid);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/16px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/16px no-repeat;
}

/* ============================================================
   Services
   ============================================================ */
.services-head { display: grid; grid-template-columns: 36% 1fr; gap: 40px; align-items: center; margin-bottom: 50px; }
.services-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 600; border-right: 3px solid var(--blue-bright); margin: 0; padding-right: 20px; }
.services-head p { margin: 0; text-align: justify; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.08); transition: transform .25s, box-shadow .25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,.14); }
.service-card img { width: 100%; height: 210px; object-fit: cover; }
.service-card .body { padding: 26px 24px 30px; }
.service-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.service-card p { margin: 0; font-size: 16px; text-align: justify; }

/* ============================================================
   We Focus to SME
   ============================================================ */
.focus {
  color: var(--white);
  background: var(--blue-dark) top center/cover no-repeat;
}
.focus .grid { display: grid; grid-template-columns: 38% 1fr; gap: 40px; align-items: center; }
.focus h2 { color: var(--white); font-size: clamp(26px, 4vw, 40px); font-weight: 600; }
.focus p { text-align: justify; margin: 0; }
.focus-card {
  background: var(--white); color: var(--ink); border-radius: var(--radius);
  box-shadow: 0 15px 30px rgba(0,0,0,.35); padding: 42px 40px;
}
.focus-card ul { list-style: none; margin: 0; padding: 0; }
.focus-card li { position: relative; padding-left: 34px; margin-bottom: 16px; font-weight: 500; }
.focus-card li:last-child { margin-bottom: 0; }
.focus-card li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--ink);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/14px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/14px no-repeat;
}

/* ============================================================
   Contact
   ============================================================ */
.contact h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 600; }
.contact-head { max-width: 720px; margin: 0 0 46px; text-align: left; }
.contact-head p { margin: 0; color: var(--body); }

.contact-card {
  display: grid; grid-template-columns: 1fr 1fr;
  border-radius: 16px; overflow: hidden; background: var(--white);
  box-shadow: 0 22px 48px rgba(16,40,70,.18);
}
/* Left blue panel with the details */
.contact-info {
  background: linear-gradient(155deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  color: #fff; padding: 52px 46px;
}
.contact-info h3 { color: #fff; font-size: 24px; font-weight: 600; margin: 0 0 28px; }
.c-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.c-item .circle {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center;
}
.c-item .circle svg { width: 22px; height: 22px; color: #fff; }
.c-item h4 { color: #fff; margin: 0 0 3px; font-size: 14px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; }
.c-item p, .c-item a { margin: 0; font-size: 17px; color: rgba(255,255,255,.9); word-break: break-word; }
.c-item a:hover { color: #fff; text-decoration: underline; }
.contact-info .btn { margin-top: 12px; margin-left: 0; } /* pill left edge lines up with the outer edge of the icon circles */
/* Right image panel */
.contact-media { min-height: 440px; background: #dfe6f0 center/cover no-repeat; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--blue-dark); color: rgba(255,255,255,.85); text-align: center; padding: 26px 0; font-size: 15px; }
.site-footer a { color: #fff; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .section { padding: 55px 0; }
  .welcome .grid, .focus .grid, .contact-card,
  .services-head, .services-grid { grid-template-columns: 1fr; }
  .contact-media { min-height: 260px; }
  .services-head h2 { border-right: 0; border-bottom: 3px solid var(--blue-bright); padding: 0 0 14px; }
  .main-nav {
    position: absolute; top: calc(100% + 12px); left: 0; right: 0; background: #fff;
    border-radius: 16px; box-shadow: 0 12px 24px rgba(16,40,70,.16); display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 22px 14px; }
  .main-nav a { display: block; padding: 12px 0; border-bottom: 1px solid #eee; }
  .main-nav a:last-child { border-bottom: 0; }
  .nav-toggle { display: block; }
}
