/*
    * PLEASE ENSURE THAT YOU UPDATE THE VERSION NUMBER
    * OF THIS STYLESHEET SO THAT IT IS PICKED UP BY THE CACHES :D
    * THINK BIND/NAMED ;)
*/

body {
  font-family: "Ubuntu", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji" !important;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

a {
  color: #4d269d;
  text-decoration: none;
}

.bg-vl-gradient-primary-to-secondary {
  background-color: #4d269d !important;
  background-image: linear-gradient(
    135deg,
    #4d269d 50%,
    rgba(150, 78, 198, 0.8) 100%
  ) !important;
}

/* H1 responsive sizing - mobile-first */
.page-header-ui .page-header-ui-content .page-header-ui-title {
  font-size: 1.75rem !important;
}

@media (min-width: 576px) {
  .page-header-ui .page-header-ui-content .page-header-ui-title {
    font-size: 2.25rem !important;
  }
}

@media (min-width: 768px) {
  .page-header-ui .page-header-ui-content .page-header-ui-title {
    font-size: 3rem !important;
  }
}

@media (min-width: 992px) {
  .page-header-ui .page-header-ui-content .page-header-ui-title {
    font-size: 4rem !important;
  }
}

/* Page header padding - ensure content clears fixed navbar */
.page-header-ui {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 768px) {
  .page-header-ui {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

@media (min-width: 992px) {
  .page-header-ui {
    padding-top: 9rem;
  }
}

.vl-text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.bg-vl-animate-gradient-primary-to-secondary {
  background: linear-gradient(
    145deg,
    #4d269d,
    #9c00d5,
    #4d269d,
    #007d91,
    #4d269d
  );
  background-size: 400% 400%;

  -webkit-animation: VLGradient 30s ease infinite;
  -moz-animation: VLGradient 30s ease infinite;
  animation: VLGradient 30s ease infinite;
}

@-webkit-keyframes VLGradient {
  0% {
    background-position: 0% 53%;
  }
  50% {
    background-position: 100% 48%;
  }
  100% {
    background-position: 0% 53%;
  }
}
@-moz-keyframes VLGradient {
  0% {
    background-position: 0% 53%;
  }
  50% {
    background-position: 100% 48%;
  }
  100% {
    background-position: 0% 53%;
  }
}
@keyframes VLGradient {
  0% {
    background-position: 0% 53%;
  }
  50% {
    background-position: 100% 48%;
  }
  100% {
    background-position: 0% 53%;
  }
}

/* Logo sizing - mobile-first */
.navbar-marketing .navbar-brand {
  flex-shrink: 0;
  margin-right: auto;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.navbar-marketing .navbar-brand img {
  height: 2rem;
  width: auto;
}

@media (min-width: 576px) {
  .navbar-marketing .navbar-brand img {
    height: 2.25rem;
  }
}

@media (min-width: 992px) {
  .navbar-marketing .navbar-brand img {
    height: 1.5rem;
  }
  .navbar-marketing .navbar-nav .nav-item {
    margin-right: 0.25rem;
  }
}

@media (min-width: 1200px) {
  .navbar-marketing .navbar-brand img {
    height: 2rem;
  }
  .navbar-marketing .navbar-nav .nav-item {
    margin-right: 0.75rem;
  }
}

@media (min-width: 1500px) {
  .navbar-marketing .navbar-brand img {
    height: 2.5rem;
  }
  .navbar-marketing .navbar-nav .nav-item {
    margin-right: 1rem;
  }
}

.navbar-marketing.navbar-dark.navbar-scrolled {
  background-color: #4d269d !important;
}
@media (max-width: 991.98px) {
  .navbar-marketing.bg-transparent.navbar-dark {
    background-color: #4d269d !important;
  }
  .navbar-marketing.bg-transparent.navbar-light {
    background-color: #fff !important;
    border-bottom: 1px solid #f2f6fc;
  }
  .animated--fade-in,
  .animated--fade-in-up {
    -webkit-animation: none;
    animation: none;
  }
}

.testimonial .testimonial-quote {
  font-size: 1.1rem !important;
  font-weight: 300;
}

#iPhone_home {
  display: none;
}

#case_study {
  display: none;
}

@media screen and (min-width: 992px) {
  #iPhone_home {
    clear: both;
    display: block;
    float: right;
    width: 100%;
  }
}

@media screen and (min-width: 768px) {
  #case_study {
    clear: both;
    display: block;
  }
}

@media screen and (max-width: 768px) {
  #icon_nodisplay {
    display: none;
  }
}

#hero_text {
  margin-top: 0;
}

