
/*
==================================================================
  RECONTRACT.CO.UK – CLEAN REBUILT CSS
  This file replaces the previous oversized/duplicated stylesheet.
==================================================================
*/

/* -------------------- GLOBAL -------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    overflow-x: hidden;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: #0b1020;
    background-color: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #0f57e8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 40px 0;
}

/* -------------------- HEADER -------------------- */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 40px;
    background: linear-gradient(180deg, rgba(0, 16, 56, 0.92), rgba(0, 16, 56, 0));
}

.site-header .container,
.site-header .container.nav,
.site-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header .site-logo-link img,
.site-header .custom-logo-link img {
    height: 60px;
    width: auto;
}

.site-header nav.menu,
.site-header .main-navigation {
    display: flex;
    gap: 22px;
    align-items: center;
}

.site-header nav a {
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
}

.site-header nav a:hover {
    color: #8fdcff;
}

/* -------------------- HERO -------------------- */

.hero {
    position: relative;
    width: 100%;
    background-image: url("https://www.recontract.co.uk/wp-content/uploads/2025/11/hero_background_blue_neon.webp");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding: 150px 0 90px;
    text-align: center;
    color: #ffffff;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(0, 160, 255, 0.4), rgba(0, 0, 30, 0.9));
    z-index: 1;
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 32px;
    line-height: 1.3;
    margin: 10px 0 16px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-tagline,
.rotating-slogan {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    color: #e8f6ff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.rotating-slogan {
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* -------------------- HERO FORM / POSTCODE -------------------- */

.hero-form {
    margin-top: 24px;
}

.hero-input-group {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 18px;
    flex-wrap: wrap;
}

.hero-input-group input#postcode {
    padding: 14px 18px;
    border-radius: 999px;
    border: none;
    min-width: 260px;
    font-size: 18px;
    outline: none;
    background: rgba(2, 15, 40, 0.9);
    color: #ffffff;
    box-shadow: 0 0 0 1px rgba(0, 200, 255, 0.4);
}

.hero-input-group input#postcode::placeholder {
    color: #9bb6e3;
}

.hero-btn {
    padding: 14px 26px;
    border-radius: 999px;
    border: none;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, #007bff, #00a4ff);
    color: #ffffff;
    box-shadow:
        0 0 18px rgba(0, 180, 255, 0.7),
        0 10px 25px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 24px rgba(0, 200, 255, 0.85),
        0 14px 30px rgba(0, 0, 0, 0.55);
}

.hero-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 120%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.7) 50%,
        transparent 100%
    );
    transform: skewX(-25deg);
    animation: hero-btn-shine 3.5s linear infinite;
}

@keyframes hero-btn-shine {
    0% { left: -150%; }
    100% { left: 150%; }
}

/* Postcode error / helper */
.postcode-error {
    margin-top: 10px;
    min-height: 1.4em;
    font-size: 14px;
    color: #ffdddd;
}

.postcode-error.error,
.postcode-error.active {
    color: #ffb3b3;
    font-weight: 600;
}

.partner-note {
    margin-top: 14px;
    font-size: 14px;
    color: #e6f1ff;
    opacity: 0.9;
}

/* -------------------- SCROLL BANNER + AFFILIATE TEXT -------------------- */

.neon-scroll-banner {
    width: 100%;
    background: #020a1d;
    border-top: 1px solid rgba(0, 200, 255, 0.4);
    border-bottom: 1px solid rgba(0, 200, 255, 0.4);
    box-shadow: 0 0 18px rgba(0, 200, 255, 0.4);
    padding: 10px 0;
    overflow: hidden;
}

.neon-scroll-link {
    display: block;
    text-align: center;
    text-decoration: none;
}

.scrolling-text {
    display: inline-block;
    padding-left: 100%;
    white-space: nowrap;
    color: #8fe4ff;
    font-weight: 600;
    letter-spacing: 0.03em;
    animation: banner-scroll 18s linear infinite;
}

