/*
Theme Name: Amrit Jal
Theme URI: https://amritjal.com
Author: Homeland Group of Companies
Author URI: https://amritjal.com
Description: Official custom WordPress theme for Amrit Jal — Holy Water from Khooh Sahib, Gurdwara Sri Darbar Sahib Kartarpur, an initiative of Homeland Group of Companies. Built to match the approved homepage design and PDF header/footer specification.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: amrit-jal
*/

/* ==========================================================================
   AMRIT JAL — Homepage Stylesheet
   From Kartarpur Sahib, For The World
   ========================================================================== */

:root {
  /* Colors — sampled from official brand reference & Amrit Jal logo */
  --navy-950: #041a37;
  --navy-900: #06264d;
  --navy-800: #0a2f5e;
  --navy-700: #0f3a70;
  --navy-600: #1a4a86;
  --orange-600: #ef6c14;
  --orange-500: #f5821f;
  --orange-400: #f7941d;
  --gold-400: #f2b53c;
  --white: #ffffff;
  --gray-50: #f7f9fb;
  --gray-100: #eef2f6;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #526581;
  --text-body: #3f4d63;
  --text-navy: #0a2547;
  --shadow-sm: 0 2px 8px rgba(6, 38, 77, 0.08);
  --shadow-md: 0 8px 24px rgba(6, 38, 77, 0.12);
  --shadow-lg: 0 20px 50px rgba(6, 38, 77, 0.18);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 84px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
.seva-slide img, .quality-slide img, .community-card img, .media-card .thumb img, .cert-card { cursor: zoom-in; }

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

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--text-navy);
  margin: 0 0 .5em;
  line-height: 1.2;
  font-weight: 700;
}

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

.section-pad { padding: 96px 0; }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  color: var(--orange-600);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 14px;
}

.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.section-head p { color: var(--text-body); font-size: 1.05rem; }

.bg-light { background: var(--gray-50); }
.bg-navy { background: linear-gradient(135deg, var(--navy-900), var(--navy-950)); color: #cfe0f5; }
.bg-navy h2, .bg-navy h3 { color: #fff; }

/* ---------------------------- Buttons ---------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--orange-600);
  color: #fff;
  box-shadow: 0 10px 24px rgba(239, 108, 20, .35);
}
.btn-primary:hover { background: var(--orange-500); box-shadow: 0 14px 30px rgba(239, 108, 20, .45); }

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}
.btn-outline:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.btn-outline-navy {
  background: transparent;
  border-color: var(--navy-800);
  color: var(--navy-800);
}
.btn-outline-navy:hover { background: var(--navy-900); color: #fff; }

.btn-sm { padding: 10px 20px; font-size: .85rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-600);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.link-arrow svg { transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------------------------- Header ---------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(4,26,55,.96), rgba(6,38,77,.94));
  backdrop-filter: blur(6px);
  transition: height .3s ease, box-shadow .3s ease;
  box-shadow: 0 2px 18px rgba(0,0,0,.15);
}
.site-header.scrolled { height: 66px; box-shadow: 0 6px 24px rgba(0,0,0,.25); }

.header-inner {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: 52px; object-fit: contain; transition: height .3s ease, width .3s ease; }
.site-header.scrolled .brand img { height: 40px; width: 40px; }
.brand-text { line-height: 1.15; }
.brand-text .brand-name {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  color: #fff;
  letter-spacing: .03em;
}
.brand-text .brand-sub {
  display: block;
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-top: 2px;
}

.main-nav { display: flex; align-items: center; }
.main-nav ul { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }
.main-nav a {
  color: #e7edf6;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 8px 2px;
  position: relative;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--orange-500);
  transition: width .25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a:hover { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 2px; background: #fff; border-radius: 2px; }

/* ---------------------------- Hero ---------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  background: var(--navy-950);
  overflow: hidden;
  color: #eef3fb;
}

/* Background slideshow — real photos of Gurdwara Sri Darbar Sahib Kartarpur, cross-fading. */
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity 1.8s ease;
}
.hero-slide.active { opacity: 1; }

/* Gradient overlay so hero copy stays readable over the photos. */
.hero-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(100deg, var(--navy-950) 0%, rgba(6,26,55,.95) 26%, rgba(6,38,77,.62) 46%, rgba(6,38,77,.22) 64%, rgba(6,38,77,.08) 100%),
    radial-gradient(circle at 12% 82%, rgba(245,130,31,.16), transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(255,255,255,.08), transparent 45%);
  pointer-events: none;
}

