*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
}

/* ===============================
   BRAND VARIABLES
================================ */

:root {
  --brand-blue: #04276ee8;
  --brand-blue-light: #0066cc;
  --text-main: #3f3f3f;
  --text-muted: #4b5563;
  --border: #e5e7eb;
}

/* ===============================
   BASE
================================ */

body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: #ffffff;
  color: var(--text-main);
  line-height: 1.65;
}

/* ===============================
   HEADER / NAV
================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--border);

}.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  height: 70px;
}

.navlinks {
  display: flex;
}

/* =========================
   DESKTOP PORTAL BUTTON (Premium minimal)
   ========================= */

.portal-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 17px;
  background: linear-gradient(135deg, #0b63f6, #1d4ed8);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.2px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(11, 99, 246, 0.25);
  transition: all 0.25s ease;
}

/* Smooth premium hover */
.portal-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(11, 99, 246, 0.35);
}

.portal-link:active {
  transform: translateY(0px) scale(0.98);
  box-shadow: 0 3px 10px rgba(11, 99, 246, 0.25);
}


@media (max-width: 768px) {

  .portal-link {
    background: #ffffff;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    position: absolute;
    right: 64px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;

    /* NEW clean border */
    border: 2px solid #e5e7eb;

    /* soft professional shadow */
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);

    /* remove all animations */
    transition: none;
  }

  /* Hide text */
  .portal-link span {
    display: none;
  }

  /* Icon */
  .portal-link i {
    font-size: 19px;
    color: #1d4ed8;
  }

  /* Remove ALL movement */
  .portal-link:hover,
  .portal-link:active,
  .portal-link:focus {
    transform: translateY(-50%);
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  }

}

@media screen and (min-width: 769px) {
  .navlinks a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    padding: 12px 20px;
    border-radius: 50px; /* pill shape */
    background: rgba(255, 255, 255, 0.08); /* subtle frosted glass */
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
  }

  .navlinks a:hover {
    background: #0056b3; /* darker blue on hover */
    color: #fff;
    transform: translateY(-2px);
    /* Removed box-shadow to eliminate the glow effect */
  }

  .navlinks a.active {
    background: var(--brand-blue);
    color: #fff;
    box-shadow: 0 4px 5px rgba(0, 123, 255, 0.4);
  }
}

.hamburger {
  display: none;
  font-size: 22px;
  color: var(--text-main);
  cursor: pointer;
  z-index: 1002;
}

/* Mobile-specific styles (max-width: 768px) */
@media screen and (max-width: 768px) {
  .navlinks {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    width: 70%;
    max-width: 400px;
    height: 100%;
    background: #ffffff;
    color: var(--text-main);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    gap: 0;
    border-radius: 12px 12px 0 0;
    transition: transform 0.3s ease, opacity 0.25s ease;
    opacity: 0;
    z-index: 1001;
    padding-top: 20px;
  }

  .navlinks.active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
  }

  .navlinks a {
    padding: 12px 18px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    background: 0 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    transition: background .25s ease, color .3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.4s ease forwards;
    animation-delay: calc(0.1s * var(--i));
  }

  .navlinks a:nth-child(1) { --i: 1; }
  .navlinks a:nth-child(2) { --i: 2; }
  .navlinks a:nth-child(3) { --i: 3; }

  .navlinks a:last-child {
    border-bottom: none;
  }

  .navlinks a:hover {
    background: #0056b3; /* darker blue on hover for mobile as well */
    color: #ffffff;
  }

  .navlinks a.active {
    background: var(--brand-blue);
    color: #fff;
  }

  .hamburger {
    display: block;
    font-size: 28px;
    color: var(--text-main);
    cursor: pointer;
    z-index: 1002;
  }
}

/* Keyframe for fade and slide-in effect */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   CTA Button - Modern Premium
================================ */
.cta-white {
  background: rgba(38, 107, 246, 0.85);
  color: #ffffff;
  border: none;
  padding: 14px 36px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  max-width: 235px;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Arrow */
.cta-white::after {
  content: "→";
  font-size: 18px;
  transition: transform 0.3s ease;
}

/* Hover */
.cta-white:hover {
  background: rgba(0, 51, 153, 0.85);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

/* Arrow slides right on hover */
.cta-white:hover::after {
  transform: translateX(4px);
}

.cta-white:active {
  transform: translateY(1px);
}

@media (max-width: 768px) {
  .cta-white {
    width: 90%;
    max-width: 220px;
    margin: 16px auto 0 auto;
    display: block;
    font-size: 16px;
    padding: 14px 20px;
    border-radius: 8px;
  }
}

/* ===============================
   PREMIUM HERO SECTION
================================ */

.hero-full {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  background: url('urus.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 10px;
  overflow: hidden;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .hero-full {
    background-size: 140%; /* Adjust zoom level to fit better on mobile */
    padding: 20px 10px; /* Reduce padding for mobile */
  }
}
/* Cinematic gradient overlay */
.hero-full::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.45) 40%,
    rgba(0,0,0,0.75) 100%
  );
  z-index: 0;
}

/* Content wrapper */
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  color: #ffffff;
}

/* Headline */
.hero-content h1 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
  color: #ffffff;
}

/* Subheadline */
.hero-content .lead {
  font-size: 20px;
  margin-bottom: 35px;
  opacity: 0.95;
  color: #ffffff;
}

/* Registration plate emphasis */
.plate {
  margin: 30px auto 25px;
  transform: scale(1.05);
}

/* Social proof */
.hero-trust {
  margin-bottom: 40px;
  font-size: 14px;
  opacity: 0.85;
  color: #ffffff;
}

/* Feature grid */
.hero-full .feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Glass-style feature cards */
.hero-full .feature {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 7px;
  border-radius: 14px;
  transition: all 0.3s ease;
  text-align: center;
}

.hero-full .feature:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-4px);
}

/* Feature text */
.hero-full .feature strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-weight: 700;
}

.hero-full .feature-desc {
  font-size: 14px;
  color: #ffffff;
  opacity: 0.9;
}

/* Disclaimer */
.hero-full .hero-disclaimer {
  margin-top: 35px;
  font-size: 13px;
  color: #ffffff;
  opacity: 0.85;
}

/* =========================
   UK NUMBER PLATE
========================= */

.plate {
  width: 270px;
  height: 68px;
  background: #ffffff;
  border: 3px solid #000;
  border-radius: 8px;
  display: flex;
  overflow: hidden;

  /* ✅ Softer modern shadow */
  box-shadow: 0 8px 20px rgba(0,0,0,.15);

  /* ✅ Force center */
  margin: 0 auto;
}

/* GB Strip */
.gb-area {
  width: 50px;
  background: #003399;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.eu-stars {
  font-size: 10px;
  color: #ffcc00;
  letter-spacing: 2px;
  line-height: 1;
}

.gb-text {
  font-size: 17px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 1px;
}

/* Registration Area */
.reg-area {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reg-area input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  text-align: center;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 4px;
  color: #000;
  text-transform: uppercase;
  font-family: Arial, Helvetica, sans-serif;
}

.reg-area input::placeholder {
  color: #000;
  opacity: 0.4;
}
/* =========================
   Sticker Tick Animation
========================= */

.sticker img.tick-anim {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
  transform-origin: center;
}

.sticker img.tick-anim.anim {
  animation: pop .45s ease forwards;
}

