/* ============================================================
   DEURA CONTROLS (PRIVATE) LIMITED — UNIVERSAL DESIGN SYSTEM
   Master stylesheet — link in every page <head>
   All page-specific overrides go BELOW this file's <style> block
   ============================================================ */

/* --- RESET & BOX MODEL --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* --- DESIGN TOKENS --- */
:root {
  --navy:   #1B3A6B;
  --accent: #2E75B6;
  --gold:   #C49A2A;
  --light:  #F4F7FB;
  --text:   #2C2C2C;
  --muted:  #6B7280;
  --border: #D6E4F0;
  --white:  #FFFFFF;
}

/* --- BASE --- */
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  background: var(--navy);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav-brand img { height: 36px; width: auto; }
.nav-brand span {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a.active {
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
}

/* ============================================================
   HERO SYSTEM — MASTER (index.html is canonical reference)
   Every page uses these classes unchanged.
   Only the TEXT content inside .hero-inner differs per page.
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #244f8c 60%, #1a3360 100%);
  min-height: 325px;
  padding: 2.0rem 2rem 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
}

/* Decorative circle — top right */
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(46,117,182,0.15);
  pointer-events: none;
}

/* Decorative circle — bottom left */
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(196,154,42,0.08);
  pointer-events: none;
}

.hero-inner {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Gold eyebrow label above h1 */
.hero-eyebrow {
  display: inline-block;
  background: rgba(196,154,42,0.2);
  border: 1px solid rgba(196,154,42,0.4);
  color: #E8C55A;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

/* Main heading */
.hero h1 {
  font-family: 'EB Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.hero h1 em {
  font-style: italic;
  color: #A8C8E8;
}

/* Dot-separated subtitle line */
.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* Credential / category badge pills */
.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.75rem;
}
.cred-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  width: 250px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--light);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 2rem;
}
.trust-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  align-items: center;
  justify-content: center;
}
.trust-item {
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.trust-item-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   SECTION LAYOUT
   ============================================================ */
.section { padding: 4rem 2rem; }
.section-inner { max-width: 900px; margin: 0 auto; }
.section-alt { background: var(--light); }
.page-body { max-width: 900px; margin: 0 auto; padding: 3.5rem 2rem 5rem; }

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: 'EB Garamond', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
  position: relative;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 48px; height: 2px;
  background: var(--gold);
}
.section-body {
  font-size: 0.97rem;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

/* ============================================================
   SHARED COMPONENTS
   ============================================================ */

/* Expertise / feature cards */
.expertise-card {
  border: 1px solid var(--border);
  padding: 1.4rem;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.expertise-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(27,58,107,0.08);
}

/* Buttons */
.btn-primary,
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.7rem 1.6rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  border-radius: 2px;
  display: inline-block;
  transition: opacity 0.2s;
}
.btn-primary:hover,
.btn-gold:hover { opacity: 0.85; }

.btn-outline,
.btn-secondary {
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  padding: 0.7rem 1.6rem;
  text-decoration: none;
  border-radius: 2px;
  display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover,
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.65);
  color: var(--white);
}

/* CTA block */
.cta-block,
.cta-section {
  background: var(--navy);
  padding: 4rem 2rem;
  text-align: center;
}
.cta-block h2,
.cta-section h2 {
  font-family: 'EB Garamond', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}
.cta-block p,
.cta-section p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #111827;
  padding: 2rem;
  text-align: center;
}
.footer-brand {
  font-family: 'EB Garamond', serif;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.5rem;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.footer-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
}
.footer-links a:hover { color: rgba(255,255,255,0.7); }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.25); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 680px) {
  nav { padding: 0 1rem; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.82rem; }
  .hero { min-height: unset; padding: 3.5rem 1.25rem 3rem; }
  .section { padding: 2.5rem 1.25rem; }
}
