:root {
    --primary: #145DA0;
    --primary-dark: #0D4C82;
    --primary-light: #ffffff;
    --secondary: #19B5FE;
    --secondary-dark: #0E8ED0;
    --accent: #2ECC71;
    --dark: #1E293B;
    --light: #F9FAFB;
    --light-gray: #F1F5F9;
    --mid-gray: #CBD5E1;
    --gray: #64748B;
    --text: #334155;
    --success: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;
    --border-radius-sm: 4px;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark);
    letter-spacing: -0.01em;
}

h1 {
    font-size: 2.75rem;
    font-weight: 600;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    font-weight: 300;
}

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    text-align: center;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

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

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

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

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

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

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

.btn-icon-only {
    width: 48px;
    height: 48px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Header & Navigation - New Design */
.top-bar {
    background-color: var(--primary-dark);
    padding: 8px 0;
    color: white;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-phone {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-phone svg {
    color: var(--secondary);
}

.top-phone a {
    color: white;
    font-weight: 600;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
}

.top-phone a:hover {
    color: var(--secondary);
}

.available-now {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 4px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4);
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
        box-shadow: 0 0 0 5px rgba(46, 204, 113, 0);
    }

    100% {
        transform: scale(0.8);
        opacity: 0.8;
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

.emergency-tag {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Main Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    flex-shrink: 0;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-primary {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.3rem;
    font-family: 'Poppins', sans-serif;
}

.logo-secondary {
    color: var(--secondary);
    font-weight: 500;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
}

/* Main Navigation */
.main-nav {
    margin-left: auto;
    margin-right: 2rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    padding: 0;
    margin: 0;
}

.nav-list a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
    transition: color 0.2s ease;
}

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

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

.nav-list a:hover::after {
    width: 100%;
}

/* CTA Button */
.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-emergency {
    background-color: var(--secondary);
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    border: none;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
}

.btn-emergency:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: white;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    cursor: pointer;
    position: relative;
    padding: 0;
}

.menu-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.menu-toggle .bar:nth-child(1) {
    top: 12px;
}

.menu-toggle .bar:nth-child(2) {
    top: 18px;
}

.menu-toggle .bar:nth-child(3) {
    top: 24px;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateX(-50%) rotate(45deg);
    top: 18px;
}

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

.menu-toggle.active .bar:nth-child(3) {
    transform: translateX(-50%) rotate(-45deg);
    top: 18px;
}

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

/* Mobile Menu */
.mobile-menu {
    background-color: white;
    position: fixed;
    top: 137px;
    /* Height of top-bar + header */
    left: 0;
    width: 100%;
    height: calc(100% - 137px);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav {
    padding: 2rem 0;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.mobile-nav-list li {
    border-bottom: 1px solid var(--light-gray);
}

.mobile-nav-list a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 1.1rem;
    display: block;
    padding: 1rem 0;
    transition: color 0.2s ease;
}

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

.mobile-cta-link {
    background-color: var(--secondary);
    color: white !important;
    font-weight: 600;
    border-radius: 6px;
    margin-top: 1rem;
    text-align: center;
    padding: 1rem !important;
}

.mobile-contact {
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-gray);
    text-align: center;
}

.mobile-phone-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 1.2rem;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.mobile-phone-link svg {
    color: var(--secondary);
}

.mobile-response {
    margin: 0;
    color: var(--text);
    font-size: 0.9rem;
}

.hero {
    padding: 2rem 0 4rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

/* Grid Layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
}

/* Hero Content Styling */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 59, 48, 0.1);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 59, 48, 0.3);
}

.hero-tag {
    color: #ff3b30;
    font-weight: 600;
    font-size: 0.9rem;
    margin-left: 0.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: #ff3b30;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.pulse-dot:before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background-color: rgba(255, 59, 48, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }

    70% {
        transform: scale(1.2);
        opacity: 0;
    }

    100% {
        transform: scale(0.95);
        opacity: 0;
    }
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-weight: 700;
}

.hero h1 .highlight {
    color: #ff3b30;
    position: relative;
    display: inline-block;
}

.hero h1 .highlight:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: rgba(255, 59, 48, 0.2);
    z-index: -1;
    border-radius: 10px;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #4a4a4a;
    max-width: 90%;
}

