/* ==========================================================================
   Shree Gajanand India — main stylesheet
   One consistent, high-contrast theme: deep purple header/hero/footer,
   light content sections with dark readable text.
   ========================================================================== */

:root {
  --ink: #1b1030;            /* main text on light backgrounds */
  --ink-soft: #4a4263;       /* secondary text on light (AA contrast) */
  --bg: #ffffff;
  --bg-soft: #f6f2fd;        /* alternate section background */
  --line: #e4dbf5;
  --brand: #7a1fd1;          /* primary purple (AA on white) */
  --brand-dark: #5b12a3;
  --brand-light: #c9a0ff;    /* purple used on dark backgrounds */
  --dark: #12081f;           /* header / footer / hero */
  --dark-2: #1d0e33;
  --on-dark: #ffffff;
  --on-dark-soft: #e0d4f2;
  --whatsapp: #25d366;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(40, 10, 80, .10);
  --shadow-lg: 0 14px 40px rgba(40, 10, 80, .18);
  --max: 1180px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3, h4 { font-family: "Poppins", "Inter", system-ui, sans-serif; line-height: 1.2; margin: 0 0 .6em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 300; }
.skip-link:focus { left: 8px; }

/* ---------- Layout helpers ---------- */
.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.alt { background: var(--bg-soft); }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 0; }
.eyebrow {
  display: inline-block; margin-bottom: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  font: 600 .98rem/1 "Inter", sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { background: var(--bg-soft); }
.btn-outline { border-color: #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--brand-dark); }

/* ---------- Header / navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--dark); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav-wrap { width: min(var(--max), 100% - 40px); height: var(--header-h); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; min-width: 0; }
.brand img { width: 50px; height: 50px; border-radius: 50%; flex: none; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-text strong { font: 700 1.05rem/1.2 "Poppins", sans-serif; letter-spacing: .03em; color: #fff; }
.brand-text span { font-size: .72rem; color: var(--on-dark-soft); line-height: 1.3; }
.navbar ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.navbar a { display: block; padding: 9px 15px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 500; font-size: .95rem; transition: background .15s; }
.navbar a:hover { background: rgba(255,255,255,.12); }
.navbar a.active { background: rgba(201,160,255,.22); color: #fff; }
.navbar a.nav-cta { background: var(--brand); font-weight: 600; margin-left: 6px; }
.navbar a.nav-cta:hover, .navbar a.nav-cta.active { background: #9333ea; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 10px; background: rgba(255,255,255,.1); cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px auto; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Home hero ---------- */
.hero {
  position: relative; color: #fff; min-height: min(640px, 80vh); display: flex; align-items: center;
  background: var(--dark) url("img/hero.webp") center / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,8,31,.92) 0%, rgba(18,8,31,.78) 42%, rgba(18,8,31,.15) 100%); }