@keyframes pop {
  0%   { transform: scale(.6) rotate(-10deg); opacity: 0; }
  60%  { transform: scale(1.08) rotate(3deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}


/* ===============================
   MOBILE NAVIGATION - STYLISH
================================ */
@media screen and (max-width: 768px) {

  .hero-alt,
  .hero-inner,
  .quote-card {
    width: 100%;
    padding: 0 5px;
    box-sizing: border-box;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-copy h1 {
    font-size: clamp(24px, 6vw, 30px);
    text-align: center;
  }

  .hero-copy p {
    font-size: 14px;
    text-align: center;
  }

  .quote-card {
    padding: 16px;
    width: 100%;
  }

  /* Keep number plate centered */
  .plate {
    margin: 0 auto;
  }

  .reg-area input {
    font-size: 18px;
    text-align: center;
  }

  .hero-alt {
    padding-top: 30px;
  }

  body {
    overflow-x: hidden;
  }

  body, html {
    width: 100%;
    box-sizing: border-box;
  }

  .hero-copy,
  .quote-card {
    width: 100%;
    box-sizing: border-box;
  }
}


/* ===============================
   Additional Fix for Smaller Devices
================================ */

@media (max-width: 480px) {
  .hero-copy h1 {
    font-size: clamp(22px, 6vw, 26px);
  }

  .cta-white {
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* ===============================
   TRUST SECTION
================================ */

.trust {
  display: flex;
  flex-wrap: wrap;           /* allow wrapping on mobile */
  justify-content: center;    /* center items horizontally */
  gap: 20px;                  /* spacing between items */
  margin-top: 20px;
  text-align: center;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center; /* ensure the content inside is centered */
  flex: 1 1 200px;
  max-width: 300px;
  font-size: 14px;
  color: var(--brand-blue);
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 8px;
  background: #f8fafc;
}

.trust-item img {
  height: 16px;
  margin-right: 8px;
}

/* ===============================
   RESPONSIVE ADJUSTMENTS
================================ */

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 24px;
  }

  .hero-content p.lead {
    font-size: 16px;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr; /* 2-column features on mobile */
  }

  .trust-item {
    flex: 1 1 45%; /* two items per row on mobile */
    max-width: none;
  }
}

/* ===============================
   CARDS SECTION
================================ */

.cards {
  max-width: 1100px;
  margin: 70px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 320px);
  justify-content: center;
  gap: 40px;
}

/* Card Base */
.card {
  background: #ffffff;
  border: 2px solid rgba(0, 51, 153, 0.15);
  border-radius: 16px;
  overflow: hidden;

  /* Clean blue border */
  border: 2px solid var(--brand-blue);

  /* NO SHADOW */
  box-shadow: none;

  transition: transform .25s ease, border-color .25s ease;
}

/* Hover Effect (No Shadow) */
.card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-blue-light);
}

/* Image */
.card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

/* Body */
.card .body {
  padding: 22px;
  text-align: left;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
}

