/* ============================================
   SYDNEY SEO - Vancouver-Inspired Design
   Color Palette: #FFFDB5 #6FDCE3 #5C88C4 #5C2FC2
   ============================================ */

:root {
    --primary: #5C2FC2;
    --primary-dark: #4a25a0;
    --secondary: #5C88C4;
    --accent: #6FDCE3;
    --highlight: #FFFDB5;
    --dark: #0a0a0a;
    --text: #1a1a1a;
    --text-light: #555;
    --text-muted: #888;
    --white: #ffffff;
    --bg: #ffffff;
    --bg-alt: #f8f8f8;
    --border: #e5e5e5;
    --radius: 12px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.15;
    color: var(--dark);
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; color: var(--text-light); }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.section-dark { background: var(--dark); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark p { color: var(--white); }
.section-dark p { opacity: 0.85; }
.section-highlight { background: var(--highlight); }

/* Cards in dark sections */
.section-dark .card {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.15);
}
.section-dark .card h3 { color: var(--white); }
.section-dark .card p { color: rgba(255,255,255,0.75); }
.section-dark .card-icon {
    background: var(--primary);
    color: var(--white);
}
.section-dark .card::before {
    background: var(--primary);
}
.section-dark .card:hover {
    border-color: var(--primary);
    background: rgba(255,255,255,0.1);
}
.section-dark .card:hover .card-icon {
    background: var(--highlight);
    color: var(--dark);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 0.9375rem;
    font-weight: 700;
    border-radius: 50px;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

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

.btn-primary::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--highlight);
    transition: left var(--transition);
    z-index: 0;
}

.btn-primary:hover::before { left: 0; }
.btn-primary:hover { color: var(--dark); transform: translateY(-3px); box-shadow: var(--shadow-lg); z-index: 1; }
.btn-primary span, .btn-primary { position: relative; }
/* Ensure button text stays visible on hover */
.btn-primary { z-index: 1; }

.btn-outline {
    background: transparent;
    color: var(--dark);
    border-color: var(--dark);
}
.btn-outline:hover {
    background: var(--dark);
    color: var(--highlight);
    transform: translateY(-3px);
}

.btn-white {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}
.btn-white:hover { background: var(--highlight); border-color: var(--highlight); }

.btn-sm { padding: 0.75rem 1.5rem; font-size: 0.875rem; }
.btn-full { width: 100%; }

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--dark);
    letter-spacing: -0.03em;
    text-transform: uppercase;
}
.logo:hover { color: var(--primary); }
.logo svg { width: 45px; height: 45px; }
.logo span { font-size: 1.25rem; }

/* Navigation */
.main-nav { display: flex; align-items: center; }

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.75rem 1.25rem;
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    position: relative;
    transition: all var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 1.25rem;
    right: 1.25rem;
    height: 2px;
    background: var(--dark);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link:hover, .nav-link.active { color: var(--dark); }

.dropdown-arrow {
    width: 12px;
    height: 12px;
    transition: transform var(--transition);
}

/* Dropdown Menu - Vancouver Style (Black) */
.nav-dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    background: var(--dark);
    border-radius: 16px;
    padding: 0.75rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }

.dropdown-menu a {
    display: block;
    padding: 0.875rem 1.5rem;
    color: var(--white);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all var(--transition);
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
    background: var(--primary);
    color: var(--white);
    padding-left: 1.75rem;
}

.dropdown-menu a.active {
    background: var(--highlight);
    color: var(--dark);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}
.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
    padding: 10rem 0 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--highlight);
    position: relative;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: rotate 30s linear infinite;
}

.hero::before {
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border: 3px solid rgba(92,47,194,0.2);
}

.hero::after {
    bottom: -150px;
    left: -100px;
    width: 300px;
    height: 300px;
    border: 3px solid rgba(111,220,227,0.3);
    animation-direction: reverse;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content { position: relative; z-index: 1; max-width: 800px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--dark);
    color: var(--highlight);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.hero-badge::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 { margin-bottom: 1.5rem; line-height: 0.95; }

.hero h1 .highlight { color: var(--primary); }

.hero h1 .stroke {
    -webkit-text-stroke: 2px var(--dark);
    -webkit-text-fill-color: transparent;
    transition: all var(--transition);
}
.hero h1 .stroke:hover { -webkit-text-fill-color: var(--primary); }

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 550px;
    color: var(--text);
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-visual { position: relative; z-index: 1; }
.hero-visual svg { width: 100%; max-width: 480px; height: auto; }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.section-header p { font-size: 1.125rem; }

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--dark);
    color: var(--highlight);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-highlight .section-tag { background: var(--primary); color: var(--white); }
