/* Datamuri Brand Hub - Shared Stylesheet */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #10b981;
  --secondary-dark: #059669;
  --dark: #0f172a;
  --bg: #f8fafc;
  --text: #1e293b;
  --text-light: #64748b;
  --border: #e2e8f0;
  --white: #ffffff;
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1200px;
  --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 { color: var(--dark); line-height: 1.3; margin-bottom: 0.5em; }
h1 { font-size: 2.5rem; font-weight: 800; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

p { margin-bottom: 1rem; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* ===== NAVIGATION ===== */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo svg { width: 32px; height: 32px; }
.nav-logo span.accent { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.05);
}

/* Dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 0.7em;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  padding: 0.5rem 0;
  z-index: 100;
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  color: var(--text);
  font-weight: 400;
  border-radius: 0;
}

.dropdown-menu a:hover {
  background: rgba(37, 99, 235, 0.05);
  color: var(--primary);
}

.nav-dropdown:hover .dropdown-menu { display: block; }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  margin: 5px 0;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    gap: 0;
  }

  .nav-links.active { display: flex; }

  .nav-links a {
    padding: 0.75rem 1rem;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    background: var(--bg);
    border-radius: var(--radius);
    margin: 0.25rem 0;
  }

  .nav-dropdown:hover .dropdown-menu { display: none; }
  .nav-dropdown.open .dropdown-menu { display: block; }
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #1e3a5f 50%, var(--primary) 100%);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 1rem;
  position: relative;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
  position: relative;
}

.hero-sm { padding: 3.5rem 0; }
.hero-sm h1 { font-size: 2.5rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== SECTIONS ===== */
.section { padding: 4rem 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--dark); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header p { color: var(--text-light); font-size: 1.1rem; }

.section-label {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

/* ===== CARDS ===== */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 968px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card-icon.green { background: rgba(16, 185, 129, 0.1); }

.card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 0; }

/* Feature card with top border accent */
.card-accent { border-top: 3px solid var(--primary); }
.card-accent.green { border-top-color: var(--secondary); }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { opacity: 0.9; margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ===== STATS ===== */
.stats { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; margin: 2rem 0; }
.stat { text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--primary); }
.stat-label { color: var(--text-light); font-size: 0.9rem; }

.hero .stat-number { color: var(--white); }
.hero .stat-label { color: rgba(255,255,255,0.8); }

/* ===== CONTENT ===== */
.content { max-width: 800px; margin: 0 auto; }
.content h2 { margin-top: 2rem; }
.content h3 { margin-top: 1.5rem; }
.content ul, .content ol { margin: 1rem 0 1rem 1.5rem; }
.content li { margin-bottom: 0.5rem; }

/* ===== BLOG ===== */
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2.5rem;
}

.blog-card-body { padding: 1.5rem; }
.blog-card-body h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.blog-card-body p { color: var(--text-light); font-size: 0.9rem; }
.blog-card-meta { color: var(--text-light); font-size: 0.8rem; margin-bottom: 0.5rem; }

/* Blog Article */
.article-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.article-content h2 { margin-top: 2.5rem; color: var(--dark); }
.article-content h3 { margin-top: 2rem; }
.article-content p { line-height: 1.8; }
.article-content ul, .article-content ol { margin: 1rem 0 1rem 1.5rem; }
.article-content li { margin-bottom: 0.5rem; line-height: 1.7; }
.article-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  background: rgba(37, 99, 235, 0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-style: italic;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.2;
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text { font-style: italic; margin-bottom: 1.5rem; padding-top: 1rem; color: var(--text); line-height: 1.7; }
.testimonial-author { font-weight: 600; color: var(--dark); }
.testimonial-role { color: var(--text-light); font-size: 0.85rem; }
.stars { color: #f59e0b; margin-bottom: 0.5rem; letter-spacing: 2px; }

/* ===== FAQ ===== */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  background: var(--white);
  overflow: hidden;
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover { background: rgba(37, 99, 235, 0.03); }
.faq-question::after { content: '+'; font-size: 1.2rem; color: var(--primary); transition: var(--transition); }
.faq-item.open .faq-question::after { content: '−'; }
.faq-item.open .faq-question { color: var(--primary); }

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-light);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem;
}

/* ===== PROCESS STEPS ===== */
.process-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.step-number {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
}

.step-content h3 { margin-bottom: 0.5rem; }
.step-content p { color: var(--text-light); }

@media (max-width: 640px) {
  .process-step { flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
}

/* ===== FIND US / LINKS ===== */
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }

.link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  color: var(--text);
}

.link-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  color: var(--primary);
  transform: translateY(-2px);
}

.link-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.link-card span { font-weight: 500; }

/* ===== CASE STUDIES ===== */
.case-study-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.case-study-card:hover { box-shadow: var(--shadow-lg); }

.case-study-card .result {
  display: inline-block;
  background: rgba(16, 185, 129, 0.1);
  color: var(--secondary-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* ===== TABLE ===== */
.table-responsive { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}

th, td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th { background: var(--dark); color: var(--white); font-weight: 600; }
tr:hover { background: rgba(37, 99, 235, 0.02); }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer h4 { color: var(--white); margin-bottom: 1rem; font-size: 1rem; }
.footer p { font-size: 0.9rem; line-height: 1.6; }
.footer a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer a:hover { color: var(--white); }

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.85rem;
  color: var(--text-light);
}

.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 0.5rem; }

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-light { color: var(--text-light); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* Service area badges */
.area-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 500;
  margin: 0.25rem;
}

/* Map container */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin: 1.5rem 0;
}

.map-container iframe { display: block; width: 100%; }

/* Contact info */
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Two column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
}

/* Legal pages */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { margin-top: 2.5rem; font-size: 1.4rem; }
.legal-content h3 { margin-top: 1.5rem; font-size: 1.15rem; }
.legal-content p, .legal-content li { color: var(--text-light); }
.legal-content ul { margin: 1rem 0 1rem 1.5rem; }
.legal-content li { margin-bottom: 0.4rem; }

/* Resource cards */
.resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: var(--transition);
}

.resource-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.resource-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
}

/* Highlight box */
.highlight-box {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(16, 185, 129, 0.05));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0;
}

/* Case study cards */
.case-study-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}
.case-study-card:hover { box-shadow: var(--shadow-lg); }
.case-study-card .result {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.case-study-card h3 { margin-bottom: 0.75rem; }
.case-study-card p { font-size: 0.95rem; color: var(--text-light); }

/* Process steps */
.process-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}
.step-number {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
.step-content h3 { margin-bottom: 0.5rem; }
.step-content p { color: var(--text-light); margin-bottom: 0; }

/* Link grid for find-us page */
.link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
@media (max-width: 768px) { .link-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .link-grid { grid-template-columns: 1fr; } }

.link-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--text);
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
}
.link-card:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.link-icon { font-size: 1.1rem; min-width: 1.5rem; }

/* FAQ open state */
.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--text-light);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }
