/* Custom Styles */

:root {
    --primary-orange: #e8721a;
    --primary-dark: #2c3b40;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Navbar Styles */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
}

.navbar-logo {
    height: 50px;
    width: auto;
    max-width: 100%;
}

/* CSS Logo */
.logo-css {
    display: inline-flex;
    flex-direction: column;
    border-radius: 6px;
    overflow: hidden;
    font-family: 'Arial Black', 'Arial Bold', Arial, sans-serif;
    font-weight: 900;
    text-align: center;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.logo-top {
    background: #2c3b40;
    color: white;
    padding: 0.25rem 1rem;
    font-size: 0.6rem;
    line-height: 1;
}

.logo-middle {
    background: linear-gradient(180deg, 
        var(--primary-orange) 0%, 
        var(--primary-orange) 10%, 
        #f38020 10%, 
        #f38020 20%, 
        var(--primary-orange) 20%, 
        var(--primary-orange) 30%, 
        #f38020 30%, 
        #f38020 40%, 
        var(--primary-orange) 40%, 
        var(--primary-orange) 50%, 
        #f38020 50%, 
        #f38020 60%, 
        var(--primary-orange) 60%, 
        var(--primary-orange) 70%, 
        #f38020 70%, 
        #f38020 80%, 
        var(--primary-orange) 80%, 
        var(--primary-orange) 90%, 
        #f38020 90%, 
        #f38020 100%
    );
    color: white;
    padding: 0.4rem 1rem;
    font-size: 1.5rem;
    line-height: 1;
    letter-spacing: 0.15em;
}

.logo-bottom {
    background: #2c3b40;
    color: white;
    padding: 0.25rem 1rem;
    font-size: 0.6rem;
    line-height: 1;
}

.btn-phone-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-orange);
    color: white;
    padding: 0.65rem 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(232, 114, 26, 0.3);
}

.btn-phone-cta:hover {
    background-color: #d96315;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(232, 114, 26, 0.5);
}

.btn-phone-cta svg {
    flex-shrink: 0;
}

.btn-phone-cta .phone-text {
    font-weight: 700;
}

.navbar-toggler {
    border: 2px solid var(--primary-orange);
    padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 154, 50, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ff9a32' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    color: var(--primary-dark);
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link-home {
    padding: 0.5rem 1rem;
}

.nav-link-service {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: #f8f9fa;
    border: 2px solid transparent;
    text-decoration: none;
    gap: 0.5rem;
    min-width: 100px;
}

.nav-link-service:hover,
.nav-link-service:focus {
    background: #fff8f0;
    border-color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 114, 26, 0.2);
}

.nav-link-service.active {
    background: #fff8f0;
    border-color: var(--primary-orange);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary-orange);
}

.nav-link.active {
    color: var(--primary-orange);
}

.nav-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    transition: filter 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.nav-icon:not(.nav-icon-svg) {
    filter: brightness(0) saturate(100%) invert(18%) sepia(11%) saturate(862%) hue-rotate(143deg) brightness(95%) contrast(88%);
}

.nav-icon-svg {
    color: var(--primary-dark);
}

.nav-link-service:hover .nav-icon:not(.nav-icon-svg),
.nav-link-service:focus .nav-icon:not(.nav-icon-svg) {
    filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(346deg) brightness(98%) contrast(92%);
    transform: scale(1.1);
}

.nav-link-service:hover .nav-icon-svg,
.nav-link-service:focus .nav-icon-svg {
    color: var(--primary-orange);
    transform: scale(1.1);
}

.nav-link-service.active .nav-icon:not(.nav-icon-svg) {
    filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(346deg) brightness(98%) contrast(92%);
}

.nav-link-service.active .nav-icon-svg {
    color: var(--primary-orange);
}