.card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Mobile */
@media (max-width: 1000px) {
  .cards {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

/* ===============================
   SPLIT SECTION
================================ */

.split {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.textblock {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.textblock h2,
.textblock h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: #003399;
}

.textblock p,
.textblock li {
  color: var(--text-muted);
}

.textblock ol {
  padding-left: 18px;
}


/* ===============================
   PARTNER ROW
================================ */

.partner-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.partner-row img,
.partner-row .sticker {
  height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 13px;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 8px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.partner-row img:hover,
.partner-row .sticker:hover {
  background: #eef2ff; /* subtle blue tint instead of broken green var */
  transform: translateY(-2px);
}

.partner-row .sticker {
  font-size: 14px;
  color: var(--text-main);
}


/* ===============================
   RESPONSIVE FIX
================================ */

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }

  .navlinks {
    display: none;
  }

  .hamburger {
    display: block;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-main);
  }

  .hero-alt {
    padding-top: 70px;
  }
}
/* ===============================
   CENTERED BOX (For forms, cards, etc.)
================================ */
.centerbox {
  max-width: 600px !important;
  margin: 60px auto;
  padding: 28px 24px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-sizing: border-box;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

@media (max-width: 768px) {
  .centerbox {
    margin: 32px 16px;
    padding: 20px 16px;
  }
}

.centerbox h2 {
  margin-top: 36px;
  margin-bottom: 10px;
  font-size: 1.4rem;
  line-height: 1.3;
  color: #003399;
}

.centerbox h2:first-of-type {
  margin-top: 0;
}

.centerbox p {
  margin: 0 0 14px;
  color: var(--text-muted); /* fixed from green */
  max-width: 70ch;
  font-size: 16px;
}

/* ===============================
   RESPONSIVE FIX
================================ */
@media (max-width: 768px) {
  .centerbox {
    margin: 20px 10px;
    padding: 16px;
  }

  .feature-grid {
    gap: 12px;
  }

  .feature {
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .centerbox h2 {
    font-size: 1.2rem;
  }

  .centerbox p {
    font-size: 14px;
  }

  .feature {
    padding: 10px;
  }
}


/* ===============================
   FAQ
================================ */
.faq {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

details {
  border: 1px solid var(--border);
  padding: 16px;
  margin-bottom: 12px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

details summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-main);
  padding: 10px 0;
}

details[open] {
  border-color: var(--brand-blue);
}

details p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  padding-top: 8px;
}


.cta-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px; /* Optional, for spacing above */
}

.cta-pay {
  background: #ffffff;
  color: #000000;
  border: none;
  padding: 14px 36px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Arrow */
.cta-pay::after {
  content: "→";
  font-size: 18px;
  transition: transform 0.3s ease;
}

/* Hover */
.cta-pay:hover {
  background: rgba(0, 51, 153, 0.85);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

/* Arrow slides right on hover */
.cta-pay:hover::after {
  transform: translateX(4px);
}

.cta-pay:active {
  transform: translateY(1px);
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
  .cta-pay {
    width: 100%;
    font-size: 16px;
    padding: 14px 24px;
  }
}

/* ===============================
   FOOTER
================================ */
.footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px 24px;
  padding: 24px 20px;
  background: var(--brand-blue); /* fixed from green */
  color: #ffffff;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  width: 100%;
}

.footer span {
  white-space: nowrap;
}

.footer strong {
  font-weight: 600;
  color: #ffffff;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.footer-link:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.social-icon {
  color: #fff;
  font-size: 24px;
  transition: transform .3s ease;
}

.social-icon:first-child {
  color: #1da1f2; /* Twitter blue */
}

.social-icon:nth-child(2) {
  color: #3b5998; /* Facebook blue */
}

.social-icon:nth-child(3) {
  color: #e4405f; /* Instagram pink */
}

.social-icon:active {
  transform: scale(.95);
}

@media (max-width: 768px) {
  .footer span {
    white-space: normal; /* Allow wrapping on mobile */
  }

  .social-links {
    gap: 12px; /* Adjusted gap for mobile */
  }

  .footer {
    padding: 20px 16px; /* Slightly reduced padding for mobile */
  }

  .footer-link {
    font-size: 12px; /* Adjust link font size for mobile */
  }

  .social-icon {
    font-size: 20px; /* Adjust social icon size for mobile */
  }
}

/* ===============================
   HERO IMAGE (Mobile Fix)
================================ */
@media (max-width: 768px) {
  .hero-img {
    transform: none !important;
  }
}

body,
html {
  overscroll-behavior: none;
}


/* ===============================
   ACCESSIBILITY
================================ */

a:focus,
button:focus,
input:focus {
  outline: 3px solid var(--brand-blue); /* fixed from green */
  outline-offset: 2px;
}


/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .navlinks {
    display: none;
  }

  .hamburger {
    display: block;
    font-size: 24px;
    cursor: pointer;
  }

  .hero-alt {
    padding-top: 70px;
  }
}
/* ===============================
   SUCCESS POPUP STYLES
================================ */

/* Popup styles */
#successPopup {
  display: none; /* Initially hide the popup */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(145deg, #fff, #f1f1f1); /* Soft background */
  width: 340px;
  padding: 30px;
  border: 1px solid #111;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .1);
  z-index: 9999;
  text-align: center;
  animation: fadeIn .4s ease-in-out;
}

#successPopup .popup-content {
  color: var(--text-main);
  font-family: Inter, system-ui, -apple-system, sans-serif;
}

#successPopup .message {
  font-size: 15px;
  font-weight: 600;
  color: #4CAF50; /* Success-specific green color */
  margin-bottom: 15px;
  line-height: 1.4;
}

