/*
Theme Name: My Driving Instructor
Theme URI: https://mydrivinginstructor.org
Author: My Driving Instructor
Author URI: https://mydrivinginstructor.org
Description: Custom theme for My Driving Instructor - Find driving instructors near you in the UK
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mydrivinginstructor
Tags: one-column, custom-menu, featured-images, full-width-template
*/

/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #0022D2;
    --primary-dark: #1E009F;
    --secondary: #FFDAFF;
    --text: #262626;
    --text-light: #828386;
    --background: #ffffff;
    --background-alt: #F8F8F8;
    --border: #EDEDED;
    --success: #20AA47;
    --gradient: linear-gradient(135deg, #0022D2 0%, #1E009F 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--background);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 12px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    margin-top: 12px;
    z-index: 1000;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 8px;
}

.nav-dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-dropdown-menu li a:hover {
    background: var(--light);
    color: var(--primary);
}

.nav-dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 14px rgba(0, 34, 210, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 34, 210, 0.5);
}

.btn-secondary {
    background: var(--text);
    color: white;
}

.btn-secondary:hover {
    background: #374151;
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-white:hover {
    background: #f3f4f6;
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.register-interest {
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* One App Banner */
.one-app-banner {
    padding: 24px 0;
    background: var(--secondary);
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
}

.banner-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
    flex-shrink: 0;
}

.banner-content span {
    font-size: 1.05rem;
    color: var(--text);
}

/* Feature Tabs */
.feature-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
}

.tab-btn {
    padding: 14px 32px;
    border: 2px solid var(--border);
    background: white;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s;
}

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

.tab-btn.active {
    background: var(--gradient);
    border-color: transparent;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 25px;
    background: #1a1a2e;
    border-radius: 15px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--secondary) 0%, #ffffff 30%);
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
}

.phone-screen .app-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(0, 34, 210, 0.2);
}

.phone-screen .app-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.phone-screen .app-tagline {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

.phone-screen .mock-card {
    width: 85%;
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.phone-screen .mock-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.phone-screen .mock-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 50%;
}

.phone-screen .mock-lines {
    flex: 1;
}

.phone-screen .mock-line {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    margin-bottom: 6px;
}

.phone-screen .mock-line:last-child {
    width: 60%;
    margin-bottom: 0;
}

.phone-screen .mock-btn {
    width: 100%;
    height: 36px;
    background: var(--gradient);
    border-radius: 8px;
}

.app-preview {
    width: 200px;
    height: 200px;
    border-radius: 40px;
    display: none;
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--background);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 32px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(0, 34, 210, 0.1) 0%, rgba(30, 0, 159, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: var(--background-alt);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.step {
    text-align: center;
    padding: 24px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Instructors Section */
.instructors {
    padding: 100px 0;
    background: var(--background);
}

.instructors-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.instructors-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.instructors-text > p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.benefits-list {
    list-style: none;
    text-align: left;
    margin-bottom: 40px;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 1.05rem;
}

.benefits-list svg {
    width: 24px;
    height: 24px;
    color: var(--success);
    flex-shrink: 0;
}

/* Locations Section */
.locations-section {
    padding: 80px 0;
    background: var(--background);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 40px;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.location-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s ease;
}

.location-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 34, 210, 0.1);
    transform: translateY(-2px);
}

.location-name {
    font-weight: 500;
}

.location-arrow {
    color: var(--primary);
    font-size: 1.25rem;
}

.locations-cta {
    text-align: center;
    margin-top: 24px;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 32px;
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: var(--gradient);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.cta p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Notify Form */
.notify-form {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    max-width: 500px;
    margin: 0 auto;
}

.notify-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
}

.notify-form input[type="email"]:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.notify-privacy {
    font-size: 0.875rem !important;
    margin-top: 16px !important;
    margin-bottom: 0 !important;
    opacity: 0.8;
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background: #1f2937;
    color: white;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 100px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: #9ca3af;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #374151;
    text-align: center;
}

.footer-bottom p {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Support Page Styles */
.support-hero {
    padding: 140px 0 60px;
    text-align: center;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.support-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.support-hero p {
    color: var(--text-light);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.support-content {
    padding: 60px 0 100px;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.support-card {
    padding: 32px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 20px;
    text-align: center;
}

.support-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(0, 34, 210, 0.1) 0%, rgba(30, 0, 159, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.support-card-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.support-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.support-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.support-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.support-card a:hover {
    text-decoration: underline;
}

.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
}

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
    cursor: pointer;
}

.faq-answer {
    color: var(--text-light);
    line-height: 1.7;
}

/* Legal Content Styles */
.legal-content {
    padding: 140px 0 80px;
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.legal-content .last-updated {
    color: var(--text-light);
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 16px;
}

.legal-content h3 {
    font-size: 1.125rem;
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-content p,
.legal-content li {
    color: var(--text-light);
    margin-bottom: 16px;
}

.legal-content ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-content a {
    color: var(--primary);
}

/* =====================================================
   LOCATION PAGE STYLES - Redesigned
   ===================================================== */

/* Hero Section */
.loc-hero {
    padding: 120px 0 80px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.loc-hero-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.loc-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 34, 210, 0.08);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.loc-badge svg {
    color: var(--primary);
}

.loc-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loc-hero-text {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 28px;
}

.loc-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 32px;
}

.loc-hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
}

.loc-hero-feature svg {
    color: var(--success);
    flex-shrink: 0;
}

.loc-hero-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.loc-hero-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

/* Hero Stats Card */
.loc-hero-visual {
    display: flex;
    justify-content: center;
}

.loc-stats-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 34, 210, 0.12);
    border: 1px solid rgba(0, 34, 210, 0.08);
    width: 100%;
}

.loc-stats-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.loc-stats-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loc-stats-icon svg {
    color: white;
}

.loc-stats-header span {
    font-weight: 600;
    color: var(--text);
}

.loc-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.loc-stat-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 14px 12px;
    background: var(--background-alt);
    border-radius: 12px;
    min-height: 100px;
}

.loc-stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
    line-height: 1.2;
    word-break: break-word;
}