.nav-text {
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

/* Mobile Styles */
@media (max-width: 991.98px) {
    .navbar-logo {
        height: 40px;
    }

    /* Uniform 44px height for all three navbar items */
    .btn-phone-cta,
    .navbar-toggler {
        height: 44px;
        box-sizing: border-box;
    }

    .navbar-brand {
        display: flex;
        align-items: center;
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    
    .logo-css {
        border-radius: 4px;
        height: 44px;
        display: flex;
        flex-direction: column;
    }
    
    .logo-top,
    .logo-bottom {
        padding: 0 0.5rem;
        font-size: 0.45rem;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .logo-middle {
        padding: 0 0.5rem;
        font-size: 1.05rem;
        flex: 2;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .btn-phone-cta {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
    
    .btn-phone-cta svg {
        width: 16px;
        height: 16px;
    }

    .navbar-toggler {
        padding: 0 0.75rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #e0e0e0;
    }
    
    .navbar-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        width: 100%;
    }
    
    .nav-item:first-child {
        grid-column: 1 / -1;
    }
    
    .nav-link-service {
        padding: 0.75rem 0.5rem;
    }
    
    .nav-icon {
        width: 36px;
        height: 36px;
    }
    
    .nav-icon-svg {
        width: 36px;
        height: 36px;
    }
    
    .nav-text {
        font-size: 0.8rem;
    }
}

@media (min-width: 992px) {
    .navbar-logo {
        height: 60px;
    }
    
    .logo-top,
    .logo-bottom {
        padding: 0.3rem 1.25rem;
        font-size: 0.65rem;
    }
    
    .logo-middle {
        padding: 0.5rem 1.25rem;
        font-size: 1.75rem;
        letter-spacing: 0.2em;
    }
    
    .navbar-nav {
        display: flex;
        grid-template-columns: unset;
        gap: 0.5rem;
    }
    
    .nav-item:first-child {
        grid-column: unset;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    display: flex;
    align-items: center;
    padding: 4rem 0 6rem 0;
    margin-bottom: 2rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 59, 64, 0.85) 0%, rgba(44, 59, 64, 0.6) 50%, rgba(44, 59, 64, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 700px;
}

.hero-title {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-highlight {
    color: #e8721a;
}

.book-now-wrapper {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-book-now {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-orange);
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 154, 50, 0.4);
    cursor: pointer;
}

.btn-book-now:hover {
    background-color: #e88a2a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 154, 50, 0.5);
}

.btn-book-now svg {
    flex-shrink: 0;
}

.date-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    min-width: 420px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.date-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.date-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 2rem;
    text-decoration: none;
    color: var(--primary-dark);
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s ease;
    gap: 1.5rem;
}

.date-option:last-child {
    border-bottom: none;
}

.date-option:hover {
    background-color: #f8f9fa;
}

.date-option.today {
    background-color: #fff8f0;
}

.date-option.today:hover {
    background-color: #ffedd5;
}

.date-info {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.day-label {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary-dark);
    min-width: 90px;
}

.date-label {
    font-size: 1rem;
    color: #666;
}

.badge-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.scarcity-text {
    font-size: 0.8rem;
    color: #dc2626;
    font-weight: 600;
    white-space: nowrap;
}

@keyframes pulse-badge {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(220, 38, 38, 0);
    }
}

.availability-badge {
    background-color: #dc2626;
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
    white-space: nowrap;
    animation: pulse-badge 2s infinite;
}

.discount-badge {
    background-color: #059669;
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Transparent Pricing Section */
.transparent-pricing {
    background-color: var(--primary-dark);
    padding: 1.25rem 0;
    margin-top: -2rem;
}

.pricing-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.pricing-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pricing-icon {
    flex-shrink: 0;
    color: white;
}

.pricing-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.pricing-text {
    color: #ccc;
    font-size: 1rem;
    margin: 0;
}

.price {
    color: var(--primary-orange);
    font-weight: 700;
}

/* Responsive Hero Styles */
@media (max-width: 767.98px) {
    .hero-section {
        min-height: 300px;
        padding: 3rem 0 3rem 0;
        margin-bottom: 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-book-now {
        padding: 0.875rem 2rem;
        font-size: 1.1rem;
    }
    
    .book-now-wrapper {
        width: 100%;
        text-align: center;
        align-items: center;
    }
    
    .btn-book-now {
        width: auto;
    }
    
    .date-dropdown {
        width: calc(100vw - 2rem);
        max-width: 420px;
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(-10px);
        margin: 0 auto;
    }
    
    .date-dropdown.show {
        transform: translateX(-50%) translateY(0);
    }
    
    .transparent-pricing {
        margin-top: 0;
        position: relative;
        z-index: 1;
    }
    
    .date-option {
        padding: 1.1rem 1.25rem;
    }
    
    .day-label {
        font-size: 1.1rem;
    }
    
    .date-label {
        font-size: 1rem;
    }
    
    .scarcity-text {
        font-size: 0.8rem;
    }
    
    .availability-badge {
        font-size: 0.8rem;
        padding: 0.3rem 0.75rem;
    }
    
    .badge-wrapper {
        gap: 0.5rem;
    }
    
    .pricing-banner {
        gap: 0.75rem;
        padding: 0 1rem;
        justify-content: flex-start;
    }
    
    .pricing-title {
        font-size: 1rem;
    }
    
    .pricing-text {
        font-size: 0.85rem;
    }

}

@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

/* Breadcrumbs */
.breadcrumbs {
    position: relative;
    z-index: 2;
    margin-bottom: 1.5rem;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    background: transparent;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.breadcrumb-item::before {
    display: none !important;
    content: none !important;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-orange);
}

.breadcrumb-item.active {
    color: white;
    font-weight: 500;
}

.breadcrumb-item:not(:last-child)::after {
    content: '>' !important;
    margin-left: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
}

@media (max-width: 767.98px) {
    .breadcrumbs {
        margin-bottom: 1rem;
    }
    
    .breadcrumb-item {
        font-size: 0.8rem;
    }
    
    .breadcrumb-item:not(:last-child)::after {
        margin-left: 0.35rem;
        font-size: 1rem;
    }
}

/* Problem Page Styles - Mobile First */
.problem-page {
    padding: 2rem 0;
}

.problem-intro {
    margin-bottom: 2rem;
}

.problem-intro p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
}

/* Postcode Checker */
.postcode-checker {
    background: linear-gradient(135deg, #2c3b40 0%, #1a2428 100%);
    border-radius: 12px;
    padding: 1.5rem 1.5rem 2rem 1.5rem;
    margin-bottom: 2.5rem;
}

.postcode-input-wrapper label {
    display: block;
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.highlight-text {
    color: var(--primary-orange);
    font-weight: 600;
}

.postcode-form {
    display: flex;
    gap: 0;
    max-width: 400px;
    margin: 0 auto;
    align-items: stretch;
}

#postcodeInput {
    flex: 1;
    min-width: 0;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px 0 0 8px;
    border-right: none;
    text-transform: uppercase;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.95);
}

#postcodeInput:focus {
    outline: none;
    border-color: var(--primary-orange);
    background: white;
    border-right: none;
}

#checkPostcodeBtn {
    padding: 0.875rem 1.25rem;
    background: var(--primary-orange);
    color: white;
    border: 2px solid var(--primary-orange);
    border-radius: 0 8px 8px 0;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

#checkPostcodeBtn:hover {
    background: #d96315;
    border-color: #d96315;
}

.postcode-result {
    margin-top: 1.5rem;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
}

.result-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.check-icon {
    color: #059669;
    flex-shrink: 0;
}

.result-header h3 {
    color: var(--primary-dark);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.result-header p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

.date-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.date-option-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    text-decoration: none;
    color: var(--primary-dark);
    transition: all 0.3s ease;
}

.date-option-card:hover {
    border-color: var(--primary-orange);
    background: #fff8f0;
}

.date-option-card.today {
    background: #fff8f0;
    border-color: var(--primary-orange);
}

.date-option-card .date-info {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.date-option-card .day-label {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-dark);
}

.date-option-card .date-label {
    font-size: 0.95rem;
    color: #666;
}

.date-option-card .availability-badge {
    background: var(--primary-orange);
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.problem-section {
    margin-bottom: 3rem;
}

.problem-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-orange);
    padding-left: 1rem;
}

.problem-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

/* Causes Grid (Legacy - keep for compatibility) */
.causes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
}