.hero-waves {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  width: 100%;
  line-height: 0;
  z-index: 2;
}
.hero-waves svg { width: 100%; height: auto; display: block; }

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 70px 24px 140px;
}

.hero-copy .eyebrow { color: var(--orange-400); }
.hero-copy h1 {
  color: #fff;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  max-width: 760px;
  margin-bottom: 22px;
}
.hero-copy h1 em {
  font-style: italic;
  color: var(--gold-400);
}
.hero-copy p {
  color: #cfdcee;
  font-size: 1.08rem;
  max-width: 620px;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; gap: 18px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  bottom: 92px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255,255,255,.7);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-cue .dot {
  width: 6px; height: 10px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 4px;
  position: relative;
}
.scroll-cue .dot::after {
  content: "";
  position: absolute;
  top: 2px; left: 50%;
  transform: translateX(-50%);
  width: 2px; height: 3px;
  background: #fff;
  border-radius: 2px;
  animation: scrollDot 1.6s ease infinite;
}
@keyframes scrollDot { 0%{ top:2px; opacity:1;} 100%{ top:8px; opacity:0;} }

/* ---------------------------- Trust strip ---------------------------- */
.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  padding: 46px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
.trust-item { text-align: center; padding: 0 8px; }
.trust-item .icon-wrap {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-400);
}
.trust-item .icon-wrap svg { width: 26px; height: 26px; }
.trust-item h4 {
  font-family: var(--font-body);
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-navy);
  margin-bottom: 6px;
  font-weight: 700;
}
.trust-item p { font-size: .82rem; color: var(--text-body); margin: 0; }

/* ---------------------------- Story cards ---------------------------- */
.story-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.story-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}
.story-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.story-card .thumb { height: 170px; overflow: hidden; }
.story-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.story-card:hover .thumb img { transform: scale(1.08); }
.story-card .body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.story-card .icon-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(239,108,20,.1);
  color: var(--orange-600);
  margin-bottom: 12px;
}
.story-card .icon-tag svg { width: 18px; height: 18px; }
.story-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.story-card p { font-size: .92rem; flex: 1; }

/* ---------------------------- Stats / quote bar ---------------------------- */
.stats-bar { padding: 0; }
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.3fr;
  gap: 0;
  align-items: stretch;
}
.stat-block {
  padding: 40px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.12);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.stat-block .icon-wrap {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-400);
  margin-bottom: 12px;
}
.stat-block .icon-wrap svg { width: 22px; height: 22px; }
.stat-block strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 4px;
}
.stat-block span { font-size: .78rem; color: #b9cae4; line-height: 1.4; }

.quote-block {
  padding: 40px 34px;
  display: flex;
  align-items: center;
  font-style: italic;
  font-family: var(--font-head);
  font-size: 1.02rem;
  color: #eaf1fb;
  position: relative;
}
.quote-block .mark { font-size: 2.4rem; color: var(--gold-400); margin-right: 6px; line-height: 0; }
.quote-block footer { display: block; margin-top: 10px; font-style: normal; font-size: .78rem; color: var(--gold-400); }

/* ---------------------------- Timeline (Our Journey) ---------------------------- */
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before {
  content: "";
  position: absolute;
  left: 28px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(var(--orange-500), var(--navy-700));
}
.timeline-item {
  position: relative;
  padding-left: 76px;
  margin-bottom: 40px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item .num {
  position: absolute;
  left: 0; top: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  border: 3px solid var(--orange-500);
  z-index: 2;
}
.timeline-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.timeline-item p { font-size: .92rem; margin: 0; }

/* ---------------------------- Programme flow (Sacred Source to Sacred Service) ---------------------------- */
.flow-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin: 46px 0;
}
.flow-step {
  flex: 1 1 150px;
  max-width: 190px;
  text-align: center;
  padding: 6px 10px;
}
.flow-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  border: 3px solid var(--orange-500);
}
.flow-icon svg { width: 26px; height: 26px; }
.flow-step h3 { font-size: .96rem; margin-bottom: 6px; color: var(--text-navy); }
.flow-step p { font-size: .8rem; margin: 0; color: var(--text-body); }
.flow-arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  color: var(--orange-500);
  padding-top: 26px;
}
.flow-arrow svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  .flow-grid { flex-direction: column; align-items: center; gap: 6px; }
  .flow-step { max-width: 320px; }
  .flow-arrow { transform: rotate(90deg); padding: 4px 0; }
}

