/* ============== Variables ============== */
:root {
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --msid-primary: #034694;
    --msid-secondary: #f58220;
    /* Colors */
    --color-black: #000000;
    --color-white: #ffffff;
    --color-dark-bg: #15151F;
    --color-darker: #111111;
    --color-primary: #FF4006;
    --color-accent-purple: #A37CFF;
    --color-text-main: #15151F;
    --color-text-muted: #555555;
    --color-bg-light: #F8F8F8;
    --color-border: #E6E6E6;
    /* Layout */
    --container-max-width: 1320px;
    --section-padding: 100px 0;
    /* Radius & Shadows */
    --border-radius-sm: 6px;
    --border-radius-md: 10px;
    --border-radius-lg: 24px;
    --shadow-sm: 0px 4px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0px 10px 40px rgba(0, 0, 0, 0.08);
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============== Resets ============== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
    overflow-x: clip;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text-main);
    background-color: var(--color-white);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: inherit;
}

/* ============== Typography ============== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--color-dark-bg);
  letter-spacing: -0.02em;
}

h1 {
  font-size: 2.75rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

p {
  margin-bottom: 16px;
  color: var(--color-text-muted);
  font-size: 1rem;
}

/* Utilities */
.text-white {
  color: var(--color-white) !important;
}

.text-primary {
  color: var(--color-primary) !important;
}

/* ============== Layout Classes ============== */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding);
}

.pt-0 {
  padding-top: 0;
}

.pb-0 {
  padding-bottom: 0;
}

.d-flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.align-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-1 {
  gap: 10px;
}

.gap-2 {
  gap: 20px;
}

.gap-3 {
  gap: 30px;
}

.gap-4 {
  gap: 40px;
}

.bg-dark {
  background-color: var(--color-dark-bg);
  color: var(--color-white);
}

.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4,
.bg-dark h5,
.bg-dark h6 {
  color: var(--color-white);
}

.bg-dark p {
  color: #A0A0A0;
}

/* ============== Components ============== */
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  border: none;
  font-size: 1.125rem;
  z-index: 1;
}

/* Button Hover Fill Effect */
.btn::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-darker);
  transition: var(--transition-fast);
  z-index: -1;
  border-radius: 50px;
}

.btn:hover::before {
  top: 0;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-dark-bg);
  border: 1px solid var(--color-border);
}

.btn-secondary::before {
  background-color: var(--color-primary);
}

.btn-secondary:hover {
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-dark-bg);
}

.btn-white:hover {
  color: var(--color-white);
}

/* Header Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-fast);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-white);
  padding: 12px 24px;
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.logo img {
  height: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-dark-bg);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-fast);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  padding: 180px 0 100px;
  background-color: var(--color-dark-bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Service Cards */
.service-card {
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  border: 1px solid var(--color-border);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.service-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Why Choose Us Image Overlay */
.image-layer {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.image-layer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(21, 21, 31, 0.8) 100%);
}

/* Number Stats */
.stat-box h2 {
  font-size: 3rem;
  margin-bottom: 0px;
  line-height: 1;
}

/* Responsive */
@media (max-width: 991px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero-bg-image {
    width: 100%;
    opacity: 0.3;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius-md);
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 1.875rem;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 0;
  }
}