.cause-card {
    background: white;
    border-radius: 8px;
    padding: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.cause-card:hover {
    border-color: var(--primary-orange);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cause-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
}

.cause-content {
    flex: 1;
    text-align: left;
    padding: 0.75rem;
}

.cause-card h3 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.cause-card p {
    font-size: 0.75rem;
    color: #666;
    margin: 0;
    line-height: 1.3;
}

/* Section intro text */
.section-intro {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 1.5rem;
    font-style: italic;
}

/* Enhanced Causes Grid - Educational Feel */
.causes-grid-enhanced {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.cause-item-enhanced {
    position: relative;
    background: white;
    border-radius: 10px;
    padding: 0;
    display: flex;
    flex-direction: column;
    border: 2px solid #e0e0e0;
    overflow: hidden;
    cursor: default;
}

.cause-number {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    width: 32px;
    height: 32px;
    background: var(--primary-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.cause-image-enhanced {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    opacity: 0.9;
}

.cause-content-enhanced {
    flex: 1;
    text-align: left;
    padding: 1rem;
    background: linear-gradient(to bottom, #f8f9fa 0%, white 100%);
}

.cause-item-enhanced h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 0.35rem 0;
    line-height: 1.3;
}

.cause-item-enhanced p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Fix Process */
.fix-process {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.process-step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    margin-top: 0.25rem;
}

.step-content p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Safety Section */
.safety-section {
    background: #fff8f0;
    padding: 2rem 1.25rem;
    border-radius: 12px;
    margin-top: 3rem;
}

.safety-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.safety-warning {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    border-left: 4px solid #dc2626;
}

.safety-icon {
    flex-shrink: 0;
    color: #dc2626;
}

.safety-warning h3 {
    color: #dc2626;
    margin-top: 0;
}

.safety-warning ul,
.safety-ok ul {
    margin: 0.75rem 0 0 0;
    padding-left: 1.25rem;
}

.safety-warning li,
.safety-ok li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.safety-ok h3 {
    color: #059669;
    margin-top: 0;
}

.safety-ok p {
    margin-top: 1rem;
    margin-bottom: 0;
    color: #666;
}

/* Repair vs Replace Cards */
.repair-vs-replace {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.problem-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 0;
    list-style: none;
}

.problem-links-grid li {
    display: flex;
}

.problem-links-grid li a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 0.85rem 1rem;
    background: #fff8f0;
    border: 2px solid #f0e0cc;
    border-radius: 10px;
    color: #c05a00;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.35;
    text-decoration: none;
    transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.18s;
}

.problem-links-grid li a:hover {
    background: #e87722;
    border-color: #e87722;
    color: #fff;
    transform: translateY(-2px);
}

.option-card {
    padding: 1.75rem 1.5rem;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
}

.option-card h3 {
    margin-top: 0;
    margin-bottom: 1.25rem;
}

.option-card ul {
    margin: 0;
    padding-left: 1.25rem;
}

.option-card li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: #444;
}

.repair-card {
    background: #fff8f0;
    border-color: var(--primary-orange);
}

.repair-card h3 {
    color: var(--primary-orange);
}

.replace-card {
    background: #f8f9fa;
    border-color: var(--primary-dark);
}

.replace-card h3 {
    color: var(--primary-dark);
}

.option-card-btn {
    display: inline-block;
    margin-top: 1.25rem;
    padding: 0.65rem 1.4rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.option-card-btn:hover {
    opacity: 0.85;
    text-decoration: none;
}

.repair-btn {
    background: var(--primary-orange);
    color: #fff;
}

.replace-btn {
    background: var(--primary-dark);
    color: #fff;
}

/* CTA Section */
.problem-cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a2428 100%);
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
    margin: 3rem 0;
    text-align: center;
}

.cta-content h2 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    border: none;
    padding: 0;
}