@keyframes banner-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.affiliate-info {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px 0;
    font-size: 14px;
    color: #22314f;
}

.affiliate-star {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 4px;
    box-shadow: 0 0 8px rgba(0, 200, 255, 0.9);
    background: radial-gradient(circle, #00c8ff, #0044aa);
}

.affiliate-text strong {
    font-weight: 700;
}

/* -------------------- PROMO BANNERS ROW -------------------- */

.neon-banner-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    margin: 30px auto 10px;
    max-width: 1200px;
    padding: 0 20px;
}

.neon-banner {
    flex: 1 1 260px;
    max-width: 360px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.neon-banner img {
    width: 100%;
    height: auto;
}

.neon-banner:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
}

/* -------------------- STEPS SECTION -------------------- */

.steps-section {
    background: #f7f9ff;
}

.steps-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.steps-title {
    text-align: center;
    font-size: 26px;
    margin-bottom: 30px;
    color: #0b1020;
}

.steps-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.step-item {
    position: relative;
    padding: 26px 18px 20px 18px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    font-size: 15px;
}

.step-number {
    position: absolute;
    top: -14px;
    left: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f57e8;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* -------------------- WHY TRUST US -------------------- */

.why-trust-us {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.why-trust-us h2 {
    text-align: center;
    font-size: 26px;
    margin-bottom: 28px;
}

.neon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
}

.neon-card {
    background: radial-gradient(circle at top, #041230, #010816);
    border-radius: 18px;
    padding: 22px 18px 20px;
    color: #e9f3ff;
    box-shadow:
        0 0 22px rgba(0, 200, 255, 0.3),
        0 16px 28px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 200, 255, 0.6);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.neon-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 0 30px rgba(0, 200, 255, 0.6),
        0 22px 40px rgba(0, 0, 0, 0.7);
}

.neon-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    background: radial-gradient(circle, rgba(0, 200, 255, 0.35), transparent);
}

/* -------------------- BENEFITS SECTION -------------------- */

.neon-benefits {
    background: #020919;
}

.neon-benefits .neon-grid {
    max-width: 1100px;
    margin: 0 auto;
}

/* -------------------- PROVIDER OFFERS + LOGOS -------------------- */

.affiliate-offers {
    text-align: center;
    padding-bottom: 10px;
}

.offers-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.providers-desktop {
    text-align: center;
    margin: 10px auto 0;
}

.providers-desktop img {
    max-width: 900px;
    width: 100%;
    height: auto;
}

.providers-mobile {
    display: none;
}

/* Mobile logos */
@media (max-width: 768px) {
    .providers-desktop {
        display: none;
    }

    .providers-mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;
        padding: 10px 20px 0;
    }

    .providers-mobile img {
        width: 90px;
        height: auto;
    }
}

/* -------------------- FOOTER -------------------- */

.site-footer {
    background: #021535;
    color: #ffffff;
    text-align: center;
    padding: 24px 16px;
    margin-top: 40px;
}

.site-footer .disclaimer,
.footer-about {
    max-width: 800px;
    margin: 8px auto 0;
    font-size: 14px;
    opacity: 0.9;
}

/* -------------------- RESPONSIVE -------------------- */

@media (max-width: 900px) {
    .site-header {
        padding: 8px 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero-tagline,
    .rotating-slogan {
        font-size: 18px;
    }

    .hero-input-group {
        flex-direction: column;
        gap: 14px;
    }

    .hero-input-group input#postcode,
    .hero-btn {
        width: 100%;
        max-width: 380px;
    }

    .affiliate-info {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }

    .steps-section,
    .why-trust-us,
    .neon-benefits {
        padding: 30px 0;
    }
}
/* Container layout */
.affiliate-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

/* Neon button style (matches your View Deal buttons) */
.affiliate-btn {
  display: inline-block;
  padding: 14px 28px;
  border: 2px solid #00eaff;
  border-radius: 50px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 12px #00eaff, inset 0 0 12px #00eaff;
  transition: 0.25s ease;
}

/* Hover glow */
.affiliate-btn:hover {
  box-shadow: 0 0 20px #00eaff, inset 0 0 20px #00eaff;
  transform: translateY(-2px);
}

/* Animated shine effect */
.affiliate-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: shine 2.5s infinite;
}