/* Button styles */
#successPopup .close-btn {
  background-color: #4f6dd1; /* Success button green */
  color: white; /* White text */
  border: none;
  padding: 15px 25px;
  width: 100%;
  cursor: pointer;
  font-size: 16px;
  border-radius: 8px;
  transition: transform .3s ease;
  margin-top: 20px;
}

/* Button hover effect */
#successPopup .close-btn:hover {
  background-color: #608ee8; /* Slightly darker green */
  transform: scale(1.05);
}

/* Button active effect */
#successPopup .close-btn:active {
  transform: scale(.98);
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -45%);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* ===============================
   ERROR POPUP STYLES
================================ */

#errorPopup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  width: 340px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
  z-index: 9999;
  text-align: center;
  animation: fadeIn .35s ease-in-out;
}

#errorPopup .popup-content {
  color: var(--text-main);
  font-family: Inter, system-ui, -apple-system, sans-serif;
}

#errorPopup .error-message {
  font-size: 15px;
  font-weight: 600;
  color: #e11d48;
  margin-bottom: 15px;
  line-height: 1.4;
}

#errorPopup .close-btn {
  background-color: var(--brand-blue);
  color: #ffffff;
  border: none;
  padding: 14px 20px;
  width: 100%;
  cursor: pointer;
  font-size: 15px;
  border-radius: 8px;
  transition: transform .2s ease, background .2s ease;
  margin-top: 20px;
}

#errorPopup .close-btn:hover {
  background-color: var(--brand-blue-light);
}

#errorPopup .close-btn:active {
  transform: scale(.97);
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -45%);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}/* About Us Section */
.about-us-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.about-us-content {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}

.about-us-section .text-block {
  flex: 1 1 450px;
}

.about-us-section h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 16px;
  position: relative;
  padding-left: 12px;
  letter-spacing: 0.5px;
}

.about-us-section h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: 40px;
  background: var(--brand-blue);
  border-radius: 2px;
}

.about-us-section p {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-us-section .image-block {
  flex: 1 1 400px;
  margin-top: 0;
  padding-top: 0;
}

.about-us-section .image-block img {
  width: 100%;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  margin-bottom: 0;
  height: auto;
  max-height: 400px; /* Ensure the image doesn't grow too large */
}
/* Responsive Styles for Mobile */
@media (max-width: 900px) {
  .about-us-content {
    flex-direction: column;
    gap: 8px;
  }

  .about-us-section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 10px;
  }

  /* Adjust font size for paragraphs in the About Us section on mobile */
  .about-us-section p:first-of-type {
    font-size: 16px; /* Smaller font size for the first paragraph */
  }

  .about-us-section p {
    font-size: 16px; /* Adjusted font size for paragraphs */
    text-align: center;
    margin-bottom: 8px;
  }

  /* Remove excessive padding between sections on mobile */
  .about-us-section {
    margin: 20px 10px;
  }

  .about-us-section .image-block img {
    border-radius: 8px;
    max-height: 300px; /* Reduce image height on mobile */
  }

  /* Remove large space between text and image */
  .about-us-section .image-block {
    margin-top: 0; /* Remove margin from the top of the image block */
    margin-bottom: 0; /* Remove margin from the bottom of the image block */
  }
}

/* Our Values Section */
.our-values-section {
  max-width: 1200px;
  margin: 0 auto; /* Reduce margin for less gap */
  padding: 0 20px;
  text-align: center;
}