/* ---------------------------- Quality / Technology ---------------------------- */
.process-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 50px 0;
}
.process-step {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  text-align: center;
  position: relative;
}
.process-step .step-no {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  margin: 0 auto 12px;
  font-size: .85rem;
}
.process-step h4 { font-size: .92rem; margin-bottom: 4px; color: var(--text-navy); font-family: var(--font-body); font-weight: 700; }
.process-step p { font-size: .78rem; margin: 0; color: var(--text-body); }

/* Modifier: 3-column variant reusing .process-step cards (e.g. Our Mission pillars) */
.process-strip--3 { grid-template-columns: repeat(3, 1fr); max-width: 900px; margin-left: auto; margin-right: auto; }

/* ---------------------------- Guiding Principles ---------------------------- */
.principles-story {
  max-width: 780px;
  margin: 0 auto 46px;
  text-align: center;
  font-family: var(--font-head);
  font-style: italic;
  color: var(--text-navy);
  line-height: 1.75;
  font-size: 1.02rem;
}
.principles-story p { margin-bottom: 16px; }
.principles-story p:last-child { margin-bottom: 0; }
.trust-item .principle-sub {
  display: block;
  font-size: .7rem;
  font-style: italic;
  color: var(--orange-600);
  margin-bottom: 8px;
}

/* ---------------------------- Notice box (Not for sale / service charges) ---------------------------- */
.notice-box {
  max-width: 820px;
  margin: 40px auto 0;
  padding: 20px 26px;
  background: rgba(239,108,20,.08);
  border-left: 4px solid var(--orange-600);
  border-radius: var(--radius-sm, 8px);
  text-align: center;
}
.notice-box p { margin: 0; font-size: .92rem; color: var(--text-navy); }

.quality-claim {
  display: inline-flex;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: #fff;
  padding: 22px 30px;
  border-radius: var(--radius-md);
  margin: 30px auto 0;
}
.quality-claim div { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; }
.quality-claim svg { color: var(--gold-400); width: 20px; height: 20px; }

.gallery-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 40px;
}
.gallery-2col img { border-radius: var(--radius-md); box-shadow: var(--shadow-sm); height: 280px; width: 100%; object-fit: cover; }