/* Shine animation */
@keyframes shine {
  0% { left: -120%; }
  60% { left: 120%; }
  100% { left: 120%; }
}
.affiliate-buttons {
  display: flex;
  gap: 20px; /* ← add this */
  justify-content: center;
  margin-top: 30px;
}
/* ===========================================
   FINAL MOBILE HERO LAYOUT — PERFECT VERSION
=========================================== */
@media (max-width: 1024px) {

    /* 1. Increase hero height to fit slogan comfortably */
    section.hero {
        min-height: 115vh !important;
        padding-top: 160px !important;   /* Move whole block down */
        padding-bottom: 50px !important;
    }

    /* 2. Bring rotating slogan into perfect view */
    section.hero h2.hero-tagline,
    #rotating-slogan {
        margin-top: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 15px !important; /* spacing below slogan */
        font-size: 16px !important;
        text-align: center !important;
    }

    /* 3. Drop the main headline slightly for spacing */
    section.hero h1 {
        margin-top: 20px !important;
        padding: 0 20px !important;
        line-height: 1.3 !important;
        font-size: 26px !important;
        text-align: center !important;
    }

    /* 4. Keep input width perfect */
    #postcode {
        width: 90% !important;
        max-width: 380px !important;
        margin: 20px auto !important;
        display: block !important;
    }

    /* 5. Keep compare button correct */
    .hero-btn {
        width: 90% !important;
        max-width: 380px !important;
        margin: 10px auto !important;
        display: block !important;
        padding: 16px 0 !important;
    }

    /* 6. Ensure input + button stay stacked */
    .hero-input-group {
        display: block !important;
        width: 100% !important;
    }
}
header,
nav,
.site-header {
  background: transparent !important;
  backdrop-filter: none;
  box-shadow: none;
}
/* ---------- DESKTOP DROPDOWN MENU ---------- */

