/*
 * GoSIM UK — Bootstrap 5 migration
 * Bootstrap provides the layout/component foundation.
 *
 * IMPORTANT:
 * The supplied HTML references external SiteJet CSS files, but those CSS files
 * were not included in the supplied source. Therefore the exact SiteJet
 * primary/secondary/theme color values cannot be truthfully extracted here.
 * Keep the variables below mapped to the values from:
 *   /css/custom.260820124748.css
 * before production deployment.
 */

:root {
  --site-primary: #007bff;
  --site-secondary: #f7f7f7;
  --site-accent: #0069d9;
  --site-background: #ffffff;
  --site-surface: #f5f7fa;
  --site-text: #1d1d1f;
  --site-heading: #1b1d21;
  --site-border: #e3e8ee;
  --site-white: #ffffff;
  --site-shadow: 0 14px 30px rgba(0, 123, 255, 0.12);
  --site-radius: 18px;
  --site-pill-radius: 999px;
  --site-section-space: 4rem;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--site-text);
  background: var(--site-background);
  font-family: Arial, sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--site-heading);
  font-family: Poppins, Arial, sans-serif;
  font-weight: 600;
}

p {
  line-height: 1.6;
}

a {
  color: inherit;
}

.section-padding {
  padding-top: var(--site-section-space);
  padding-bottom: var(--site-section-space);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--site-primary);
}

.site-header .navbar {
  min-height: 82px;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.65rem;
  margin-right: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.navbar-brand img {
  display: block;
  max-width: 230px;
  max-height: 78px;
  object-fit: contain;
}

.header-phone svg,
.support-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.navbar-nav .nav-link {
  padding-left: 0.85rem;
  padding-right: 0.85rem;
  font-weight: 500;
}

.site-header a,
.site-header .navbar-brand,
.site-header .nav-link {
  color: var(--site-white);
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.7);
}

.navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

.hero-section {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background-image:
   /* linear-gradient(rgba(6, 36, 58, 0.28), rgba(6, 36, 58, 0.2)),*/ url('https://images.pexels.com/photos/32944547/pexels-photo-32944547.jpeg');
  background-size: cover;
  background-position: center;
  color: var(--site-white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /*background: rgba(0, 0, 0, 0.18);*/
}

/* Per-plan hero background images — override only background-image so
   .hero-section's height, overlay, and .hero-content styling (typography,
   positioning, the dark content box) stay identical to the Home hero.
   background-size: cover / background-position: center on .hero-section
   already makes these responsive across desktop/tablet/mobile. Scoped to
   these specific classes so Home and other pages are unaffected. */
.page-hero-essential {
  background-image: url('https://www.gosimuk.co.uk/images/Gemini_Generated_Image_onmfrlonmfrlonmf.png');
  object-fit: cover !important;
}

.page-hero-gold {
  background-image: url('https://www.gosimuk.co.uk/images/Gemini_Generated_Image_golden_planj.png');
  object-fit: cover !important;
}

.page-hero-platinum {
  background-image: url('https://www.gosimuk.co.uk/images/Gemini_Generated_Image_Platinium_plan.png');
  object-fit: cover !important;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 61rem;
  padding: 4rem 2rem;
  margin-left: auto;
  margin-right: auto;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.9);
  box-shadow: none;
}

.hero-content h1,
.hero-content p {
  color: var(--site-white);
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 1.25rem;
}

.hero-content p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.support-copy {
  max-width: 900px;
  margin: 1.25rem auto 0;
}

.support-copy a {
  text-decoration: none;
}

.support-icon {
  margin-top: 1.5rem;
}

.about-section {
  overflow: hidden;
}

.about-image {
  min-height: 420px;
  background: url('https://www.gosimuk.co.uk/images/Gemini_Generated_Image_k65capk65capk65c.png?110926') center / cover
    no-repeat;
}

.about-content {
  display: flex;
  align-items: center;
}

.about-content-inner {
  width: 100%;
  max-width: 620px;
  padding: 4rem clamp(1.5rem, 5vw, 5rem);
}