.hero-inner { position: relative; padding: 80px 0; }
.hero h1 { color: #fff; max-width: 15ch; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.hero h1 .accent { display: block; color: var(--brand-light); }
.hero p { max-width: 560px; font-size: 1.1rem; color: var(--on-dark-soft); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.trust-strip { background: var(--dark-2); color: #fff; }
.trust-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 22px 14px; font-weight: 600; font-size: .95rem; }
.trust-item i { color: var(--brand-light); font-size: 1.3rem; }
.trust-item + .trust-item { border-left: 1px solid rgba(255,255,255,.12); }

/* ---------- Leadership ---------- */
.leader-card { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 40px; box-shadow: var(--shadow); }
.leader-photo { width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid var(--bg-soft); box-shadow: 0 0 0 3px var(--brand); }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-role { display: inline-block; margin-bottom: 14px; padding: 4px 14px; border-radius: 999px; background: var(--bg-soft); color: var(--brand-dark); font-weight: 600; font-size: .9rem; }
.leader-intro { color: var(--ink-soft); font-size: 1.05rem; }
.leader-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0; }
.leader-value { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .92rem; line-height: 1.3; }
.value-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.leader-quote { border-left: 4px solid var(--brand); background: var(--bg-soft); border-radius: 0 12px 12px 0; padding: 16px 20px; font-style: italic; color: var(--ink); margin: 0; }

/* ---------- About (home) ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-collage { position: relative; }
.about-collage img { width: 100%; border-radius: 18px; box-shadow: var(--shadow-lg); aspect-ratio: 700/430; object-fit: cover; }
.exp-badge { position: absolute; right: -16px; bottom: -22px; display: flex; align-items: center; gap: 12px; background: var(--brand); color: #fff; padding: 16px 22px; border-radius: 16px; box-shadow: var(--shadow-lg); }
.exp-badge i { font-size: 1.8rem; }
.exp-badge .num { font: 800 1.8rem/1 "Poppins", sans-serif; }
.exp-badge .lbl { font-size: .8rem; line-height: 1.25; }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check-list i { color: var(--brand); margin-top: 5px; }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.service-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-light); }
.sc-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--bg-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 16px; }
.service-card p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 0; }
.service-card .service-link { display: inline-block; margin-top: 14px; font-weight: 600; text-decoration: none; }
.service-card .service-link:hover { text-decoration: underline; }
.service-number { position: absolute; top: 16px; right: 20px; font: 800 1.5rem/1 "Poppins", sans-serif; color: var(--line); }
.service-quote { font-style: italic; }
.section-cta { text-align: center; margin-top: 40px; }

/* ---------- Projects (home) ---------- */
.projects-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.projects-top p { color: var(--ink-soft); max-width: 640px; margin: 0; }
.projects-list { display: grid; gap: 18px; }
.project-card { display: grid; grid-template-columns: 56px 1fr auto; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow); }
.project-number { font: 800 2rem/1 "Poppins", sans-serif; color: var(--brand-light); }
.project-status { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #0d7a3f; background: #e6f7ee; padding: 4px 12px; border-radius: 999px; margin-bottom: 8px; }
.project-status i { font-size: .5rem; }
.project-card h3 { margin-bottom: 4px; }
.project-location { color: var(--ink-soft); font-weight: 500; margin-bottom: 6px; }
.project-location i { color: var(--brand); margin-right: 6px; }
.project-card p:last-child { margin-bottom: 0; color: var(--ink-soft); }
.project-service { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-soft); color: var(--brand-dark); font-weight: 600; font-size: .9rem; padding: 10px 16px; border-radius: 999px; white-space: nowrap; }