.section-dark .section-tag { background: var(--highlight); color: var(--dark); }

/* ===== CARDS ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 3px solid transparent;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: var(--highlight);
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.card:hover::before { height: 100%; }
.card:hover { border-color: var(--dark); transform: translateY(-8px); }

.card-inner { position: relative; z-index: 1; }

/* Ensure all card content stays above the ::before overlay */
.card > * { position: relative; z-index: 1; }

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    transition: all var(--transition);
}
.card:hover .card-icon { transform: rotate(-5deg) scale(1.05); background: var(--dark); }
.card-icon svg { width: 32px; height: 32px; }

.card h3, .card h2 { margin-bottom: 0.75rem; font-weight: 700; }
.card p { margin-bottom: 1rem; font-size: 0.9375rem; }

.card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--dark);
    border-radius: 50%;
    color: var(--white);
    transition: all var(--transition);
}
.card:hover .card-arrow { background: var(--primary); transform: translateX(5px); }
.card-arrow svg { width: 20px; height: 20px; }

a.card { display: block; text-decoration: none; }
a.card h3, a.card h2 { color: var(--dark); }

/* ===== STATS ===== */
.stats-section {
    background: var(--dark);
    padding: 5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stats-grid.compact {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-item { padding: 2rem; }
.stat-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--highlight);
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
}

/* Stats in dark sections */
.stats-section .stat-label {
    font-size: 0.9375rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Stats in stats-box (light background) */
.stats-box .stat-number {
    font-size: 2.5rem;
    color: var(--primary);
}
.stats-box .stat-label {
    font-size: 0.8125rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-label {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===== PROCESS ===== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.process-step { text-align: center; padding: 1.5rem; }

.step-number {
    width: 64px;
    height: 64px;
    background: var(--dark);
    color: var(--highlight);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0 auto 1.5rem;
    transition: all var(--transition);
}

.process-step:hover .step-number {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.process-step h3 { margin-bottom: 0.5rem; font-size: 1.25rem; }
.process-step p { font-size: 0.9375rem; margin: 0; }

/* ===== TWO COLUMN ===== */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.two-col-content h2 { margin-bottom: 1.5rem; }

.stats-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 3px solid var(--dark);
}
.stats-box h4 { margin-bottom: 1.5rem; }

.feature-list { list-style: none; margin: 1.5rem 0; }
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text);
    font-weight: 500;
}
.feature-list svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 3px solid var(--border);
    position: relative;
    transition: all var(--transition);
}
.testimonial-card:hover { border-color: var(--dark); transform: translateY(-8px); }

.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    font-weight: 900;
    color: var(--highlight);
    position: absolute;
    top: 0;
    left: 1.5rem;
    line-height: 1;
}

.testimonial-stars { color: var(--accent); margin-bottom: 1rem; font-size: 1.25rem; }
.testimonial-card p { font-size: 1rem; line-height: 1.7; margin-bottom: 1.5rem; position: relative; }

.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
}
.testimonial-author strong { display: block; color: var(--dark); }
.testimonial-author span { font-size: 0.875rem; color: var(--text-muted); }

/* ===== CTA ===== */
.cta-section { padding: 6rem 0; text-align: center; }

.cta-box {
    background: var(--dark);
    color: var(--white);
    padding: 4rem;
    border-radius: var(--radius-xl);
    text-align: center;
}
.cta-box h2, .cta-box p { color: var(--white); }
.cta-box p { opacity: 0.85; max-width: 500px; margin: 0 auto 2rem; }

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: var(--highlight);
    padding: 4rem;
    border-radius: var(--radius-xl);
    border: 3px solid var(--dark);
}
.cta-content h2 { margin-bottom: 1rem; }
.cta-content p { color: var(--text); margin-bottom: 1.5rem; }

.cta-contact { display: flex; align-items: center; gap: 0.75rem; color: var(--dark); font-weight: 600; }
.cta-contact svg { color: var(--primary); }
.cta-contact a { color: var(--primary); font-weight: 700; }

.cta-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 3px solid var(--dark);
}

/* CTA Form Inputs (inline forms) */
.cta-form input,
.cta-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: 14px;
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition);
    background: var(--bg-alt);
    margin-bottom: 1rem;
}

.cta-form input:focus,
.cta-form textarea:focus {
    outline: none;
    border-color: var(--dark);
    background: var(--white);
}

.cta-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0;
}

.cta-form .form-row input {
    margin-bottom: 1rem;
}

.cta-form textarea {
    min-height: 100px;
    resize: vertical;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--dark);
    color: var(--white);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}
.footer-logo:hover { color: var(--highlight); }
.footer-logo svg { width: 40px; height: 40px; }