.cta-content > p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: white;
    font-size: 1rem;
}

.cta-feature svg {
    flex-shrink: 0;
    color: var(--primary-orange);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-btn svg {
    flex-shrink: 0;
}

.cta-btn-primary {
    background: var(--primary-orange);
    color: white;
    box-shadow: 0 4px 15px rgba(232, 114, 26, 0.4);
}

.cta-btn-primary:hover {
    background: #d96315;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 114, 26, 0.5);
}

.cta-btn-secondary {
    background: white;
    color: var(--primary-dark);
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-orange);
    border-color: white;
}

.emergency-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin: 0;
}

/* FAQs Section */
.faqs-section {
    margin-top: 3rem;
}

.faq-item {
    padding: 1.75rem 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    border-left: 4px solid var(--primary-orange);
}

.faq-item h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-top: 0;
    margin-bottom: 1rem;
}

.faq-item p {
    margin: 0;
    line-height: 1.7;
    color: #444;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .problem-page {
        padding: 3rem 0;
    }

    .problem-section h2 {
        font-size: 2rem;
    }

    .problem-section h3 {
        font-size: 1.35rem;
    }

    .postcode-checker {
        padding: 2.5rem 2rem;
    }

    .postcode-input-wrapper label {
        font-size: 1.2rem;
    }

    .date-options {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .causes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .cause-card {
        flex-direction: row;
    }

    .cause-image {
        width: 90px;
        height: auto;
        min-height: 90px;
        align-self: stretch;
        flex-shrink: 0;
    }

    .cause-content {
        padding: 1.25rem;
    }

    .cause-card h3 {
        font-size: 1.05rem;
        margin-bottom: 0.35rem;
    }

    .cause-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    /* Enhanced causes grid responsive */
    .section-intro {
        font-size: 1.05rem;
    }

    .causes-grid-enhanced {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .cause-number {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
        top: 0.75rem;
        left: 0.75rem;
    }

    .cause-image-enhanced {
        height: 140px;
    }

    .cause-content-enhanced {
        padding: 1.25rem;
    }

    .cause-item-enhanced h3 {
        font-size: 1.05rem;
    }

    .cause-item-enhanced p {
        font-size: 0.9rem;
    }

    .repair-vs-replace {
        grid-template-columns: 1fr 1fr;
    }

    .problem-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .safety-warning {
        padding: 2rem;
    }

    .cta-features {
        flex-direction: row;
        justify-content: center;
        gap: 2.5rem;
    }

    .cta-buttons {
        flex-direction: row;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-btn {
        flex: 1;
    }

    .faq-item {
        padding: 2rem;
    }

    .faq-item h3 {
        font-size: 1.25rem;
    }
}

/* Services Grid */
.services-grid-section {
    padding: 2.5rem 0 1rem;
}

.services-grid-section h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: inherit;
    background: #fff;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    transform: translateY(-3px);
    text-decoration: none;
    color: inherit;
}

.service-card-image {
    height: 140px;
    background-size: cover;
    background-position: center;
}

.service-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}