@media (min-width: 992px) {
  #hero_text {
    margin-top: 100px;
  }
}

/* Area Codes Page Styles */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.area-item {
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 0.375rem;
  border-left: 4px solid #0d6efd;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  display: block;
  color: inherit;
  text-decoration: none;
}

.area-item:hover {
  background: #e9ecef;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: inherit;
  text-decoration: none;
}

.area-stats {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

.stats-number {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.area-search-wrapper {
  position: relative;
}

.area-search-wrapper input {
  border: 2px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.85rem 1.25rem 0.85rem 3rem;
  font-size: 1.1rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.area-search-wrapper input:focus {
  border-color: #667eea;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.15);
  outline: none;
}

.area-search-wrapper::before {
  content: "\f002";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #a0aec0;
  font-size: 1rem;
  pointer-events: none;
  z-index: 4;
}

.area-search-count {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  color: #718096;
  margin-top: 0.5rem;
  min-height: 1.3em;
}

.area-no-results {
  text-align: center;
  padding: 3rem 1rem;
  color: #718096;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .area-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
  }

  .area-item {
    font-size: 0.9rem;
    padding: 0.6rem;
  }

  .stats-number {
    font-size: 2.5rem;
  }

  .area-search-wrapper input {
    font-size: 1rem;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
  }
}

/* ── Blog Listing Styles ── */
.blog-hero-featured {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}
.blog-hero-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
}
.blog-hero-featured-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-hero-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.05) 100%);
}
.blog-hero-featured-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  color: #fff;
  width: 100%;
}
.blog-hero-featured-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.blog-hero-featured-content p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}
.blog-card {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.06);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.12);
}
.blog-card .position-relative {
  height: 220px;
  flex-shrink: 0;
}
.blog-card .card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card .card-body {
  padding: 1.5rem;
}
.blog-card .card-title {
  font-weight: 700;
  font-size: 1.15rem;
  color: #1a1a2e;
  margin-bottom: 0.75rem;
}
.blog-card .card-text {
  color: #777;
  font-size: 0.95rem;
  line-height: 1.6;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #777;
}
.blog-meta img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.blog-meta-name {
  font-weight: 600;
  color: #333;
}
.blog-badge {
  display: inline-block;
  background: linear-gradient(135deg, #4d269d, #964ec6);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
a.blog-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}
a.blog-card-link:hover {
  color: inherit;
}
.blog-image-credit {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.25rem 0.5rem;
  z-index: 3;
}
.blog-image-credit a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
}
a.blog-hero-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
a.blog-hero-link:hover {
  color: inherit;
}
.blog-empty {
  text-align: center;
  padding: 4rem 1rem;
}
.blog-empty i {
  font-size: 3rem;
  color: #4d269d;
  margin-bottom: 1.5rem;
}
.blog-empty h2 {
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}
.blog-empty p {
  color: #555;
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ── Blog Category Nav ── */
.blog-category-nav {
  background: #fff;
  border-bottom: 1px solid #e9ecef;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.blog-category-pills {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}
.blog-category-pills::-webkit-scrollbar {
  display: none;
}
.blog-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  padding: 0.5rem 1.1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #555;
  background: #f4f0fa;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all 0.2s ease;
}
.blog-category-pill:hover {
  color: #4d269d;
  background: #ede6f7;
  text-decoration: none;
}
.blog-category-pill.active {
  background: #4d269d;
  color: #fff;
  border-color: #4d269d;
}
.blog-category-pill i {
  font-size: 0.8rem;
}

/* ── Blog Category Sections ── */
.blog-category-section {
  margin-bottom: 2.5rem;
  scroll-margin-top: 80px;
}
.blog-category-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.blog-category-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, #4d269d 0%, #6b3fc7 100%);
  color: #fff;
}
.blog-category-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.blog-category-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
}
.blog-category-card-subtitle {
  font-size: 0.85rem;
  margin: 0.15rem 0 0;
  opacity: 0.8;
}
.blog-category-card-body {
  padding: 1.5rem;
}
.blog-category-card-body .blog-card {
  box-shadow: 0 0.15rem 0.5rem rgba(0, 0, 0, 0.08);
}
.blog-hero-featured .blog-badge {
  display: inline-block;
}

@media (max-width: 767.98px) {
  .blog-category-pill {
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
  }
  .blog-category-card-header {
    padding: 1.25rem 1.25rem;
    gap: 0.75rem;
  }
  .blog-category-card-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .blog-category-card-title {
    font-size: 1.15rem;
  }
  .blog-category-card-body {
    padding: 1rem;
  }
  .blog-hero-featured {
    min-height: 280px;
  }
}

