/*
Theme Name: SiteSignal
Description: A custom WordPress theme for SiteSignal - AI-powered website monitoring and visibility platform. Features a modern, professional design with animated elements and comprehensive landing page layout.
Author: DreamCore 360 LLC
Version: 1.0.0
Text Domain: sitesignal
Domain Path: /languages
Tags: business, custom-menu, featured-images, footer-widgets, full-width-template, theme-options, translation-ready, blog
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Custom CSS for Site Signal */

/* Root variables for consistent theming - Sample.html color scheme */
:root {
    /* Primary Colors from sample.html */
    --text: #0f172a;
    --muted: #475569;
    --primary: #1967d2;
    --primary-2: #0f57c5;
    --ring: rgba(25, 103, 210, .22);
    --card: rgba(255, 255, 255, .7);
    --radius: 18px;

    /* Legacy mappings for backward compatibility */
    --primary-color: var(--primary);
    --primary-dark: var(--primary-2);
    --secondary-color: #1D3E64;
    --accent-color: #95DAFF;
    --accent-2-color: #A5E2FF;

    /* Background & Surface */
    --background-color: #f6fbff;
    --surface-color: #FFFFFF;

    /* Text Colors */
    --text-color: var(--text);
    --text-muted: var(--muted);
    --border-color: #CBD2DC;

    /* Gray Scale */
    --gray-100: #F6F7F9;
    --gray-200: #ECEFF3;
    --gray-300: #DEE3EA;
    --gray-400: #CBD2DC;
    --gray-500: #B6C0CC;
    --gray-600: #8B97A6;
    --gray-800: #5E6979;

    /* Status Colors */
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --danger-color: #EF4444;
    --info-color: #95DAFF;

    /* Legacy mappings for existing styles */
    --dark-color: var(--text-color);
    --light-color: var(--surface-color);
    --bg-light: var(--gray-100);
}