/* ---------------------------- Seva slider ---------------------------- */
.seva-slider {
  --seva-per-view: 3;
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}
.seva-slider-viewport { flex: 1; overflow: hidden; }
.seva-track { display: flex; transition: transform .55s cubic-bezier(.4,0,.2,1); }
.seva-slide { flex: 0 0 calc(100% / var(--seva-per-view)); box-sizing: border-box; padding: 0 10px; }
.seva-slide img { width: 100%; height: 360px; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); display: block; }
.seva-arrow { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm); color: var(--navy-900); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .25s ease, color .25s ease, transform .25s ease; }
.seva-arrow:hover { background: var(--orange-600); color: #fff; transform: scale(1.06); }

/* ---------------------------- Quality gallery slider ---------------------------- */
.quality-slider {
  --quality-per-view: 3;
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}
.quality-slider-viewport { flex: 1; overflow: hidden; }
.quality-track { display: flex; transition: transform .55s cubic-bezier(.4,0,.2,1); }
.quality-slide { flex: 0 0 calc(100% / var(--quality-per-view)); box-sizing: border-box; padding: 0 10px; }
.quality-slide img { width: 100%; height: 340px; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); display: block; }
.quality-arrow { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm); color: var(--navy-900); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .25s ease, color .25s ease, transform .25s ease; }
.quality-arrow:hover { background: var(--orange-600); color: #fff; transform: scale(1.06); }

/* ---------------------------- Certifications slider ---------------------------- */
.cert-slider { --cert-per-view: 3; position: relative; display: flex; align-items: center; gap: 14px; }
.cert-slider-viewport { flex: 1; overflow: hidden; }
.cert-track { display: flex; transition: transform .55s cubic-bezier(.4,0,.2,1); }
.cert-slide { flex: 0 0 calc(100% / var(--cert-per-view)); box-sizing: border-box; padding: 0 11px; }
.cert-arrow { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm); color: var(--navy-900); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .25s ease, color .25s ease, transform .25s ease; }
.cert-arrow:hover { background: var(--orange-600); color: #fff; transform: scale(1.06); }
.cert-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cert-card .cert-thumb { height: 300px; overflow: hidden; background: var(--gray-100); display: flex; align-items: center; justify-content: center; }
.cert-card .cert-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cert-card .cert-info { padding: 16px 18px; }
.cert-card h4 { font-size: .92rem; font-family: var(--font-body); font-weight: 700; color: var(--text-navy); margin-bottom: 4px; }
.cert-card p { font-size: .78rem; margin: 0; color: var(--text-body); }
.cert-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 36px; }
.cert-tags span {
  background: var(--gray-100);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--navy-900);
  border: 1px solid var(--gray-200);
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(4,20,42,.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-close {
  position: absolute; top: 26px; right: 32px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  width: 42px; height: 42px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
}
.lightbox-cap { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; color: #fff; font-size: .9rem; }

/* ---------------------------- Products ---------------------------- */
.product-wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: center;
}
.product-wrap img { border-radius: var(--radius-lg); }
.format-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.format-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  background: #fff;
}
.format-card strong { display: block; font-family: var(--font-head); font-size: 1.3rem; color: var(--navy-900); }
.format-card span { display: block; font-size: .8rem; color: var(--text-body); margin-top: 6px; }

/* ---------------------------- Global availability ---------------------------- */
.global-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.region-chain { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.region-chain span {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: .82rem;
  color: #fff;
}
.globe-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 340px;
  margin: 30px auto;
}
.globe-sphere {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #071d3b;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 0 0 6px rgba(255,255,255,.04);
}
.globe-sphere::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.16), transparent 45%);
  border-radius: 50%;
  z-index: 1;
}
.globe-visual .pin {
  position: absolute;
  z-index: 2;
  transform: translate(-50%, -50%);
}
.globe-sphere img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.globe-visual .pin i { display: block; width: 11px; height: 11px; background: var(--orange-500); border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 5px rgba(245,130,31,.35); }
.globe-visual .pin b { position: absolute; left: 16px; top: -9px; white-space: nowrap; padding: 5px 8px; border-radius: 5px; background: rgba(7,29,59,.9); color: #fff; font-size: .68rem; font-weight: 600; letter-spacing: .01em; }
.globe-visual .pin.label-left b { left: auto; right: 16px; }
@media (max-width: 600px) { .globe-visual .pin b { font-size: .58rem; padding: 4px 6px; } }

/* ---------------------------- Community / Media ---------------------------- */
.community-slider {
  --community-per-view: 3;
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}
.community-slider-viewport { flex: 1; overflow: hidden; }
.community-track {
  display: flex;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
}
.community-slide {
  flex: 0 0 calc(100% / var(--community-per-view));
  box-sizing: border-box;
  padding: 0 10px;
}
.community-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #fff;
  border: 1px solid var(--gray-200);
  height: 100%;
}
.media-card, .community-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #fff;
  border: 1px solid var(--gray-200);
}
.media-card .thumb, .community-card .thumb { height: 200px; overflow: hidden; }
.media-card .thumb img, .community-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.media-card .thumb video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.media-card .body, .community-card .body { padding: 18px 20px; }
.media-card .pub { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--orange-600); font-weight: 700; }
.media-card h4, .community-card h4 { font-size: 1rem; margin: 8px 0; }
.media-card .date { font-size: .75rem; color: var(--gray-400); }
.community-arrow {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.community-arrow:hover { background: var(--orange-600); color: #fff; transform: scale(1.06); }

.media-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 12px 0 24px;
}
.media-tab {
  border: 1px solid var(--gray-200);
  background: #fff;
  color: var(--navy-900);
  font-family: var(--font-body);
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .25s ease;
}
.media-tab.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}
.media-panel { display: none; }
.media-panel.active { display: block; }
.gallery-card {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.gallery-card.gallery-row-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .gallery-card { transition: none; }
}
.media-slider {
  --media-per-view: 3;
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}
.media-slider-viewport { flex: 1; overflow: hidden; }
.media-track {
  display: flex;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
}
.media-track .media-card {
  flex: 0 0 calc(100% / var(--media-per-view));
  box-sizing: border-box;
  padding: 0 10px;
}
.media-track .media-card .thumb { height: 260px; }
.media-track .media-card .body { min-height: 170px; }
/* Static 4-column grid (no slider/arrows) — used on the standalone Media page,
   where every News/Video/Gallery item is shown at once instead of a carousel. */