@media (min-width: 769px) {

    /* parent items */
    .site-nav .header-menu > li {
        position: relative;
    }

    /* hide submenu by default */
    .site-nav .header-menu li .sub-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: rgba(3, 29, 51, 0.95);
        padding: 10px 0;
        border-radius: 12px;
        min-width: 220px;
        box-shadow: 0 0 25px rgba(0, 200, 255, 0.3);
        z-index: 999;
    }

    /* show on hover */
    .site-nav .header-menu li:hover > .sub-menu {
        display: block;
    }

    /* submenu links */
    .site-nav .header-menu .sub-menu li a {
        display: block;
        padding: 10px 20px;
        color: #ffffff;
        white-space: nowrap;
        text-decoration: none;
    }

    /* neon hover */
    .site-nav .header-menu .sub-menu li a:hover {
        color: #00d8ff;
        text-shadow: 0 0 8px #00d8ff;
    }

    /* parent hover effect */
    .site-nav .header-menu > li > a:hover {
        color: #00d8ff;
        text-shadow: 0 0 10px #00d8ff;
    }
}
/* =========================================
   🔥 ADVANCED NEON DROPDOWN MENU STYLING
   Desktop only
========================================= */
@media (min-width: 769px) {

    /* Parent positioning */
    .site-nav .header-menu > li {
        position: relative;
    }

    /* Base dropdown box (hidden by default) */
    .site-nav .header-menu li .sub-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: 
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0.25s;
        
        position: absolute;
        top: 100%;
        left: 0;
        
        background: rgba(3, 29, 51, 0.95);
        padding: 12px 0;
        
        border-radius: 12px;
        
        /* 🔵 Neon Glow */
        box-shadow: 0 0 25px rgba(0, 200, 255, 0.45);
        
        /* 🔵 Width automatically matches content */
        width: max-content;
        min-width: 200px;
        
        z-index: 9999;
        white-space: nowrap;
    }

    /* 🔥 Fade-in + slide-up animation on hover */
    .site-nav .header-menu li:hover > .sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Dropdown links */
    .site-nav .header-menu .sub-menu li a {
        padding: 10px 22px;
        display: block;
        color: #ffffff;
        text-decoration: none;
        transition: 0.15s ease;
    }

    /* Neon hover effect */
    .site-nav .header-menu .sub-menu li a:hover {
        color: #00d8ff;
        text-shadow: 0 0 10px #00d8ff;
        background: rgba(0, 200, 255, 0.08);
    }

    /* Parent link neon hover */
    .site-nav .header-menu > li > a:hover {
        color: #00d8ff;
        text-shadow: 0 0 10px #00d8ff;
    }

    /* =========================================
       🔥 RIGHT-ALIGN LAST DROPDOWN(S)
       This prevents dropdowns from going off-screen
    ========================================= */
    .site-nav .header-menu > li:last-child > .sub-menu,
    .site-nav .header-menu > li:nth-last-child(2) > .sub-menu {
        left: auto;
        right: 0;
    }

    /* =========================================
       🔥 MULTI-COLUMN DROPDOWN (MEGA MENU STYLE)
       Add class .mega-menu to any parent <li>
       Example: Broadband section
    ========================================= */
    .site-nav .header-menu > li.mega-menu {
        position: static; /* allows full-width dropdown */
    }

    .site-nav .header-menu > li.mega-menu > .sub-menu {
        position: absolute;
        left: 0;
        right: 0;
        margin: 0 auto;

        max-width: 900px;
        background: rgba(3, 29, 51, 0.97);
        padding: 20px 25px;

        display: grid;
        grid-template-columns: repeat(2, minmax(150px, 1fr));
        gap: 15px 40px;

        border-radius: 14px;
        box-shadow: 0 0 30px rgba(0, 200, 255, 0.45);
    }

    /* Mega menu individual items */
    .site-nav .header-menu > li.mega-menu .sub-menu li a {
        padding: 8px 0;
    }
}
/* ======================================================
   🔥 RECONTRACT.CO.UK — ADVANCED NEON DROPDOWN MENUS
   Desktop only (mobile untouched)
====================================================== */
@media (min-width: 769px) {

    /* ----------------------------------------------
       PARENT MENU ITEMS
    ---------------------------------------------- */
    .site-nav .header-menu > li {
        position: relative;
    }

    .site-nav .header-menu > li > a {
        position: relative;
        padding-bottom: 4px;
        color: #ffffff;
        transition: 0.25s ease;
    }

    /* Neon underline effect */
    .site-nav .header-menu > li > a::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 0%;
        height: 3px;
        background: linear-gradient(90deg, #00eaff, #009dff);
        box-shadow: 0 0 10px #00d8ff, 0 0 20px #00d8ff;
        border-radius: 80px;
        transform: translateX(-50%);
        transition: width 0.25s ease;
    }

    /* Grow underline on hover */
    .site-nav .header-menu > li:hover > a::after {
        width: 60%;
    }

    /* ----------------------------------------------
       DROPDOWN BASE BOX (HIDDEN BY DEFAULT)
    ---------------------------------------------- */
    .site-nav .header-menu li .sub-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition:
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0.25s;

        position: absolute;
        top: 100%;
        left: 0;

        background: rgba(3, 29, 51, 0.95);
        padding: 12px 0;

        border-radius: 12px;

        /* Neon Glow */
        box-shadow: 0 0 25px rgba(0, 200, 255, 0.45);

        /* Auto width */
        width: max-content;
        min-width: 200px;

        z-index: 9999;
        white-space: nowrap;
    }

    /* Fade-in animation */
    .site-nav .header-menu li:hover > .sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* ----------------------------------------------
       SUBMENU LINKS
    ---------------------------------------------- */
    .site-nav .header-menu .sub-menu li a {
        padding: 10px 22px;
        display: block;
        color: #ffffff;
        text-decoration: none;
        transition: 0.15s ease;
    }

    /* Neon gradient hover */
    .site-nav .header-menu .sub-menu li a:hover {
        color: #ffffff;
        background: linear-gradient(90deg, rgba(0,200,255,0.20), rgba(0,150,255,0.35));
        text-shadow: 0 0 10px #00e4ff, 0 0 20px #00baff;
        padding-left: 24px;
    }

    /* ----------------------------------------------
       RIGHT ALIGN LAST DROPDOWN (prevents overflow)
    ---------------------------------------------- */
    .site-nav .header-menu > li:last-child > .sub-menu,
    .site-nav .header-menu > li:nth-last-child(2) > .sub-menu {
        left: auto;
        right: 0;
    }

    /* ----------------------------------------------
       MULTI-COLUMN MEGA MENU SUPPORT
       (Add "mega-menu" CSS class to parent item in WP menu)
    ---------------------------------------------- */
    .site-nav .header-menu > li.mega-menu {
        position: static;
    }

    .site-nav .header-menu > li.mega-menu > .sub-menu {
        position: absolute;
        left: 0;
        right: 0;
        margin: 0 auto;

        max-width: 900px;
        background: rgba(3, 29, 51, 0.97);
        padding: 20px 25px;

        display: grid;
        grid-template-columns: repeat(2, minmax(150px, 1fr));
        gap: 15px 40px;

        border-radius: 14px;
        box-shadow: 0 0 30px rgba(0, 200, 255, 0.45);
    }

    .site-nav .header-menu > li.mega-menu .sub-menu li a {
        padding: 8px 0;
    }

    /* ----------------------------------------------
       SECTION HEADINGS (STATIC TEXT)
       Add CSS class "menu-heading" in WP menu item
    ---------------------------------------------- */
    .sub-menu .menu-heading {
        font-size: 13px;
        text-transform: uppercase;
        padding: 8px 20px 4px 20px;
        color: #00d8ff;
        opacity: 0.85;
        letter-spacing: 1px;
        pointer-events: none;
    }

    /* ----------------------------------------------
       DIVIDERS (HORIZONTAL LINES)
       Add CSS class "menu-divider" in WP menu item
    ---------------------------------------------- */
    .sub-menu .menu-divider {
        height: 1px;
        background: rgba(255,255,255,0.15);
        margin: 8px 15px;
        pointer-events: none;
    }
}
/* Bring main menu closer to logo */
.site-header .header-inner {
    display: flex;
    align-items: center;
    gap: 30px !important; /* adjust smaller to move closer */
}
.header-menu .menu-item-has-children > a:after {
    display: none !important;
}
/* Pull menu closer to logo */
header .header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* keep items grouped left */
    gap: 30px; /* reduce spacing - change to any value */
}

