/*
Theme Name: NextGen Global Assurance
Theme URI: https://nextgenglobal-assurance.com
Author: NextGen Global Assurance
Author URI: https://nextgenglobal-assurance.com
Description: A professional, portfolio-style WordPress theme built for NextGen Global Assurance — a Bangladesh-based Audit, Inspection, Certification and Training company. Includes Home, About, Services and Contact page templates, a responsive navigation, and auto-generated starter content.
Version: 1.0.0
Requires at least: 5.9
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nga
Tags: custom-menu, featured-images, threaded-comments, translation-ready, one-column, two-columns, right-sidebar

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
*/

/* =====================================================
   0. RESET & BASE
===================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root{
  --navy-950:#070d1f;
  --navy-900:#0a1533;
  --navy-800:#0d1b3e;
  --navy-700:#122352;
  --cyan-500:#22c3d6;
  --cyan-400:#3fd4e6;
  --cyan-300:#7de6f2;
  --silver-300:#e7ebf0;
  --silver-500:#b9c2cc;
  --silver-700:#8891a0;
  --ink-900:#0f1724;
  --ink-700:#3a4353;
  --ink-500:#5b6472;
  --bg:#f5f7fb;
  --bg-alt:#eef2f8;
  --white:#ffffff;
  --border:#e3e8f0;
  --success:#1fa96a;
  --radius-sm:8px;
  --radius-md:14px;
  --radius-lg:22px;
  --shadow-sm:0 2px 10px rgba(10,21,51,0.06);
  --shadow-md:0 12px 30px rgba(10,21,51,0.10);
  --shadow-lg:0 24px 60px rgba(10,21,51,0.16);
  --maxw:1180px;
  --font-body:'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head:'Poppins', var(--font-body);
}

html, body { margin:0; padding:0; }
body{
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width:100%; height:auto; display:block; }
a{ color: var(--navy-800); text-decoration:none; transition: color .2s ease, opacity .2s ease; }
a:hover{ color: var(--cyan-500); }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor:pointer; }
input, textarea, select{ font-family: inherit; font-size: 1rem; }

h1,h2,h3,h4,h5,h6{
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.25;
  margin: 0 0 .6em;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1{ font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight:700; }
h2{ font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight:700; }
h3{ font-size: 1.25rem; }
p{ margin: 0 0 1.2em; }
p:last-child{ margin-bottom:0; }

.container{ max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section{ padding: 90px 0; }
.section--tight{ padding: 60px 0; }
.section--alt{ background: var(--white); }
.section--navy{ background: linear-gradient(155deg, var(--navy-900), var(--navy-800) 60%, var(--navy-700)); color: var(--silver-300); }
.section--navy h2, .section--navy h3{ color: var(--white); }
.section--navy p{ color: var(--silver-500); }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-head);
  font-size: .78rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  color: var(--cyan-500); margin-bottom: 14px;
}
.eyebrow::before{ content:""; width:22px; height:2px; background: var(--cyan-500); display:inline-block; border-radius:2px; }

.section-head{ max-width: 720px; margin-bottom: 46px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head p{ color: var(--ink-500); font-size: 1.05rem; }

/* =====================================================
   1. BUTTONS
===================================================== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding: 15px 30px; border-radius: 999px;
  font-family: var(--font-head); font-weight:600; font-size:.95rem;
  border: 2px solid transparent; white-space:nowrap;
  transition: all .25s ease;
}
.btn-primary{ background: var(--cyan-500); color: var(--navy-950); }
.btn-primary:hover{ background: var(--cyan-400); color: var(--navy-950); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline{ border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-outline:hover{ border-color: var(--cyan-500); color: var(--cyan-400); transform: translateY(-2px); }
.btn-dark{ background: var(--navy-900); color: var(--white); }
.btn-dark:hover{ background: var(--navy-700); color:var(--cyan-300); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-block{ width:100%; }
.btn svg{ width:16px; height:16px; flex-shrink:0; }

/* =====================================================
   2. HEADER / NAV
===================================================== */
.site-header{
  position: sticky; top:0; z-index: 999;
  background: rgba(10,21,51,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 0;
}
.brand{ display:flex; align-items:center; gap:12px; color:var(--white); }
.brand img{ height:46px; width:46px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.brand-text{ display:flex; flex-direction:column; line-height:1.2; }
.brand-text strong{ font-family: var(--font-head); font-weight:700; font-size:1.05rem; color:var(--white); letter-spacing:.01em; }
.brand-text span{ font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color: var(--cyan-400); }
.brand:hover .brand-text strong{ color: var(--white); }

.primary-nav{ display:flex; align-items:center; gap: 6px; }
.primary-nav ul{ display:flex; align-items:center; gap: 4px; }
.primary-nav a{
  color: var(--silver-300); font-weight:500; font-size:.95rem;
  padding: 10px 16px; border-radius: 999px; display:inline-block;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a{
  color: var(--white); background: rgba(255,255,255,.08);
}
.header-cta{ display:flex; align-items:center; gap:18px; }
.header-cta .btn{ padding: 11px 22px; font-size:.88rem; }
.header-phone{ color: var(--silver-300); font-size:.88rem; display:flex; align-items:center; gap:8px; }
.header-phone svg{ width:16px; height:16px; color: var(--cyan-500); flex-shrink:0; }

.nav-toggle{
  display:none; flex-direction:column; gap:5px; background:none; border:0; padding:8px;
}
.nav-toggle span{ width:24px; height:2px; background:var(--white); border-radius:2px; transition:.25s; }

/* =====================================================
   3. HERO
===================================================== */
.hero{
  position: relative;
  background: radial-gradient(1100px 550px at 85% -10%, rgba(34,195,214,.25), transparent 60%),
              linear-gradient(160deg, var(--navy-950), var(--navy-900) 45%, var(--navy-700));
  color: var(--white);
  overflow: hidden;
  padding: 110px 0 120px;
}
.hero::before{
  content:""; position:absolute; inset:0;
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 70%);
  opacity:.5; pointer-events:none;
}
.hero-grid{ display:grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items:center; position:relative; z-index:1; }
.hero-copy p.lead{ font-size:1.15rem; color: var(--silver-300); max-width: 560px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-top: 34px; }
.hero-stats{ display:flex; gap: 34px; margin-top: 50px; flex-wrap:wrap; }
.hero-stats div strong{ display:block; font-family:var(--font-head); font-size:1.9rem; color:var(--white); font-weight:700; }
.hero-stats div span{ font-size:.82rem; color: var(--silver-500); text-transform:uppercase; letter-spacing:.08em; }

.hero-visual{ position:relative; display:flex; align-items:center; justify-content:center; }
.hero-globe-card{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 380px;
}
.hero-globe-card img{ border-radius: var(--radius-md); }
.hero-globe-card ul{ margin-top: 22px; display:flex; flex-direction:column; gap:12px; }
.hero-globe-card li{ display:flex; align-items:center; gap:10px; color: var(--silver-300); font-size:.92rem; }
.hero-globe-card li svg{ width:18px; height:18px; color: var(--cyan-500); flex-shrink:0; }

/* =====================================================
   4. TRUST / STANDARDS STRIP
===================================================== */
.standards-strip{ background: var(--white); border-bottom:1px solid var(--border); padding: 26px 0; }
.standards-strip .container{ display:flex; align-items:center; gap: 28px; flex-wrap:wrap; justify-content:space-between; }
.standards-strip .label{ font-family: var(--font-head); font-weight:600; color: var(--navy-800); font-size:.85rem; text-transform:uppercase; letter-spacing:.08em; white-space:nowrap; }
.standards-list{ display:flex; gap:10px; flex-wrap:wrap; }
.standards-list span{
  background: var(--bg-alt); color: var(--navy-800); font-weight:600; font-size:.82rem;
  padding: 7px 14px; border-radius: 999px; border:1px solid var(--border);
}

/* =====================================================
   5. CARDS — SERVICES
===================================================== */
.grid{ display:grid; gap: 26px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }

.service-card{
  background: var(--white); border:1px solid var(--border); border-radius: var(--radius-md);
  padding: 32px 28px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
  display:flex; flex-direction:column; height:100%;
}
.service-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card .icon{
  width:54px; height:54px; border-radius: 14px; margin-bottom: 20px;
  background: linear-gradient(140deg, var(--navy-800), var(--navy-700));
  display:flex; align-items:center; justify-content:center;
  color: var(--cyan-400); flex-shrink:0;
}
.service-card .icon svg{ width:26px; height:26px; }
.service-card h3{ margin-bottom:10px; font-size:1.12rem; }
.service-card p{ color: var(--ink-500); font-size:.95rem; margin-bottom: 16px; }
.service-card .card-link{ margin-top:auto; font-weight:600; font-size:.88rem; color: var(--navy-800); display:inline-flex; align-items:center; gap:6px; }
.service-card .card-link svg{ width:14px; height:14px; transition: transform .2s ease; }
.service-card .card-link:hover svg{ transform: translateX(4px); }
.service-card.numbered{ position:relative; }
.service-card .num{ position:absolute; top:24px; right:28px; font-family:var(--font-head); font-weight:700; font-size:1.6rem; color: var(--border); }

/* =====================================================
   6. ABOUT / WHY US
===================================================== */
.about-grid{ display:grid; grid-template-columns: .95fr 1.05fr; gap: 60px; align-items:center; }
.about-media{ position:relative; }
.about-media .plate{
  background: linear-gradient(155deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-lg); padding: 46px; display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-lg);
}
.about-media img{ border-radius: var(--radius-md); max-width: 260px; }
.about-media .badge{
  position:absolute; bottom:-22px; left:-22px; background: var(--white); border-radius: var(--radius-md);
  padding: 18px 22px; box-shadow: var(--shadow-md); border:1px solid var(--border);
  display:flex; align-items:center; gap:14px;
}
.about-media .badge strong{ display:block; font-family:var(--font-head); font-size:1.4rem; color:var(--navy-900); }
.about-media .badge span{ font-size:.78rem; color: var(--ink-500); }

.check-list{ display:flex; flex-direction:column; gap: 14px; margin: 26px 0; }
.check-list li{ display:flex; gap:12px; align-items:flex-start; color: var(--ink-700); }
.check-list li svg{ width:20px; height:20px; color: var(--success); flex-shrink:0; margin-top:2px; }

.stat-row{ display:flex; gap: 30px; margin-top: 40px; flex-wrap:wrap; }
.stat-row .stat strong{ display:block; font-family:var(--font-head); font-size: 2rem; color: var(--navy-900); font-weight:700; }
.stat-row .stat span{ font-size:.82rem; color: var(--ink-500); text-transform:uppercase; letter-spacing:.06em; }

/* Methodology / process steps */
.steps{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step{ position:relative; padding: 30px 22px 22px; background: var(--white); border:1px solid var(--border); border-radius: var(--radius-md); }
.step::before{
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-head); font-weight:700; font-size:1.6rem; color: var(--cyan-500);
  display:block; margin-bottom: 12px;
}
.step h3{ font-size: 1rem; margin-bottom:8px; }
.step p{ font-size:.9rem; color: var(--ink-500); margin:0; }

/* =====================================================
   7. TIMELINE (About page — scope of work)
===================================================== */
.value-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:24px; }
.value-card{ background: var(--white); border:1px solid var(--border); border-radius: var(--radius-md); padding: 28px; }
.value-card h3{ font-size:1.05rem; }
.value-card p{ font-size:.92rem; color:var(--ink-500); }