.loc-stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.loc-stats-disclaimer {
    font-size: 0.7rem;
    color: #9ca3af;
    text-align: center;
    margin: 16px 0 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    line-height: 1.3;
    font-style: italic;
    opacity: 0.8;
}

/* Trust Bar */
.loc-trust-bar {
    background: var(--secondary);
    padding: 20px 0;
}

.loc-trust-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.loc-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}

.loc-trust-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* Location Sections */
.loc-section {
    padding: 80px 0;
}

.loc-section-alt {
    background: var(--background-alt);
}

.loc-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.loc-section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.loc-section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Service Content */
.service-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
}

.service-content p {
    margin-bottom: 1.5rem;
}

.service-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: var(--text);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border);
}

.service-content h2:first-child {
    margin-top: 0;
}

.service-content h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--text);
}

.service-content h3:first-child {
    margin-top: 0;
}

.service-content ul,
.service-content ol {
    margin: 1.5rem 0;
    padding: 0;
    list-style: none;
}

.service-content ul li,
.service-content ol li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
}

.service-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

.service-content ol {
    counter-reset: item;
}

.service-content ol li::before {
    content: counter(item);
    counter-increment: item;
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-content strong {
    color: var(--text);
    font-weight: 600;
}

/* Benefits Grid */
.loc-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.loc-benefit-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}

.loc-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.loc-benefit-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.loc-benefit-icon-blue {
    background: rgba(0, 34, 210, 0.1);
}

.loc-benefit-icon-blue svg {
    color: var(--primary);
}

.loc-benefit-icon-green {
    background: rgba(32, 170, 71, 0.1);
}

.loc-benefit-icon-green svg {
    color: var(--success);
}

.loc-benefit-icon-purple {
    background: rgba(139, 92, 246, 0.1);
}

.loc-benefit-icon-purple svg {
    color: #8b5cf6;
}

.loc-benefit-icon-orange {
    background: rgba(249, 115, 22, 0.1);
}

.loc-benefit-icon-orange svg {
    color: #f97316;
}

.loc-benefit-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.loc-benefit-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Pricing Grid */
.loc-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.loc-pricing-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    transition: all 0.3s ease;
}

.loc-pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

a.loc-pricing-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.loc-pricing-card-link:hover {
    border-color: var(--primary);
}

.loc-pricing-link-text {
    display: block;
    text-align: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.loc-pricing-featured {
    border: 2px solid var(--primary);
    transform: scale(1.03);
}

.loc-pricing-featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.loc-pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.loc-pricing-header {
    text-align: center;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.loc-pricing-type {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    display: block;
    margin-bottom: 8px;
}

.loc-pricing-price {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loc-pricing-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
}

.loc-pricing-period {
    font-size: 0.85rem;
    color: var(--text-light);
}

.loc-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.loc-pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text);
}

.loc-pricing-features svg {
    color: var(--success);
    flex-shrink: 0;
}

.loc-asterisk {
    font-size: 0.5em;
    color: #9ca3af;
    vertical-align: super;
    margin-left: 2px;
}

.loc-pricing-disclaimer {
    font-size: 0.7rem;
    color: #9ca3af;
    text-align: center;
    margin: 24px 0 0 0;
    line-height: 1.3;
    font-style: italic;
    opacity: 0.8;
}

.loc-pricing-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    padding: 20px;
    background: rgba(0, 34, 210, 0.05);
    border-radius: 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.loc-pricing-note svg {
    color: var(--primary);
    flex-shrink: 0;
}

.loc-pricing-note p {
    font-size: 0.9rem;
    color: var(--text);
    margin: 0;
}

/* Test Centres Grid */
.loc-centres-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.loc-centre-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 24px;
    transition: all 0.2s ease;
}