/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Enhanced mobile overflow prevention - preserves sticky positioning */
@media (max-width: 768px) {

    /* Apply stronger overflow control to body on mobile only */
    body {
        overflow-x: hidden !important;
    }

    /* Prevent wide elements from causing overflow */
    img,
    video,
    iframe,
    embed,
    object {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Prevent text content from overflowing */
    pre,
    code {
        overflow-x: auto !important;
        max-width: 100% !important;
        word-wrap: break-word !important;
    }

    /* Prevent tables from causing overflow */
    table {
        width: 100% !important;
        table-layout: fixed !important;
    }

    /* Prevent forms from overflowing */
    .form-control,
    .form-select,
    input,
    textarea {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Fix logo size on mobile */
    .navbar-brand .custom-logo {
        height: 32px !important;
        width: auto !important;
        max-width: 150px !important;
        object-fit: contain !important;
    }
}

/* Aggressive mobile overflow fixes */
@media (max-width: 768px) {

    /* Force viewport width constraint */
    html {
        width: 100vw !important;
        overflow-x: hidden !important;
    }

    body {
        width: 100vw !important;
        overflow-x: hidden !important;
        position: relative !important;
    }

    /* Fix all containers and rows */
    .container,
    .container-fluid,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-xxl {
        width: 100% !important;
        max-width: 100vw !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }

    .row {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: -15px !important;
        margin-right: -15px !important;
        box-sizing: border-box !important;
    }

    /* Fix all columns */
    [class*="col-"],
    [class^="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }

    /* Fix navigation and header */
    .nav,
    .navbar,
    .nav-wrap,
    header {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    /* Fix cards and content blocks */
    .card,
    .ss-card,
    .hero-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    /* Fix any absolute or fixed positioned elements */
    [style*="position: absolute"],
    [style*="position: fixed"] {
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
}

/* Text color utilities */
.text-muted {
    color: var(--text-muted) !important;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Navigation Enhancements */
.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
    color: var(--text-color) !important;
}

.navbar-brand:hover {
    transform: scale(1.05);
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    font-weight: 400;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
    color: var(--text-color) !important;
    padding: 0.75rem 1rem;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

/* Center the pricing link */
.navbar-nav.mx-auto .nav-link {
    font-size: 1rem;
    font-weight: 400;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* Ensure proper spacing for mobile */
@media (max-width: 991px) {
    .navbar-nav.mx-auto {
        margin: 0 !important;
    }

    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-item {
        margin: 0.25rem 0;
    }

    /* Adjust hero section padding for mobile */
    .hero-section {
        padding-top: 100px;
    }
}

/* Hero Section - Sample.html Style */
.hero-section {
    min-height: 95vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 18px 20px;
    position: relative;
}

/* Sample.html Hero Components */
.eyebrow {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(25, 103, 210, .08);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    color: #0b4ea2;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.title {
    font-size: clamp(32px, 5.2vw, 56px);
    line-height: 1.06;
    margin: 0 0 8px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--text);
}

.title .accent {
    background: linear-gradient(90deg, #6aa8ff, #6ee7ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subtitle {
    max-width: 820px;
    margin: 0 auto 22px;
    color: var(--muted);
    font-size: clamp(15px, 2vw, 18px);
}

/* CTA card */
.card {
    max-width: 720px;
    margin: 22px auto 10px;
    padding: 22px;
    border-radius: var(--radius);
    background: var(--card);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 12px 30px rgba(2, 22, 60, .10);
}

/* Hero specific card with larger height and padding */
.hero-card {
    padding: 32px 28px 28px;
    margin: 22px auto 8px;
    border: none !important;
}

.card h3 {
    margin: 0 0 6px;
    font-size: 22px;
    color: var(--text);
}

.card p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 15px;
}

.form {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero card form - vertical layout */
.hero-card .form {
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* Bottom CTA card form - vertical layout (same as hero) */
.fcta-card .form {
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hero-card .input {
    width: 100%;
    max-width: 420px;
    height: 52px;
    flex: none;
}

.hero-card .btn {
    width: 100%;
    max-width: 420px;
}

/* Bottom CTA card input and button - same as hero */
.fcta-card .input {
    width: 100%;
    max-width: 420px;
    height: 52px;
    flex: none;
}

.fcta-card .btn {
    width: 100%;
    max-width: 420px;
}

.input {
    flex: 1 1 420px;
    min-width: 240px;
    max-width: 100%;
    height: 52px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1.5px solid rgba(15, 23, 42, .12);
    background: #fff;
    font-size: 15px;
    transition: border-color .2s, box-shadow .2s;
}

.input:focus {
    outline: 0;
    border-color: var(--primary);
    box-shadow: 0 0 0 6px var(--ring);
}

.btn {
    height: 52px;
    padding: 0 20px;
    border-radius: 14px;
    border: 0;
    cursor: pointer;
    background: linear-gradient(180deg, var(--primary), var(--primary-2));
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: .2px;
    box-shadow: 0 10px 24px rgba(25, 103, 210, .35);
}

.kickers {
    margin-top: 10px;
    color: #0b4ea2;
    font-size: 13px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.kickers .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #0b7dd7;
    opacity: .35;
}

/* Metrics */
.metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 880px;
    margin: 0 auto;
    padding: 16px 0;
}

.metric {
    padding: 10px 6px;
    color: var(--muted);
    font-size: 13px;
}

.metric strong {
    display: block;
    font-size: 18px;
    color: var(--text);
    margin-bottom: 4px;
}

/* Floating pill navigation from sample.html */
.nav-wrap {
    position: sticky;
    background: transparent;
    top: 16px;
    z-index: 40;
    display: flex;
    justify-content: center;
    padding: 0 16px;
    width: 100%;
    max-width: 100vw;
}

/* New Bootstrap Navbar Styling */
.nav-wrap .navbar {
    width: min(1100px, 100%);
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .06);
    box-shadow: 0 8px 30px rgba(2, 22, 60, .08);
    transition: all 0.3s ease;
}

/* Ensure mobile menu doesn't break the pill shape too ugly, or expands gracefully */
@media (max-width: 991px) {
    .nav-wrap .navbar {
        border-radius: 24px;
        /* Slightly less rounded on mobile when open if needed, but standard is fine */
        padding: 12px 16px;
    }

    /* When collapsed is open, maybe square off bottom or keep it? */
    /* Bootstrap adds .show to collapse. We might want to make the navbar full width or change radius */
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-color) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Custom logo styling */
.navbar-brand .custom-logo-link {
    display: flex;
    align-items: center;
    line-height: 1;
}

.navbar-brand .custom-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
}

/* Nav Links */
.navbar-nav .nav-link,
.navbar-nav .menu-item a {
    /* Adjust for WP menu output */
    display: block;
    padding: 0.5rem 1rem;
    color: #1f2937 !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .menu-item a:hover {
    color: var(--primary-color) !important;
}

/* Remove default link hover effect from previous CSS if it conflicts */
.navbar-nav .nav-link::after,
.navbar-nav .menu-item a::after {
    display: none;
}

/* Buttons */
.btn-sm {
    height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, .12);
    background: #fff;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    color: var(--text-color);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-pri {
    border: 0;
    background: black !important;
    color: #fff !important;
}

/* Mobile Toggler */
.navbar-toggler {
    border: none;
    padding: 0;
    width: 24px;
    height: 24px;
    position: relative;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
    outline: none;
}

/* Customize hamburger if needed, or use default Bootstrap icon */
/* .navbar-toggler-icon is handled by Bootstrap CSS */

/* Responsive Adjustments */
@media (max-width: 991px) {

    /* Critical: Force logo and toggle to stay in one row */
    .nav-wrap .navbar .container-fluid {
    flex-wrap: nowrap !important;      /* prevent logo pushing toggler down */
    align-items: center !important;
  }

  .nav-wrap .navbar .navbar-brand {
    display: inline-flex !important;   /* div behaves like inline row item */
    width: auto !important;            /* stop full-width block behaviour */
    flex: 0 0 auto !important;
    margin-right: auto !important;
  }

  .nav-wrap .navbar .navbar-toggler {
    flex: 0 0 auto !important;
    margin-left: 12px !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    border: none !important;
    background: #fff !important;
  }

  /* When menu opens, allow it to drop below nicely */
  .nav-wrap .navbar .navbar-collapse {
    flex-basis: auto !important;
  }

    .navbar-nav {
        text-align: center;
        gap: 8px;
        margin-bottom: 1rem;
    }

    .navbar-nav .menu-item {
        width: 100%;
    }

    /* Stack buttons on mobile */
    .d-flex.gap-2 {
        flex-direction: column;
        width: 100%;
    }

    .btn-sm {
        width: 100%;
        max-width: 200px;
        /* Limit width */
    }
}

/* Tablet responsive styles */
@media (max-width:768px) {
    .metrics {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
        gap: 8px;
    }

    .hero-section {
        min-height: 90vh;
        padding: 40px 16px 12px;
    }

    .title {
        font-size: clamp(30px, 6vw, 48px);
    }

    .hero-section::after {
        width: 500px;
        height: 500px;
    }

    .hero-card {
        padding: 28px 24px 24px;
    }
}

/* Mobile responsive styles for sample.html components */
@media (max-width:640px) {
    .btn {
        width: 100%;
    }

    .hero-section {
        padding: 32px 16px 8px;
        min-height: 85vh;
    }

    .title {
        font-size: clamp(24px, 7vw, 36px);
    }

    .metrics {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
        gap: 6px;
    }

    .nav {
        padding: 8px 10px;
    }

    .links {
        display: none;
    }

    .mb-8 {
        margin-bottom: 3rem !important;
    }

    .input {
        min-width: 100%;
    }

    .card {
        margin: 16px auto 8px;
        padding: 18px;
    }

    .hero-card {
        padding: 24px 20px 20px;
        margin: 16px auto 4px;
    }

    .subtitle {
        font-size: 16px;
    }

    .hero-section::after {
        width: 450px;
        height: 450px;
    }
}

/* Extra small mobile screens */
@media (max-width:480px) {
    .hero-section {
        padding: 24px 12px 6px;
        min-height: 80vh;
    }

    .title {
        font-size: clamp(22px, 8vw, 32px);
    }

    .card {
        padding: 16px;
    }

    .hero-card {
        padding: 20px 18px 18px;
        margin: 12px auto 2px;
    }

    .input {
        font-size: 14px;
        height: 48px;
    }

    .btn {
        height: 48px;
        font-size: 14px;
    }

    .metrics {
        max-width: 320px;
        margin: 0 auto;
    }

    .metric {
        font-size: 12px;
    }

    .hero-section::after {
        width: 400px;
        height: 400px;
    }
}

/* Mystical floating background elements - REMOVED */

/* Hide any potential watermark elements */
[class*="watermark"],
[id*="watermark"],
[class*="overlay"]:not(.modal):not(.dropdown):not(.tooltip),
[id*="overlay"]:not(.modal):not(.dropdown):not(.tooltip),
div[style*="position: absolute"][style*="top: 0"],
div[style*="position: fixed"][style*="top: 0"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Additional watermark hiding rules */
body::before,
html::before,
body::after,
html::after {
    display: none !important;
}

/* Hide any text overlays that might be watermarks */
*[style*="z-index: 999"],
*[style*="z-index: 9999"] {
    opacity: 0 !important;
}

/* Selective watermark removal - preserve legitimate backgrounds */

/* Hide any potential watermark text overlays */
div[style*="position: absolute"]:not(.dropdown):not(.modal):not(.tooltip),
div[style*="position: fixed"]:not(.dropdown):not(.modal):not(.tooltip),
span[style*="position: absolute"]:not(.dropdown):not(.modal):not(.tooltip),
span[style*="position: fixed"]:not(.dropdown):not(.modal):not(.tooltip) {
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
}

/* Target specific watermark patterns */
*[class*="watermark" i],
*[id*="watermark" i],
*[class*="demo" i]:not(.btn):not(.card):not(.container),
*[id*="demo" i]:not(.btn):not(.card):not(.container) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Hide the specific "Reporting" badge that appears as watermark */
.badge.bg-info.bg-opacity-10.text-info:has(.fa-chart-line),
.badge.bg-info.bg-opacity-10.text-info .fa-chart-line,
.badge.bg-info.bg-opacity-10.text-info {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Alternative selector for the reporting badge */
div.badge:has(i.fa-chart-line) {
    display: none !important;
}

/* More specific targeting for the reporting badge */
.badge.bg-info:contains("Reporting"),
.badge:contains("Reporting") {
    display: none !important;
}

/* Target any badge with chart-line icon */
.badge .fa-chart-line {
    display: none !important;
}

.badge:has(.fa-chart-line) {
    display: none !important;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-60px);
    }
}

@keyframes radarSweep {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes mysticalFloat {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.6;
    }

    25% {
        transform: translate(40px, -25px) rotate(90deg) scale(1.1);
        opacity: 0.9;
    }

    50% {
        transform: translate(25px, 30px) rotate(180deg) scale(0.9);
        opacity: 0.7;
    }

    75% {
        transform: translate(-30px, 15px) rotate(270deg) scale(1.05);
        opacity: 0.8;
    }

    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
        opacity: 0.6;
    }
}

@keyframes gentleFloat {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

.backdrop-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Card Enhancements */
.card {
    transition: all 0.3s ease;
    border-radius: 15px;
    border: 1px solid var(--gray-300);
    background-color: var(--surface-color);
    position: relative;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(4, 150, 221, 0.1) !important;
    border-color: var(--accent-color);
}

/* Main hero card - steady and clean */
.hero-section .card {
    box-shadow: 0 15px 35px rgba(4, 150, 221, 0.1);
}

.card .display-4 {
    transition: all 0.3s ease;
}

.card:hover .display-4 {
    transform: scale(1.1);
}

/* Feature card icon colors */
.card .bi-eye {
    color: var(--primary-color) !important;
}

.card .bi-cpu {
    color: var(--success-color) !important;
}

.card .bi-plugin {
    color: var(--info-color) !important;
}

.card .bi-grid {
    color: var(--secondary-color) !important;
}

/* Button Enhancements */
.btn {
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px 0 rgba(4, 150, 221, 0.3);
    background: linear-gradient(to bottom, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
}

.btn-primary {
    background: linear-gradient(to bottom, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(to bottom, var(--accent-color) 0%, var(--primary-color) 100%);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px 0 rgba(4, 150, 221, 0.4);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: linear-gradient(to bottom, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 8px 25px 0 rgba(4, 150, 221, 0.4);
}

.btn-light {
    background-color: white;
    border-color: rgba(15, 23, 42, .12);
    color: var(--text-color);
}

.btn-light:hover {
    background-color: var(--gray-100);
    border-color: rgba(15, 23, 42, .18);
    color: var(--text-color);
}

/* Dark Gradient Button for Sign Up - Top to Bottom Gradient */
.btn-dark-gradient {
    background: linear-gradient(to bottom, var(--accent-color) 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
    color: white;
    border: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(29, 62, 100, 0.3);
}

.btn-dark-gradient:hover {
    background: linear-gradient(to bottom, var(--accent-2-color) 0%, var(--accent-color) 30%, var(--primary-color) 70%, var(--primary-dark) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 62, 100, 0.4);
}

.btn-dark-gradient:focus {
    box-shadow: 0 0 0 0.2rem rgba(29, 62, 100, 0.25);
}

/* Clean form styling */
.hero-section .form-control-lg {
    border-radius: 15px;
    font-size: 1.1rem;
    padding: 20px 25px;
    border-color: var(--gray-300);
    transition: all 0.3s ease;
}

.hero-section .form-control-lg:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(4, 150, 221, 0.15);
    transform: none;
}

.hero-section .btn-lg {
    padding: 15px 25px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Pricing Cards */
.card.border-primary {
    position: relative;
    transform: scale(1.05);
}

.card.border-primary::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--info-color));
    border-radius: 15px;
    z-index: -1;
}

/* Form Enhancements */
.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    transform: translateY(-2px);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

/* Stats Section */
.h2 {
    font-size: 3rem;
    font-weight: 800;
}

/* Footer Enhancements */
footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    transform: translateY(-2px);
    opacity: 1 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.8rem;
    }

    .hero-section .min-vh-100 {
        min-height: 80vh;
    }

    .card.border-primary {
        transform: none;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Mystical Background Elements */
.mystical-bg {
    position: relative;
    overflow: hidden;
}

/* Performance optimizations for animations */
.mystical-bg::before,
.mystical-bg::after,
.floating-shape,
.hero-section::before,
.hero-section::after {
    will-change: transform;
}

/* Reduce animations on mobile for performance */
@media (max-width: 768px) {

    .mystical-bg::before,
    .mystical-bg::after,
    .floating-shape {
        animation-duration: 60s;
    }

    /* Adjust hero padding for mobile */
    .hero-section {
        padding-top: 100px;
        padding-bottom: 1rem;
    }
}

/* Mystical background elements - restored but only for specific sections */
.mystical-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(149, 218, 255, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 75% 75%, rgba(165, 226, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 10%, rgba(4, 150, 221, 0.08) 0%, transparent 35%);
    animation: mysticalFloat 45s ease-in-out infinite reverse;
    pointer-events: none;
}

.mystical-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(45deg, transparent 40%, rgba(4, 150, 221, 0.05) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(149, 218, 255, 0.05) 50%, transparent 60%);
    animation: gentleFloat 20s ease-in-out infinite;
    pointer-events: none;
}

/* Floating decorative shapes - restored for non-hero sections */
.floating-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.15;
    filter: blur(1px);
}

.floating-shape-1 {
    top: 10%;
    left: 10%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--primary-color) 0%, rgba(4, 150, 221, 0.3) 40%, transparent 70%);
    border-radius: 50%;
    animation: mysticalFloat 25s ease-in-out infinite;
}

.floating-shape-2 {
    top: 60%;
    right: 15%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, var(--accent-color) 0%, rgba(149, 218, 255, 0.3) 40%, transparent 70%);
    border-radius: 50%;
    animation: mysticalFloat 35s ease-in-out infinite reverse;
}

/* Hide floating shapes only in hero section to prevent watermark appearance */
.hero-section .floating-shape {
    display: none !important;
}

/* Section Spacing Utilities */
.py-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.mt-6 {
    margin-top: 5rem !important;
}

.mb-8 {
    margin-bottom: 6rem !important;
}

.mb-10 {
    margin-bottom: 8rem !important;
}

.mb-24 {
    margin-bottom: 18rem !important;
}

.mb-32 {
    margin-bottom: 8rem !important;
}

/* ==============================================
   AUDIT RESULTS PAGE STYLES
   ============================================== */

.audit-results-page {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
}

/* Video Section (Always visible) */
.video-section {
    padding: 20px 0;
}

/* Instructions Section (Hidden when results load) */
.instructions-section {
    padding: 20px 0;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
}

.instructions-section h2 {
    color: #333;
    font-weight: 600;
    margin-bottom: 30px;
}

.instructions-section .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.instructions-section .card-body {
    padding: 30px;
}

.instructions-section .card-title {
    color: #333;
    font-weight: 600;
    margin-bottom: 25px;
    font-size: 14px;
}

.instructions-section ul li {
    margin-bottom: 12px;
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.instructions-section .fas.fa-check {
    width: 16px;
}

.instructions-section .text-muted {
    font-size: 14px;
    font-style: italic;
}

@media (max-width: 768px) {
    .loading-section {
        padding: 40px 0;
    }

    .instructions-section .card-body {
        padding: 20px;
    }

    .video-container video {
        max-width: 100%;
        height: auto;
    }
}

/* Header Section */
.audit-header {
    margin-bottom: 40px;
}

.audit-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 20px;
}

.audit-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.domain-info {
    background: #1967d2;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
}

.audit-date {
    color: #64748b;
    font-weight: 500;
}

/* Overall Score Section */
.overall-score-section {
    margin-bottom: 50px;
}

.score-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid #e2e8f0;
}