.media-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.video-thumb { position: relative; }
.video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4,20,42,.18);
}
.play-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}
.play-badge svg { width: 18px; height: 18px; color: var(--navy-900); }
.media-arrow {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.media-arrow:hover { background: var(--orange-600); color: #fff; transform: scale(1.06); }

.endorse-list { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
.endorse-list span {
  background: var(--gray-100);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: .82rem;
  color: var(--navy-900);
  font-weight: 600;
  border: 1px solid var(--gray-200);
}

/* ---------------------------- Homeland Group ---------------------------- */
.homeland-wrap {
  text-align: center;
}
.homeland-wrap img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: 20px;
}

/* ---------------------------- Enquiry cards ---------------------------- */
.enquiry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.enquiry-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  transition: transform .3s ease, background .3s ease;
}
.enquiry-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.1); }
.enquiry-card .icon-wrap {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(245,130,31,.18);
  color: var(--orange-400);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.enquiry-card h4 { color: #fff; font-size: 1.02rem; margin-bottom: 8px; }
.enquiry-card p { color: #b9cae4; font-size: .85rem; margin-bottom: 14px; }

/* ---------------------------- Contact info cards (light background variant) ---------------------------- */
.contact-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.contact-card .icon-wrap {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(245,130,31,.12);
  color: var(--orange-600);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.contact-card h4 {
  font-size: 1.02rem;
  color: var(--navy-900);
  margin-bottom: 8px;
  transition: color .3s ease;
}
.contact-card p {
  color: var(--text-body);
  font-size: .88rem;
  margin: 0;
  transition: color .3s ease;
}
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-600);
}
.contact-card:hover .icon-wrap {
  background: var(--orange-600);
  color: #fff;
  transform: scale(1.08);
}
.contact-card:hover h4 { color: var(--orange-600); }
.contact-card:hover p { color: var(--navy-900); }

/* ---------------------------- Contact page: map + form split ---------------------------- */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
  margin-top: 40px;
}
.map-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  min-height: 420px;
}
.map-card iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.contact-split .form-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 900px) {
  .contact-split { grid-template-columns: 1fr; }
  .map-card, .map-card iframe { min-height: 320px; }
}