.site-nav {
    margin-left: 0 !important; 
}

/* If menu is still too far right, reduce gap further */
@media (min-width: 769px) {
    header .header-inner {
        gap: 20px !important;
    }
}
/* Position My Account top-right */
.header-account {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 !important;
    color: #ffffff !important;
    z-index: 9999;
}
.site-header {
    position: relative;
}

.header-inner {
    padding-right: 120px; /* gives room on the right for My Account */
}
/* Make header items align in 3 zones:
   Logo | Center Menu | My Account */
.site-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between; /* 3 columns layout */
    position: relative;
}

/* Center the main menu between Logo and My Account */
.site-nav {
    margin: 0 auto !important;
}

/* Ensure the menu stays centered and doesn't collide with anything */
.site-nav .header-menu {
    display: flex;
    justify-content: center;
    gap: 40px; /* adjust left/right spacing of menu items */
}

/* Make sure My Account stays pinned far-right */
.header-account {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}
/* ---------------------------------------------
   Specialised Searches Section
----------------------------------------------*/
.special-searches {
    width: 100%;
    background: #ffffff; /* keep main background white */
    padding: 50px 20px;
}

.special-searches h2 {
    text-align: center;
    font-size: 32px;
    color: #003b6f;
    margin-bottom: 35px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0,200,255,0.4);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
}