/* =====================================================
   8. OFFICES / CONTACT
===================================================== */
.office-grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.office-card{
  background: var(--white); border:1px solid var(--border); border-radius: var(--radius-md);
  padding: 30px; box-shadow: var(--shadow-sm);
}
.office-card .flag-tag{
  display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  background: var(--bg-alt); color: var(--navy-800); padding:5px 12px; border-radius:999px; margin-bottom:14px;
}
.office-card h3{ margin-bottom: 14px; }
.office-card ul{ display:flex; flex-direction:column; gap:12px; }
.office-card li{ display:flex; gap:12px; align-items:flex-start; font-size:.93rem; color: var(--ink-700); }
.office-card li svg{ width:18px; height:18px; color: var(--cyan-500); flex-shrink:0; margin-top:2px; }
.office-card li a{ color: var(--ink-700); }
.office-card li a:hover{ color: var(--cyan-500); }

.contact-wrap{ display:grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items:flex-start; }
.contact-person{
  background: linear-gradient(155deg, var(--navy-900), var(--navy-700)); color: var(--white);
  border-radius: var(--radius-lg); padding: 34px; margin-top: 26px;
}
.contact-person .avatar{
  width:60px; height:60px; border-radius:50%; background: var(--cyan-500); color: var(--navy-950);
  display:flex; align-items:center; justify-content:center; font-family:var(--font-head); font-weight:700; font-size:1.3rem;
  margin-bottom: 16px;
}
.contact-person strong{ display:block; font-size:1.1rem; color:var(--white); }
.contact-person .role{ font-size:.82rem; color: var(--cyan-400); text-transform:uppercase; letter-spacing:.08em; margin-bottom: 16px; display:block; }
.contact-person ul{ display:flex; flex-direction:column; gap:10px; }
.contact-person li{ display:flex; gap:10px; align-items:center; font-size:.92rem; color: var(--silver-300); }
.contact-person li svg{ width:16px; height:16px; color:var(--cyan-500); flex-shrink:0; }
.contact-person li a{ color: var(--silver-300); }
.contact-person li a:hover{ color: var(--cyan-300); }