/* ---------- Inner page hero ---------- */
.page-hero { background: linear-gradient(135deg, var(--dark) 0%, #3b1170 100%); color: #fff; padding: 64px 0 56px; text-align: center; }
.page-hero h1 { color: #fff; margin-bottom: 10px; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.breadcrumb { margin: 0; color: var(--on-dark-soft); font-size: .95rem; }
.breadcrumb a { color: #fff; }

/* ---------- About page ---------- */
.intro-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.intro-grid p { color: var(--ink-soft); font-size: 1.05rem; }
.highlight-list { display: grid; gap: 16px; }
.highlight-item { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.highlight-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.highlight-item h3 { margin-bottom: 4px; font-size: 1.02rem; }
.highlight-item p { margin: 0; font-size: .93rem; color: var(--ink-soft); }
.card-grid { display: grid; gap: 22px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); }
.info-card > i { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--bg-soft); color: var(--brand); font-size: 1.4rem; margin-bottom: 16px; }
.info-card p { color: var(--ink-soft); margin-bottom: 0; }
.info-card .num { position: absolute; }
.numbered { position: relative; }
.numbered .num { position: absolute; top: 18px; right: 22px; font: 800 1.5rem/1 "Poppins", sans-serif; color: var(--line); }
.quote-block { max-width: 820px; margin: 48px auto 0; text-align: center; background: var(--dark); color: #fff; border-radius: 20px; padding: 36px 32px; }
.quote-block > i { color: var(--brand-light); font-size: 1.6rem; margin-bottom: 12px; }
.quote-block p { font-size: 1.15rem; font-style: italic; color: #fff; }
.quote-block span { color: var(--brand-light); font-weight: 600; }

/* ---------- Process / industries ---------- */
.process-card { text-align: center; }
.process-card .process-icon, .process-card .process-number { margin-inline: auto; }
.process-number { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--brand); color: #fff; font: 700 1.1rem "Poppins", sans-serif; margin-bottom: 16px; }
.commitment { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.commitment p { color: var(--ink-soft); }
.commitment-points { display: grid; gap: 10px; margin-top: 18px; }
.commitment-point { display: flex; gap: 10px; font-weight: 500; }
.commitment-point i { color: var(--brand); margin-top: 5px; }
.highlight-card { background: var(--dark); color: #fff; border-radius: 20px; padding: 36px 30px; text-align: center; }
.highlight-card h3 { color: #fff; }
.highlight-card p { color: var(--on-dark-soft); margin: 0; }
.highlight-card .highlight-icon { margin: 0 auto 18px; width: 60px; height: 60px; font-size: 1.5rem; background: var(--brand); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--brand-dark), #3b1170); color: #fff; text-align: center; padding: 64px 20px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-dark-soft); max-width: 620px; margin: 0 auto 26px; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 44px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; text-align: center; box-shadow: var(--shadow); }
.contact-card > i { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 1.2rem; }
.contact-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.contact-card p { margin: 0; color: var(--ink-soft); font-size: .95rem; overflow-wrap: anywhere; }
.contact-card a { color: var(--brand-dark); font-weight: 600; text-decoration: none; }
.contact-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: stretch; }
.contact-form, .contact-map { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }
.contact-form h2 { font-size: 1.5rem; }
.contact-form label { display: block; margin: 14px 0 6px; font-weight: 600; font-size: .92rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid #cfc3e6; border-radius: 10px; background: #fff; color: var(--ink);
  font: inherit; transition: border-color .15s, box-shadow .15s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(122,31,209,.18); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form button[type="submit"] { margin-top: 22px; width: 100%; padding: 15px; border: 0; border-radius: 999px; background: var(--brand); color: #fff; font: 600 1rem "Inter", sans-serif; cursor: pointer; transition: background .15s; }
.contact-form button[type="submit"]:hover { background: var(--brand-dark); }
.contact-form button[disabled] { opacity: .65; cursor: wait; }
.message-box { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-weight: 500; }
.message-box.success { display: block; background: #e6f7ee; color: #0a5c30; border: 1px solid #9fd9b9; }
.message-box.error { display: block; background: #fdecec; color: #8a1c1c; border: 1px solid #f1b0b0; }
.contact-map { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.contact-map iframe { width: 100%; flex: 1; min-height: 340px; border: 0; }
.contact-note { padding: 16px 22px; font-size: .88rem; color: var(--ink-soft); background: var(--bg-soft); }

/* ---------- Gallery ---------- */
.gallery-group + .gallery-group { margin-top: 56px; }
.gallery-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.gallery-title h2 { margin-bottom: 4px; font-size: 1.6rem; }
.gallery-title p { margin: 0; color: var(--ink-soft); }
.gallery-title p i { color: var(--brand); margin-right: 6px; }
.gallery-label { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-soft); color: var(--brand-dark); font-weight: 600; font-size: .9rem; padding: 9px 16px; border-radius: 999px; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.photo { padding: 0; border: 0; background: var(--bg-soft); border-radius: 12px; overflow: hidden; cursor: zoom-in; aspect-ratio: 3/4; box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.photo:hover img { transform: scale(1.05); }

.lightbox { position: fixed; inset: 0; z-index: 500; display: none; align-items: center; justify-content: center; background: rgba(8,3,16,.93); padding: 24px; }
.lightbox.open { display: flex; }
body.lightbox-open { overflow: hidden; }
.lightbox-img { max-width: min(92vw, 900px); max-height: 88vh; object-fit: contain; border-radius: 8px; }
.lightbox-btn, .lightbox-close { position: absolute; border: 0; background: rgba(255,255,255,.15); color: #fff; cursor: pointer; border-radius: 50%; width: 48px; height: 48px; font-size: 1.4rem; line-height: 1; transition: background .15s; }
.lightbox-btn:hover, .lightbox-close:hover { background: var(--brand); }
.lightbox-close { top: 18px; right: 18px; font-size: 1.8rem; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-size: .9rem; background: rgba(255,255,255,.15); padding: 4px 14px; border-radius: 999px; }

/* ---------- Footer & floating WhatsApp ---------- */
.main-footer { background: var(--dark); color: var(--on-dark-soft); text-align: center; padding: 26px 20px; font-size: .9rem; }
.main-footer p { margin: 0; }
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: var(--whatsapp); color: #fff; display: grid; place-items: center; font-size: 1.9rem; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.3); transition: transform .15s; }
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .brand-text span { display: none; }
  .contact-cards, .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .leader-card { grid-template-columns: 260px 1fr; gap: 32px; padding: 30px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .navbar { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--dark); border-top: 1px solid rgba(255,255,255,.1); padding: 14px 20px 22px; box-shadow: 0 18px 30px rgba(0,0,0,.35); }
  .navbar.open { display: block; }
  .navbar ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .navbar a { padding: 13px 16px; border-radius: 10px; }
  .navbar a.nav-cta { margin: 8px 0 0; text-align: center; }
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .leader-card, .about-grid, .intro-grid, .commitment, .contact-layout { grid-template-columns: 1fr; }
  .leader-photo { max-width: 260px; margin-inline: auto; }
  .exp-badge { right: 12px; }
  .about-grid { gap: 44px; }
  .card-grid.three, .card-grid.two { grid-template-columns: 1fr; }
  .project-card { grid-template-columns: 1fr; gap: 14px; }
  .project-service { justify-self: start; }
}
@media (max-width: 560px) {
  .container, .nav-wrap { width: calc(100% - 28px); }
  .hero::before { background: linear-gradient(180deg, rgba(18,8,31,.88), rgba(18,8,31,.7)); }
  .hero-inner { padding: 60px 0; }
  .leader-values, .contact-cards, .card-grid.four, .form-row { grid-template-columns: 1fr; }
  .leader-card { padding: 24px 20px; }
  .contact-form { padding: 24px 18px; }
  .brand-text strong { font-size: .95rem; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .lightbox-btn { width: 42px; height: 42px; }
  .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Long email address should not break mid-word */
.contact-card a[href^="mailto"] { font-size: .84rem; word-break: normal; overflow-wrap: normal; white-space: nowrap; }
@media (max-width: 1180px) { .contact-card a[href^="mailto"] { white-space: normal; overflow-wrap: anywhere; } }

/* Gallery: project with no photos yet */
.photo-soon { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 150px; border: 2px dashed var(--brand-light); border-radius: var(--radius); background: var(--bg-soft); color: var(--brand-dark); font-weight: 600; text-align: center; padding: 20px; }
.photo-soon i { font-size: 1.4rem; }

/* Gallery preview: extra photos stay hidden until the viewer opens */
.photo { position: relative; }
.photo.is-extra { display: none; }
.photo-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(18,8,31,.68); color: #fff; font: 700 1.5rem "Poppins", sans-serif; }
@media (max-width: 860px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   ISO Badges & Certifications
   ========================================================================== */
.hero-iso {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  margin-bottom: 16px;
}
.iso-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font: 600 .85rem "Inter", sans-serif;
  border: 1px solid rgba(255,255,255,.18);
  transition: background .15s, border-color .15s, transform .15s;
  cursor: default;
}
.iso-badge:hover {
  background: rgba(255,255,255,.22);
  border-color: var(--brand-light);
  transform: translateY(-2px);
}
.iso-badge i { font-size: .95rem; }
.iso-badge:nth-child(1) i { color: #ffd700; }
.iso-badge:nth-child(2) i { color: #6ee7b7; }
.iso-badge:nth-child(3) i { color: #fda4af; }

@media (max-width: 560px) {
  .hero-iso { justify-content: center; }
  .iso-badge { font-size: .78rem; padding: 6px 12px; }
}

/* ==========================================================================
   Trust Strip (8 columns)
   ========================================================================== */
.trust-strip .container { grid-template-columns: repeat(8, 1fr); }
@media (max-width: 1020px) {
  .trust-strip .container { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 560px) {
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Client Logos / Trusted By
   ========================================================================== */
#clients { padding-top: 0; }
.client-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
  justify-items: center;
}
.client-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  text-decoration: none;
  color: var(--ink);
  opacity: .85;
}
.client-logo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-light);
  opacity: 1;
}
.client-logo i { font-size: 2rem; color: var(--brand); }
.client-logo span { font-weight: 600; font-size: .85rem; text-align: center; line-height: 1.3; }
@media (max-width: 1020px) { .client-logos { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (max-width: 560px) { .client-logos { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

/* ==========================================================================
   Enhanced Footer
   ========================================================================== */
.main-footer {
  background: var(--dark);
  color: var(--on-dark-soft);
  padding: 56px 20px 24px;
  font-size: .9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  text-align: left;
  margin-bottom: 40px;
}
.footer-brand strong {
  display: block;
  font: 700 1.1rem/1.2 "Poppins", sans-serif;
  color: #fff;
  margin-bottom: 6px;
}
.footer-brand span {
  display: block;
  font-size: .75rem;
  color: var(--on-dark-soft);
  margin-bottom: 14px;
}
.footer-brand p { margin: 0; color: var(--on-dark-soft); }
.footer-links h4, .footer-iso h4, .footer-contact h4 {
  color: #fff;
  font-size: .95rem;
  margin-bottom: 16px;
}
.footer-links ul, .footer-contact ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { color: var(--on-dark-soft); text-decoration: none; transition: color .15s; }
.footer-links a:hover { color: var(--brand-light); }
.footer-iso .iso-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-iso .iso-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
}
.footer-iso .iso-list i { color: var(--brand-light); width: 20px; text-align: center; }
.footer-iso .iso-list small { color: var(--on-dark-soft); font-weight: 400; }
.footer-iso .iso-verify { margin-top: 16px; }
.footer-iso .iso-verify a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: var(--brand-light);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .15s;
}
.footer-iso .iso-verify a:hover { border-color: var(--brand-light); }
.footer-contact p { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--on-dark-soft); }
.footer-contact i { color: var(--brand-light); width: 20px; text-align: center; }
.footer-contact a { color: var(--on-dark-soft); text-decoration: none; }
.footer-contact a:hover { color: var(--brand-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  text-align: center;
  font-size: .85rem;
}
.footer-bottom p { margin: 0; }

@media (max-width: 1020px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: span 1; }
}

/* ==========================================================================
   Enhanced Leader Card (6 values)
   ========================================================================== */
.leader-values { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .leader-values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .leader-values { grid-template-columns: 1fr; } }

/* ==========================================================================
   ISO Badges Large (About page certifications)
   ========================================================================== */
.iso-badge-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  margin-bottom: 16px;
  font-size: 1.8rem;
  background: var(--bg-soft);
  color: var(--brand);
}
.info-card:nth-child(1) .iso-badge-large { background: #fffbe6; color: #d4a800; }
.info-card:nth-child(2) .iso-badge-large { background: #ecfdf5; color: #059669; }
.info-card:nth-child(3) .iso-badge-large { background: #fef2f2; color: #dc2626; }
.cert-detail { margin: 6px 0 0; font-size: .85rem; color: var(--ink-soft); }
.cert-detail strong { color: var(--ink); }

/* ==========================================================================
   Services page enhancements
   ========================================================================== */
.svc-intro .iso-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  margin-bottom: 24px;
}
.iso-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--brand-dark);
  font: 600 .85rem "Inter", sans-serif;
  border: 1px solid var(--line);
}
.iso-tag i { font-size: .95rem; }
.iso-tag:nth-child(1) i { color: #d4a800; }
.iso-tag:nth-child(2) i { color: #059669; }
.iso-tag:nth-child(3) i { color: #dc2626; }

/* ==========================================================================
   Print styles for certificates
   ========================================================================== */
@media print {
  .site-header, .hero-btns, .hero-iso, .cta-band, .whatsapp-float, .footer-iso .iso-verify { display: none !important; }
  .hero { min-height: auto; padding: 40px 0; background: var(--dark) !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .hero::before { display: none; }
  .main-footer { background: var(--dark) !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ==========================================================================
   Services: category index + individual service pages
   ========================================================================== */
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 760px; }
.svc-intro { padding-bottom: 24px; }
.svc-intro .lead { margin-bottom: 22px; }
.cat-jump { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-jump a { padding: 9px 18px; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; background: #fff; transition: border-color .15s, color .15s, background .15s; }
.cat-jump a:hover { border-color: var(--brand); color: var(--brand-dark); background: var(--bg-soft); }

.cat-block { padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.cat-block.alt { background: var(--bg-soft); }
.cat-grid { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.cat-side { position: sticky; top: calc(var(--header-h) + 24px); }
.cat-no { display: block; font: 800 3rem/1 "Poppins", sans-serif; color: var(--brand-light); margin-bottom: 8px; }
.cat-side h2 { font-size: 1.5rem; margin-bottom: 10px; }
.cat-side p { color: var(--ink-soft); }
.cat-count { display: inline-block; font-size: .85rem; font-weight: 600; color: var(--brand-dark); }

.svc-list { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.svc-row { display: flex; align-items: center; gap: 16px; padding: 16px 20px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); transition: background .15s; }
.svc-row:last-child { border-bottom: 0; }
.svc-row:hover { background: var(--bg-soft); }
.svc-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--bg-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.1rem; }
.svc-row:hover .svc-ico { background: var(--brand); color: #fff; }
.svc-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.svc-txt strong { font-weight: 600; line-height: 1.3; }
.svc-txt small { color: var(--ink-soft); font-size: .88rem; line-height: 1.45; }
.svc-go { flex: none; color: var(--brand); opacity: .55; transition: transform .15s, opacity .15s; }
.svc-row:hover .svc-go { opacity: 1; transform: translateX(3px); }
.svc-list-cols { grid-template-columns: repeat(3, 1fr); }
.svc-list-cols .svc-row { border-bottom: 0; border-right: 1px solid var(--line); align-items: flex-start; }
.svc-list-cols .svc-row:last-child { border-right: 0; }
.svc-list-cols .svc-go { display: none; }

/* Single service page */
.svc-detail { display: grid; grid-template-columns: 1fr 330px; gap: 48px; align-items: start; }
.svc-cat { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 5px 14px; border-radius: 999px; background: var(--bg-soft); color: var(--brand-dark); font-weight: 600; font-size: .88rem; }
.svc-main h2 { font-size: 1.35rem; margin: 34px 0 14px; }
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; }
.tick-list i { flex: none; margin-top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .7rem; display: grid; place-items: center; }
.tag-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { border: 1.5px solid var(--line); border-radius: 8px; padding: 6px 14px; font-weight: 500; font-size: .93rem; background: #fff; }
.svc-note { margin-top: 36px; padding: 18px 22px; border-left: 4px solid var(--brand); background: var(--bg-soft); border-radius: 0 12px 12px 0; }
.svc-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.aside-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; box-shadow: var(--shadow); }
.aside-box h3 { font-size: 1rem; margin-bottom: 12px; }
.aside-list { list-style: none; margin: 0; padding: 0; }
.aside-list a { display: block; padding: 9px 12px; margin: 0 -12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: .93rem; }
.aside-list a:hover { background: var(--bg-soft); }
.aside-list a.here { background: var(--bg-soft); color: var(--brand-dark); font-weight: 700; }
.aside-contact { background: var(--dark); border-color: var(--dark); }
.aside-contact h3 { color: #fff; }
.aside-contact p { color: var(--on-dark-soft); margin-bottom: 14px; font-size: .93rem; }
.aside-contact .btn { width: 100%; }
.aside-link { display: block; margin-top: 14px; text-align: center; color: #fff; font-weight: 600; text-decoration: none; }
.aside-link:hover { text-decoration: underline; }
.rel-title { font-size: 1.35rem; margin-bottom: 18px; }
.back-link { margin: 24px 0 0; }
.back-link a { font-weight: 600; text-decoration: none; }

@media (max-width: 960px) {
  .cat-grid, .svc-detail { grid-template-columns: 1fr; gap: 24px; }
  .cat-side, .svc-aside { position: static; }
  .svc-list-cols { grid-template-columns: 1fr; }
  .svc-list-cols .svc-row { border-right: 0; border-bottom: 1px solid var(--line); }
  .svc-list-cols .svc-row:last-child { border-bottom: 0; }
}