.loc-centre-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 34, 210, 0.1);
}

.loc-centre-number {
    width: 36px;
    height: 36px;
    background: var(--gradient);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.loc-centre-info {
    flex: 1;
    min-width: 0;
}

.loc-centre-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}

.loc-centre-info p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

.loc-centre-icon {
    color: var(--text-light);
    flex-shrink: 0;
}

/* Areas Grid */
.loc-areas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.loc-area-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid var(--border);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text);
    transition: all 0.2s ease;
}

.loc-area-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.loc-area-chip svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* What You'll Learn */
.loc-learn-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.loc-learn-grid.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.loc-learn-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.loc-learn-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.loc-learn-icon {
    width: 52px;
    height: 52px;
    background: rgba(0, 34, 210, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.loc-learn-icon svg {
    color: var(--primary);
}

.loc-learn-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.loc-learn-item p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* FAQ Accordion */
.loc-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.loc-faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.loc-faq-item:last-child {
    margin-bottom: 0;
}

.loc-faq-item:hover {
    border-color: rgba(0, 34, 210, 0.3);
}

.loc-faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 34, 210, 0.1);
}

.loc-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
}

.loc-faq-question span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    padding-right: 16px;
}

.loc-faq-chevron {
    color: var(--text-light);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.loc-faq-item.active .loc-faq-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.loc-faq-item.active .loc-faq-answer {
    max-height: 500px;
    padding-top: 16px;
}

.loc-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 24px;
}

.loc-faq-answer p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    padding-bottom: 20px;
}

/* Location CTA */
.loc-cta {
    padding: 100px 0;
    background: var(--gradient);
    text-align: center;
}

.loc-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.loc-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.loc-cta p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.loc-cta-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 16px;
}

/* Related Locations */
.loc-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.loc-related-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 20px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s ease;
}

.loc-related-card:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 34, 210, 0.1);
}

.loc-related-icon {
    width: 36px;
    height: 36px;
    background: rgba(0, 34, 210, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.loc-related-icon svg {
    color: var(--primary);
}

.loc-related-card span {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
}

.loc-related-arrow {
    color: var(--text-light);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.loc-related-card:hover .loc-related-arrow {
    transform: translateX(4px);
    color: var(--primary);
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 100px 0 0;
    font-size: 0.875rem;
}

.breadcrumbs a {
    color: var(--text-light);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.breadcrumbs span {
    color: var(--text-light);
    margin: 0 8px;
}

.breadcrumbs .current {
    color: var(--text);
}

.related-links a {
    padding: 10px 20px;
    background: var(--background-alt);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.related-links a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .locations-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .test-centres-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .loc-content-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .loc-content-side {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .loc-info-card {
        margin-bottom: 0;
    }

    .loc-centres-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

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

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

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

    .footer-content {
        flex-direction: column;
        gap: 40px;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }

    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-hero h1 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .hero-stat {
        justify-content: center;
    }

    .location-section {
        padding: 60px 0;
    }

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

    .test-centres-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

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

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

    .location-cta h2 {
        font-size: 1.75rem;
    }

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

    .loc-hero h1 {
        font-size: 2rem;
    }

    .loc-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .loc-hero-content {
        text-align: center;
    }

    .loc-hero-cta {
        align-items: center;
    }

    .loc-hero-features {
        justify-content: center;
    }

    .loc-benefits-grid {
        grid-template-columns: 1fr;
    }

    .loc-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .loc-pricing-featured {
        transform: none;
    }

    .loc-pricing-featured:hover {
        transform: translateY(-4px);
    }

    .loc-centres-grid {
        grid-template-columns: 1fr;
    }

    .loc-learn-grid {
        grid-template-columns: 1fr;
    }

    .loc-related-grid {
        grid-template-columns: 1fr;
    }

    .loc-trust-items {
        gap: 24px;
    }

    .loc-section {
        padding: 60px 0;
    }

    .loc-section-header h2 {
        font-size: 1.75rem;
    }

    .loc-cta h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 1024px) {
    .loc-hero-grid {
        grid-template-columns: 1fr 350px;
        gap: 40px;
    }

    .loc-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .loc-centres-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .loc-learn-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .loc-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   Archive Location Page Styles
   ========================================================================== */

.archive-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0;
    text-align: center;
}

.archive-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.archive-hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text);
    margin: 16px 0 20px;
    line-height: 1.2;
}

.archive-hero-text {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 40px;
}

.archive-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.archive-stat {
    text-align: center;
}

.archive-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.archive-stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 4px;
}

.archive-section {
    padding: 80px 0;
}

.archive-section-alt {
    background: var(--light);
}

.archive-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.archive-section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.archive-section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Location Cards Grid */
.archive-locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.archive-location-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.archive-location-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 34, 210, 0.1);
    transform: translateY(-2px);
}

.archive-location-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 34, 210, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.archive-location-text {
    flex: 1;
    min-width: 0;
}