/* Trust Items */
.hero-trust {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #333;
    background-color: rgba(52, 199, 89, 0.08);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.trust-item:hover {
    transform: translateY(-2px);
    background-color: rgba(52, 199, 89, 0.12);
}

.trust-item svg {
    width: 24px;
    height: 24px;
    margin-right: 0.75rem;
    fill: #34c759;
    flex-shrink: 0;
}

/* CTA Buttons */
.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-lg {
    padding: 0.9rem 1.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #ff3b30;
    color: white;
    box-shadow: 0 4px 14px rgba(255, 59, 48, 0.4);
}

.btn-primary:hover {
    background-color: #e0352a;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 59, 48, 0.5);
}

.btn-secondary {
    background-color: #007aff;
    color: white;
    box-shadow: 0 4px 14px rgba(0, 122, 255, 0.3);
}

.btn-secondary:hover {
    background-color: #0066d6;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 122, 255, 0.4);
}

.btn svg {
    margin-right: 0.5rem;
}

/* Hero Image Container */
.hero-image-container {
    position: relative;
    z-index: 1;
}

.hero-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Review Card */
.review-card {
    position: absolute;
    bottom: -20px;
    right: -30px;
    background-color: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    max-width: 320px;
    transform: rotate(3deg);
    z-index: 3;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: rotate(0deg) translateY(-5px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.stars {
    color: #ffcc00;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.review-count {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.review-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: #333;
}

.reviewer {
    display: flex;
    align-items: center;
}

.reviewer-img {
    width: 24px;
    height: 24px;
    margin-right: 0.75rem;
}

.reviewer-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
}

.reviewer-location {
    font-size: 0.8rem;
    color: #666;
}

/* Emergency Badge */
.emergency-badge {
    position: absolute;
    top: 20px;
    left: -15px;
    background-color: #34c759;
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(52, 199, 89, 0.4);
    z-index: 3;
}

.emergency-badge:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    border-top: 10px solid #218c3f;
    border-left: 15px solid transparent;
    z-index: -1;
}

.emergency-badge svg {
    margin-right: 0.5rem;
}

/* Mobile Styles */
@media (max-width: 992px) {
    .hero {
        padding: 2rem 0 4rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero h1 {
        font-size: 2.6rem;
        margin-bottom: 1.25rem;
    }

    .hero-subtitle {
        max-width: 100%;
        font-size: 1.05rem;
        margin-bottom: 1.75rem;
    }

    .hero-trust {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions a {
        width: 100%;
    }

    .hero-image-container {
        order: -1;
        margin: 0 -1rem;
        padding: 0 1rem;
    }

    .hero-img {
        width: 100%;
        transform: none;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    }

    .hero-img:hover {
        transform: none;
    }

    .review-card {
        position: relative;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        margin-top: 2rem;
        transform: none;
        border: 1px solid rgba(0, 0, 0, 0.08);
    }

    .review-card:hover {
        transform: none;
    }

    .emergency-badge {
        top: 15px;
        left: 0;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .hero {
        padding: 1.5rem 0 3.5rem;
    }

    .hero-grid {
        gap: 2rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 1rem 0 3rem;
    }

    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .hero h1 {
        font-size: 1.9rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .hero-badge {
        margin-bottom: 1.25rem;
        padding: 0.4rem 0.9rem;
        width: 100%;
        justify-content: center;
    }

    .hero-tag {
        font-size: 0.8rem;
    }

    .hero-trust {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 1.75rem;
    }

    .trust-item {
        font-size: 0.95rem;
        padding: 0.8rem 1rem;
    }

    .trust-item svg {
        width: 26px;
        height: 26px;
        margin-right: 1rem;
    }

    .hero-actions {
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .btn-lg {
        padding: 0.9rem 1rem;
        font-size: 1rem;
        height: 56px;
    }

    .review-card {
        padding: 1.25rem;
        margin-top: 1.5rem;
    }

    .review-card p {
        font-size: 0.9rem;
    }

    .review-header {
        margin-bottom: 0.75rem;
    }

    .stars {
        font-size: 1.1rem;
    }

    .emergency-badge {
        padding: 0.5rem 0.9rem;
    }
}

.image-showcase {
    padding: 2rem 0;
    background-color: #f9f9f9;
  }
  
  .image-row {
    display: flex;
    flex-direction: row; /* Ensure horizontal layout */
    justify-content: space-around; /* Distribute items evenly */
    align-items: center;
    flex-wrap: nowrap; /* Prevent wrapping to new lines */
    gap: 2rem; /* Add some space between images */
  }
  
  .showcase-image {
    flex: 1; /* Make each image take equal space */
    max-width: 33%; /* Limit maximum width */
    text-align: center;
  }
  
  .showcase-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain; /* Maintain aspect ratio */
  }
  
  /* Make it responsive for mobile */
  @media (max-width: 768px) {
    .image-row {
      flex-wrap: wrap; /* Allow wrapping on small screens if needed */
    }
    
    .showcase-image {
      max-width: 100%; /* Full width on small screens */
      margin-bottom: 1.5rem;
    }
  }

/* Services Section */
.services {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    color: var(--dark);
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.service-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.service-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.service-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1.5rem;
}

.service-price {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 500;
    color: var(--dark);
}

.service-price span {
    color: var(--gray);
    font-size: 0.85rem;
    font-weight: 400;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

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

.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

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

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

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

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

/* Process Section Styles */
.process {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.process .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

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

.step-card {
    position: relative;
    background-color: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 25px; /* Adjusted to accommodate the step number circle */
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -20px; /* This positions the circle above the card */
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: white;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.step-card h3 {
    margin-top: 0.5rem; /* Reduce this if you want less space below the number */
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark);
}

.step-card p {
    font-size: 16px;
    text-align: center;
    color: var(--text-color);
}

.process-mobile-indicator {
    display: none;
    text-align: center;
    margin-bottom: 15px;
}

.process-dots {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

.process-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.process-dot.active {
    background-color: var(--primary);
}

.process-step-count {
    font-size: 14px;
    color: #666;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .process-mobile-indicator {
        display: block;
    }
    
    .steps-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 20px;
        margin-bottom: 10px;
        width: 100%;
        grid-template-columns: none;
        gap: 0;
    }
    
    .step-card {
        flex: 0 0 85%;
        min-width: 260px;
        scroll-snap-align: center;
        margin-right: 15px;
    }
    
    .step-card:last-child {
        margin-right: 0;
    }
    
    /* Hide scrollbar but keep functionality */
    .steps-grid::-webkit-scrollbar {
        height: 4px;
    }
    
    .steps-grid::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
    
    .steps-grid::-webkit-scrollbar-thumb {
        background: #ddd;
        border-radius: 10px;
    }
}

/* Tablet responsive styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .step-card {
        margin-bottom: 2rem;
    }
}

/* Areas Section */
.areas {
    padding: 5rem 0;
    background-color: var(--primary-light);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.area-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.area-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
    background-color: var(--primary);
    color: white;
}

.area-card:hover h3 {
    color: white;
}

.area-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.area-card p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

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

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition);
}

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

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

.testimonial-content {
    font-style: italic;
    margin-bottom: 1.5rem;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--mid-gray);
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background-color: var(--primary);
    color: white;
}

.cta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

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

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

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.cta-form {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-lg);
}

.cta-form h3 {
    margin-bottom: 1.5rem;
    color: var(--dark);
}

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

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

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--mid-gray);
    border-radius: var(--border-radius-sm);
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(20, 93, 160, 0.2);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

#contact .cta-form .checkbox-group label {
    color: #000;
}