.site-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0.65rem 1.5rem;
  border-radius: 40px;
  background: var(--site-primary);
  border: 1px solid var(--site-primary);
  color: var(--site-white);
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.site-btn:hover,
.site-btn:focus {
  background: var(--site-primary);
  border-color: var(--site-primary);
  color: var(--site-white);
  filter: brightness(0.94);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 123, 255, 0.2);
}

/* Light variant for use on primary-colored backgrounds (e.g. .cta-section),
   where the default .site-btn would blend into the background. */
.site-btn-light {
  background: var(--site-white);
  border-color: var(--site-white);
  color: var(--site-primary);
}

.site-btn-light:hover,
.site-btn-light:focus {
  background: var(--site-white);
  border-color: var(--site-white);
  color: var(--site-accent);
  filter: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.cta-section {
  padding: 4rem 1rem;
  background: var(--site-primary);
}

.cta-section h2,
.cta-section p {
  color: var(--site-white);
}

.cta-section p {
  margin: 1rem 0 1.75rem;
}

.pricing-section {
  position: relative;
}

.shape-divider {
  width: 100%;
  height: 30px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.shape-divider svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: var(--site-primary);
}

.pricing-cards {
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.pricing-card {
  border: 0;
  border-radius: var(--site-radius);
  box-shadow: var(--site-shadow);
  overflow: hidden;
  min-height: 160px;
}

.pricing-card .card-header {
  border: 0;
  background: transparent;
  text-align: center;
  padding: 1.5rem 1rem 0.75rem;
}

.plan-star {
  width: 48px;
  height: 48px;
  fill: currentColor;
  display: block;
  margin: 0 auto 0.75rem;
}

.pricing-card .card-body {
  padding: 1rem 1.5rem 1.5rem;
}

.pricing-table-wrap {
  width: 100%;
}

.pricing-table {
  min-width: 780px;
  margin-bottom: 0;
}

.pricing-table th,
.pricing-table td {
  padding: 0.8rem 0.65rem;
  text-align: center;
  white-space: nowrap;
}

.pricing-table thead th {
  font-family: Poppins, Arial, sans-serif;
  font-weight: 600;
}

.faq-section {
  overflow: hidden;
}

.accordion-site {
  margin-top: 2rem;
}

.accordion-site .accordion-item {
  border-left: 0;
  border-right: 0;
  border-radius: 0;
}

.accordion-site .accordion-button {
  font-family: Poppins, Arial, sans-serif;
  font-weight: 600;
  color: var(--site-heading);
  background: transparent;
  box-shadow: none;
}

.accordion-site .accordion-button:not(.collapsed) {
  color: var(--site-heading);
  background: transparent;
}

.accordion-site .accordion-button:focus {
  box-shadow: none;
}

.benefits-section {
  overflow: hidden;
  background: linear-gradient(180deg, rgba(0, 123, 255, 0.02), rgba(0, 123, 255, 0.08));
}

.section-header {
  max-width: 720px;
  margin-inline: auto;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--site-pill-radius);
  color: var(--site-primary);
  background: rgba(0, 123, 255, 0.08);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.benefit-grid {
  align-items: stretch;
}

.benefit-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 2rem 1.75rem;
  border: 1px solid rgba(0, 123, 255, 0.12);
  border-radius: var(--site-radius);
  box-shadow: 0 10px 25px rgba(16, 20, 24, 0.06);
  background: var(--site-background);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(16, 20, 24, 0.1);
  border-color: rgba(0, 123, 255, 0.28);
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: rgba(0, 123, 255, 0.12);
  color: var(--site-primary);
  transition: transform 0.3s ease;
}

.benefit-icon svg {
  width: 26px;
  height: 26px;
}

.benefit-card:hover .benefit-icon {
  transform: translateY(-2px) scale(1.05);
}

.benefit-card h3 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.benefit-card p {
  margin-bottom: 0;
  color: rgba(29, 29, 31, 0.82);
}

.navbar-nav .nav-link.active {
  color: var(--site-white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer {
  padding: 3rem 0 2rem;
  background: var(--site-surface);
}

.footer-heading {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.footer-tagline {
  color: rgba(29, 29, 31, 0.7);
}

.footer-contact,
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-contact li span {
  font-weight: 600;
  color: var(--site-heading);
}

.footer-nav a,
.footer-contact a,
.footer-legal a {
  text-decoration: none;
}

.footer-nav a:hover,
.footer-contact a:hover,
.footer-legal a:hover {
  color: var(--site-primary);
  text-decoration: underline;
}

.footer-divider {
  margin: 2rem 0 1.5rem;
  border-color: var(--site-border);
  opacity: 1;
}

.footer-legal {
  color: rgba(29, 29, 31, 0.7);
}

.footer-logo img {
  display: block;
  width: auto;
  max-width: 240px;
  max-height: 80px;
}

.footer-logo {
  margin-bottom: 1rem;
}

/* Page header banner (inner pages, e.g. Contact) — reuses .hero-section/.hero-content */

.page-hero .hero-content {
  padding: 3.5rem 2rem;
}

.page-hero .hero-content p {
  max-width: 640px;
}

/* Contact page */
.contact-info-card {
  height: 100%;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  box-shadow: var(--site-shadow);
  background: var(--site-background);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(16, 20, 24, 0.1);
}

.contact-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(0, 123, 255, 0.12);
  color: var(--site-primary);
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-info-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-info-card p {
  margin-bottom: 0;
  color: rgba(29, 29, 31, 0.82);
}

.contact-info-card a {
  text-decoration: none;
  font-weight: 600;
}

.contact-info-card a:hover {
  color: var(--site-primary);
  text-decoration: underline;
}

.contact-form-card {
  padding: 2.5rem;
  border-radius: var(--site-radius);
  box-shadow: var(--site-shadow);
  background: var(--site-background);
}

.contact-form-card .form-label {
  font-weight: 600;
  color: var(--site-heading);
}

.contact-form-card .form-control,
.contact-form-card .form-select {
  border-radius: 10px;
  border-color: var(--site-border);
  padding: 0.65rem 0.9rem;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  border-color: var(--site-primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
}

.contact-form-card .invalid-feedback {
  font-size: 0.85rem;
}

.contact-map-wrap {
  border-radius: var(--site-radius);
  overflow: hidden;
  box-shadow: var(--site-shadow);
}

.contact-map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

/* Plan pages (essential/gold/platinum) */
.tag-pill {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: var(--site-pill-radius);
  background: var(--site-secondary);
  color: var(--site-heading);
  font-weight: 600;
  font-size: 0.8rem;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

a.tag-pill:hover,
a.tag-pill:focus {
  background: var(--site-primary);
  color: var(--site-white);
}

/* Legal pages (Privacy Policy, etc.) */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  font-size: 1.35rem;
  scroll-margin-top: 6rem;
}

.legal-content section:first-of-type h2 {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: rgba(29, 29, 31, 0.85);
}

.legal-content ul {
  padding-left: 1.25rem;
}

.legal-content li + li {
  margin-top: 0.4rem;
}

.legal-toc {
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  border-radius: var(--site-radius);
  background: var(--site-surface);
}

.legal-toc p {
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--site-heading);
}

/* Compact 3-column pricing table (single plan) — no forced min-width so it
   fits small screens without horizontal scroll, unlike the 7-column
   homepage comparison table. */
.pricing-table.plan-pricing-table {
  min-width: 100%;
}

[data-animation] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

[data-animation].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 974.98px) {
  .site-header .navbar {
    min-height: 70px;
  }
}

@media (max-width: 575.98px) {
  :root {
    --site-section-space: 3rem;
  }

  .hero-section {
    min-height: 330px;
  }

  .hero-content {
    padding-left: 1rem;
    padding-right: 1rem;
    background: rgba(0, 0, 0, 0.5);
  }

  .about-image {
    min-height: 330px;
  }

  .about-content-inner {
    padding: 3rem 1.25rem;
  }

  .cta-section {
    padding: 3rem 1rem;
  }

  .pricing-card {
    min-height: 200px;
  }

  .pricing-table {
    min-width: 760px;
  }

  .contact-form-card {
    padding: 1.75rem 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-animation] {
    opacity: 1;
    transform: none;
  }
}