.archive-location-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 4px;
}

.archive-location-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.archive-location-dot {
    width: 4px;
    height: 4px;
    background: var(--text-light);
    border-radius: 50%;
}

.archive-location-arrow {
    position: absolute;
    right: 20px;
    color: var(--text-light);
    transition: all 0.2s ease;
}

.archive-location-card:hover .archive-location-arrow {
    color: var(--primary);
    transform: translateX(4px);
}

/* How It Works Steps */
.archive-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.archive-step {
    text-align: center;
    max-width: 280px;
    padding: 32px 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.archive-step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.archive-step h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.archive-step p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.archive-step-arrow {
    color: var(--text-light);
    opacity: 0.4;
}

/* Archive Page Responsive */
@media (max-width: 768px) {
    .archive-hero {
        padding: 60px 0;
    }

    .archive-hero h1 {
        font-size: 2rem;
    }

    .archive-hero-text {
        font-size: 1rem;
    }

    .archive-stats {
        gap: 32px;
    }

    .archive-stat-number {
        font-size: 1.5rem;
    }

    .archive-section {
        padding: 60px 0;
    }

    .archive-section-header h2 {
        font-size: 1.5rem;
    }

    .archive-locations-grid {
        grid-template-columns: 1fr;
    }

    .archive-steps {
        flex-direction: column;
    }

    .archive-step-arrow {
        transform: rotate(90deg);
    }

    .archive-step {
        max-width: 100%;
    }
}

/* ==================== */
/* Article/Blog Styles  */
/* ==================== */

.article-hero {
    padding: 120px 0 60px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    text-align: center;
}

.article-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text);
}

.article-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.article-meta-dot {
    width: 4px;
    height: 4px;
    background: var(--text-light);
    border-radius: 50%;
}

.article-content {
    max-width: 750px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text);
}

.article-content p {
    margin-bottom: 1.75rem;
}

.article-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 3rem 0 1.25rem;
    color: var(--text);
}

.article-content h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem;
    color: var(--text);
}

.article-content ul,
.article-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.75rem;
}

.article-content strong {
    font-weight: 600;
    color: var(--text);
}

.article-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: var(--background-alt);
    border-left: 4px solid var(--primary);
    border-radius: 0 12px 12px 0;
    font-style: italic;
}

.article-content blockquote p {
    margin: 0;
}

@media (max-width: 768px) {
    .article-hero {
        padding: 100px 0 40px;
    }

    .article-hero h1 {
        font-size: 2rem;
    }

    .article-content {
        font-size: 1rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .article-content h3 {
        font-size: 1.25rem;
    }
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.blog-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.blog-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 34, 210, 0.1);
    transform: translateY(-2px);
}

.blog-card-link {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
}

.blog-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 34, 210, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.blog-card-content {
    flex: 1;
    min-width: 0;
}

.blog-card-content h2 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 8px;
    line-height: 1.4;
}

.blog-card-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0 0 12px;
    line-height: 1.5;
}

.blog-card-meta {
    font-size: 0.8rem;
    color: var(--text-light);
}

.blog-card-arrow {
    color: var(--text-light);
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.blog-card:hover .blog-card-arrow {
    color: var(--primary);
    transform: translateX(4px);
}

.blog-pagination {
    margin-top: 48px;
    text-align: center;
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.blog-pagination a,
.blog-pagination span {
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 500;
}

.blog-pagination a {
    background: white;
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
}

.blog-pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.blog-pagination .current {
    background: var(--primary);
    color: white;
}

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

/* ==========================================================================
   BLOG SINGLE POST STYLES
   ========================================================================== */

/* Blog Hero */
.blog-hero {
    padding: 48px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
}

.blog-hero-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 48px;
    align-items: center;
}

.blog-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 34, 210, 0.08);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.blog-hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 16px;
}

.blog-hero-excerpt {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.7;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.blog-meta-item svg {
    color: var(--primary);
    opacity: 0.7;
}

.blog-hero-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8ebff 0%, #f0e8ff 100%);
    aspect-ratio: 4/3;
}

.blog-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-hero-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--primary);
    opacity: 0.3;
}

/* Blog Info Bar */
.blog-info-bar {
    background: white;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

.blog-info-items {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.blog-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-info-icon-blue {
    background: rgba(0, 34, 210, 0.1);
    color: var(--primary);
}

.blog-info-icon-green {
    background: rgba(32, 170, 71, 0.1);
    color: var(--success);
}

.blog-info-icon-purple {
    background: rgba(147, 51, 234, 0.1);
    color: #9333ea;
}

.blog-info-text {
    display: flex;
    flex-direction: column;
}

.blog-info-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-info-value {
    font-weight: 600;
    color: var(--text);
}

/* Blog Layout */
.blog-main {
    padding: 48px 0;
}

.blog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.blog-toc {
    background: #f8f9ff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.blog-toc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 34, 210, 0.1);
}

.blog-toc-header svg {
    color: var(--primary);
}

.blog-toc-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.blog-toc-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s;
    border-left: 2px solid transparent;
}

.blog-toc-link:hover {
    background: white;
    color: var(--primary);
    border-left-color: var(--primary);
}

.blog-sidebar-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    padding: 24px;
    color: white;
    text-align: center;
}