/* ── Article Page Styles ── */
.article-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.article-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.05) 100%);
}
.article-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 0 2rem;
  color: #fff;
  width: 100%;
}
.article-hero-content h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
@media (min-width: 768px) {
  .article-hero { min-height: 480px; }
  .article-hero-content h1 { font-size: 2.75rem; }
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}
.article-meta i { margin-right: 0.35rem; }
.article-breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.article-breadcrumb a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}
.article-breadcrumb a:hover { color: #fff; }
.article-breadcrumb span { color: rgba(255,255,255,0.5); }

/* Article body */
.article-body {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #333;
}
.article-body h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #4d269d;
}
.article-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.article-body p { margin-bottom: 1.25rem; }
.article-body ul, .article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.article-body li { margin-bottom: 0.5rem; }

/* Callout box */
.article-callout {
  background: linear-gradient(135deg, #f0ebf8, #e8e0f5);
  border-left: 4px solid #4d269d;
  border-radius: 0 0.75rem 0.75rem 0;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  font-size: 1rem;
}
.article-callout-title {
  font-weight: 700;
  color: #4d269d;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Pull quote */
.article-pullquote {
  position: relative;
  padding: 2rem 2.5rem;
  margin: 2.5rem 0;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 600;
  color: #4d269d;
  line-height: 1.6;
  background: #faf8fd;
  border-radius: 1rem;
}
.article-pullquote::before {
  content: '\201C';
  position: absolute;
  top: -0.25rem;
  left: 1rem;
  font-size: 4rem;
  color: #4d269d;
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

/* Stat cards */
.article-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0;
}
.article-stat-card {
  background: linear-gradient(135deg, #4d269d, #964ec6);
  color: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
}
.article-stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}
.article-stat-label {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Icon feature list */
.article-feature-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}
.article-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}
.article-feature-list li:last-child { border-bottom: none; }
.article-feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #4d269d, #964ec6);
  color: #fff;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.article-feature-text strong {
  display: block;
  color: #1a1a2e;
  margin-bottom: 0.15rem;
}
.article-feature-text {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Numbered steps */
.article-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}
.article-step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #4d269d, #964ec6);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
}
.article-step-content h3 {
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
  border: none;
}

/* Tip box */
.article-tip {
  background: #e8f5e9;
  border-left: 4px solid #2e7d32;
  border-radius: 0 0.75rem 0.75rem 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.article-tip-title {
  font-weight: 700;
  color: #2e7d32;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Warning box */
.article-warning {
  background: #fff3e0;
  border-left: 4px solid #e65100;
  border-radius: 0 0.75rem 0.75rem 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.article-warning-title {
  font-weight: 700;
  color: #e65100;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Table of contents */
.article-toc {
  background: #f8f9fa;
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
}
.article-toc-title {
  font-weight: 700;
  font-size: 1rem;
  color: #1a1a2e;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.article-toc ol {
  margin: 0;
  padding-left: 1.25rem;
}
.article-toc li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}
.article-toc a {
  color: #4d269d;
  text-decoration: none;
}
.article-toc a:hover {
  text-decoration: underline;
}
@media (min-width: 992px) {
  .article-toc-sticky {
    position: sticky;
    top: 6rem;
  }
}

/* CTA banner */
.article-cta {
  background: linear-gradient(135deg, #4d269d 0%, #964ec6 100%);
  border-radius: 1rem;
  padding: 2.5rem;
  color: #fff;
  text-align: center;
  margin: 3rem 0 2rem;
}
.article-cta h3 {
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  border: none;
}
.article-cta p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}
.article-cta .btn {
  background: #fff;
  color: #4d269d;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.article-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.2);
}

/* Related articles */
.article-related-title {
  font-weight: 700;
  font-size: 1.5rem;
  color: #1a1a2e;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Comparison table */
.article-comparison {
  margin: 2rem 0;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}
.article-comparison table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}
.article-comparison th {
  background: linear-gradient(135deg, #4d269d, #964ec6);
  color: #fff;
  padding: 0.85rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: left;
}
.article-comparison td {
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}
.article-comparison tr:last-child td { border-bottom: none; }
.article-comparison tr:nth-child(even) td { background: #f8f9fa; }

/* Article section card */
.article-section-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem 2.25rem;
  margin-bottom: 2rem;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.06);
}
.article-section-card > h2:first-child {
  margin-top: 0;
}
.article-section-card > *:last-child {
  margin-bottom: 0;
}

/* Back link */
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #4d269d;
  text-decoration: none;
  margin-bottom: 1rem;
}
.article-back:hover { text-decoration: underline; }