.our-values-section h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.feature {
  background: #f9fafb;
  border-radius: 12px;
  padding: 24px 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature strong {
  display: block;
  font-size: 18px;
  color: var(--brand-blue);
  margin-bottom: 8px;
}

.feature p {
  font-size: 15px;
  color: #9aa6b2;
  margin: 0;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .about-us-section {
    gap: 16px;
  }

  /* Reduce the gap between the sections even more */
  .about-us-section,
  .our-values-section {
    margin-bottom: 10px;
  }

  .about-us-section h2 {
    font-size: 28px;
    text-align: center;
  }

  .about-us-section .image-block {
    flex: 1 1 100%;
    margin-top: 0;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
}

/* Our Values Section */
.our-values-section {
  max-width: 1200px;
  margin: 0 auto; /* Reduce margin for less gap */
  padding: 0 20px;
  text-align: center;
}

.our-values-section h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.feature {
  background: #f9fafb;
  border-radius: 12px;
  padding: 24px 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature strong {
  display: block;
  font-size: 18px;
  color: var(--brand-blue);
  margin-bottom: 8px;
}

.feature p {
  font-size: 15px;
  color: #9aa6b2;
  margin: 0;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .about-us-section {
    gap: 16px;
  }

  /* Reduce the gap between the sections even more */
  .about-us-section,
  .our-values-section {
    margin-bottom: 10px; /* Minimal gap between sections */
  }

  /* Make the heading of 'About Us' section bigger */
  .about-us-section h2 {
    font-size: 28px;
    text-align: center;
  }

  .about-us-section .image-block {
    flex: 1 1 100%; /* Make image fill entire width */
    margin-top: 0;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px; /* Smaller gap on mobile */
  }
}

/* Our Values Section */
.our-values-section {
  max-width: 1200px;
  margin: 20px auto; /* Reduce margin for less gap */
  padding: 0 20px;
  text-align: center;
}

.our-values-section h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 20px; /* Reduced margin for closer section */
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px; /* Reduced gap */
}

.feature {
  background: #f9fafb;
  border-radius: 12px;
  padding: 24px 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature strong {
  display: block;
  font-size: 18px;
  color: var(--brand-blue);
  margin-bottom: 8px;
}

.feature p {
  font-size: 15px;
  color: #9aa6b2;
  margin: 0;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Custom About Us Section */
.about-section {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: #4a5568; /* Slate gray text */
  line-height: 1.65;
}

.about-block h2 {
  font-size: 26px;
  color: var(--brand-blue);
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  padding-left: 12px;
}

.about-block h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: 28px;
  background: var(--brand-blue);
  border-radius: 2px;
}

.about-block p {
  font-size: 16px;
  color: #6b7280; /* Medium gray */
  margin: 0;
}

.about-block strong {
  color: var(--brand-blue);
  font-weight: 600;
}

@media (max-width: 768px) {
  .about-section {
    gap: 30px;
  }

  .about-block h2 {
    font-size: 22px;
  }

  .about-block p {
    font-size: 15px;
  }
}

/* ===============================
   FAQ (Centered Variant)
================================ */

.faq {
  text-align: center;
  margin-top: 50px;
}

.faq h3 {
  font-size: 22px;
  color: var(--text-main);
}

.faq p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}


/* ===============================
   INPUT FIELDS (DATE & TIME)
================================ */

input[type=date],
input[type=time] {
  width: 100%;
  height: 42px;
  padding: 10px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-sizing: border-box;
  background: #ffffff;
  color: var(--text-main);
}

input[type=date],
input[type=time] {
  -webkit-appearance: none;
  appearance: none;
}

@media screen and (max-width:768px) {
  input[type=date],
  input[type=time] {
    height: 42px;
    font-size: 16px;
  }
}


/* ===============================
   SPECIALIST SECTION (COLOUR FIXED)
================================ */

.specialist {
  background: #ffffff;
  padding: 70px 20px;
  color: var(--brand-blue); /* force blue base text */
}

.specialist-inner {
  max-width: 1180px;
  margin: 0 auto;
}

/* Main Heading */
.specialist h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: #003399;
  margin-bottom: 14px;
  letter-spacing: -.5px;
}

/* Intro paragraph */
.specialist-intro {
  max-width: 820px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--brand-blue);
  margin-bottom: 42px;
}/* Grid */
.offence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

/* Cards */
.offence-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 26px 24px;
  border: 1px solid var(--border);
  color: var(--brand-blue);
  transition: transform .25s ease, border-color .25s ease;
}