.blog-sidebar-cta-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.blog-sidebar-cta h4 {
    margin-bottom: 8px;
}

.blog-sidebar-cta p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 16px;
}

.blog-sidebar-cta .btn {
    width: 100%;
    background: white;
    color: var(--primary);
}

.blog-sidebar-cta .btn:hover {
    background: #f0f0f0;
}

/* Blog Content */
.blog-content {
    max-width: 800px;
}

.blog-content.no-sidebar {
    margin: 0 auto;
}

.blog-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: #374151;
}

.blog-content h2 {
    font-size: 1.75rem;
    color: var(--text);
    margin: 48px 0 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    scroll-margin-top: 100px;
}

.blog-content h3 {
    font-size: 1.35rem;
    color: var(--text);
    margin: 32px 0 16px;
}

.blog-content ul, .blog-content ol {
    margin: 0 0 24px 0;
    padding-left: 0;
}

.blog-content ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    line-height: 1.7;
    list-style: none;
}

.blog-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230022D2' stroke-width='2.5'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.blog-content ol {
    counter-reset: item;
    list-style: none;
}

.blog-content ol li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 12px;
    line-height: 1.7;
    counter-increment: item;
}

.blog-content ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 2px;
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-content strong {
    color: var(--text);
    font-weight: 600;
}

.blog-content a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: rgba(0, 34, 210, 0.3);
    text-underline-offset: 3px;
}

.blog-content a:hover {
    text-decoration-color: var(--primary);
}

/* Blog Takeaways Box */
.blog-takeaways {
    background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 100%);
    border: 1px solid #fcd34d;
    border-radius: 16px;
    padding: 28px;
    margin: 48px 0;
}

.blog-takeaways-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.blog-takeaways-header svg {
    color: #d97706;
}

.blog-takeaways-header h3 {
    font-size: 1.25rem;
    color: #92400e;
    margin: 0;
}

.blog-takeaways-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.blog-takeaways-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: #78350f;
    line-height: 1.6;
}

.blog-takeaways-list li::before {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    color: #d97706;
    font-size: 0.9rem;
}

.blog-takeaways-list li:last-child {
    margin-bottom: 0;
}

/* Blog Share */
.blog-share {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: #f8f9ff;
    border-radius: 12px;
    margin-top: 48px;
}

.blog-share-label {
    font-weight: 500;
    color: var(--text);
}

.blog-share-buttons {
    display: flex;
    gap: 8px;
}

.blog-share-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.blog-share-btn:hover {
    transform: scale(1.1);
}

.blog-share-twitter {
    background: #000;
    color: white;
}

.blog-share-facebook {
    background: #1877f2;
    color: white;
}

.blog-share-whatsapp {
    background: #25d366;
    color: white;
}

.blog-share-copy {
    background: white;
    border: 1px solid var(--border);
    color: var(--text-light);
}

/* Blog Related */
.blog-related {
    padding: 64px 0;
    background: #f8f9ff;
}

.blog-related-header {
    text-align: center;
    margin-bottom: 40px;
}

.blog-related-header h2 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.blog-related-header p {
    color: var(--text-light);
}

.blog-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-related-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid var(--border);
}

.blog-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.blog-related-image {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #e8ebff 0%, #f0e8ff 100%);
    overflow: hidden;
}

.blog-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-related-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--primary);
    opacity: 0.3;
}

.blog-related-content {
    padding: 20px;
}

.blog-related-content h3 {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-related-meta {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Blog Responsive */
@media (max-width: 1024px) {
    .blog-hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .blog-hero-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 32px 0;
    }

    .blog-hero-content h1 {
        font-size: 1.75rem;
    }

    .blog-meta {
        gap: 16px;
    }

    .blog-info-items {
        flex-direction: column;
        gap: 16px;
    }

    .blog-sidebar {
        grid-template-columns: 1fr;
    }

    .blog-related-grid {
        grid-template-columns: 1fr;
    }

    .blog-share {
        flex-direction: column;
        text-align: center;
    }

    .blog-content h2 {
        font-size: 1.4rem;
    }
}

/* ==========================================================================
   LOCATION SEARCH & GROUPING STYLES
   ========================================================================== */

/* Location Search Box */
.location-search-box {
    position: relative;
    max-width: 500px;
    margin: 32px auto;
}

.location-search-box svg {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
}

.location-search-box input {
    width: 100%;
    padding: 16px 50px;
    font-size: 1rem;
    border: 2px solid var(--border);
    border-radius: 100px;
    background: white;
    color: var(--text);
    transition: all 0.2s;
}

.location-search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 34, 210, 0.1);
}