.score-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.score-number {
    font-size: 4rem;
    font-weight: 800;
    color: #1967d2;
    line-height: 1;
}

.score-grade {
    font-size: 3rem;
    font-weight: 800;
    padding: 10px 20px;
    border-radius: 12px;
    background: #fee2e2;
    color: #dc2626;
    line-height: 1;
}

.score-grade.A,
.score-grade.B {
    background: #dcfce7;
    color: #16a34a;
}

.score-grade.C {
    background: #fef3c7;
    color: #d97706;
}

.score-details {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    color: #64748b;
    font-weight: 500;
}

/* Category Scores */
.category-scores-section {
    margin-bottom: 50px;
}

.category-score-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
    transition: transform 0.2s ease;
}

.category-score-card:hover {
    transform: translateY(-2px);
}

.category-score-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 15px;
}

.category-score {
    font-size: 2rem;
    font-weight: 800;
    color: #1967d2;
    margin-bottom: 5px;
}

.category-grade {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 8px;
    background: #fee2e2;
    color: #dc2626;
    display: inline-block;
}

/* Audit Sections */
.audit-sections {
    margin-bottom: 50px;
}

.audit-section {
    background: white;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.section-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-header h2 i {
    color: #1967d2;
    font-size: 1.3rem;
}

.section-header p {
    color: #64748b;
    margin: 0;
    font-size: 0.95rem;
}

.section-results {
    padding: 30px;
}

/* Category Summary Stats */
.category-summary {
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(229, 231, 235, 0.8);
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 15px 10px;
    background: white;
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    transition: all 0.2s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-item.passed {
    border-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.stat-item.failed {
    border-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.stat-item.average {
    border-color: #6366f1;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-item.passed .stat-number {
    color: #059669;
}

.stat-item.failed .stat-number {
    color: #dc2626;
}

.stat-item.average .stat-number {
    color: #4f46e5;
}

.stat-item:not(.passed):not(.failed):not(.average) .stat-number {
    color: #374151;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enhanced Check Cards */
.checks-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.check-card {
    background: white;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.check-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.check-card.passed {
    border-color: #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.check-card.failed {
    border-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.check-card.expanded {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.check-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: background-color 0.2s ease;
}

.check-header:hover {
    background: rgba(255, 255, 255, 0.5);
}

.check-main-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.check-title-area {
    flex: 1;
}

.check-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.check-id {
    font-size: 0.75rem;
    color: #64748b;
    background: rgba(100, 116, 139, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    font-family: 'Monaco', 'Menlo', monospace;
}

.check-status-area {
    display: flex;
    align-items: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.passed {
    background: #10b981;
    color: white;
}

.status-badge.failed {
    background: #ef4444;
    color: white;
}

.check-score-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.score-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    position: relative;
}

.score-circle.score-excellent {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.score-circle.score-good {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.score-circle.score-fair {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.score-circle.score-poor {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.score-number {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
}

.score-grade {
    font-size: 0.7rem;
    font-weight: 700;
    opacity: 0.9;
}

.score-bar-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 120px;
}

.score-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.score-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s ease;
    position: relative;
}

.score-fill.score-excellent {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

.score-fill.score-good {
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
}

.score-fill.score-fair {
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}

.score-fill.score-poor {
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
}

.score-text {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    text-align: center;
}

.expand-icon {
    color: #64748b;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.check-card.expanded .expand-icon {
    transform: rotate(180deg);
}

.check-details {
    display: none;
    padding: 0 20px 20px;
    border-top: 1px solid rgba(100, 116, 139, 0.2);
    background: rgba(255, 255, 255, 0.5);
}

.check-details h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #374151;
    margin: 20px 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.check-details h5 i {
    color: #6366f1;
    font-size: 0.85rem;
}

.check-description p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
    font-size: 0.9rem;
}

.recommendation-content {
    margin-bottom: 15px;
}

.recommendation-content span {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.4;
    font-weight: 500;
}

.rec-excellent {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.rec-good {
    background: #eff6ff;
    color: #1e3a8a;
    border: 1px solid #93c5fd;
}

.rec-fair {
    background: #fefce8;
    color: #92400e;
    border: 1px solid #fde047;
}

.rec-poor {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.rec-critical {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    font-weight: 600;
}

.impact-level {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.impact-low {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.impact-medium {
    background: #fefce8;
    color: #92400e;
    border: 1px solid #fde047;
}

.impact-high {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Premium Section */
.premium-section {
    background: linear-gradient(135deg, #1967d2 0%, #1e40af 100%);
    color: white;
}

.premium-section .section-header {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.premium-section .section-header h2,
.premium-section .section-header p {
    color: white;
}

.premium-gate {
    padding: 40px 30px;
    text-align: center;
}

.premium-content {
    max-width: 500px;
    margin: 0 auto;
}

.premium-icon {
    font-size: 3rem;
    color: #fbbf24;
    margin-bottom: 20px;
}

.premium-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.premium-content>p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.premium-benefits {
    margin-bottom: 30px;
}

.premium-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.premium-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 500;
}

.premium-benefits li i {
    color: #16a34a;
    background: white;
    border-radius: 50%;
    padding: 4px;
    font-size: 0.8rem;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-premium {
    background: #fbbf24;
    color: #1e293b;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.btn-premium:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.3);
}

/* Loading and No Results States */
.loading-state,
.no-results {
    text-align: center;
    padding: 40px;
    color: #64748b;
    font-style: italic;
}

/* Action Buttons */
.audit-actions {
    text-align: center;
    margin-top: 50px;
}

.audit-actions .btn {
    margin: 0 10px 10px;
    padding: 12px 24px;
    font-weight: 600;
}

/* Error State */
.alert {
    border-radius: 12px;
    border: none;
    padding: 30px;
}

.alert-danger {
    background: #fef2f2;
    color: #dc2626;
}

.alert-heading {
    color: #dc2626;
    font-weight: 700;
}

/* Audit Results Mobile Responsive */
@media (max-width: 768px) {
    .audit-title {
        font-size: 2rem;
    }

    .audit-meta {
        flex-direction: column;
        gap: 10px;
    }

    .score-card {
        padding: 30px 20px;
    }

    .score-display {
        flex-direction: column;
        gap: 15px;
    }

    .score-number {
        font-size: 3rem;
    }

    .score-grade {
        font-size: 2.5rem;
    }

    .score-details {
        flex-direction: column;
        gap: 10px;
    }

    .category-score-card {
        padding: 20px;
    }

    .section-header {
        padding: 20px 20px 15px;
    }

    .section-results {
        padding: 20px;
    }

    .check-header {
        padding: 15px;
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .check-main-info {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .check-title-area {
        text-align: center;
    }

    .check-status-area {
        justify-content: center;
    }

    .check-score-area {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .score-bar-container {
        min-width: 200px;
    }

    .check-details {
        padding: 0 15px 15px;
    }

    .check-details h5 {
        font-size: 0.85rem;
        margin: 15px 0 8px 0;
    }

    .recommendation-content span {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .impact-level {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .category-summary {
        margin-bottom: 20px;
        padding: 15px;
    }

    .summary-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-item {
        padding: 12px 8px;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .premium-gate {
        padding: 30px 20px;
    }

    .premium-content h3 {
        font-size: 1.5rem;
    }

    .audit-actions .btn {
        width: 100%;
        margin: 0 0 10px;
    }

    .py-6 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .mt-6 {
        margin-top: 3rem !important;
    }

    .mb-8 {
        margin-bottom: 4rem !important;
    }

    .mb-10 {
        margin-bottom: 5rem !important;
    }

    /* Adjust subsection spacing on mobile */
    .feature-subsection.mb-8 {
        margin-bottom: 3rem !important;
    }

    .mb-24 {
        margin-bottom: 8rem !important;
    }

    .mb-32 {
        margin-bottom: 5rem !important;
    }

    /* Hide sticky illustration on mobile; use per-section illustration instead */
    .sticky-illustration {
        display: none;
    }

    [data-mobile-illustration] svg {
        width: 100%;
        height: auto;
        min-height: 250px;
        max-height: 300px;
        object-fit: contain;
    }

    /* Handle scaled BrandRadar SVG on mobile */
    [data-mobile-illustration] svg[style*="scale(1.5)"] {
        min-height: 300px;
        max-height: 400px;
        margin: -10px 0;
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--info-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Sticky illustration on the right in features section */
.sticky-illustration {
    position: sticky;
    top: 100px;
    /* keep below navbar */
}

/* Ensure the features row gives enough height for sticky to work until content ends */
#home-features .row,
#features .row {
    align-items: flex-start;
}

/* SVG states for different subsections */
#home-svg-container svg,
#svg-container svg {
    width: 100%;
    height: auto;
    max-width: 100%;
    min-height: 400px;
}

/* Special handling for scaled BrandRadar SVG */
#home-svg-container svg[style*="scale(1.5)"],
#svg-container svg[style*="scale(1.5)"] {
    width: 100%;
    height: auto;
    min-height: 500px;
    margin: -20px 0;
}

/* Make SVGs fill more space on larger screens */
@media (min-width: 992px) {

    #home-svg-container,
    #svg-container {
        padding: 0.5rem !important;
    }

    #home-svg-container svg,
    #svg-container svg {
        width: 100%;
        max-width: none;
        height: 450px;
        object-fit: contain;
    }

    /* Special handling for scaled BrandRadar SVG on desktop */
    #home-svg-container svg[style*="scale(1.5)"],
    #svg-container svg[style*="scale(1.5)"] {
        height: 550px;
        margin: -30px 0;
    }
}

.shadow-primary {
    box-shadow: 0 15px 35px rgba(13, 110, 253, 0.1);
}

.border-radius-lg {
    border-radius: 15px;
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Progress Indicator */
.progress-container {
    position: fixed;
    top: 0;
    z-index: 1051;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
}

.progress-bar-scroll {
    height: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--info-color));
    width: 0%;
    transition: width 0.1s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056d3;
}

/* ================================================
   NEW AUDIT RESULTS LAYOUT STYLES
   ================================================ */

/* Centered Header */
.audit-header {
    text-align: center;
    padding: 24px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 32px;
}

.header-score-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
    display: block;
}

.audit-title {
    font-size: 28px;
    font-weight: 600;
    margin: 8px 0;
    color: var(--text-color);
}

.audit-domain {
    font-size: 18px;
    color: var(--text-color);
    margin: 8px 0;
    font-weight: 500;
}

.audit-date {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 4px;
}

/* Minimal Check Items */
.minimal-checks-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.minimal-check-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0;
    background: transparent;
    border: none;
    margin: 0;
}

.check-content-minimal {
    flex: 1;
    margin-right: 20px;
}

.check-title-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 4px;
}

.check-title-minimal {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.4;
}

.check-status-minimal {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    flex-shrink: 0;
}

.check-status-minimal.passed {
    color: #28a745;
}

.check-status-minimal.opportunity {
    color: #ffc107;
}

.check-description-minimal {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
    font-weight: 400;
}

.check-score-minimal {
    flex-shrink: 0;
    text-align: right;
}

.score-percentage-minimal {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

.check-recommendations-minimal {
    margin-top: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.check-recommendations-minimal strong {
    color: var(--text-color);
    font-weight: 500;
}

.check-recommendations-minimal ul {
    margin: 4px 0 0 0;
    padding-left: 16px;
}

.check-recommendations-minimal li {
    margin-bottom: 2px;
    line-height: 1.4;
}

.recommendation-item {
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.recommendation-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.recommendation-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 14px;
}

.recommendation-item p {
    margin: 0;
    line-height: 1.5;
    color: var(--text-muted);
    font-size: 14px;
}

/* Accordion Customizations */
.audit-sections.accordion {
    border: none;
}

.audit-section.accordion-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px !important;
    margin-bottom: 16px;
    overflow: hidden;
}

.accordion-header {
    margin-bottom: 0;
}

.accordion-button {
    background: #f8f9fa;
    border: none;
    font-weight: 600;
    font-size: 14px;
    padding: 16px 20px;
    color: var(--text-color);
    border-radius: 0 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: white;
    box-shadow: none;
}

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

.accordion-button::after {
    background-size: 1.2rem;
    margin-left: auto;
    margin-right: 0;
}

.category-title {
    flex: 1;
    text-align: left;
    font-size: 14px;
}

.category-score {
    font-size: 14px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-color);
    padding: 4px 12px;
    border-radius: 15px;
    margin-right: 12px;
}

.accordion-button:not(.collapsed) .category-score {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-color);
}

.accordion-body {
    padding: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .audit-header {
        padding: 16px 0;
    }

    .header-score-number {
        font-size: 2.5rem;
    }

    .audit-title {
        font-size: 24px;
    }

    .audit-domain {
        font-size: 16px;
    }

    .minimal-check-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .check-content-minimal {
        margin-right: 0;
        width: 100%;
    }

    .check-score-minimal {
        align-self: flex-end;
    }

    .category-score {
        font-size: 0.9rem;
        padding: 3px 10px;
    }
}

/* ===================================
   NEWSLETTER SECTION STYLES (MC4WP)
   =================================== */

.newsletter-section {
    background: linear-gradient(135deg, #1967d2 0%, #0f57c5 100%);
    padding: 80px 20px;
    margin: 60px 0 0 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.newsletter-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Newsletter Header */
.newsletter-header {
    text-align: center;
    margin-bottom: 50px;
}

.newsletter-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-icon i {
    font-size: 32px;
    color: white;
}

.newsletter-title {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.newsletter-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Newsletter Form */
.newsletter-form-wrapper {
    margin-bottom: 50px;
}

.newsletter-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-section .input-group {
    display: flex;
    gap: 0;
    background: white;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.newsletter-section .input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.newsletter-section .input-icon {
    position: absolute;
    left: 20px;
    color: #94a3b8;
    font-size: 16px;
    z-index: 3;
}

.newsletter-input {
    width: 100%;
    border: none;
    outline: none;
    padding: 20px 20px 20px 50px;
    font-size: 16px;
    background: transparent;
    color: #1e293b;
    border-radius: 12px;
}

.newsletter-input::placeholder {
    color: #94a3b8;
}

.newsletter-btn {
    background: linear-gradient(135deg, #1967d2, #0f57c5);
    border: none;
    padding: 20px 32px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(25, 103, 210, 0.3);
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(25, 103, 210, 0.4);
}

.newsletter-btn:active {
    transform: translateY(0);
}

.newsletter-section .btn-icon {
    transition: transform 0.3s ease;
}

.newsletter-btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Trust Indicators */
.newsletter-trust {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.newsletter-trust .trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: black;
    font-size: 14px;
}

.newsletter-trust .trust-item i {
    color: #10b981;
    font-size: 16px;
}

/* Newsletter Benefits */
.newsletter-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.newsletter-benefits .benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.newsletter-benefits .benefit-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-benefits .benefit-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.newsletter-benefits .benefit-icon i {
    font-size: 20px;
    color: white;
}

.newsletter-benefits .benefit-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin: 0 0 8px 0;
}

.newsletter-benefits .benefit-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
}

/* Newsletter Mobile Responsive */
@media (max-width: 768px) {
    .newsletter-section {
        padding: 60px 20px;
    }

    .newsletter-title {
        font-size: 32px;
    }

    .newsletter-subtitle {
        font-size: 16px;
    }

    .newsletter-section .input-group {
        flex-direction: column;
        gap: 8px;
    }

    .newsletter-btn {
        justify-content: center;
    }

    .newsletter-trust {
        gap: 20px;
    }

    .newsletter-trust .trust-item {
        font-size: 13px;
    }

    .newsletter-benefits {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .newsletter-benefits .benefit-item {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .newsletter-section {
        padding: 50px 15px;
    }

    .newsletter-title {
        font-size: 28px;
    }

    .newsletter-input {
        padding: 18px 18px 18px 45px;
        font-size: 15px;
    }

    .newsletter-btn {
        padding: 18px 28px;
        font-size: 15px;
    }

    .newsletter-trust {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

/* MC4WP Form Integration Styles */
.newsletter-section .mc4wp-form {
    margin: 0;
}

.newsletter-section .mc4wp-form-fields {
    display: flex;
    gap: 0;
    background: white;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.newsletter-section .mc4wp-form-fields p {
    margin: 0;
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.newsletter-section .mc4wp-form-fields p:first-child {
    flex: 1;
}

.newsletter-section .mc4wp-form-fields p:last-child {
    flex: none;
}

.newsletter-section .mc4wp-form-fields input[type="email"] {
    width: 100%;
    border: none;
    outline: none;
    padding: 20px 20px 20px 50px;
    font-size: 16px;
    background: transparent;
    color: #1e293b;
    border-radius: 12px;
}

.newsletter-section .mc4wp-form-fields input[type="email"]::placeholder {
    color: #94a3b8;
}

.newsletter-section .mc4wp-form-fields input[type="submit"] {
    background: linear-gradient(135deg, #1967d2, #0f57c5);
    border: none;
    padding: 20px 32px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(25, 103, 210, 0.3);
    white-space: nowrap;
}

.newsletter-section .mc4wp-form-fields input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(25, 103, 210, 0.4);
}

.newsletter-section .mc4wp-form-fields input[type="submit"]:active {
    transform: translateY(0);
}

/* Add email icon to the input field */
.newsletter-section .mc4wp-form-fields p:first-child::before {
    content: '\f0e0';
    /* Font Awesome envelope icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 20px;
    color: #94a3b8;
    font-size: 16px;
    z-index: 3;
    pointer-events: none;
}

/* Success and Error Messages */
.newsletter-section .mc4wp-alert {
    margin: 20px 0;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 14px;
    text-align: center;
}

.newsletter-section .mc4wp-alert.mc4wp-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.newsletter-section .mc4wp-alert.mc4wp-error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Mobile responsive for MC4WP form */
@media (max-width: 768px) {
    .newsletter-section .mc4wp-form-fields {
        flex-direction: column;
        gap: 8px;
    }

    .newsletter-section .mc4wp-form-fields input[type="submit"] {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .newsletter-section .mc4wp-form-fields input[type="email"] {
        padding: 18px 18px 18px 45px;
        font-size: 15px;
    }

    .newsletter-section .mc4wp-form-fields input[type="submit"] {
        padding: 18px 28px;
        font-size: 15px;
    }
}

/* End of newsletter section styles */

/* Scan Completion Bootstrap Modal Customization */
#scanCompletionModal {
    z-index: 10000 !important;
}

#scanCompletionModal .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

#scanCompletionModal .modal-backdrop {
    z-index: 9999 !important;
}

#scanCompletionModal .modal-header {
    padding: 2rem 2rem 0 2rem;
}

#scanCompletionModal .modal-body {
    padding: 1rem 2rem;
}

#scanCompletionModal .modal-footer {
    padding: 0 2rem 2rem 2rem;
}

#scanCompletionModal .modal-title {
    font-weight: 600;
    color: #333;
}

#scanCompletionModal .fas.fa-check-circle {
    animation: bounceIn 0.6s ease-in-out;
}

/* Animation for the success icon */
@keyframes bounceIn {

    0%,
    20%,
    60%,
    100% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.1);
    }

    80% {
        transform: scale(1.05);
    }
}

/* Mobile responsive for modal */
@media (max-width: 576px) {

    #scanCompletionModal .modal-header,
    #scanCompletionModal .modal-body,
    #scanCompletionModal .modal-footer {
        padding: 1.5rem 1rem;
    }

    #scanCompletionModal .modal-title {
        font-size: 1.3rem;
    }

    #scanCompletionModal .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    #scanCompletionModal .modal-footer {
        flex-direction: column;
    }
}

/* Feature Request Section Styles */
.ss-feature-request {
    padding: 72px 20px;
    background: linear-gradient(180deg, #f7fbff, #ffffff);
}

.ss-fr-wrap {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

#feature-request-title {
    font-size: clamp(24px, 3.4vw, 34px);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
    color: #1e293b;
}

.ss-fr-content {
    color: #475569;
    max-width: 760px;
    margin: 0 auto 32px;
    font-size: 15.5px;
    line-height: 1.6;
}

.ss-fr-button {
    display: inline-block;
    background: linear-gradient(180deg, #1967d2, #0f57c5);
    color: #fff;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 22px rgba(25, 103, 210, 0.28);
}

.ss-fr-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(25, 103, 210, 0.4);
    color: #fff;
    text-decoration: none;
}

.ss-fr-icon {
    margin-right: 8px;
    font-size: 18px;
}

/* Mobile responsive for feature request section */
@media (max-width: 768px) {
    .ss-feature-request {
        padding: 48px 16px;
    }

    #feature-request-title {
        font-size: clamp(20px, 4vw, 28px);
    }

    .ss-fr-content {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .ss-fr-button {
        padding: 14px 24px;
        font-size: 15px;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .ss-feature-request {
        padding: 32px 12px;
    }

    .ss-fr-button {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Contact Page Styles */
.contact-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    padding: 120px 20px 60px;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-header h1 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.contact-header p {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 48px;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.contact-form-section {
    margin-bottom: 48px;
}

.contact-form {
    background: white;
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 12px 30px rgba(2, 22, 60, 0.10);
    border: 1px solid rgba(15, 23, 42, 0.08);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    backdrop-filter: blur(12px);
}

.contact-form form {
    text-align: left;
    margin-top: 32px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
    font-size: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fff;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #1967d2 !important;
    outline: none;
    box-shadow: 0 0 0 6px rgba(25, 103, 210, 0.1);
    transform: translateY(-1px);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    background: linear-gradient(180deg, #1967d2, #0f57c5);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 24px rgba(25, 103, 210, 0.35);
    width: 100%;
    letter-spacing: 0.2px;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(25, 103, 210, 0.4);
}

.contact-form button:active {
    transform: translateY(0);
}

.contact-card {
    background: white;
    border-radius: 18px;
    padding: 32px 24px;
    box-shadow: 0 12px 30px rgba(2, 22, 60, 0.10);
    border: 1px solid rgba(15, 23, 42, 0.08);
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(2, 22, 60, 0.15);
}

.contact-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #1967d2, #0f57c5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
    box-shadow: 0 8px 20px rgba(25, 103, 210, 0.3);
}

.contact-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.contact-card p {
    color: #64748b;
    margin-bottom: 16px;
    line-height: 1.5;
}

.contact-card a {
    color: #1967d2;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: #0f57c5;
}

.contact-card small,
.response-time {
    color: #10B981;
    margin-top: 8px;
    display: block;
    font-weight: 600;
}

.trust-section {
    background: #f8fffe;
    border-radius: 18px;
    padding: 40px 32px;
    margin: 48px 0;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.trust-section h3 {
    font-size: 24px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.trust-item {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.trust-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.trust-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #10B981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.trust-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.trust-item p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.company-info {
    background: white;
    border: 2px solid #d1fae5;
    border-radius: 18px;
    padding: 32px;
    margin: 32px 0;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.1);
}

.company-info h3 {
    font-size: 20px;
    font-weight: 800;
    color: #10B981;
    margin-bottom: 16px;
}

.company-info p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.company-info p:not(:last-child) {
    margin-bottom: 16px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 32px;
    transition: color 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(100, 116, 139, 0.1);
}

.back-link:hover {
    color: #1967d2;
    background: rgba(25, 103, 210, 0.1);
}

.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-weight: 500;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

/* Mobile responsive for contact page */
@media (max-width: 768px) {
    .contact-page {
        padding: 100px 16px 40px;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 640px) {
    .contact-page {
        padding: 80px 12px 32px;
    }

    .contact-form {
        padding: 24px 20px;
    }

    .contact-header h1 {
        font-size: clamp(24px, 5vw, 32px);
    }

    .contact-header p {
        font-size: 16px;
    }

    .company-info {
        padding: 24px 20px;
    }

    .trust-section {
        padding: 32px 20px;
    }
}

/* Contact Form 7 Styles */
.ss-contact {
    margin-top: 32px;
}

.ss-contact .ss-grid {
    display: grid;
    gap: 20px;
}

.ss-contact .ss-2cols {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ss-contact .ss-label {
    display: block;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
    font-size: 14px;
}

.ss-contact input[type="text"],
.ss-contact input[type="email"],
.ss-contact select,
.ss-contact textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fff;
    font-family: inherit;
    box-sizing: border-box;
}

.ss-contact input[type="text"]:focus,
.ss-contact input[type="email"]:focus,
.ss-contact select:focus,
.ss-contact textarea:focus {
    border-color: #1967d2 !important;
    outline: none;
    box-shadow: 0 0 0 6px rgba(25, 103, 210, 0.1);
    transform: translateY(-1px);
}

.ss-contact textarea {
    resize: vertical;
    min-height: 120px;
}

.ss-contact .ss-submit-wrap {
    margin-top: 8px;
}

.ss-contact .ss-submit {
    background: linear-gradient(180deg, #1967d2, #0f57c5);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 24px rgba(25, 103, 210, 0.35);
    width: 100%;
    letter-spacing: 0.2px;
}

.ss-contact .ss-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(25, 103, 210, 0.4);
}

.ss-contact .ss-submit:active {
    transform: translateY(0);
}

/* Contact Form 7 validation styles */
.ss-contact .wpcf7-not-valid-tip {
    color: #ef4444;
    font-size: 13px;
    margin-top: 4px;
    display: block;
}

.ss-contact .wpcf7-not-valid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.1) !important;
}

.ss-contact .wpcf7-validation-errors {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-weight: 500;
}

.ss-contact .wpcf7-mail-sent-ok {
    background: #d1fae5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-weight: 500;
}

.ss-contact .wpcf7-spinner {
    display: none;
}

/* Mobile responsive for Contact Form 7 */
@media (max-width: 768px) {
    .ss-contact .ss-2cols {
        grid-template-columns: 1fr;
    }
}

/* Additional Contact Form 7 styling for better integration */
.contact-form .wpcf7-form {
    text-align: left;
}

.contact-form .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 20px;
}

.contact-form .wpcf7-form-control-wrap:last-child {
    margin-bottom: 0;
}

.contact-form .wpcf7-form-control-wrap .ss-grid {
    margin-bottom: 0;
}

.contact-form .wpcf7-form-control-wrap .ss-grid .wpcf7-form-control-wrap {
    margin-bottom: 0;
}

/* Breadcrumb Navigation Styles */
.breadcrumb-nav {
    margin-bottom: 48px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.breadcrumb-item {
    color: #64748b;
}

.breadcrumb-item a,
.breadcrumb-link {
    color: #1967d2 !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
    cursor: pointer;
}

.breadcrumb-item a:hover,
.breadcrumb-link:hover {
    color: #0f57c5 !important;
    text-decoration: none !important;
}

.breadcrumb-item.active {
    color: #1e293b;
    font-weight: 500;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "›";
    color: #94a3b8;
    font-weight: bold;
    margin: 0 8px;
}

/* Page Header Styles */
.page-header {
    text-align: center !important;
    padding: 40px 20px 40px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    margin-top: 70px !important;
    /* Account for fixed navbar */
}

.page-header h1 {
    font-size: clamp(32px, 4vw, 48px) !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    margin-bottom: 16px !important;
    letter-spacing: -0.02em !important;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.page-header .page-description {
    font-size: 18px !important;
    color: #64748b !important;
    margin-bottom: 32px !important;
    line-height: 1.6 !important;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
}

.page-header .breadcrumb-nav {
    margin-bottom: 0;
}

/* Ensure all page header content is centered */
.page-header * {
    text-align: center !important;
}

.page-header .container * {
    text-align: center !important;
}

.page-header .last-updated {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    text-align: center !important;
    color: #475569;
    font-size: 14px;
    margin-top: 24px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* Mobile responsive for breadcrumbs */
@media (max-width: 768px) {
    .page-header {
        padding: 32px 16px 32px;
        margin-top: 120px;
    }

    .page-header h1 {
        font-size: clamp(24px, 5vw, 32px);
    }

    .page-header .page-description {
        font-size: 16px;
    }

    .breadcrumb {
        font-size: 13px;
    }

    .breadcrumb-item+.breadcrumb-item::before {
        margin: 0 6px;
    }

    .page-header .last-updated {
        margin-top: 16px;
        padding: 12px;
        font-size: 13px;
    }
}