.contact-form-card{
  background: var(--white); border:1px solid var(--border); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-md);
}
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group{ margin-bottom: 20px; }
.form-group label{ display:block; font-size:.85rem; font-weight:600; color: var(--navy-900); margin-bottom:8px; }
.form-group input, .form-group textarea, .form-group select{
  width:100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  background: var(--bg); color: var(--ink-900); transition: border-color .2s ease, background .2s ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus{
  outline:none; border-color: var(--cyan-500); background: var(--white);
}
.form-group textarea{ resize: vertical; min-height: 130px; }
.form-note{ font-size:.82rem; color: var(--ink-500); margin-top:14px; }
.form-success{ background:#e9faf1; border:1px solid #b7ecce; color:#0d7a44; padding:16px 20px; border-radius: var(--radius-sm); margin-bottom:20px; font-size:.92rem; }
.form-error{ background:#fdecec; border:1px solid #f4bcbc; color:#a52626; padding:16px 20px; border-radius: var(--radius-sm); margin-bottom:20px; font-size:.92rem; }

.map-embed{ border-radius: var(--radius-md); overflow:hidden; border:1px solid var(--border); margin-top: 26px; }
.map-embed iframe{ width:100%; height: 260px; border:0; display:block; }

/* =====================================================
   9. CTA BAND
===================================================== */
.cta-band{
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800));
  border-radius: var(--radius-lg); padding: 54px 60px;
  display:flex; align-items:center; justify-content:space-between; gap: 30px; flex-wrap:wrap;
  color: var(--white);
}
.cta-band h2{ color: var(--white); margin-bottom: 10px; font-size: 1.7rem; }
.cta-band p{ color: var(--silver-400, var(--silver-500)); margin:0; }
.cta-band .cta-actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* =====================================================
   10. FOOTER
===================================================== */
.site-footer{ background: var(--navy-950); color: var(--silver-500); padding-top: 70px; }
.footer-grid{ display:grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 50px; border-bottom:1px solid rgba(255,255,255,.08); }
.footer-brand .brand{ margin-bottom: 16px; }
.footer-brand p{ font-size:.92rem; color: var(--silver-700); max-width: 320px; }
.footer-social{ display:flex; gap:10px; margin-top: 18px; }
.footer-social a{
  width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,.15);
  display:flex; align-items:center; justify-content:center; color: var(--silver-300);
}
.footer-social a:hover{ background: var(--cyan-500); color: var(--navy-950); border-color: var(--cyan-500); }
.footer-social svg{ width:16px; height:16px; }
.footer-col h4{ color: var(--white); font-size:.92rem; text-transform:uppercase; letter-spacing:.08em; margin-bottom: 20px; }
.footer-col ul{ display:flex; flex-direction:column; gap: 12px; }
.footer-col a{ color: var(--silver-500); font-size:.92rem; }
.footer-col a:hover{ color: var(--cyan-400); }
.footer-col li{ display:flex; gap:10px; align-items:flex-start; font-size:.9rem; }
.footer-col li svg{ width:16px; height:16px; color: var(--cyan-500); flex-shrink:0; margin-top:3px; }
.footer-bottom{ padding: 24px 0; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; font-size:.82rem; color: var(--silver-700); }
.footer-bottom a{ color: var(--silver-700); }
.footer-bottom a:hover{ color: var(--cyan-400); }