/* Hover (No Shadow) */
.offence-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-blue);
}

/* Typography */
.offence-card h3 {
  font-size: 17.5px;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 10px;
}

.offence-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--brand-blue);
}

.offence-card strong {
  color: var(--brand-blue-light);
}/* ===============================
   REVIEW ROTATOR (Gold Border Version)
================================ */

.review-rotator {
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

.review-rotator h3 {
  margin-bottom: 14px;
  font-size: 26px;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: -0.3px;
}

/* Trust Counter */
.trust-counter {
  font-size: 18px;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 40px;
}

.trust-counter span {
  font-weight: 700;
}

/* Grid Layout */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Review Card */
.review-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 24px;
  text-align: left;

  border: 2px solid #FFD700; /* Gold */
  box-shadow: none;

  transition: transform .25s ease, border-color .25s ease;
}

/* Hover */
.review-card:hover {
  transform: translateY(-4px);
  border-color: #e6c200;
}

/* Reviewer Name */
.review-card strong {
  display: block;
  font-size: 15px;
  color: var(--brand-blue);
  margin-bottom: 4px;
}

/* Meta */
.review-meta {
  font-size: 13px;
  color: var(--text-muted);
}

/* Stars */
.review-stars {
  margin-top: 8px;
}

.star {
  display: inline-block;
  font-size: 16px;
  color: #FFD700; /* Match border */
}

