/*
Theme Name: Mshah Consulting
Theme URI: https://mshahtech.com
Author: Mshah Technologies
Author URI: https://mshahtech.com
Description: A premium enterprise consulting theme for Mshah Technologies — built for global reach across the Gulf, USA and Africa.
Version: 1.0.0
License: Private
Text Domain: mshah-consulting
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --navy:       #0D1B2A;
  --navy-mid:   #112233;
  --blue:       #1A73E8;
  --teal:       #00B4D8;
  --teal-light: #E0F7FC;
  --white:      #FFFFFF;
  --off-white:  #F7F9FC;
  --gray-100:   #F0F4F8;
  --gray-300:   #CBD5E0;
  --gray-500:   #718096;
  --gray-700:   #2D3748;
  --gold:       #D4A017;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --radius:   4px;
  --radius-lg: 12px;
  --shadow:   0 2px 16px rgba(13,27,42,0.08);
  --shadow-lg: 0 8px 40px rgba(13,27,42,0.14);
  --transition: 0.25s ease;

  --max-w: 1200px;
  --section-py: 96px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 12px;
}

.lead {
  font-size: 1.15rem;
  color: var(--gray-500);
  line-height: 1.8;
  max-width: 640px;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 92%;
  max-width: var(--max-w);
  margin: 0 auto;
}

.section { padding: var(--section-py) 0; }
.section--dark { background: var(--navy); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark .eyebrow { color: var(--teal); }
.section--gray { background: var(--off-white); }

.section-header { margin-bottom: 56px; }
.section-header .lead { margin-top: 16px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn--primary:hover { background: #1557C0; border-color: #1557C0; transform: translateY(-1px); }
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn--teal { background: var(--teal); color: var(--navy); border-color: var(--teal); font-weight: 700; }
.btn--teal:hover { background: #00C8F0; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(13,27,42,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo img { height: 36px; width: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-menu a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
  transition: var(--transition);
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--teal);
  transition: width var(--transition);
}
.nav-menu a:hover { color: var(--white); }
.nav-menu a:hover::after { width: 100%; }

.nav-cta { margin-left: 16px; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 40%, rgba(0,180,216,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(26,115,232,0.10) 0%, transparent 70%);
}

/* Animated grid lines */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,180,216,0.12);
  border: 1px solid rgba(0,180,216,0.3);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 28px;
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
}

.hero h1 em {
  font-style: normal;
  color: var(--teal);
}

.hero .lead {
  color: rgba(255,255,255,0.65);
  font-size: 1.15rem;
  max-width: 580px;
  margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hero-stat-num span { color: var(--teal); }
.hero-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.marquee-strip {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 64px;
  animation: marquee 28s linear infinite;
}
.marquee-item {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  flex-shrink: 0;
}
.marquee-item span { color: var(--teal); margin-right: 12px; }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   SERVICES
   ============================================================ */
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 0;
  background: linear-gradient(to bottom, var(--teal), var(--blue));
  transition: height 0.35s ease;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.service-card:hover::before { height: 100%; }

.service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.4rem;
}

.service-card h3 { margin-bottom: 12px; font-size: 1.15rem; }
.service-card p { font-size: 0.92rem; color: var(--gray-500); line-height: 1.7; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  transition: var(--transition);
}
.service-link:hover { gap: 10px; }

/* ============================================================
   CREDENTIALS / CASE STUDIES
   ============================================================ */
.credential-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.credential-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(0,180,216,0.3);
}

.credential-tag {
  display: inline-block;
  background: rgba(0,180,216,0.15);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.credential-card h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 12px; }
.credential-card p { color: rgba(255,255,255,0.55); font-size: 0.9rem; line-height: 1.7; }

.credential-meta {
  display: flex;
  gap: 20px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.credential-meta-item {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  gap: 6px;
}
.credential-meta-item strong { color: rgba(255,255,255,0.75); font-weight: 600; }

/* ============================================================
   WHY MSHAH
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.why-item {
  padding: 40px 36px;
  border-right: 1px solid var(--gray-300);
  border-bottom: 1px solid var(--gray-300);
  transition: var(--transition);
}
.why-item:hover { background: var(--off-white); }
.why-item:nth-child(2n) { border-right: none; }
.why-item:nth-last-child(-n+2) { border-bottom: none; }

.why-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gray-300);
  line-height: 1;
  margin-bottom: 16px;
  transition: var(--transition);
}
.why-item:hover .why-number { color: var(--teal); }
.why-item h4 { margin-bottom: 10px; }
.why-item p { font-size: 0.9rem; color: var(--gray-500); }

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industry-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
}
.industry-card:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.industry-icon { font-size: 2rem; margin-bottom: 16px; }
.industry-card h4 { font-size: 1rem; color: var(--navy); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, #0A2540 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0,180,216,0.1) 0%, transparent 70%);
}
.cta-band h2 { color: var(--white); position: relative; z-index: 1; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.6); margin-bottom: 36px; position: relative; z-index: 1; }
.cta-band .btn { position: relative; z-index: 1; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  background: var(--navy);
  padding: 140px 0 80px;
  text-align: center;
}
.about-hero h1 { color: var(--white); }
.about-hero p { color: rgba(255,255,255,0.6); margin: 20px auto 0; max-width: 600px; }

.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal), var(--blue));
}
.timeline-item {
  position: relative;
  padding-bottom: 40px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px; top: 6px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--teal);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 3px rgba(0,180,216,0.2);
}
.timeline-year {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 6px;
}
.timeline-item h4 { margin-bottom: 8px; }
.timeline-item p { font-size: 0.9rem; color: var(--gray-500); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero {
  background: var(--navy);
  padding: 140px 0 80px;
  text-align: center;
}
.contact-hero h1 { color: var(--white); }
.contact-hero p { color: rgba(255,255,255,0.6); margin: 16px auto 0; max-width: 520px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}
.contact-info-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-item h4 { margin-bottom: 4px; font-size: 0.9rem; }
.contact-info-item p { font-size: 0.88rem; color: var(--gray-500); line-height: 1.6; }

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--gray-700);
  background: var(--white);
  transition: var(--transition);
  margin-bottom: 16px;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,180,216,0.12);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand img { height: 32px; margin-bottom: 20px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 280px; }

.footer-col h5 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--teal); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.8rem;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--white); }

/* ============================================================
   INNER PAGE HERO
   ============================================================ */
.page-hero {
  background: var(--navy);
  padding: 140px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 70% at 80% 50%, rgba(0,180,216,0.1) 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.6); max-width: 560px; font-size: 1.05rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-py: 64px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item { border-right: none !important; }
  .why-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--gray-300); }
  .why-item:last-child { border-bottom: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .nav-menu.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--navy);
    padding: 32px 24px;
    gap: 24px;
    border-top: 1px solid rgba(255,255,255,0.07);
  }
}

/* ============================================================
   PAGE CONTENT STYLING
   ============================================================ */
.page-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 20px;
  margin-top: 0;
}

.page-content h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-top: 40px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--teal);
  display: inline-block;
}

.page-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.page-content strong {
  color: var(--navy);
  font-weight: 600;
}

.page-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.page-content ul li {
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 6px;
}

.page-content em {
  color: var(--gray-500);
  font-style: italic;
  font-size: 0.9rem;
}