.location-search-box input::placeholder {
    color: var(--text-light);
}

.location-search-clear {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-light);
    transition: all 0.2s;
}

.location-search-clear:hover {
    background: #e0e0e0;
    color: var(--text);
}

/* Quick Navigation */
.location-quick-nav {
    background: #f8f9ff;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 72px;
    z-index: 100;
}

.location-quick-nav-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 4px;
}

.location-quick-nav-label {
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

.location-quick-nav-links {
    flex-wrap: nowrap;
    display: flex;
    gap: 8px;
}

.location-quick-nav-link {
    flex-shrink: 0;
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: all 0.2s;
}

.location-quick-nav-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 34, 210, 0.05);
}

/* Region Groups */
.location-region-group {
    margin-bottom: 48px;
    scroll-margin-top: 140px;
}

.location-region-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border);
}

.location-region-header h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    color: var(--text);
    margin: 0;
}

.location-region-header h2 svg {
    color: var(--primary);
}

.location-region-count {
    font-size: 0.9rem;
    color: var(--text-light);
    background: #f0f0f0;
    padding: 6px 12px;
    border-radius: 100px;
}

.location-region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

/* No Results */
.location-no-results {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .location-search-box {
        margin: 24px 0;
    }

    .location-quick-nav-inner {
        flex-wrap: nowrap;
    }

    .location-quick-nav-label {
        display: none;
    }

    .location-region-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .location-region-header h2 {
        font-size: 1.25rem;
    }
}

/* ==========================================================================
   COLLAPSIBLE LOCATION REGIONS (SEO-FRIENDLY)
   ========================================================================== */

/* Hidden cards - using clip instead of display:none for SEO */
.location-region-group.is-collapsible .location-card-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* When expanded, show all cards */
.location-region-group.is-expanded .location-card-hidden {
    position: static;
    width: auto;
    height: auto;
    padding: inherit;
    margin: inherit;
    overflow: hidden;
    clip: auto;
    white-space: normal;
}

/* Show More Button */
.location-show-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 24px;
    margin-top: 16px;
    background: white;
    border: 2px dashed var(--border);
    border-radius: 12px;
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.location-show-more:hover {
    border-color: var(--primary);
    background: rgba(0, 34, 210, 0.02);
}

.location-show-more svg {
    transition: transform 0.2s;
}

.location-show-more:hover svg {
    transform: translateY(2px);
}

/* No Results - Centered */
.location-no-results {
    text-align: center;
    padding: 64px 24px;
    color: var(--text-light);
    font-size: 1.1rem;
    grid-column: 1 / -1;
}

/* ==========================================================================
   SHARE BUTTONS - FIXED COLORS
   ========================================================================== */

.blog-share-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    background: #000;
}

.blog-share-btn:hover {
    transform: scale(1.08);
    opacity: 0.9;
}

.blog-share-btn svg {
    flex-shrink: 0;
}

/* Copy button special styling */
.blog-share-copy {
    background: #f0f0f0 !important;
    border: 1px solid var(--border);
}

.blog-share-copy svg {
    color: var(--text-light);
    stroke: var(--text-light);
}

.blog-share-copy:hover {
    background: #e5e5e5 !important;
}

.blog-share-copy .icon-check {
    display: none;
    color: var(--success);
    stroke: var(--success);
}

.blog-share-copy.copied .icon-copy {
    display: none;
}

.blog-share-copy.copied .icon-check {
    display: block;
}

.blog-share-copy.copied {
    background: rgba(32, 170, 71, 0.1) !important;
    border-color: var(--success);
}

/* Fix sidebar CTA button centering */
.blog-sidebar-cta .btn {
    display: block;
    width: 100%;
    text-align: center;
}