.service-card-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 0.2rem;
}

.service-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: invert(1);
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: var(--primary-dark);
}

.service-card p {
    font-size: 0.82rem;
    color: #555;
    margin: 0;
    line-height: 1.45;
}

.service-card-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-orange);
    margin-top: auto;
    padding-top: 0.5rem;
}

/* Desktop: 4 in a row */
@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }

    .service-card-image {
        height: 180px;
    }

    .services-grid-section h2 {
        font-size: 1.9rem;
    }
}

/* Footer Styles */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4rem;
}

.footer-main {
    padding: 3rem 0 2rem 0;
}

.footer-logo {
    height: 50px;
    width: auto;
}

.footer-brand-link {
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

.footer-brand-link .logo-css {
    width: auto;
    max-width: 160px;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-orange);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-phone:hover {
    color: #ff9a32;
}

.footer-phone svg {
    flex-shrink: 0;
}

.footer-heading {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.footer-copyright {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-credit-link {
    color: inherit;
    text-decoration: none;
}

.footer-credit-link:hover {
    color: var(--primary-orange);
    text-decoration: none;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-orange);
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* Desktop Styles */
@media (min-width: 992px) {
    .problem-intro p {
        font-size: 1.15rem;
    }

    .problem-section h2 {
        font-size: 2.25rem;
    }

    .problem-links-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .causes-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

    .causes-grid .cause-card:last-child:nth-child(3n+1) {
        grid-column: 2 / 3;
    }

    .causes-grid .cause-card:last-child:nth-child(3n+2) {
        grid-column: 2 / 4;
    }

    .cause-card {
        flex-direction: row;
    }

    .cause-image {
        width: 100px;
        height: auto;
        min-height: 100px;
        align-self: stretch;
        flex-shrink: 0;
    }

    .cause-content {
        padding: 1.5rem;
    }

    .cause-card h3 {
        font-size: 1.15rem;
        margin-bottom: 0.35rem;
    }

    .cause-card p {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    /* Enhanced causes grid desktop */
    .section-intro {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .causes-grid-enhanced {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .cause-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
        top: 1rem;
        left: 1rem;
    }

    .cause-image-enhanced {
        height: 160px;
    }

    .cause-content-enhanced {
        padding: 1.5rem;
    }

    .cause-item-enhanced h3 {
        font-size: 1.15rem;
    }

    .cause-item-enhanced p {
        font-size: 0.95rem;
    }

    .fix-process {
        gap: 2rem;
    }

    .step-number {
        width: 56px;
        height: 56px;
        font-size: 1.75rem;
    }

    .safety-content {
        flex-direction: row;
        gap: 2.5rem;
    }

    .safety-warning,
    .safety-ok {
        flex: 1;
    }

    .cta-phone {
        font-size: 2.25rem;
        padding: 1.5rem 3rem;
    }
}

/* Sticky Action Banner */
.sticky-action-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(44, 59, 64, 0.98) 0%, rgba(44, 59, 64, 0.95) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    padding: 0.75rem 0 0 0;
}

.sticky-action-banner--no-strip {
    padding-bottom: 0.75rem;
}
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

.sticky-action-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.sticky-promo-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 2px 10px rgba(5, 150, 105, 0.4);
    white-space: nowrap;
    animation: bounceIn 0.6s ease-out 0.3s both;
}

@keyframes bounceIn {
    0% {
        transform: translateX(-50%) scale(0);
        opacity: 0;
    }
    50% {
        transform: translateX(-50%) scale(1.1);
    }
    100% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
}

.sticky-promo-badge svg {
    flex-shrink: 0;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.sticky-banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.sticky-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.65rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    flex: 1;
    max-width: 140px;
    text-align: center;
}

.sticky-btn svg {
    flex-shrink: 0;
}

.sticky-btn-text {
    display: block;
    line-height: 1;
}

.sticky-btn-call {
    background: var(--primary-orange);
    color: white;
    box-shadow: 0 2px 12px rgba(232, 114, 26, 0.5);
    animation: pulseSoft 2s infinite;
}

@keyframes pulseSoft {
    0%, 100% {
        box-shadow: 0 2px 12px rgba(232, 114, 26, 0.5);
    }
    50% {
        box-shadow: 0 4px 20px rgba(232, 114, 26, 0.7);
    }
}

.sticky-mini-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    animation: popIn 0.5s ease-out 0.5s both;
}

@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.sticky-mini-urgent {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    animation: popIn 0.5s ease-out 0.5s both, pulseUrgent 2s ease-in-out 1s infinite;
}

@keyframes pulseUrgent {
    0%, 100% {
        box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4);
    }
    50% {
        box-shadow: 0 2px 12px rgba(220, 38, 38, 0.7);
    }
}

.sticky-mini-discount {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
}

.sticky-btn-call:hover {
    background: #d96315;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(232, 114, 26, 0.8);
}

.sticky-btn-book {
    background: white;
    color: var(--primary-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
}

.sticky-btn-book:hover {
    background: #f8f9fa;
    color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sticky-btn-chat {
    background: #059669;
    color: white;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.4);
}

.sticky-btn-chat:hover {
    background: #047857;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.6);
}

.sticky-scrolling-areas {
    width: 100%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.15);
    padding: 0.45rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0;
}

.scrolling-text {
    display: flex;
    white-space: nowrap;
    animation: scroll-left 25s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.scrolling-content {
    display: inline-block;
    padding-right: 100%;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    margin: 0;
}

.scrolling-content strong {
    color: var(--primary-orange);
    font-weight: 700;
}

.scrolling-text:hover {
    animation-play-state: paused;
}

/* Add padding to body to prevent content being hidden behind sticky banner */
body {
    padding-bottom: 95px;
}

/* On desktop the footer itself provides the spacing — no body gap needed */
@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }

    /* Extend footer down to meet the sticky banner so no white gap shows */
    .site-footer {
        padding-bottom: 130px;
    }

    /* Push copyright text above the sticky buttons with comfortable margin */
    .footer-bottom {
        margin-bottom: 0;
    }
}