.cta-form form p {
    color: #000;
}

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

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

.footer-logo {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    margin-bottom: 1.5rem;
    display: block;
    letter-spacing: -0.02em;
}

.footer-logo span {
    color: var(--secondary);
    font-weight: 400;
}

.footer-about p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-contact li svg {
    width: 20px;
    height: 20px;
    color: var(--secondary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.footer-heading {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 500;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

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

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

/* Mobile CTA */
.mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    z-index: 1000;
    display: none;
}

.mobile-cta-container {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.mobile-cta .btn {
    flex: 1;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Media Queries */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

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

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

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

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .live-indicator {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 1.25rem;
        box-shadow: var(--box-shadow);
        gap: 1.25rem;
        z-index: 1000;
        border-top: 1px solid var(--mid-gray);
        border-bottom: 1px solid var(--mid-gray);
        text-align: center;
    }

    .nav-menu.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

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

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-menu a {
        padding: 0.75rem 0;
        font-size: 1.1rem;
        width: 100%;
        border-bottom: 1px solid var(--light-gray);
    }

    .nav-menu a:last-child {
        border-bottom: none;
    }

    .nav-cta {
        margin-top: 0.5rem;
        padding: 0.75rem 1.5rem !important;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-image {
        order: -1;
    }

    .review-card {
        position: relative;
        bottom: 0;
        right: 0;
        max-width: 100%;
        margin-top: 2rem;
    }

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

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

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

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

    .cta-container {
        grid-template-columns: 1fr;
    }

    .mobile-cta {
        display: block;
    }

    .btn-desktop {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 3rem 0;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

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

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

/* Enhanced Mobile CSS for Glasgow Plumbing Website */

/* Fix mobile menu issues */
@media (max-width: 768px) {

    /* Proper mobile menu handling */
    .main-nav {
        display: none;
    }

    .mobile-menu {
        height: 100vh;
        padding-top: 2rem;
        z-index: 1001;
    }

    .mobile-menu.active {
        transform: translateX(0);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    .mobile-nav-list {
        margin-bottom: 2rem;
    }

    .mobile-nav-list a {
        padding: 1rem;
        display: block;
        border-bottom: 1px solid var(--light-gray);
    }

    .mobile-contact {
        padding: 1.5rem;
        margin-top: 1rem;
        background-color: var(--primary-light);
        border-radius: var(--border-radius);
    }

    /* Fix hero section on mobile */
    .hero {
        padding: 3rem 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-image {
        order: -1;
    }

    .review-card {
        position: relative;
        right: 0;
        bottom: 0;
        box-shadow: var(--box-shadow);
        margin-top: 1.5rem;
        max-width: 100%;
    }

    /* Fix services section on mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        max-width: 100%;
    }

    /* Fix features section on mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Fix process steps for mobile */
    .steps-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
    }

    .step-card {
        min-width: 85%;
        scroll-snap-align: center;
        flex-shrink: 0;
    }

    .process-mobile-indicator {
        display: block;
    }

    /* Fix areas section on mobile */
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

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

    /* Fix testimonials section on mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Fix CTA section on mobile */
    .cta-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    /* Fix footer on mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Fix back to top button positioning for mobile */
    .back-to-top {
        right: 15px;
        bottom: 80px;
        /* Position above the mobile CTA */
    }

    /* Enhance mobile CTA */
    .mobile-cta {
        display: block;
        padding: 0.75rem;
        z-index: 1002;
    }

    .mobile-cta-container {
        gap: 0.75rem;
    }

    .mobile-cta .btn {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    /* Improved typography for mobile */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    p {
        font-size: 1rem;
    }

    /* Fix section spacing for mobile */
    section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

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

    .section-header p {
        font-size: 1rem;
    }

    /* Fix for top bar on mobile */
    .top-bar-content {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .emergency-tag {
        text-align: center;
        padding-top: 0.5rem;
    }
}

/* Additional fixes for very small screens */
@media (max-width: 375px) {
    .container {
        padding: 0 1rem;
    }

    .top-contact {
        flex-direction: column;
        gap: 0.5rem;
    }

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

    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .service-card-footer {
        flex-direction: column;
        gap: 1rem;
    }

    .service-card-footer .btn {
        width: 100%;
    }
}

/* Fix mobile menu JavaScript issues */
@media (max-width: 768px) {

    /* Ensure all interactive elements are accessible */
    button,
    a {
        min-height: 44px;
        min-width: 44px;
    }

    /* Ensure better tap targets */
    .nav-list a,
    .mobile-nav-list a,
    .footer-links a {
        padding: 0.75rem;
        display: block;
    }
}

/* Fix scrolling issues in step cards */
.steps-grid::-webkit-scrollbar {
    height: 6px;
}

.steps-grid::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 10px;
}

.steps-grid::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}

.steps-grid::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}