/* Grid container */
.special-search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

/* FULL CARD LINK */
.special-search-card {
    position: relative;
    display: block;
    background: linear-gradient(180deg, #011627, #02233e);
    border-radius: 18px;
    padding: 25px 20px;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(0,200,255,0.25);
    box-shadow: 0 0 25px rgba(0,200,255,0.25);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    transform-style: preserve-3d;
    animation: fadeInUp 0.6s ease forwards;
    cursor: pointer;
    overflow: hidden; /* keeps glow inside rounded corners */
}

/* Neon animated border using ::before */
.special-search-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid rgba(0, 200, 255, 0);
    box-shadow: 0 0 0 rgba(0, 200, 255, 0);
    pointer-events: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
}

.special-search-card:hover::before {
    border-color: rgba(0, 200, 255, 0.9);
    box-shadow: 0 0 25px rgba(0, 200, 255, 0.7);
    opacity: 1;
    animation: borderPulse 1.2s ease-in-out infinite alternate;
}

/* CATEGORY BADGE + pulse */
.special-search-card .badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0,200,255,0.15);
    color: #00d8ff;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 12px;
    border: 1px solid rgba(0,200,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: badgePulse 2.5s ease-out infinite;
}

/* TEXT */
.special-search-card h3 {
    font-size: 20px;
    margin: 40px 0 10px;
    color: #00d8ff;
}

.special-search-card p {
    font-size: 15px;
    opacity: 0.9;
}

/* Hover glow + 3D tilt */
.special-search-card:hover {
    box-shadow: 0 0 45px rgba(0,200,255,0.55);
    transform: translateY(-6px) rotateX(4deg) rotateY(-4deg);
}

/* Smooth fade-in animation */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Neon border pulse animation */
@keyframes borderPulse {
    0% {
        box-shadow: 0 0 15px rgba(0,200,255,0.4);
    }
    100% {
        box-shadow: 0 0 30px rgba(0,200,255,0.9);
    }
}

/* Badge light pulse */
@keyframes badgePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0,200,255,0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0,200,255,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0,200,255,0);
    }
}

/* Footer CTA */
.special-search-footer {
    text-align: center;
    margin-top: 35px;
}

.special-footer-btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 999px;
    background: linear-gradient(90deg, #00d8ff, #007bff);
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 0 18px rgba(0,200,255,0.5);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.special-footer-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(90deg, #00eaff, #009eff);
    box-shadow: 0 0 26px rgba(0,200,255,0.8);
}
.glass-btn {
  display: inline-block;
  padding: 14px 38px; /* match hero button size */
  font-size: 18px;
  font-weight: 600;
  color: #31d2ff; /* neon blue */
  text-decoration: none;
  border-radius: 40px; /* match hero button shape */
  background: rgba(0, 0, 0, 0.55); /* black glass */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    inset 0 0 15px rgba(255,255,255,0.05),
    0 0 22px rgba(0, 174, 255, 0.45); /* neon outer glow */

  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

/* Hover pop + stronger glow */
.glass-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 20px rgba(255,255,255,0.08),
    0 0 28px rgba(0, 174, 255, 0.7);
}

/* Animated shine overlay */
.glass-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;

  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.15) 50%,
    rgba(255,255,255,0) 100%
  );

  transform: skewX(-20deg);
  animation: shine 3s infinite;
}