/* ---------------------------- Final CTA banner ---------------------------- */
.cta-banner {
  background: linear-gradient(120deg, var(--orange-600), #d94f0a);
  color: #fff;
  text-align: center;
  padding: 80px 24px;
}
.cta-banner .eyebrow { color: #ffe3ce; }
.cta-banner h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.cta-banner p { color: #ffe9dc; max-width: 600px; margin: 0 auto 30px; }
.cta-banner .btn-outline { border-color: rgba(255,255,255,.7); }

/* ---------------------------- Footer ---------------------------- */
.site-footer {
  background: var(--navy-950);
  color: #b9cae4;
  padding-top: 70px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.footer-brand img { height: 48px; width: 48px; }
.footer-brand .brand-name { font-family: var(--font-head); font-size: 1.2rem; color: #fff; }
.footer-brand .brand-sub { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-400); }
.footer-col h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { font-size: .88rem; color: #b9cae4; transition: color .2s ease; }
.footer-col ul a:hover { color: var(--orange-400); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; margin-bottom: 14px; }
.footer-contact svg { flex-shrink: 0; color: var(--orange-400); width: 18px; height: 18px; margin-top: 2px; }
.footer-social { display: flex; gap: 12px; 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;
  border: 1px solid rgba(255,255,255,.16);
  transition: background .2s ease, transform .2s ease;
}
.footer-social a:hover { background: var(--orange-600); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; color: #fff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0;
  font-size: .8rem;
  color: #8ba0c2;
}
.footer-bottom .legal-links { display: flex; gap: 20px; }
.footer-bottom .legal-links a:hover { color: #fff; }

/* ---------------------------- Reveal animation ---------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------------------------- Responsive ---------------------------- */
@media (max-width: 1100px) {
  .story-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-slider { --cert-per-view: 2; }
  .seva-slider { --seva-per-view: 2; }
  .quality-slider { --quality-per-view: 2; }
  .community-slider { --community-per-view: 2; }
  .media-slider { --media-per-view: 2; }
  .media-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .quote-block { grid-column: span 2; border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h)); background: var(--navy-950); padding: 30px 24px; transform: translateX(-100%); transition: transform .35s ease; overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .main-nav a { display: block; padding: 14px 4px; font-size: .9rem; width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-toggle { display: flex; }
  .hero-inner { text-align: center; padding-bottom: 100px; }
  .hero-copy p { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  /* Stacked layout: uniform dark overlay across the whole photo instead of the left-fade,
     since the copy now sits centered above the full-width slideshow rather than beside it. */
  .hero-overlay {
    background-image:
      linear-gradient(180deg, rgba(4,20,42,.92), rgba(4,26,55,.88)),
      radial-gradient(circle at 12% 82%, rgba(245,130,31,.16), transparent 40%);
  }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .global-wrap { grid-template-columns: 1fr; }
  .product-wrap { grid-template-columns: 1fr; }
  .enquiry-grid { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .brand-text .brand-name { font-size: 1.05rem; white-space: nowrap; }
  .brand-text .brand-sub { font-size: .6rem; }
  .brand img { height: 38px; width: 38px; }
  .header-inner { gap: 10px; padding: 0 16px; }
  .header-actions { gap: 10px; }
  .btn.btn-sm { padding: 10px 16px; font-size: .78rem; }
  .section-pad { padding: 64px 0; }
  .story-grid { grid-template-columns: 1fr; }
  .cert-slider { --cert-per-view: 1; gap: 8px; }
  .seva-slider { --seva-per-view: 1; gap: 8px; }
  .quality-slider { --quality-per-view: 1; gap: 8px; }
  .cert-card .cert-thumb { height: 220px; }
  .community-slider { --community-per-view: 1; gap: 8px; }
  .media-slider { --media-per-view: 1; gap: 8px; }
  .media-grid { grid-template-columns: 1fr; gap: 16px; }
  .stats-bar .container { grid-template-columns: 1fr; }
  .quote-block { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .process-strip { grid-template-columns: repeat(2, 1fr); }
  .gallery-2col { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Amrit Jal theme overrides — keep brand name visually uppercase like the approved design */
.site-header .brand-text .brand-name,
.site-footer .footer-brand .brand-name {
  text-transform: uppercase;
}