/* =====================================================
   11. GENERIC PAGE / BREADCRUMB HEADER
===================================================== */
.page-hero{
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: var(--white); padding: 70px 0 50px; text-align:center;
}
.page-hero .eyebrow{ justify-content:center; }
.page-hero h1{ color: var(--white); margin-bottom: 10px; }
.breadcrumb{ font-size:.85rem; color: var(--silver-500); }
.breadcrumb a{ color: var(--silver-500); }
.breadcrumb a:hover{ color: var(--cyan-400); }

.entry-content{ background: var(--white); border-radius: var(--radius-lg); padding: 50px; box-shadow: var(--shadow-sm); border:1px solid var(--border); }
.entry-content h2{ margin-top: 1.4em; }
.entry-content ul{ list-style: disc; padding-left: 22px; margin-bottom: 1.2em; }
.entry-content li{ margin-bottom:.4em; }

/* Widgets / sidebar (used if a page template includes one) */
.widget{ background: var(--white); border:1px solid var(--border); border-radius: var(--radius-md); padding: 24px; margin-bottom: 22px; }
.widget h2, .widget h3{ font-size:1rem; text-transform:uppercase; letter-spacing:.06em; }
.widget ul li{ padding: 8px 0; border-bottom: 1px solid var(--border); font-size:.92rem; }
.widget ul li:last-child{ border-bottom:0; }