/* Shine movement */
@keyframes shine {
  0%   { left: -120%; }
  50%  { left: 120%; }
  100% { left: 120%; }
}
.compare-all-btn {
    display: inline-block;
    padding: 14px 38px; /* identical to hero button */
    font-size: 18px;
    font-weight: 600;
    border-radius: 40px; /* identical to hero button */
    text-decoration: none;
    cursor: pointer;

    /* Neon blue text */
    color: #3cd8ff;
    letter-spacing: 0.3px;

    /* Black glass background */
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    /* Neon outline glow */
    border: 2px solid rgba(0, 200, 255, 0.6);
    box-shadow:
        0 0 18px rgba(0, 170, 255, 0.6),      /* outer glow */
        inset 0 0 12px rgba(255, 255, 255, 0.05); /* glossy inner sheen */

    /* Lifted effect */
    transform: translateY(0);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

/* Hover behaviour — same motion as hero button, but neon version */
.compare-all-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 26px rgba(0, 200, 255, 0.9),
        inset 0 0 14px rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 220, 255, 1);
}

/* Glossy animated shine swipe */
.compare-all-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -140%;
    width: 120%;
    h
.compare-all-btn {
    display: inline-block;

    /* EXACT SIZE MATCH TO HERO BUTTON */
    padding: 16px 48px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 40px;

    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;

    /* Solid black background */
    background: #000;

    /* Neon text */
    color: #35d4ff;

    /* Neon outline glow */
    border: 2px solid rgba(0, 200, 255, 0.8);
    box-shadow:
        0 0 18px rgba(0, 170, 255, 0.6),
        0 0 28px rgba(0, 170, 255, 0.4),
        inset 0 0 10px rgba(255, 255, 255, 0.06);

    /* Lifted effect */
    transform: translateY(0);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

/* Hover: lift + brighter neon */
.compare-all-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 30px rgba(0, 200, 255, 1),
        0 0 50px rgba(0, 200, 255, 0.8),
        inset 0 0 14px rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 220, 255, 1)
.deals-section-title {
    font-size: 32px;
    font-weight: 700;
    color: #0a1f33; /* your dark heading colour */
    text-align: center;
    margin: 60px auto 30px;
    max-width: 900px;
    line-height: 1.3;
    letter-spacing: 0.3px;
}

/* Optional blue highlight effect similar to your current style */
.deals-section-title span {
    color: #00c8ff;
}
.section-header {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    color: #0a1f33;
    margin: 60px auto 35px;
}

.section-header span {
    color: #00bfff; /* same blue as your accent headings */
}
.section-header-exact {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;

    /* EXACT colour from your existing heading */
    color: #00C8FF;

    margin: 60px auto 35px;
    letter-spacing: 0.2px;
}
.funnel-hero {
    background: linear-gradient(135deg, #061a2b, #0a2f4f);
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.funnel-hero h1 {
    font-size: 2.6rem;
    margin-bottom: 20px;
}

.funnel-intro {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.primary-funnel-btn {
    display: inline-block;
    padding: 16px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    background: #00ffd5;
    color: #041b2e;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 0 25px rgba(0,255,213,0.6);
}

.funnel-note {
    margin-top: 12px;
    font-size: 0.9rem;
    opacity: 0.85;
}
/* ===== TV & Broadband Funnel Hero ===== */

.tv-broadband-page .funnel-hero {
    background: linear-gradient(135deg, #061a2b, #0a2f4f);
    padding: 120px 20px 100px;
    text-align: center;
    color: #ffffff;
    margin-top: -20px;
}

.tv-broadband-page .funnel-hero .container {
    max-width: 820px;
    margin: 0 auto;
}

.tv-broadband-page .funnel-hero h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 25px;
}

.tv-broadband-page .funnel-hero p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: 0.95;
}

.primary-funnel-btn {
    display: inline-block;
    margin-top: 35px;
    padding: 18px 44px;
    font-size: 1.15rem;
    font-weight: 700;
    background: #00ffd5;
    color: #041b2e;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 0 35px rgba(0,255,213,0.6);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-funnel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 45px rgba(0,255,213,0.8);
}

.funnel-note {
    margin-top: 14px;
    font-size: 0.9rem;
    opacity: 0.85;
}

/* Optional divider spacing */
.tv-broadband-page .page-section:not(.funnel-hero) {
    padding: 70px 20px;
}
.homepage-routers {
  padding: 90px 20px;
}

.homepage-routers .router-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.homepage-routers .router-box {
  display: block;
  background: #ffffff;
  border-radius: 20px;
  padding: 46px 36px;
  text-decoration: none;
  color: #0a1a2a;
  box-shadow: 0 20px 55px rgba(0,0,0,0.1);
  transition: transform .25s ease, box-shadow .25s ease;
}

.homepage-routers .router-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.16);
}

