:root {
  --primary: #721953;
  --secondary: #53275c;
  --accent: #341e4a;
  --dark: #1d2350;
  --light-bg: #f4f5fa;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--dark);
  background-color: var(--light-bg);
  line-height: 1.6;
}

section {
  position: relative;
}

.section-padding {
  padding: 5rem 0;
}

.section-heading {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.section-description {
  max-width: 780px;
  margin: 0 auto;
  color: rgba(29, 35, 80, 0.76);
  font-size: 1.1rem;
}

.hero-marketing {
  position: relative;
  padding: 6rem 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 42%), linear-gradient(135deg, #221d5a 0%, #341e4a 48%, #721953 100%);
  color: #ffffff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 15, 36, 0.35) 0%, transparent 60%);
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.18;
  background: rgba(255, 255, 255, 0.24);
}

.hero-shape-1 {
  width: 320px;
  height: 320px;
  top: -150px;
  right: 20%;
}

.hero-shape-2 {
  width: 240px;
  height: 240px;
  bottom: -120px;
  left: 12%;
}

.hero-marketing .container {
  position: relative;
  z-index: 2;
}

.hero-marketing h1 {
  color: #ffffff;
  font-weight: 700;
}

.hero-marketing .lead {
  color: rgba(255, 255, 255, 0.9);
}

.services-section {
  background-color: #ffffff;
}

.service-card {
  background-color: var(--light-bg);
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  height: 100%;
  box-shadow: 0 14px 34px rgba(29, 35, 80, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(29, 35, 80, 0.12);
}

.service-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  color: #ffffff;
  font-size: 2rem;
}

.service-title {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-subtitle {
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
  line-height: 1.4;
}

.service-description {
  color: rgba(29, 35, 80, 0.76);
  margin: 0;
  line-height: 1.7;
  font-size: 1.05rem;
}

.cta-section {
  background-color: var(--light-bg);
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  border-radius: 0.9rem;
  padding: 0.85rem 2.4rem;
  font-weight: 600;
  box-shadow: 0 14px 32px rgba(114, 25, 83, 0.22);
  transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(114, 25, 83, 0.28);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.show {
  opacity: 1;
  transform: translate(0, 0);
}

@media (max-width: 991.98px) {
  .section-padding {
    padding: 4rem 0;
  }

  .service-card {
    padding: 2.5rem 2rem;
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 3.5rem 0;
  }

  .hero-marketing {
    padding: 4.5rem 0;
  }

  .hero-marketing h1 {
    font-size: 2rem;
  }

  .service-card {
    padding: 2rem 1.75rem;
  }

  .service-title {
    font-size: 1.3rem;
  }

  .service-subtitle {
    font-size: 1rem;
  }
}

/* Mobile width constraints - ensure 100% width on mobile */
@media (max-width: 575.98px) {
  html {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  main, section {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .container,
  .container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  [class*="col-"] {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
}