/* =====================================================
   12. UTILITIES
===================================================== */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; } .mb-0{ margin-bottom:0; }
.screen-reader-text{
  position:absolute !important; clip:rect(1px,1px,1px,1px); width:1px; height:1px; overflow:hidden;
}
.skip-link{
  position:absolute; left:-999px; top:auto; background:var(--navy-900); color:var(--white); padding:12px 20px; z-index:1000; border-radius: 0 0 8px 0;
}
.skip-link:focus{ left:0; top:0; }

/* =====================================================
   13. RESPONSIVE
===================================================== */
@media (max-width: 1024px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{ order:-1; }
  .about-grid{ grid-template-columns: 1fr; }
  .contact-wrap{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .grid-3{ grid-template-columns: repeat(2, 1fr); }
  .steps{ grid-template-columns: repeat(2, 1fr); }
  .value-grid{ grid-template-columns: repeat(2,1fr); }
  .office-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 860px){
  .primary-nav{ display:none; }
  .header-phone{ display:none; }
  .nav-toggle{ display:flex; }
  .site-header.nav-open .primary-nav{
    display:flex; position:absolute; top:100%; left:0; right:0; background: var(--navy-900);
    flex-direction:column; padding: 10px 24px 20px; border-top:1px solid rgba(255,255,255,.08);
  }
  .site-header.nav-open .primary-nav ul{ flex-direction:column; align-items:stretch; width:100%; }
  .site-header.nav-open .primary-nav a{ padding: 12px 6px; }
}

@media (max-width: 700px){
  .section{ padding: 60px 0; }
  .grid-3, .grid-2{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .value-grid{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  .cta-band{ padding: 38px 26px; flex-direction:column; align-items:flex-start; }
  .entry-content{ padding: 28px; }
  .footer-grid{ grid-template-columns: 1fr; }
  .hero{ padding: 80px 0 70px; }
  .standards-strip .container{ flex-direction:column; align-items:flex-start; }
}
