:root {
  --primary-dark: #1a1a1a;
  --secondary-text: #4a4a4a;
  --tertiary-text: #7a7a7a;
  --light-bg: #f5f5f5;
  --white: #ffffff;
  --border-light: #e8e8e8;
  --accent-blue: #3b82f6;
  --dark-blue: #1e3a8a;
  --success-green: #10b981;
  --azure-blue: #0078d4;
}

* {
  scroll-behavior: smooth;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
    "Cantarell", sans-serif;
  color: var(--primary-dark);
  background: var(--white);
  line-height: 1.6;
}

/* ══════════════════════════════════
           BUTTONS
           ══════════════════════════════════ */
.btn-primary-h {
  background: var(--accent-blue);
  border: none;
  color: white;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}
.btn-primary-h:hover {
  background: #2563eb;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

.btn-secondary-h {
  background: transparent;
  border: 2px solid var(--accent-blue);
  color: var(--accent-blue);
  font-weight: 600;
  padding: 10px 30px;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}
.btn-secondary-h:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: #2563eb;
  color: #2563eb;
}

/* ══════════════════════════════════
           SECTIONS
           ══════════════════════════════════ */
section {
  padding: 70px 0;
}
@media (max-width: 768px) {
  section {
    padding: 50px 0;
  }
}

section:nth-of-type(even) {
  background: var(--light-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
@media (max-width: 768px) {
  .section-header h2 {
    font-size: 1.8rem;
  }
}

.section-header p {
  color: var(--secondary-text);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ══════════════════════════════════
           HERO — white, centred with stats
           ══════════════════════════════════ */
.hero {
  padding: 80px 0 90px;
  background: var(--white);
  text-align: center;
}
@media (min-width: 900px) {
  .hero {
    padding: 110px 0 120px;
  }
}
@media (max-width: 576px) {
  .hero {
    padding: 50px 0 60px;
  }
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.18;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 900px) {
  .hero h1 {
    font-size: 2.2rem;
  }
}
@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.75rem;
  }
}

.hl-accent {
  color: var(--accent-blue);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--secondary-text);
  line-height: 1.8;
  max-width: 620px;
  margin: 0 auto 2.25rem;
}
@media (max-width: 576px) {
  .hero-sub {
    font-size: 0.97rem;
  }
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* ── Stats bar ── */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
}
@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    max-width: 340px;
  }
  .hs-item:nth-child(2) {
    border-right: none;
  }
  .hs-item:nth-child(3),
  .hs-item:nth-child(4) {
    border-top: 1px solid var(--border-light);
  }
}
.hs-item {
  padding: 20px 10px;
  text-align: center;
  border-right: 1px solid var(--border-light);
  transition: background 0.2s;
}
.hs-item:last-child {
  border-right: none;
}
@media (max-width: 480px) {
  .hs-item:nth-child(4) {
    border-right: none;
  }
}
.hs-item:hover {
  background: rgba(59, 130, 246, 0.03);
}
.hs-val {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-blue);
  line-height: 1;
  margin-bottom: 4px;
}
@media (max-width: 480px) {
  .hs-val {
    font-size: 1.4rem;
  }
}
.hs-lbl {
  font-size: 0.68rem;
  color: var(--tertiary-text);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ══════════════════════════════════
           INTRO SECTION
           ══════════════════════════════════ */
.intro-box {
  background: white;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  padding: 32px 28px;
  margin-bottom: 2.5rem;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 768px) {
  .intro-box {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.intro-azure-logo {
  width: 140px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.intro-azure-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.intro-content h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.intro-content p {
  color: var(--secondary-text);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
}

/* ══════════════════════════════════
           SERVICES HEADING BLOCK
           ══════════════════════════════════ */
.services-heading-block {
  text-align: center;
  margin-bottom: 2.5rem;
}
.services-heading-block h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
@media (max-width: 768px) {
  .services-heading-block h2 {
    font-size: 1.8rem;
  }
}
@media (max-width: 480px) {
  .services-heading-block h2 {
    font-size: 1.5rem;
  }
}
.services-heading-block p {
  color: var(--secondary-text);
  font-size: 0.93rem;
  line-height: 1.75;
  max-width: 760px;
  margin: 0 auto;
}

/* ══════════════════════════════════
           SERVICE CARDS GRID (3 + 2)
           ══════════════════════════════════ */
.svc-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 992px) {
  .svc-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .svc-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Last 2 cards centred on row 2 */
.svc-cards-grid .svc-card:nth-child(4),
.svc-cards-grid .svc-card:nth-child(5) {
  /* no special override needed — CSS grid places them naturally */
}

/* Centre last 2 when exactly 3-col */
@media (min-width: 993px) {
  .svc-cards-row2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 66.66%;
    margin: 24px auto 0;
  }
}
@media (max-width: 992px) {
  .svc-cards-row2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
  }
}
@media (max-width: 576px) {
  .svc-cards-row2 {
    grid-template-columns: 1fr;
  }
}

.svc-card {
  background: white;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  padding: 28px 24px;
  transition: all 0.3s ease;
}
.svc-card:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.12);
  transform: translateY(-4px);
}