/* Review Text */
.review-card p {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Mobile */
@media (max-width: 900px) {
  .review-grid {
    grid-template-columns: 1fr;
  }
}

.specialist-footnote {
	max-width: 900px;
	margin-top: 38px;
	font-size: 14.5px;
	line-height: 1.6;
	color: #8f9bad;
	border-left: 3px solid #1c4fd8;
	padding-left: 16px
}

/* Responsive */
@media (max-width: 768px) {
  .review-grid {
    grid-template-columns: 1fr;
  }
}

/* Specialist mobile refinement */
@media (max-width:768px) {
  .specialist {
    padding: 48px 18px;
  }

  .specialist h2 {
    font-size: 26px;
  }

  .specialist-intro {
    font-size: 15.5px;
  }

  .offence-card {
    padding: 22px 20px;
  }
}

/* ===============================
   GENERAL BLUE THEME LAYOUT (UNIFIED STYLE)
================================ */

.blue-box-wrapper {
  max-width: 600px;
  margin: 30px auto;
  padding: 20px;
  background-color: transparent;
  border-radius: 16px;
  box-shadow: none;
}

.blue-box {
  padding: 40px;
  background: linear-gradient(135deg, var(--brand-blue), #001f66);
  color: #ffffff;
  border-radius: 16px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  
}


.blue-box h2 {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 700;
  text-align: center;
}

.blue-box h3 {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 700;
  text-align: center;
}

.blue-box p {
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.9;
  margin-bottom: 12px;
  text-align: center;
}

.payment-summary p {
  font-size: 16px;
  margin: 8px 0;
  text-align: center;
}

.price-big {
  font-size: 32px;
  font-weight: bold;
  margin: 16px 0;
  text-align: center;
}
.secure-note {
  font-size: 13px;
  color: #9aa6b2;
  margin-top: 12px;
  text-align: center;
}

.text-tick {
  color: #22c55e;
  font-weight: 900;
  font-size: 0.9em;
  margin-left: 6px;
  vertical-align: middle;
}
@media (min-width:769px) {
  .specialist,
  [data-reveal],
  section.specialist {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }
}


    /* ===============================
       LOADING PAGE – PREMIUM BRAND
    ================================ */

    .loading-wrap {
      position: fixed;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 16px;
      text-align: center;

      background:
        radial-gradient(
          circle at top,
          rgba(0, 27, 182, 0.08),
          #ffffff 60%
        );

      color: #111827;
      transition: opacity .45s ease;
    }

    /* Logo */
    .loading-logo {
      width: 150px;
      margin-bottom: 6px;
      animation: fadeSlide .6s ease forwards;
    }

    /* Heading */
    .loading-wrap h2 {
      font-size: 22px;
      font-weight: 800;
      letter-spacing: -0.3px;
      margin: 0;
      animation: fadeSlide .6s ease forwards;
      animation-delay: .1s;
    }

    /* Accent bar */
    .loading-accent {
      width: 64px;
      height: 4px;
      border-radius: 4px;
      background: #005eb6;
      margin: 4px 0 10px;
      animation: fadeSlide .6s ease forwards;
      animation-delay: .15s;
    }

    /* ===============================
       FACEBOOK LOADER (BRANDED)
    ================================ */

    .lds-facebook {
      display: inline-block;
      position: relative;
      width: 80px;
      height: 80px;
      color: #11328d;
    }

    .lds-facebook div {
      display: inline-block;
      position: absolute;
      left: 8px;
      width: 16px;
      background: currentColor;
      border-radius: 6px;
      animation: lds-facebook 1.2s cubic-bezier(0,.5,.5,1) infinite;
    }

    .lds-facebook div:first-child {
      left: 8px;
      animation-delay: -0.24s;
    }

    .lds-facebook div:nth-child(2) {
      left: 32px;
      animation-delay: -0.12s;
    }

    .lds-facebook div:nth-child(3) {
      left: 56px;
      animation-delay: 0s;
    }

    @keyframes lds-facebook {
      0% {
        top: 8px;
        height: 64px;
      }
      50%, 100% {
        top: 24px;
        height: 32px;
      }
    }

    /* ===============================
       ENTRANCE ANIMATION
    ================================ */

    @keyframes fadeSlide {
      from {
        opacity: 0;
        transform: translateY(10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }



/* ---------- Layout ---------- */

.portal-wrapper{
    display:flex;
    justify-content:center;
    align-items:flex-start;

    padding:50px 20px 70px; /* increased spacing */
    position:relative;
}


/* ---------- Soft SaaS Glow ---------- */

.portal-wrapper::before{
    content:"";
    position:absolute;
    width:420px;
    height:420px;

    background:radial-gradient(circle,rgba(255,255,255,0.35),transparent 70%);
    filter:blur(60px);

    top:60px;
    z-index:0;
}


/* ---------- Card ---------- */

.portal-card{
    position:relative;
    z-index:1;

    background:rgba(255,255,255,0.97);
    backdrop-filter:blur(10px);

    border-radius:14px;
    padding:40px 34px; /* more internal padding */
    max-width:420px;
    width:100%;

    box-shadow:
        0 12px 30px rgba(0,0,0,0.08),
        0 4px 10px rgba(0,0,0,0.04);

    text-align:center;
    transition:all .25s ease;
}

.portal-card:hover{
    transform:translateY(-3px);
}


/* ---------- Logo ---------- */

.logoinside{
    margin-bottom:18px;
}

.logoinside img{
    width:165px;
    height:auto;
}


/* ---------- Headings ---------- */

.portal-card h2{
    font-size:24px;
    font-weight:600;
    margin:0 0 8px;
    color:#111827;
}

.portal-card p{
    font-size:14px;
    color:#6b7280;
    margin-bottom:22px;
}

/* ---------- Button ---------- */

button{
    width:100%;
    padding:14px;

    background:#274d7a;
    color:white;

    border:none;
    border-radius:8px;

    font-size:15px;
    font-weight:600;

    cursor:pointer;
    transition:background .2s, transform .1s;
}

button:hover{
    background:#274d7a;
}

button:active{
    transform:scale(.98);
}


/* ---------- Error ---------- */

.error{
    background:#fef2f2;
    border:1px solid #fecaca;
    color:#b91c1c;

    padding:12px;
    border-radius:6px;

    font-size:13px;
    margin-bottom:16px;
}

/* ---------- Mobile ---------- */

@media (max-width:768px){

.portal-wrapper{
    padding:35px 16px 50px;
}

.portal-card{
    padding:30px 22px;
}

.logoinside img{
    width:145px;
}

}