/* Sidebar App Buttons - Side by Side */
.sidebar-app-buttons {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.sidebar-app-buttons .btn {
    flex: 1;
    width: auto;
    padding: 8px 12px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.sidebar-app-buttons .btn .btn-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.sidebar-app-buttons .btn-secondary {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
}

.sidebar-app-buttons .btn-secondary:hover {
    background: #eee;
}

/* Override - Stack sidebar buttons vertically */
.sidebar-app-buttons {
    flex-direction: column;
    gap: 8px;
}

.sidebar-app-buttons .btn {
    width: 100%;
    font-size: 14px;
    padding: 10px 16px;
}

/* ==========================================================================
   Test Centre Pages Styles
   ========================================================================== */

/* Pass Rate Badge in Hero */
.tc-pass-rate-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tc-pass-rate-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
}

.tc-pass-rate-badge.pass-rate-high {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
}

.tc-pass-rate-badge.pass-rate-medium {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

.tc-pass-rate-badge.pass-rate-low {
    background: linear-gradient(135deg, #fef2f2, #fecaca);
}

.tc-pass-rate-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.tc-pass-rate-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tc-pass-rate-context {
    font-size: 0.95rem;
    color: var(--text-light);
}

.tc-pass-rate-diff {
    font-weight: 600;
}

.tc-pass-rate-diff.positive {
    color: #059669;
}

.tc-pass-rate-diff.negative {
    color: #dc2626;
}

.tc-pass-rate-national {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Test Centre Info Card */
.tc-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px 0;
}

.tc-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.tc-info-item svg {
    flex-shrink: 0;
    color: var(--primary);
}

.tc-info-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.tc-info-value {
    display: block;
    font-size: 0.95rem;
    color: var(--text);
}

/* Quick Actions */
.tc-quick-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

/* Pass Rate Analysis Section */
.tc-pass-rate-analysis {
    max-width: 700px;
    margin: 0 auto;
}

.tc-pass-rate-comparison {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.tc-comparison-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tc-comparison-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.tc-comparison-value {
    font-weight: 700;
    font-size: 1.1rem;
}

.tc-comparison-value.pass-rate-high {
    color: #059669;
}

.tc-comparison-value.pass-rate-medium {
    color: #d97706;
}

.tc-comparison-value.pass-rate-low {
    color: #dc2626;
}

.tc-comparison-track {
    height: 12px;
    background: #f3f4f6;
    border-radius: 6px;
    overflow: hidden;
}

.tc-comparison-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.5s ease;
}

.tc-comparison-fill.pass-rate-high {
    background: linear-gradient(90deg, #10b981, #059669);
}

.tc-comparison-fill.pass-rate-medium {
    background: linear-gradient(90deg, #fbbf24, #d97706);
}

.tc-comparison-fill.pass-rate-low {
    background: linear-gradient(90deg, #f87171, #dc2626);
}

.tc-comparison-fill.national {
    background: linear-gradient(90deg, #6366f1, #4f46e5);
}

/* Gender Rates */
.tc-gender-rates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.tc-gender-rate {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
}

.tc-gender-rate svg {
    color: var(--primary);
}

.tc-gender-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
}

.tc-gender-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
}

/* Pass Rate Insight */
.tc-pass-rate-insight {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #eff6ff;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.tc-pass-rate-insight svg {
    flex-shrink: 0;
    color: var(--primary);
}

.tc-pass-rate-insight p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.6;
}

/* About Content */
.tc-about-content {
    max-width: 800px;
    margin: 0 auto;
}

.tc-about-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
}

.tc-routes-section {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.tc-routes-section h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.tc-routes-section h3 svg {
    color: var(--primary);
}

.tc-routes-section p {
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Tips Content */
.tc-tips-content {
    max-width: 800px;
    margin: 0 auto;
}

.tc-tips-text {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-size: 1rem;
    line-height: 1.7;
}

/* Nearby Centres Table */
.tc-nearby-table-wrapper {
    overflow-x: auto;
    margin-bottom: 24px;
}

.tc-nearby-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tc-nearby-table th,
.tc-nearby-table td {
    padding: 16px;
    text-align: left;
}

.tc-nearby-table th {
    background: #f9fafb;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
}

.tc-nearby-table tbody tr {
    border-top: 1px solid var(--border);
}

.tc-nearby-table tbody tr:hover {
    background: #f9fafb;
}

.tc-nearby-name {
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
}

.tc-nearby-name:hover {
    color: var(--primary);
}

.tc-nearby-rate {
    font-weight: 600;
}

.tc-nearby-rate.pass-rate-high {
    color: #059669;
}

.tc-nearby-rate.pass-rate-medium {
    color: #d97706;
}

.tc-nearby-rate.pass-rate-low {
    color: #dc2626;
}

.tc-nearby-diff {
    font-weight: 600;
}

.tc-nearby-diff.positive {
    color: #059669;
}

.tc-nearby-diff.negative {
    color: #dc2626;
}

.tc-nearby-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
}

.tc-nearby-link:hover {
    text-decoration: underline;
}

/* Nearby Suggestion */
.tc-nearby-suggestion {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #ecfdf5;
    border-radius: 8px;
    border-left: 4px solid #059669;
}

.tc-nearby-suggestion svg {
    flex-shrink: 0;
    color: #059669;
}

.tc-nearby-suggestion p {
    margin: 0;
    font-size: 0.95rem;
}

.tc-nearby-suggestion a {
    color: #059669;
    font-weight: 600;
}

/* What to Expect Grid */
.tc-expect-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tc-expect-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.tc-expect-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), #4338ca);
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 50%;
    margin-bottom: 16px;
}

.tc-expect-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.tc-expect-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Address text */
.tc-address {
    display: block;
    font-size: 1rem;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .tc-pass-rate-hero {
        flex-direction: column;
        text-align: center;
    }

    .tc-gender-rates {
        grid-template-columns: 1fr;
    }

    .tc-expect-grid {
        grid-template-columns: 1fr;
    }

    .tc-quick-actions {
        flex-direction: column;
    }

    .tc-quick-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .tc-nearby-table th:nth-child(3),
    .tc-nearby-table td:nth-child(3) {
        display: none;
    }
}

@media (max-width: 480px) {
    .tc-nearby-table th:nth-child(4),
    .tc-nearby-table td:nth-child(4) {
        display: none;
    }
}

/* Show More/Less Pill Button Override */
.location-show-more.btn.btn-secondary,
.location-show-less.btn.btn-secondary {
    display: inline-flex;
    width: auto;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: white;
    color: var(--text);
}

.location-show-more.btn.btn-secondary:hover,
.location-show-less.btn.btn-secondary:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.location-show-actions {
    text-align: center;
    margin-top: 24px;
}

/* Fix clear button icon alignment */
.location-search-clear svg {
    display: block;
    flex-shrink: 0;
}

/* Fix clear button alignment - override */
.location-search-clear {
    line-height: 0;
    padding: 0;
}

/* Force clear button SVG centering */
.location-search-clear {
    box-sizing: border-box;
    text-align: center;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.location-search-clear svg {
    width: 18px;
    height: 18px;
    display: block;
    margin: 0 auto;
    flex-shrink: 0;
    position: relative;
}

/* Fix clear button - absolute center the SVG */
.location-search-clear {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    cursor: pointer;
}

.location-search-clear svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
}

/* Fix FAQ close animation */
.loc-faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    transition: max-height 0.3s ease, padding-top 0.3s ease;
}

.loc-faq-item.active .loc-faq-answer {
    max-height: 500px;
    padding-top: 16px;
}

/* FAQ Accordion - proper open/close with arrow rotation */
.loc-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.loc-faq-question svg,
.loc-faq-chevron {
    transition: transform 0.3s ease;
}

.loc-faq-item.active .loc-faq-question svg,
.loc-faq-item.active .loc-faq-chevron {
    transform: rotate(180deg);
}

/* FAQ Accordion - Clean implementation */
.loc-faq-item .loc-faq-answer {
    max-height: 0 !important;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.loc-faq-item.active .loc-faq-answer {
    max-height: 1000px !important;
    padding-top: 16px;
    padding-bottom: 8px;
}

.loc-faq-item .loc-faq-question svg {
    transition: transform 0.3s ease;
}

.loc-faq-item.active .loc-faq-question svg {
    transform: rotate(180deg);
}

/* Test Centre Card Links */
.loc-centre-card.has-link {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.loc-centre-card.has-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.loc-centre-card-link {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.loc-centre-card.has-link h4 {
    color: var(--primary);
}

.loc-centre-card.has-link:hover h4 {
    text-decoration: underline;
}

/* Hub Page Styles */
.loc-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.loc-hub-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.loc-hub-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.loc-hub-card-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    border-radius: 50%;
    margin-bottom: 20px;
}

.loc-hub-card-icon svg {
    stroke: #fff;
}

.loc-hub-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 16px 0;
    color: #1a1a2e;
}

.loc-hub-card-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.loc-hub-card-stats span {
    font-size: 0.9rem;
    color: #666;
    background: #f0f4f8;
    padding: 6px 12px;
    border-radius: 20px;
}

.loc-hub-card-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #4F46E5;
    margin-top: auto;
}

.loc-hub-card-link svg {
    transition: transform 0.3s ease;
}

.loc-hub-card:hover .loc-hub-card-link svg {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .loc-hub-grid {
        grid-template-columns: 1fr;
    }
    
    .loc-hub-card {
        padding: 30px 20px;
    }

}

/* Simple Horizontal Scroll Nav */
.location-quick-nav-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 8px;
}