.svc-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.svc-card-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent-blue);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svc-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.svc-card p,
.svc-card ul {
  font-size: 0.87rem;
  color: var(--secondary-text);
  line-height: 1.7;
  margin: 0;
}
.svc-card ul {
  list-style: none;
  padding: 0;
}
.svc-card ul li {
  padding: 2px 0 2px 14px;
  position: relative;
}
.svc-card ul li::before {
  content: "•";
  color: var(--accent-blue);
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* ══════════════════════════════════
           SERVICES GRID
           ══════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.service-card {
  background: white;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  padding: 32px;
  transition: all 0.3s ease;
}
.service-card:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.12);
  transform: translateY(-4px);
}

.service-icon {
  width: 50px;
  height: 50px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent-blue);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--secondary-text);
  line-height: 1.7;
  margin: 0;
}

/* ══════════════════════════════════
           EXPERTISE GRID (4-col)
           ══════════════════════════════════ */
.expertise-section {
  background: #ffffff !important;
}

.expertise-section .section-header h2 {
  color: #1a1a1a;
}
.expertise-section .section-header p {
  color: #1a1a1a;
}

/* Override even-section light bg for expertise */
section.expertise-section {
  background: #ffffff !important;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 2rem;
}
@media (max-width: 992px) {
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .expertise-grid {
    grid-template-columns: 1fr;
  }
}

.expertise-card {
  background: white;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  padding: 24px;
  transition: all 0.3s ease;
}
.expertise-card:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.1);
  transform: translateY(-3px);
}

.expertise-card-num {
  width: 44px;
  height: 44px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.expertise-card-num svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-blue);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.expertise-card h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.6rem;
}

.expertise-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.expertise-card ul li {
  font-size: 0.82rem;
  color: var(--secondary-text);
  line-height: 1.6;
  padding: 3px 0;
  padding-left: 14px;
  position: relative;
}

.expertise-card ul li::before {
  content: "•";
  color: var(--accent-blue);
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* ══════════════════════════════════
           COMPARISON TABLE
           ══════════════════════════════════ */
.comparison-section {
  background: var(--light-bg) !important;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  margin-top: 2rem;
}

.comparison-table thead {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: white;
}

.comparison-table th {
  padding: 16px;
  text-align: left;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid var(--border-light);
}

.comparison-table td {
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  font-size: 0.88rem;
  color: var(--secondary-text);
}

.comparison-table tbody tr:nth-child(even) {
  background: var(--light-bg);
}

.comparison-table tbody tr:hover {
  background: rgba(59, 130, 246, 0.05);
}

/* ══════════════════════════════════
           WHY CHOOSE CARDS (4-col)
           ══════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 2.5rem;
}
@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.why-card {
  background: white;
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  padding: 28px 22px;
  text-align: center;
  transition: all 0.3s ease;
}
.why-card:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.1);
  transform: translateY(-3px);
}

.why-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.why-card-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent-blue);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-card h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.6rem;
}

.why-card p {
  font-size: 0.85rem;
  color: var(--secondary-text);
  line-height: 1.6;
  margin: 0;
}

/* ══════════════════════════════════
           CTA SECTION
           ══════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, #5a4a7f 0%, #6b5a92 100%);
  color: white;
  padding: 60px 40px;
  border-radius: 12px;
  text-align: center;
  margin-top: 60px;
}
@media (max-width: 768px) {
  .cta-section {
    padding: 40px 30px;
  }
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-light {
  background: white;
  color: #5a4a7f;
  font-weight: 600;
  padding: 12px 36px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}
.btn-cta-light:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  color: #5a4a7f;
}

/* ══════════════════════════════════
           RESPONSIVE UTILITIES
           ══════════════════════════════════ */
@media (max-width: 480px) {
  .hero {
    padding: 60px 0 40px;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .section-header h2 {
    font-size: 1.5rem;
  }
  .newsletter-form {
    flex-direction: column;
  }
}

.table-responsive {
  overflow-x: auto;
}