.footer-column p { color: rgba(255,255,255,0.6); margin-top: 1rem; }
.footer-column h4 {
    color: var(--white);
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 0.75rem; }
.footer-column a { color: rgba(255,255,255,0.6); font-size: 0.9375rem; transition: all var(--transition); }
.footer-column a:hover { color: var(--highlight); padding-left: 0.5rem; }

.footer-contact li { display: flex; align-items: center; gap: 0.75rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--accent); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.875rem;
}

/* ===== PAGE HEADER ===== */
.page-header {
    padding: 10rem 0 4rem;
    background: var(--highlight);
    text-align: center;
}
.page-header h1 { margin-bottom: 1rem; }
.page-header p { font-size: 1.25rem; max-width: 600px; margin: 0 auto; color: var(--text); }

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}
.breadcrumb a { color: var(--primary); font-weight: 600; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: 14px;
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition);
    background: var(--bg-alt);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--dark);
    background: var(--white);
}

.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

input::placeholder, textarea::placeholder { color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-section { background: var(--bg-alt); }
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 1rem;
    border: 3px solid var(--border);
    overflow: hidden;
    transition: all var(--transition);
}
.faq-item:hover, .faq-item.active { border-color: var(--dark); }

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
}
.faq-question svg { width: 24px; height: 24px; color: var(--primary); transition: transform var(--transition); }
.faq-item.active .faq-question svg { transform: rotate(180deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer p { padding: 0 1.5rem 1.5rem; font-size: 0.9375rem; color: var(--text-light); }

/* ===== 404 ===== */
.error-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 0;
    background: var(--highlight);
}
.error-content h1 { font-size: 10rem; color: var(--primary); line-height: 1; margin-bottom: 1rem; }
.error-content h2 { margin-bottom: 1rem; }
.error-content p { margin-bottom: 2rem; color: var(--text); }
.error-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.error-links ul { list-style: none; display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }
.error-links a { color: var(--primary); font-weight: 600; }

/* ===== CONTACT ===== */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-details { margin-top: 2rem; }

.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-item svg { width: 24px; height: 24px; color: var(--primary); flex-shrink: 0; margin-top: 4px; }
.contact-item strong { display: block; color: var(--dark); margin-bottom: 0.25rem; }
.contact-item span, .contact-item a { color: var(--text-light); }

.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 3px solid var(--dark);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

/* ===== BLOG ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 3px solid var(--border);
    transition: all var(--transition);
}
.blog-card:hover { border-color: var(--dark); transform: translateY(-8px); }

.blog-card-thumb {
    height: 180px;
    background: var(--highlight);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-body { padding: 1.5rem; }
.blog-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; font-weight: 700; }
.blog-card h3 a { color: var(--dark); }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card time { font-size: 0.8125rem; color: var(--text-muted); }

/* ===== CAROUSEL ===== */
.carousel-section { padding: 4rem 0; overflow: hidden; background: var(--dark); }
.carousel-section .section-header h2, .carousel-section .section-header p { color: var(--white); }

.carousel-wrapper { margin-top: 2rem; }
.carousel-row { display: flex; margin-bottom: 1rem; }
.carousel-track { display: flex; gap: 1rem; animation: scroll 120s linear infinite; }
.carousel-row.reverse .carousel-track { animation-direction: reverse; }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.carousel-row:hover .carousel-track { animation-play-state: paused; }

.carousel-item {
    flex-shrink: 0;
    padding: 0.75rem 1.5rem;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    font-size: 0.9375rem;
    color: var(--white);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    font-weight: 500;
}

.carousel-item:hover {
    background: var(--highlight);
    color: var(--dark);
    border-color: var(--highlight);
    transform: scale(1.05);
}

/* Popup */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 1rem;
}
.popup-overlay.active { display: flex; }

.popup-container {
    background: var(--white);
    border-radius: var(--radius-xl);
    max-width: 800px;
    width: 100%;
    max-height: 85vh;
    position: relative;
    overflow: hidden;
}

.popup-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    background: var(--dark);
    color: var(--highlight);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    z-index: 10;
}
.popup-close:hover { transform: rotate(90deg); }

.popup-content { padding: 2.5rem; overflow-y: auto; max-height: 85vh; }
.popup-content h1 { font-size: 1.75rem; padding-right: 3rem; margin-bottom: 1.5rem; }
.popup-content h2 { font-size: 1.375rem; margin-top: 2rem; }
.popup-content p { line-height: 1.8; }

