/* ===================================================================
   Capital Stair Services - Main Stylesheet
   ================================================================ */

/* ===================================================================
   1. CSS CUSTOM PROPERTIES (VARIABLES)
   ================================================================ */
:root {
    /* Force light mode - disable OS dark mode */
    color-scheme: light;
    
    /* Colors */
    --primary-color: #2c5282;
    --secondary-color: #3182ce;
    --accent-color: #ed8936;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #48bb78;
    --error-color: #f56565;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* ===================================================================
   2. RESET & BASE STYLES
   ================================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

/* ===================================================================
   3. TYPOGRAPHY
   ================================================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

.lead {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* ===================================================================
   4. BUTTONS
   ================================================================ */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary:active {
    transform: translateY(1px);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-primary .fa-spinner {
    margin-right: 0.5rem;
}

.btn-secondary {
    background: rgba(255,255,255,0.7);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-secondary:active {
    transform: translateY(1px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navigation button specific styles */
.nav-btn {
    margin-left: 1rem;
}

.nav-btn.btn-secondary {
    background: transparent;
    margin-left: 0.5rem;
}

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


/* ===================================================================
   5. HEADER & NAVIGATION
   ================================================================ */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-image {
    height: auto;
    width: 200px;
    display: block;
}

.logo-footer {
    height: auto;
    width: 160px;
}

/* Main Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem;
    transition: var(--transition);
    text-decoration: none;
}

.nav-menu a:hover,
.nav-menu a.active,
.main-nav [aria-current="page"] {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-menu a.btn-primary {
    color: white;
}

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

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-toggle i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: 0.375rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

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

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-dark);
    font-weight: 400;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 1.5rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    position: relative;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--primary-color);
    margin: 2px 0;
    transition: all 0.4s ease;
    transform-origin: left center;
    border-radius: 1px;
    display: block;
}

/* Clean Staircase Animation - 4 lines moving to create stairs */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateX(-12px);
    width: 18px;
}

.mobile-menu-toggle.active span:nth-child(2) {
    transform: translateX(-8px);
    width: 20px;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateX(-4px);
    width: 22px;
}

.mobile-menu-toggle.active span:nth-child(4) {
    transform: translateX(-4px);
    width: 22px;
}

/* Add vertical risers (stair sides) when active */
.mobile-menu-toggle.active span:nth-child(1)::after,
.mobile-menu-toggle.active span:nth-child(2)::after,
.mobile-menu-toggle.active span:nth-child(3)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 100%;
    width: 100%;
    height: 6px;
    background: linear-gradient(283deg, #112d47 7.56%, rgba(200, 206, 214, 0.05) 28.99%, rgba(214, 227, 245, 0.01));
    transition: all 0.4s ease;
    border-radius: 0 0 1px 1px;
}

/* Breadcrumbs */
.breadcrumbs {
    background: var(--bg-light);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumbs ol {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
    content: '>';
    margin: 0 0.5rem;
    color: var(--text-light);
}

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

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

/* Skip Links for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    z-index: 1000;
}

.skip-link:focus {
    top: 0;
}

/* ===================================================================
   6. HERO SECTION
   ================================================================ */
.hero {
    position: relative;
    min-height: 600px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    will-change: opacity;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide.slide-1 {
    background-image: url(../images/clean-stair.jpg);
}

.hero-slide.slide-2 {
    background-image: url(../images/staff-cleaning-stair.jpg);
}

.hero-slide.slide-3 {
    background-image: url(../images/css-team-shot.jpg);
}

.hero-slide.slide-4 {
    background-image: url(../images/cleaning-brass.jpg);
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 3.5rem;
    background-color: rgba(14,71,114,.6);
    border-radius: 15px;
    max-width: 50rem;
}

/* Hero Navigation Controls */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.hero-nav:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-50%) scale(1.1);
}

.hero-nav.prev {
    left: 2rem;
}

.hero-nav.next {
    right: 2rem;
}

.hero-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 4;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-indicator.active {
    background: white;
    transform: scale(1.2);
}

/* ===================================================================
   7. LAYOUT COMPONENTS
   ================================================================ */
/* Page Headers */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 3rem 0;
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Section Headers */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

/* Content Sections */
.content-section,
.services-section,
.why-us-section,
.testimonials-section {
    padding: 4rem 0;
    scroll-margin-top: 100px;
}

.why-us-section {
    background: var(--bg-light);
}

.content-section h2,
.content-section h3 {
    scroll-margin-top: 120px;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    margin-top: 2rem;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.main-content h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.main-content h3 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.main-content ul,
.story-content ul,
.careers-content ul,
.customer-portal ul,
.main-content ol,
.story-content ol,
.careers-content ol,
.customer-portal ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.main-content li,
.story-content li,
.careers-content li,
.customer-portal li {
    margin-bottom: 0.5rem;
}

/* Nested list styling */
.main-content ul ul,
.story-content ul ul,
.careers-content ul ul,
.customer-portal ul ul,
.main-content ol ol,
.story-content ol ol,
.careers-content ol ol,
.customer-portal ol ol,
.main-content ul ol,
.story-content ul ol,
.careers-content ul ol,
.customer-portal ul ol,
.main-content ol ul,
.story-content ol ul,
.careers-content ol ul,
.customer-portal ol ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* ===================================================================
   8. CARD COMPONENTS
   ================================================================ */
/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    will-change: transform;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-link {
    color: var(--secondary-color);
    font-weight: 500;
    display: inline-block;
    margin-top: 1rem;
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

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

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Area Cards */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.area-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: var(--transition);
    will-change: transform;
}

.area-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.area-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.area-card h3 a {
    color: inherit;
    text-decoration: none;
}

.area-card h3 a:hover {
    color: var(--secondary-color);
}

.area-card p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.postcodes {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-color);
}

/* Sidebar Cards */
.sidebar-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.area-list {
    list-style: none;
}

.area-list li {
    padding: 0.25rem 0;
    color: var(--text-light);
}

/* ===================================================================
   9. TESTIMONIALS & REVIEWS
   ================================================================ */
.testimonials-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-container {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 0 2rem;
}

.testimonial-content {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    border: 1px solid var(--border-color);
}

/* Review-style testimonials */
.review-card .testimonial-content {
    padding: 1.5rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.review-stars {
    display: flex;
    gap: 0.25rem;
}

.review-stars .fas.fa-star {
    color: var(--accent-color);
    font-size: 1.125rem;
}

.review-date {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.review-text {
    margin: 1.5rem 0;
}

.review-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
    font-style: normal;
}

.review-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--bg-light);
}

.review-author strong {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
}

.author-role {
    color: var(--text-light);
    font-size: 0.875rem;
    font-style: italic;
}

/* Legacy testimonial styles (fallback) */
.quote-icon {
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0.3;
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.testimonial-author {
    text-align: right;
    padding-right: 1rem;
}

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

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

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-bottom: 2px;
}

.slider-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* Testimonials Grid */
.testimonials-grid {
    column-count: 3;
    column-gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-box {
    background: white;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    break-inside: avoid;
    margin-bottom: 2rem;
    display: inline-block;
    width: 100%;
}

.testimonial-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.testimonial-box .testimonial-content {
    box-shadow: none;
    border: none;
}

.testimonial-box.review-card .testimonial-content {
    padding: 1.5rem;
}

.testimonial-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Review Stars */
.review-stars {
    color: var(--accent-color);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.review-stars .fas.fa-star {
    margin-right: 0.125rem;
}

/* ===================================================================
   10. FORMS & VALIDATION
   ================================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

/* Form Validation States */
.form-group input.error,
.form-group textarea.error {
    border-color: var(--error-color);
    background-color: rgba(245, 101, 101, 0.05);
    box-shadow: 0 0 0 3px rgba(245, 101, 101, 0.1);
}

.form-group input.error:focus,
.form-group textarea.error:focus {
    border-color: var(--error-color);
    box-shadow: 0 0 0 3px rgba(245, 101, 101, 0.2);
}

.form-group input.valid,
.form-group textarea.valid {
    border-color: var(--success-color);
    background-color: rgba(72, 187, 120, 0.05);
}

.form-group input.valid:focus,
.form-group textarea.valid:focus {
    border-color: var(--success-color);
    box-shadow: 0 0 0 3px rgba(72, 187, 120, 0.1);
}

/* Error Messages */
.error-message {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.error-message::before {
    content: "⚠";
    font-size: 0.75rem;
}

/* Checkbox Styling */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    width: 1.125rem;
    height: 1.125rem;
    border: 2px solid var(--border-color);
    border-radius: 0.25rem;
    background: white;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    margin-right: 0.5rem;
    margin-top: 0.25rem;
}

.checkbox-label input[type="checkbox"]:checked {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.875rem;
    font-weight: bold;
}

.checkbox-label input[type="checkbox"]:focus {
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

.checkbox-label.error {
    color: var(--error-color);
}

.checkbox-label.error input[type="checkbox"] {
    border-color: var(--error-color);
    box-shadow: 0 0 0 2px rgba(245, 101, 101, 0.1);
}

/* Character Counter */
.char-counter {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: right;
    margin-top: 0.25rem;
}

.char-counter.warning {
    color: var(--accent-color);
}

.char-counter.error {
    color: var(--error-color);
}

/* Form Progress */
.form-progress {
    height: 0.25rem;
    background: var(--bg-light);
    border-radius: 0.125rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.form-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 0.125rem;
}

/* ===================================================================
   11. INFO & CONTACT COMPONENTS
   ================================================================ */
.info-card {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
    flex-shrink: 0;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Business Information */
.business-hours,
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Service Coverage */
.service-coverage {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 0.375rem;
    margin: 1rem 0;
}

.service-coverage h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.service-coverage ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-coverage li {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Location Info */
.location-info {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.location-info h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.postcode-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.postcode-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* ===================================================================
   12. FLASH MESSAGES & ALERTS
   ================================================================ */
.flash-messages {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1100;
    max-width: 400px;
}

.alert {
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
    position: relative;
    animation: slideIn 0.3s ease;
}

.alert-success {
    background: var(--success-color);
    color: white;
}

.alert-error {
    background: var(--error-color);
    color: white;
}

.alert-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.alert-close:hover {
    opacity: 1;
}

/* ===================================================================
   13. FAQ SECTION
   ================================================================ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
    border-left: 3px solid transparent;
    transition: border-color 0.3s ease;
}

.faq-item.active {
    border-left-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.25rem;
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    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: 10px 1.25rem;
    color: var(--text-light);
}

/* FAQ Preview */
.faq-preview-section {
    padding: 3rem 0;
    background: var(--bg-light);
}

.faq-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faq-preview {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary-color);
}

.faq-preview h3 {
    color: var(--primary-color);
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.faq-preview p {
    color: var(--text-light);
    line-height: 1.5;
    padding: 10px 0px;
}

/* ===================================================================
   14. SPECIAL CONTENT SECTIONS
   ================================================================ */
/* Highlight Boxes */
.price-highlight {
    background: var(--accent-color);
    color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    margin: 2rem 0;
}

.price-highlight h3 {
    color: white;
    margin: 0;
}

.guarantee-box {
    background: var(--bg-light);
    border-left: 4px solid var(--success-color);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 2rem;
}

.guarantee-box ul {
    list-style: none;
    margin: 0;
}

.guarantee-box li {
    padding: 0.5rem 0;
}

.guarantee-box i {
    color: var(--success-color);
    margin-right: 0.5rem;
}

.cta-box {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 0.5rem;
    text-align: center;
    margin-top: 3rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 4rem 0;
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Service Details */
.service-details {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 2rem;
    margin: 2rem 0;
}

.service-details h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-pricing {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

.price-from {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
}

.price-currency {
    font-size: 1rem;
    color: var(--text-light);
}

/* ===================================================================
   15. PAGE-SPECIFIC STYLES
   ================================================================ */
/* Our Story Page */
.story-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.story-timeline {
    position: relative;
    padding: 2rem 0;
    margin: 3rem 0;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: 42px;
    top: 5px;
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: var(--shadow-md);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.value-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.recognition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.recognition-item {
    text-align: center;
    padding: 1.5rem;
}

.recognition-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

/* Careers Page */
.careers-content {
    max-width: 900px;
    margin: 0 auto;
}

.careers-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.benefit-card {
    padding: 2rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.job-listing {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.job-listing h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.job-details {
    background: white;
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1.5rem;
}

.job-details p {
    margin-bottom: 0.5rem;
}

.apply-box {
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.apply-box h3 {
    color: white;
    margin-bottom: 1rem;
}

.apply-box a {
    color: var(--accent-color);
}

.apply-box a:hover {
    color: white;
}

.team-testimonials {
    margin: 2rem 0;
}

.team-testimonials blockquote {
    background: var(--bg-light);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.team-testimonials cite {
    display: block;
    text-align: right;
    color: var(--text-light);
    font-style: normal;
    margin-top: 1rem;
}

/* Customer Portal Page */
.customer-portal {
    max-width: 1000px;
    margin: 0 auto;
}

.portal-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.portal-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.portal-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.portal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.payment-section,
.novoville-section,
.support-section {
    margin: 4rem 0;
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.payment-method {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.support-item {
    padding: 1.5rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.quick-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.quick-link i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* ===================================================================
   16. BLOG & CONTENT
   ================================================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    will-change: transform;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}

.blog-content time {
    color: var(--text-light);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content h2 {
    margin: 0.5rem 0 1rem;
    font-size: 1.25rem;
}

.blog-content h2 a {
    color: var(--text-dark);
    text-decoration: none;
}

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

.blog-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Blog Post Specific */
.blog-post-header {
    text-align: center;
    padding: 2rem 0;
    background: var(--bg-light);
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.blog-post-content h2,
.blog-post-content h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-post-content p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-post-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Table of Contents */
.table-of-contents {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
    border-left: 4px solid var(--primary-color);
}

.table-of-contents h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-of-contents li {
    margin-bottom: 0.5rem;
}

.table-of-contents a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.9375rem;
}

.table-of-contents a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Related Posts */
.related-posts {
    background: var(--bg-light);
    padding: 3rem 0;
    margin-top: 3rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.related-post {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.related-post:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.related-post h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.related-post h3 a {
    color: var(--text-dark);
    text-decoration: none;
}

.related-post h3 a:hover {
    color: var(--primary-color);
}

/* ===================================================================
   17. ERROR PAGES
   ================================================================ */
.error-section {
    padding: 4rem 0;
    text-align: center;
}

.error-content h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.error-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.error-suggestions {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: left;
}

.error-suggestions h2,
.error-suggestions h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.error-suggestions ul {
    columns: 2;
    column-gap: 2rem;
    margin-bottom: 2rem;
}

.error-suggestions li {
    margin-bottom: 0.5rem;
    break-inside: avoid;
}

.error-suggestions a {
    color: var(--secondary-color);
    text-decoration: none;
}

.error-suggestions a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.error-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ===================================================================
   18. FOOTER
   ================================================================ */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.5rem;
}

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

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-section [itemprop="telephone"],
.footer-section [itemprop="email"] {
    color: inherit;
}

.footer-section [itemprop="telephone"]:hover,
.footer-section [itemprop="email"]:hover {
    color: var(--accent-color);
}

.footer-section [itemprop="address"] {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

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

.footer-bottom a {
    color: rgba(255,255,255,0.8);
}

/* ===================================================================
   19. ANIMATIONS & EFFECTS
   ================================================================ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

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

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.animate-fade-in { animation: fadeIn 0.6s ease-out; }
.animate-fade-in-delay { animation: fadeIn 0.6s ease-out 0.2s both; }
.animate-fade-in-delay-2 { animation: fadeIn 0.6s ease-out 0.4s both; }
.animate-fade-in-delay-3 { animation: fadeIn 0.6s ease-out 0.6s both; }

.loading {
    opacity: 0.7;
    pointer-events: none;
}

.skeleton {
    background: linear-gradient(90deg, var(--bg-light) 25%, transparent 50%, var(--bg-light) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

/* ===================================================================
   20. UTILITIES
   ================================================================ */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.wp-caption,
.image-caption {
    text-align: center;
    font-style: italic;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

img[loading="lazy"] {
    background: var(--bg-light);
}

.btn-conversion-tracking {
    position: relative;
}

.btn-conversion-tracking::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

/* Validation Tooltips */
.validation-tooltip {
    position: absolute;
    background: var(--text-dark);
    color: white;
    padding: 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.validation-tooltip.show {
    opacity: 1;
}

/* ===================================================================
   21. RESPONSIVE DESIGN
   ================================================================ */

@media (max-width: 1024px) {
    .service-coverage ul {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

@media (max-width: 920px) {
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    /* Mobile menu backdrop */
    .mobile-menu-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        cursor: pointer;
    }
    
    .mobile-menu-backdrop.active {
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 6rem 0 0 0;
        transition: right 0.3s ease;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    /* Call Us CTA at top of mobile menu */
    .nav-menu .btn-primary {
        margin: 0 2rem;
        padding: 1rem 1.5rem;
        width: 16rem;
    }
    
    
    .nav-menu .btn-primary i {
        font-size: 1.125rem;
    }
    
    /* Mobile menu items */
    .nav-menu li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid var(--bg-light);
    }
    
    .nav-menu li:has(.btn-primary) {
        order: 998;
        border: none;
        margin-top: auto;
    }
    
    .nav-menu li:has(.btn-secondary) {
        order: 999;
        border: none;
    }
    
    .nav-menu a:not(.btn-primary):not(.btn-secondary) {
        display: block;
        padding: 1.25rem 2rem;
        color: var(--text-dark);
        font-weight: 500;
        font-size: 1rem;
        border: none;
        text-align: left;
        transition: all 0.2s ease;
    }
    
    /* Secondary button styling */
    .nav-menu .btn-secondary {
        margin: 0 2rem 2rem 2rem;
        padding: 1rem 1.5rem;
        background: transparent;
        color: var(--primary-color);
        border: 2px solid var(--primary-color);
        border-radius: 0.5rem;
        text-align: center;
        font-weight: 500;
        width: 16rem;
    }
    
    /* Mobile dropdown styling */
    .dropdown-menu {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        margin: 0;
        border-radius: 0;
        border: none;
        padding: 0;
        transition: all 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 300px;
    }
    
    .dropdown-toggle {
        position: relative;
    }
    
    .dropdown-toggle i {
        transition: transform 0.3s ease;
    }
    
    .dropdown.active .dropdown-toggle i {
        transform: rotate(180deg);
    }
    
    .dropdown-menu a {
        padding: 1rem 3rem;
        font-size: 0.9375rem;
        color: var(--text-light);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .dropdown-menu a:hover {
        background: rgba(0, 0, 0, 0.03);
        color: var(--primary-color);
        padding-left: 3.5rem;
    }
    
    /* Tablet responsive layout for sidebar pages */
    .content-grid {
        grid-template-columns: 1fr 300px;
        gap: 2rem;
    }
    
    /* Testimonials layout for tablet */
    .testimonials-grid {
        column-count: 2;
        column-gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Hero adjustments */
    .hero-nav {
        display: none;
    }
    
    .hero-nav.prev {
        left: 1rem;
    }
    
    .hero-nav.next {
        right: 1rem;
    }
    
    .hero-indicators {
        bottom: 1rem;
    }

    .hero-content {
        max-width: 25rem;
        padding: 1.5rem;
    }

    .hero-buttons a.btn-primary {
        margin-bottom: 5px;
    }
    
    /* Mobile dropdown menu */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        margin-left: 1rem;
        margin-top: 0;
    }
    
    .dropdown:hover .dropdown-menu {
        transform: none;
    }
    
    /* Timeline adjustments */
    .story-timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-marker {
        left: 12px;
    }
    
    /* Grid adjustments */
    .portal-grid,
    .benefits-grid,
    .values-grid,
    .payment-methods,
    .support-grid,
    .areas-grid,
    .faq-preview-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    /* Navigation buttons */
    .nav-btn {
        margin: 0.5rem 0;
        width: 100%;
    }
    
    /* Form validation */
    .error-message {
        font-size: 0.8125rem;
    }
    
    .validation-tooltip {
        position: fixed;
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        white-space: normal;
        text-align: center;
    }
    
    /* Blog and content */
    .blog-post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .service-pricing {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .table-of-contents {
        margin: 1rem -1rem;
        border-radius: 0;
        border-left: none;
        border-top: 4px solid var(--primary-color);
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .postcode-list {
        justify-content: center;
    }
    
    .error-suggestions ul {
        columns: 1;
    }
    
    .error-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .breadcrumbs {
        font-size: 0.8125rem;
    }
    
    .breadcrumbs ol {
        flex-wrap: wrap;
    }
    
    /* Footer responsive layout */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        column-count: 1;
        column-gap: 1.5rem;
    }
    
    /* Sidebar page responsive layout */
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ===================================================================
   22. ACCESSIBILITY & DEVICE SUPPORT
   ================================================================ */
/* Focus improvements */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000080;
        --secondary-color: #000080;
        --text-dark: #000000;
        --text-light: #333333;
        --border-color: #000000;
    }
    
    .btn-primary,
    .btn-secondary {
        border: 2px solid currentColor;
    }
    
    .form-group input.error,
    .form-group textarea.error {
        border-width: 2px;
        border-color: #d00;
    }
    
    .error-message {
        font-weight: bold;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .animate-fade-in,
    .animate-fade-in-delay,
    .animate-fade-in-delay-2,
    .animate-fade-in-delay-3 {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .hero-slide {
        transition: none;
    }
}


/* ===================================================================
   23. PRINT STYLES
   ================================================================ */
@media print {
    .header,
    .footer,
    .hero-nav,
    .hero-indicators,
    .btn-primary,
    .btn-secondary,
    .flash-messages {
        display: none;
    }
    
    .hero {
        background: none;
        color: black;
    }
    
    .hero-content {
        background: none;
        color: black;
    }
    
    a[href^="http"]:after {
        content: " (" attr(href) ")";
    }
    
    .breadcrumbs,
    .section-title,
    .testimonial-content,
    .areas-grid,
    .faq-preview-grid,
    .blog-grid {
        page-break-inside: avoid;
    }
    
    .area-card,
    .blog-card,
    .faq-preview {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .service-details {
        page-break-inside: avoid;
    }
    
    .table-of-contents {
        page-break-after: avoid;
    }
    
    .areas-grid,
    .faq-preview-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ===================================================================
   24. PERFORMANCE OPTIMIZATIONS
   ================================================================ */
/* Optimize images for lazy loading */
img[loading="lazy"] {
    background: var(--bg-light);
}

/* Content optimization for search engines */
.content-section {
    scroll-margin-top: 100px;
}

.content-section h2,
.content-section h3 {
    scroll-margin-top: 120px;
}

/* ===================================================================
   25. SITEMAP STYLES
   ================================================================ */
.sitemap-content {
    max-width: 1000px;
    margin: 0 auto;
}

.sitemap-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.sitemap-section {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.sitemap-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.sitemap-section ul {
    margin-left: 1rem;
}

.sitemap-section li {
    margin-bottom: 0.75rem;
}

.sitemap-section a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.sitemap-section a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.areas-sitemap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.sitemap-footer {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
}

.sitemap-footer h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.sitemap-contact {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .sitemap-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .areas-sitemap {
        grid-template-columns: 1fr;
    }
    
    .sitemap-section {
        padding: 1rem;
    }
}

/* ===================================================================
   26. GETTING NEIGHBOURS AGREEMENT PAGE STYLES
   ================================================================ */
/* Intro section with left border accent */
.intro-section {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

/* Responsibility content sections */
.responsibility-section {
    margin: 3rem 0;
}

.responsibility-section h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Process step with icon and content layout */
.process-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.process-step:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Circular step icons */
.step-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-top: 20px;
}

/* Step content area */
.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Legal framework section */
.legal-framework {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 0.5rem;
    margin: 3rem 0;
}

.legal-framework h3 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

/* Practical tips section */
.practical-tips {
    margin: 3rem 0;
}

.practical-tips h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Tools and templates section */
.tools-section {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 2rem;
    margin: 3rem 0;
}

/* Grid layout for tool items */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Individual tool item cards */
.tool-item {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
    transition: var(--transition);
}

.tool-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.tool-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

/* Download call-to-action box */
.download-box {
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    margin-top: 2rem;
}

.download-box h3 {
    color: white;
    margin-bottom: 1rem;
}

.download-box p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

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

.download-box .btn-primary:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    border-color: var(--bg-light);
}

/* Support section with accent border */
.support-section {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 0.5rem;
    margin: 3rem 0;
    border-left: 4px solid var(--accent-color);
}

/* Mobile responsiveness for neighbours agreement page */
@media (max-width: 768px) {
    .process-step {
        flex-direction: row;
        gap: 1rem;
        text-align: left;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        flex-shrink: 0;
    }
    
    .step-content h3 {
        font-size: 1.25rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .intro-section,
    .agreement-process,
    .legal-framework,
    .tools-section,
    .support-section {
        padding: 1.5rem;
    }
}

/* ===================================================================
   27. COOKIE CONSENT
   ================================================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-text p {
    margin: 0;
    color: var(--text-dark);
}

.cookie-consent-text p:first-child {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.cookie-consent-text p:last-child {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.4;
}

.cookie-consent-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.cookie-policy-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.cookie-policy-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
    }
    
    .cookie-consent-actions {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 120px;
        text-align: center;
    }
    
    .cookie-policy-link {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .cookie-consent-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .testimonials-grid {
        column-count: 1;
        column-gap: 0;
    }
    
    .testimonial-box {
        margin-bottom: 1.5rem;
    }
    
    /* Better process step layout for very small screens */
    .process-step {
        gap: 0.75rem;
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .step-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
}

/* Accessibility improvements */
.cookie-consent:focus-within {
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
}

.cookie-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.cookie-policy-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .cookie-consent {
        background: white;
        border-top: 2px solid var(--text-dark);
    }
    
    .cookie-btn {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .cookie-consent {
        animation: none;
    }
    
    .cookie-btn {
        transition: none;
    }
}

/* ===================================================================
   28. GALLERY SECTION
   ================================================================ */
/* Gallery Section */
.gallery-section {
    padding: 4rem 0;
    background: var(--bg-white);
}

/* Work Gallery Container */
.work-gallery {
    margin-top: 3rem;
}

/* Gallery Grid Layout */
.gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery-row {
    display: flex;
    gap: 1.5rem;
    width: 100%;
}

.gallery-row:first-child {
    /* First row - 5 images */
}

.gallery-row:last-child {
    /* Second row - 3 images */
}

/* Individual Gallery Items */
.gallery-item {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
    background: var(--bg-light);
    flex: 1;
    min-height: 200px;
    max-height: 300px;
}

/* Gallery item aspect ratios for different sizes */
.gallery-item.portrait {
    flex: 0.8;
    aspect-ratio: 3/4;
}

.gallery-item.landscape {
    flex: 1.3;
    aspect-ratio: 4/3;
}

.gallery-item.square {
    flex: 1;
    aspect-ratio: 1/1;
}

.gallery-item.wide {
    flex: 1.6;
    aspect-ratio: 16/9;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    will-change: transform;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Gallery Overlay */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 82, 130, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.gallery-overlay span {
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    color: white;
}

/* Gallery Statistics */
.gallery-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Gallery Modal */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-modal.active {
    display: flex;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-xl);
}

/* Modal Navigation */
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    transition: var(--transition);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 2;
}

.modal-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.modal-prev {
    left: 2rem;
}

.modal-next {
    right: 2rem;
}

/* Modal Close Button */
.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    transition: var(--transition);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 2;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Modal Caption and Counter */
.modal-caption {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    white-space: nowrap;
}

.modal-counter {
    position: absolute;
    top: 2rem;
    left: 2rem;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.875rem;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Tablet Responsive Gallery */
@media (max-width: 1024px) and (min-width: 769px) {
    .gallery-item {
        min-height: 180px;
        max-height: 250px;
    }
    
    .gallery-stats {
        gap: 1.5rem;
        padding: 1.5rem;
    }
}

/* Visibility classes */
.mobile-only {
    display: none;
}

.mobile-visible {
    display: none;
}

.desktop-only {
    display: block;
}

/* Mobile Responsive Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        flex-direction: column;
        gap: 1rem;
    }
    
    .gallery-row {
        display: flex;
        gap: 1rem;
        width: 100%;
    }
    
    .gallery-item {
        min-height: 120px;
        max-height: 160px;
    }
    
    /* Maintain aspect ratios but scale them down */
    .gallery-item.portrait {
        flex: 0.8;
        aspect-ratio: 3/4;
    }
    
    .gallery-item.landscape {
        flex: 1.3;
        aspect-ratio: 4/3;
    }
    
    .gallery-item.square {
        flex: 1;
        aspect-ratio: 1/1;
    }
    
    .gallery-item.wide {
        flex: 1.6;
        aspect-ratio: 16/9;
    }
    
    /* Show/hide elements for mobile */
    .mobile-only {
        display: flex;
    }
    
    .mobile-visible {
        display: block;
    }
    
    .desktop-only {
        display: none;
    }
    
    .gallery-stats {
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        text-align: center;
    }
    
    /* Mobile review styles */
    .review-card .testimonial-content {
        padding: 1.25rem;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .review-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .testimonial-card {
        padding: 0 1rem;
    }
}
    
    .modal-nav,
    .modal-close {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .modal-prev {
        left: 1rem;
    }
    
    .modal-next {
        right: 1rem;
    }
    
    .modal-close {
        top: 1rem;
        right: 1rem;
    }
    
    .modal-caption {
        bottom: 1rem;
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    
    .modal-counter {
        top: 1rem;
        left: 1rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        min-height: 100px;
        max-height: 140px;
    }
    
    .gallery-row {
        gap: 0.75rem;
    }
    
    .gallery-grid {
        gap: 0.75rem;
    }
}
    
    .gallery-stats {
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }
}

/* Accessibility improvements */
.gallery-item:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.modal-nav:focus,
.modal-close:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .gallery-overlay {
        background: rgba(0, 0, 0, 0.9);
    }
    
    .modal-backdrop {
        background: rgba(0, 0, 0, 1);
    }
    
    .modal-nav,
    .modal-close {
        background: rgba(255, 255, 255, 0.9);
        color: var(--text-dark);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .gallery-item,
    .gallery-item img,
    .gallery-overlay,
    .gallery-modal,
    .modal-nav,
    .modal-close {
        transition: none;
    }
    
    .gallery-item:hover {
        transform: none;
    }
    
    .gallery-item:hover img {
        transform: none;
    }
    
    .modal-nav:hover,
    .modal-close:hover {
        transform: translateY(-50%);
    }
    
    .modal-close:hover {
        transform: none;
    }
}

/* ===================================================================
   29. END OF STYLESHEET
   ================================================================ */