/* Tablet and Desktop Responsive Styles */
@media (min-width: 768px) {
    .sticky-action-banner {
        padding: 1rem 0 0 0;
    }

    .sticky-action-banner--no-strip {
        padding-bottom: 1rem;
    }
    
    .sticky-banner-content {
        gap: 1rem;
    }
    
    .sticky-btn {
        flex-direction: row;
        gap: 0.65rem;
        padding: 0.85rem 1.75rem;
        font-size: 1rem;
        max-width: 200px;
    }
    
    .sticky-promo-badge {
        top: -14px;
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    
    .sticky-mini-badge {
        top: -8px;
        right: -8px;
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
    
    .sticky-scrolling-areas {
        padding: 0.6rem 0;
    }
    
    .scrolling-text {
        animation: scroll-left 40s linear infinite;
    }
    
    .scrolling-content {
        font-size: 0.85rem;
    }
}

@media (min-width: 992px) {
    .sticky-btn {
        padding: 1rem 2rem;
        font-size: 1.05rem;
    }
    
    .sticky-promo-badge {
        font-size: 0.85rem;
        padding: 0.45rem 1.1rem;
    }
    
    .scrolling-content {
        font-size: 0.9rem;
    }
}

/* Hide Google reCAPTCHA badge */
.grecaptcha-badge {
    visibility: hidden;
}

/* ============================================================
   Alternative stylized logo - more modern and eye-catching
   ============================================================ */
.logo-css {
    position: relative;
    transition: all 0.3s ease;
}

/* Add subtle 3D effect on hover */
.navbar-brand:hover .logo-css {
    transform: translateY(-2px);
}

/* Enhanced top section with gradient */
.logo-top {
    background: linear-gradient(135deg, #1a2428 0%, #2c3b40 100%);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Make middle section really pop with enhanced styling */
.logo-middle {
    background: linear-gradient(180deg,
            #ff9a32 0%,
            var(--primary-orange) 5%,
            #f38020 10%,
            var(--primary-orange) 15%,
            #f38020 20%,
            var(--primary-orange) 25%,
            #f38020 30%,
            var(--primary-orange) 35%,
            #f38020 40%,
            var(--primary-orange) 45%,
            #f38020 50%,
            var(--primary-orange) 55%,
            #f38020 60%,
            var(--primary-orange) 65%,
            #f38020 70%,
            var(--primary-orange) 75%,
            #f38020 80%,
            var(--primary-orange) 85%,
            #f38020 90%,
            var(--primary-orange) 95%,
            #d96315 100%);
    text-shadow:
        2px 2px 3px rgba(0, 0, 0, 0.3),
        0 0 8px rgba(255, 154, 50, 0.4);
    position: relative;
    font-style: italic;
}

/* Add metallic shine effect to middle */
.logo-middle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 35%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.35) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 100%);
    pointer-events: none;
}

/* Enhanced bottom section */
.logo-bottom {
    background: linear-gradient(135deg, #2c3b40 0%, #1a2428 100%);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.2em;
}

/* Add glow effect on hover */
.navbar-brand:hover .logo-middle {
    text-shadow:
        2px 2px 3px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(255, 154, 50, 0.7),
        0 0 25px rgba(255, 154, 50, 0.4);
}

/* Enhanced shadow for whole logo */
.logo-css {
    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.2),
        0 1px 3px rgba(0, 0, 0, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.navbar-brand:hover .logo-css {
    box-shadow:
        0 5px 15px rgba(232, 114, 26, 0.3),
        0 2px 5px rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}