.popup-loading { text-align: center; padding: 4rem; color: var(--text-muted); font-size: 1.125rem; }
.popup-error { text-align: center; padding: 4rem; color: #dc3545; font-size: 1.125rem; }

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-item { text-align: center; padding: 2rem; }
.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--highlight);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
}
.feature-icon svg { width: 32px; height: 32px; }
.feature-item h3 { margin-bottom: 0.75rem; }
.feature-item p { font-size: 0.9375rem; margin: 0; }

.section-dark .feature-icon { background: rgba(255,255,255,0.1); color: var(--highlight); }
.section-dark .feature-item h3 { color: var(--white); }
.section-dark .feature-item p { color: rgba(255,255,255,0.7); }

/* ===== SERVICE PAGE UNIQUE LAYOUTS ===== */

/* On-Page: Split Hero with Checklist */
.service-hero-split { padding: 4rem 0 6rem; background: var(--highlight); }
.hero-split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-split-content h1 { margin-bottom: 1.5rem; }
.hero-split-content p { font-size: 1.125rem; color: var(--text); margin-bottom: 2rem; }
.hero-stats-row { display: flex; gap: 3rem; margin-bottom: 2rem; }
.hero-stat { text-align: left; }
.hero-stat-num { font-size: 2.5rem; font-weight: 900; color: var(--primary); display: block; line-height: 1; }
.hero-stat-label { font-size: 0.875rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.05em; }

.checklist-card { background: var(--white); border: 3px solid var(--dark); border-radius: var(--radius-lg); padding: 2rem; }
.checklist-card h4 { margin-bottom: 1.5rem; font-size: 1.125rem; }
.check-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.check-item:last-child { border-bottom: none; }
.check-item svg { width: 24px; height: 24px; color: var(--text-muted); flex-shrink: 0; }
.check-item.checked svg { color: var(--primary); }
.check-item span { font-weight: 500; }

/* Content Box */
.content-box { max-width: 800px; margin: 0 auto; text-align: center; }
.content-box h2 { margin-bottom: 1.5rem; }
.content-box p { font-size: 1.0625rem; }

/* Alternating Cards */
.alternating-cards { max-width: 800px; margin: 0 auto; }
.alt-card { display: flex; gap: 2rem; padding: 2rem; background: var(--white); border-radius: var(--radius-lg); border: 3px solid var(--border); margin-bottom: 1.5rem; transition: all var(--transition); }
.alt-card:hover { border-color: var(--dark); transform: translateX(10px); }
.alt-card-num { font-size: 3rem; font-weight: 900; color: var(--primary); opacity: 0.3; line-height: 1; }
.alt-card-content h3 { margin-bottom: 0.5rem; }
.alt-card-content p { margin: 0; }

/* Timeline */
.timeline { max-width: 700px; margin: 0 auto; position: relative; }
.timeline::before { content: ''; position: absolute; left: 32px; top: 0; bottom: 0; width: 3px; background: var(--border); }
.timeline-item { display: flex; gap: 2rem; margin-bottom: 2rem; position: relative; }
.timeline-marker { width: 64px; height: 64px; background: var(--dark); color: var(--highlight); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 900; flex-shrink: 0; position: relative; z-index: 1; }
.timeline-content { padding-top: 1rem; }
.timeline-content h3 { margin-bottom: 0.5rem; }
.timeline-content p { margin: 0; }

/* Link Building: Full Hero */
.service-hero-full { padding: 6rem 0; background: var(--bg-alt); position: relative; overflow: hidden; }
.hero-full-content { max-width: 700px; position: relative; z-index: 1; }
.hero-full-content h1 { margin-bottom: 1.5rem; }
.hero-full-content p { font-size: 1.125rem; margin-bottom: 2rem; }
.hero-cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-network-bg { position: absolute; right: -100px; top: 50%; transform: translateY(-50%); width: 60%; opacity: 0.3; }