.homepage-routers .router-box h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.homepage-routers .router-box p {
  font-size: 0.95rem;
  line-height: 1.65;
  opacity: 0.88;
}

.homepage-routers .router-box .cta {
  display: inline-block;
  margin-top: 22px;
  font-weight: 700;
}

/* Colour coding */
.router-box.broadband { box-shadow: inset 0 0 0 2px #0a2f4f, 0 20px 55px rgba(0,0,0,0.1); }
.router-box.broadband .cta { color: #0a2f4f; }

.router-box.mobile { box-shadow: inset 0 0 0 2px #00bcd4, 0 20px 55px rgba(0,0,0,0.1); }
.router-box.mobile .cta { color: #00bcd4; }

.router-box.sim { box-shadow: inset 0 0 0 2px #ffb703, 0 20px 55px rgba(0,0,0,0.1); }
.router-box.sim .cta { color: #ffb703; }

@media (max-width: 900px) {
  .homepage-routers .router-grid {
    grid-template-columns: 1fr;
  }
}
.rc-footer {
  background: linear-gradient(180deg, #061a33, #031226);
  color: rgba(255,255,255,0.85);
  padding: 70px 20px 0;
  font-size: 14px;
}

.rc-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 10px;
  padding-right: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 50px;
}


.rc-footer h4 {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 800;
}

.rc-footer p {
  line-height: 1.7;
  margin-bottom: 14px;
}

.rc-footer-disclaimer {
  font-size: 13px;
  opacity: 0.75;
}

.rc-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rc-footer ul li {
  margin-bottom: 10px;
}

.rc-footer a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.rc-footer a:hover {
  color: #6db4ff;
}

.rc-footer-contact li {
  margin-bottom: 16px;
}

.rc-footer-bottom {
  margin-top: 60px;
  padding: 22px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}
/* ===============================
   HARD FOOTER LAYOUT OVERRIDE
   (Theme-safe)
================================ */

/* ===============================
   Footer Full-Width Fix (Safe)
================================ */

.rc-footer {
  width: 100%;
  margin: 0;
}

/* Ensure footer is not constrained by theme wrappers */
body {
  overflow-x: hidden;
}


/* Safety reset */
.rc-footer {
  position: relative;
  left: 0;
  right: 0;
}
/* Footer column enforcement */
.rc-footer-col {
  min-width: 0;
}
/* 🔧 CRITICAL FIX: reset body layout so footer can center */
body {
  display: block !important;
}
.rc-footer {
  text-align: left;
}
/* 🚨 FIX: centre footer inside flex body */
.rc-footer {
  align-self: stretch;
}

.rc-footer-inner {
  align-self: center;
}
/* =========================================
   FORCE NORMAL DOCUMENT FLOW (FINAL FIX)
========================================= */

/* Neutralise any flex/grid page shell */
body,
.site-main {
  display: block !important;
  align-items: unset !important;
  justify-content: unset !important;
  max-width: none !important;
}

/* Ensure footer behaves as a block element */
.rc-footer {
  display: block;
  width: 100%;
}

/* Centre footer content definitively */
.rc-footer-inner {
  margin-left: auto !important;
  margin-right: auto !important;
}
.rc-footer {
  background: red !important;
}