.location-quick-nav-inner::-webkit-scrollbar {
    display: none;
}

.location-quick-nav-links {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
}

.location-quick-nav-link {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Footer Contact Info */
.footer-contact-info {
    margin-top: 20px;
    font-size: 0.9rem;
}

.footer-contact-info p {
    margin: 6px 0;
    color: var(--text-light);
}

.footer-contact-info a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact-info a:hover {
    color: var(--primary);
}

/* Footer Contact List */
.footer-contact-list li {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-contact-list a {
    color: rgba(255, 255, 255, 0.9) !important;
}

.footer-contact-list a:hover {
    color: white !important;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 24px 24px;
        gap: 0;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        border-bottom: 1px solid var(--border);
    }
    
    .nav-links a {
        display: block;
        padding: 16px 0;
    }
    
    .nav-dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        margin-top: 0;
        padding: 0 0 0 16px;
        background: var(--background-alt);
        border-radius: 8px;
        margin-bottom: 8px;
    }
    
    .nav-dropdown-menu::before {
        display: none;
    }
    
    .nav-dropdown > a::after {
        display: none;
    }
}

/* For Instructors Landing Page - Fixed Header Offset */
@media (max-width: 992px) {
.page-template-page-for-instructors main {
    padding-top: 72px;
}
}