/* Benefits Grid */
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.benefit-card { text-align: center; padding: 2rem; }
.benefit-icon { width: 64px; height: 64px; background: var(--highlight); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.benefit-icon svg { width: 28px; height: 28px; color: var(--dark); }
.benefit-card h3 { margin-bottom: 0.5rem; font-size: 1.125rem; }
.benefit-card p { margin: 0; font-size: 0.9375rem; }

/* Method Cards */
.method-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.method-card { background: rgba(255,255,255,0.05); border: 2px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 2rem; transition: all var(--transition); }
.method-card:hover { border-color: var(--primary); background: rgba(255,255,255,0.1); }
.method-num { font-size: 2rem; font-weight: 900; color: var(--highlight); opacity: 0.5; }
.method-card h3 { color: var(--white); margin: 0.5rem 0; }
.method-card p { color: rgba(255,255,255,0.75); margin: 0; font-size: 0.9375rem; }

/* Process Visual (Horizontal) */
.process-visual { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.process-step-large { flex: 1; text-align: center; }
.psl-icon { width: 80px; height: 80px; background: var(--highlight); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; border: 3px solid var(--dark); }
.psl-icon svg { width: 36px; height: 36px; color: var(--dark); }
.process-step-large h3 { margin-bottom: 0.5rem; font-size: 1.125rem; }
.process-step-large p { margin: 0; font-size: 0.875rem; }
.process-arrow { font-size: 2rem; color: var(--text-muted); padding-top: 2rem; }

/* Local SEO: Map Hero */
.service-hero-map { padding: 4rem 0 6rem; background: linear-gradient(135deg, var(--primary) 0%, #4a25a0 100%); }
.service-hero-map .container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-map-content { color: var(--white); }
.hero-map-content .breadcrumb, .hero-map-content .breadcrumb a { color: rgba(255,255,255,0.7); }
.hero-map-content h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero-map-content p { color: rgba(255,255,255,0.9); font-size: 1.125rem; margin-bottom: 2rem; }
.local-stats { display: flex; gap: 3rem; margin-bottom: 2rem; }
.local-stat { }
.ls-num { font-size: 3rem; font-weight: 900; color: var(--highlight); display: block; line-height: 1; }
.ls-text { font-size: 0.875rem; color: rgba(255,255,255,0.75); }

.map-card { background: var(--white); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-lg); }
.map-header { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.map-rating { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.map-rating .stars { color: #f59e0b; }
.map-rating .rating { font-weight: 700; }
.map-rating .reviews { color: var(--text-muted); font-size: 0.875rem; }
.map-info { color: var(--text-light); font-size: 0.875rem; margin-bottom: 1rem; }
.map-badge { background: var(--primary); color: var(--white); padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; display: inline-block; }

/* Icon Cards */
.icon-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.icon-card { background: var(--white); border: 3px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; text-align: center; transition: all var(--transition); }
.icon-card:hover { border-color: var(--dark); transform: translateY(-5px); }
.ic-icon { width: 64px; height: 64px; background: var(--highlight); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.ic-icon svg { width: 28px; height: 28px; color: var(--dark); }
.icon-card h3 { margin-bottom: 0.75rem; font-size: 1.125rem; }
.icon-card p { margin: 0; font-size: 0.9375rem; }

/* Suburb Tags */
.suburb-tags { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.suburb-tag { background: var(--white); border: 2px solid var(--dark); padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.875rem; font-weight: 600; }

/* Content Strategy: Content Hero */
.service-hero-content { padding: 4rem 0 6rem; background: var(--bg-alt); }
.hero-content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-content-text h1 { margin-bottom: 1.5rem; }
.hero-content-text p { font-size: 1.125rem; margin-bottom: 2rem; }

.content-calendar { background: var(--white); border: 3px solid var(--dark); border-radius: var(--radius-lg); overflow: hidden; }
.cc-header { background: var(--dark); color: var(--white); padding: 1rem 1.5rem; font-weight: 700; }
.cc-row { display: flex; gap: 0.75rem; padding: 0.75rem 1rem; }
.cc-item { flex: 1; padding: 0.75rem 1rem; border-radius: 10px; font-size: 0.8125rem; font-weight: 600; text-align: center; }
.cc-item.blog { background: var(--primary); color: var(--white); }
.cc-item.guide { background: var(--secondary); color: var(--white); }
.cc-item.case { background: var(--accent); color: var(--dark); }
.cc-item.pillar { background: var(--dark); color: var(--white); }
.cc-item.local { background: var(--highlight); color: var(--dark); }

/* Content Types Grid */
.content-types-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.content-type { background: var(--white); border: 3px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; transition: all var(--transition); position: relative; }
.content-type:hover { border-color: var(--dark); transform: translateY(-5px); }
.ct-icon { width: 56px; height: 56px; background: var(--highlight); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.ct-icon svg { width: 24px; height: 24px; color: var(--dark); }
.content-type h3 { margin-bottom: 0.75rem; }
.content-type p { margin-bottom: 1.5rem; }
.ct-tag { background: var(--bg-alt); padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--primary); }

/* Stats Highlight */
.stats-highlight { display: flex; justify-content: center; gap: 6rem; text-align: center; padding: 2rem 0; }
.sh-item { }
.sh-num { font-size: 4rem; font-weight: 900; color: var(--highlight); display: block; line-height: 1; margin-bottom: 0.5rem; }
.sh-text { color: rgba(255,255,255,0.85); font-size: 0.9375rem; max-width: 180px; }

/* Process Cards */
.process-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.process-card { background: var(--white); border: 3px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; transition: all var(--transition); }
.process-card:hover { border-color: var(--dark); }
.pc-num { font-size: 3rem; font-weight: 900; color: var(--primary); opacity: 0.2; line-height: 1; }
.process-card h3 { margin: 0.5rem 0; }
.process-card p { margin: 0; font-size: 0.9375rem; }

/* Technical SEO: Tech Hero */
.service-hero-tech { padding: 4rem 0 6rem; background: var(--bg-alt); }
.hero-tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-tech-content h1 { margin-bottom: 1.5rem; }
.hero-tech-content p { font-size: 1.125rem; margin-bottom: 2rem; }

.hero-tech-dashboard { background: var(--white); border: 3px solid var(--dark); border-radius: var(--radius-lg); padding: 2rem; display: flex; align-items: center; gap: 2rem; }
.tech-metric { text-align: center; }
.tm-circle { width: 100px; height: 100px; position: relative; }
.tm-circle svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.tm-value { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 2rem; font-weight: 900; color: var(--primary); }
.tm-label { font-size: 0.75rem; text-transform: uppercase; color: var(--text-muted); margin-top: 0.5rem; display: block; }
.tech-items { flex: 1; }
.ti-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0; font-size: 0.9375rem; font-weight: 500; }
.ti-dot { width: 10px; height: 10px; border-radius: 50%; }
.ti-item.good .ti-dot { background: #22c55e; }
.ti-item.warn .ti-dot { background: #f59e0b; }
.ti-item.error .ti-dot { background: #ef4444; }

/* Issues Grid */
.issues-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.issue-card { background: var(--white); border: 3px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; transition: all var(--transition); }
.issue-card:hover { border-color: var(--dark); transform: translateY(-5px); }
.issue-icon { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.issue-icon svg { width: 24px; height: 24px; }
.issue-icon.warn { background: #fef3c7; color: #f59e0b; }
.issue-icon.error { background: #fee2e2; color: #ef4444; }
.issue-icon.good { background: #dcfce7; color: #22c55e; }
.issue-card h3 { margin-bottom: 0.5rem; font-size: 1.125rem; }
.issue-card p { margin: 0; font-size: 0.9375rem; }

/* Audit Preview */
.audit-preview { background: var(--white); border: 3px solid var(--dark); border-radius: var(--radius-lg); overflow: hidden; }
.ap-header { background: var(--dark); color: var(--white); padding: 1rem 1.5rem; font-weight: 700; }
.ap-score { padding: 2rem; text-align: center; border-bottom: 1px solid var(--border); }
.aps-num { font-size: 4rem; font-weight: 900; color: var(--primary); line-height: 1; }
.aps-text { display: block; font-size: 0.875rem; color: var(--text-muted); margin-top: 0.5rem; }
.ap-breakdown { display: flex; padding: 1rem; }
.apb-item { flex: 1; text-align: center; padding: 0.5rem; }
.apb-num { font-size: 1.5rem; font-weight: 900; display: block; }
.apb-item.critical .apb-num { color: #ef4444; }
.apb-item.warning .apb-num { color: #f59e0b; }
.apb-item.notice .apb-num { color: #3b82f6; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .card-grid, .card-grid.cols-4, .testimonials-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid, .process-grid, .features-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-grid, .two-col, .contact-layout, .cta-grid { grid-template-columns: 1fr; gap: 3rem; }
    .hero-visual { order: -1; }

    /* About page responsive */
    .two-col-visual {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .two-col-visual svg,
    .two-col-visual .about-visual {
        max-width: 400px;
        width: 100%;
        height: auto;
    }
    .two-col-visual .stats-box {
        width: 100%;
        max-width: 400px;
    }
    .stats-grid.compact {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    /* Service pages responsive */
    .hero-split-grid, .hero-content-grid, .hero-tech-grid { grid-template-columns: 1fr; gap: 2rem; }
    .service-hero-map .container { grid-template-columns: 1fr; gap: 2rem; }
    .benefits-grid, .icon-cards, .method-cards, .process-cards { grid-template-columns: repeat(2, 1fr); }
    .issues-grid, .content-types-grid { grid-template-columns: repeat(2, 1fr); }
    .process-visual { flex-wrap: wrap; }
    .process-arrow { display: none; }
    .process-step-large { flex-basis: 45%; }
    .stats-highlight { gap: 3rem; }
    .hero-network-bg { display: none; }
}

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

    .main-nav { display: none; }
    .mobile-toggle { display: flex; }

    .main-nav.open {
        display: flex;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 3px solid var(--dark);
    }

    .nav-list.open {
        flex-direction: column;
        width: 100%;
        padding: 1rem;
    }

    .nav-list.open .nav-link { padding: 1rem; width: 100%; }

    .nav-list.open .nav-dropdown { width: 100%; }

    .nav-list.open .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        background: var(--bg-alt);
        border-radius: var(--radius);
        margin-top: 0.5rem;
    }

    .nav-list.open .nav-dropdown.open .dropdown-menu { display: block; }
    .nav-list.open .dropdown-menu a { color: var(--dark); padding: 0.75rem 1rem; }

    .card-grid, .card-grid.cols-4, .testimonials-grid, .blog-grid, .stats-grid, .process-grid, .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero { min-height: auto; padding: 8rem 0 4rem; }
    .hero h1 { font-size: 2.5rem; }
    .form-row { grid-template-columns: 1fr; }
    .error-content h1 { font-size: 6rem; }
    .two-col.reverse { direction: ltr; }
    .cta-grid { padding: 2rem; }
    .stat-number { font-size: 3rem; }

    /* About page mobile */
    .two-col-visual svg,
    .two-col-visual .about-visual {
        max-width: 100%;
    }
    .two-col-visual .stats-box {
        max-width: 100%;
    }
    .stats-grid.compact {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .stats-grid.compact .stat-item {
        text-align: center;
    }
    .feature-list {
        padding-left: 0;
    }
    .feature-list li {
        gap: 0.75rem;
    }
    .feature-list svg {
        flex-shrink: 0;
        width: 20px;
        height: 20px;
    }

    /* Service pages mobile */
    .benefits-grid, .icon-cards, .method-cards, .process-cards, .issues-grid, .content-types-grid { grid-template-columns: 1fr; }
    .hero-stats-row, .local-stats { flex-direction: column; gap: 1rem; }
    .stats-highlight { flex-direction: column; gap: 2rem; }
    .sh-num { font-size: 3rem; }
    .alt-card { flex-direction: column; gap: 1rem; }
    .alt-card-num { font-size: 2rem; }
    .timeline::before { left: 20px; }
    .timeline-marker { width: 40px; height: 40px; font-size: 1rem; }
    .hero-tech-dashboard { flex-direction: column; }
    .tm-circle { width: 80px; height: 80px; }
    .tm-value { font-size: 1.5rem; }
    .process-step-large { flex-basis: 100%; }
    .checklist-card { padding: 1.5rem; }
    .cta-form .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .btn { padding: 0.875rem 1.5rem; font-size: 0.875rem; }
    .hero-btns { flex-direction: column; }
    .hero-btns .btn { width: 100%; }
    .error-links ul { flex-direction: column; gap: 1rem; }
}

/* ===== UTILITIES ===== */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.text-center { text-align: center; }

/* ===== MOBILE MENU FIXES ===== */
@media (max-width: 768px) {
    .nav-list.open .nav-dropdown .nav-link {
        justify-content: center;
        text-align: center;
    }
    .nav-list.open .dropdown-menu a {
        text-align: center;
        display: block;
    }
}

/* All Services link style */
.dropdown-menu .all-services-link {
    font-weight: 600;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 0.25rem;
    padding-bottom: 0.75rem;
}

/* ===== FAQ DARK SECTION FIX ===== */
.section-dark .faq-question span,
.section-dark .section-header h2 {
    color: var(--white);
}
.section-dark .faq-item {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}

/* ===== CTA BUTTON FIXES ===== */
/* Homepage CTA section button */
.cta-grid .btn-primary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}
.cta-grid .btn-primary::before {
    display: none;
}
.cta-grid .btn-primary:hover {
    background: var(--white);
    color: var(--dark) !important;
}

/* About page CTA box button */
.cta-box .btn {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}
.cta-box .btn::before {
    display: none;
}
.cta-box .btn:hover {
    background: var(--white);
    color: var(--dark) !important;
}

/* Services page CTA button */
.services-cta .btn-primary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}
.services-cta .btn-primary::before {
    display: none;
}
.services-cta .btn-primary:hover {
    background: var(--white);
    color: var(--dark) !important;
}

/* Service pages Get Started section - light background */
.cta-section.light-text {
    background: var(--bg-alt);
}
.cta-section.light-text h2,
.cta-section.light-text p {
    color: var(--dark);
}
.cta-section.light-text .btn-primary {
    background: var(--primary);
    border: 2px solid var(--primary);
    color: var(--white);
}
.cta-section.light-text .btn-primary::before {
    display: none;
}
.cta-section.light-text .btn-primary:hover {
    background: var(--dark);
    border-color: var(--dark);
    color: var(--white) !important;
}

/* FAQ section text color fix for service pages */
.section-dark.faq-section .faq-question span,
.section-dark.faq-section .section-header h2,
.faq-section.light-faq .faq-question span,
.faq-section.light-faq .section-header h2 {
    color: var(--dark);
}
.faq-section.light-faq {
    background: var(--bg-alt);
}
.faq-section.light-faq .faq-item {
    background: var(--white);
}

/* Testimonials stats section */
.testimonials-stats {
    background: var(--primary);
    padding: 4rem 0;
}
.testimonials-stats .stat-number,
.testimonials-stats .stat-label {
    color: var(--white);
}

/* Process page image fix */
.two-col-image {
    max-width: 100%;
    overflow: hidden;
}
.two-col-image svg {
    max-width: 350px;
    height: auto;
}

/* Service page timeline fix */
.service-timeline {
    padding-left: 0;
}
.service-timeline::before {
    display: none;
}
.service-timeline .timeline-item {
    display: flex;
    gap: 1.5rem;
    padding-left: 0;
    padding-bottom: 2rem;
}
.service-timeline .timeline-marker {
    position: relative;
    left: auto;
    top: auto;
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 0;
    flex-shrink: 0;
}
.service-timeline .timeline-content {
    padding-top: 0.5rem;
}
.service-timeline .timeline-content h3 {
    margin-bottom: 0.5rem;
    color: var(--dark);
}
.service-timeline .timeline-content p {
    color: var(--text-muted);
    margin: 0;
}

/* Process page "What to Expect" timeline fix */
.process-timeline {
    padding-left: 0;
}
.process-timeline::before {
    display: none;
}
.process-timeline .timeline-item {
    display: flex;
    gap: 1.5rem;
    padding-left: 0;
    padding-bottom: 2rem;
    align-items: flex-start;
}
.process-timeline .timeline-marker {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    min-width: 110px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.625rem 1rem;
    flex-shrink: 0;
    white-space: nowrap;
}
.process-timeline .timeline-content {
    padding-top: 0;
}
.process-timeline .timeline-content h4 {
    margin-bottom: 0.5rem;
    color: var(--dark);
}
.process-timeline .timeline-content p {
    color: var(--text-muted);
    margin: 0;
}

/* ===== PROCESS PAGE STYLES ===== */
.phase-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.steps-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 3rem 0;
}

.steps-row .process-step {
    text-align: center;
    flex: 1;
}

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

.process-connector {
    flex: 0 0 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.checklist li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 0.125rem;
}

.bg-light {
    background: var(--bg-alt);
    padding: 5rem 0;
}

.two-col-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.two-col-image svg {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}


.faq-section .faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-icon {
    transition: transform var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.cta-section {
    background: var(--primary);
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
}

.btn-accent {
    background: var(--highlight);
    color: var(--dark);
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all var(--transition);
}

.btn-accent:hover {
    background: var(--white);
    transform: translateY(-2px);
}

/* ===== TESTIMONIALS PAGE STYLES ===== */
.featured-testimonial {
    background: linear-gradient(135deg, var(--primary), #7A1FC7);
    border-radius: var(--radius-xl);
    padding: 4rem;
    margin-bottom: 3rem;
}

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

.quote-icon {
    width: 50px;
    height: 50px;
    color: rgba(255,255,255,0.3);
    margin-bottom: 1.5rem;
}

.featured-quote blockquote {
    color: var(--white);
    font-size: 1.375rem;
    line-height: 1.8;
    margin: 0 0 2rem;
    font-style: italic;
}

.featured-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar svg {
    width: 100%;
    height: 100%;
}

.author-avatar.small {
    width: 40px;
    height: 40px;
}

.author-info {
    text-align: left;
}

.author-info strong {
    display: block;
    color: var(--white);
    font-size: 1.125rem;
}

.author-info span {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
}

.author-info .stars {
    color: var(--highlight);
    font-size: 1rem;
    margin-top: 0.25rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.testimonial-card .stars {
    color: #FFB800;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author strong {
    display: block;
    color: var(--dark);
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ===== CONTACT PAGE STYLES ===== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

.contact-item strong {
    display: block;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.contact-item a,
.contact-item span {
    color: var(--text-muted);
}

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

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.contact-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color var(--transition);
    background: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-form .form-group {
    margin-bottom: 1.25rem;
}

@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .steps-row {
        flex-wrap: wrap;
        gap: 2rem;
    }
    .process-connector {
        display: none;
    }
    .steps-row .process-step {
        flex-basis: 45%;
    }
}

@media (max-width: 768px) {
    .featured-testimonial {
        padding: 2rem;
    }
    .featured-quote blockquote {
        font-size: 1.125rem;
    }
    .steps-row .process-step {
        flex-basis: 100%;
    }
    .timeline::before {
        display: none;
    }
}
