/* ==========================================
   Birmingham Boiler Experts - Main Stylesheet
   ========================================== */

/* CSS Variables */
:root {
    --primary-navy: #0C3E6E;
    --action-red: #E53935;
    --accent-aqua: #29B6F6;
    --base-white: #FFFFFF;
    --subtle-gray: #F4F4F9;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6a6a6a;

    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--base-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

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

ul {
    list-style: none;
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

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

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

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

.btn-secondary:hover {
    background-color: transparent;
    color: var(--base-white);
    border-color: var(--base-white);
}

.btn-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--base-white);
    box-shadow: var(--shadow-sm);
}

.header-top {
    background-color: var(--primary-navy);
    color: var(--base-white);
    padding: 10px 0;
    font-size: 0.9rem;
}

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

.header-emergency {
    color: var(--accent-aqua);
    font-weight: 600;
}

.header-emergency:hover {
    color: var(--base-white);
}

.header-main {
    padding: 10px 0;
}

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

.logo img {
    height: 80px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-list a {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-navy);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-navy);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-navy) 0%, #165a92 100%);
    color: var(--base-white);
    padding: 100px 0 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%2329B6F6" opacity="0.3"/><circle cx="80" cy="60" r="3" fill="%23E53935" opacity="0.2"/><circle cx="50" cy="80" r="2" fill="%2329B6F6" opacity="0.3"/></svg>');
    background-size: 200px 200px;
    opacity: 0.5;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(12, 62, 110, 0.95) 0%, rgba(12, 62, 110, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-guarantees {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
}

.guarantee-item .icon {
    width: 24px;
    height: 24px;
    color: var(--accent-aqua);
}

/* Hero Form */
.hero-form-wrapper {
    background-color: var(--base-white);
    padding: 35px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.booking-form h3 {
    color: var(--primary-navy);
    margin-bottom: 20px;
    font-size: 1.75rem;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: var(--accent-aqua);
}

/* Trust & Process Section */
.trust-process {
    padding: 80px 0;
    background-color: var(--subtle-gray);
}

.trust-process h2 {
    text-align: center;
    color: var(--primary-navy);
    margin-bottom: 50px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.process-card {
    background-color: var(--base-white);
    padding: 35px 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.process-number {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background-color: var(--action-red);
    color: var(--base-white);
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 0.15;
}

.process-icon {
    width: 60px;
    height: 60px;
    color: var(--accent-aqua);
    margin: 0 auto 20px;
}

.process-card h3 {
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.process-card p {
    color: var(--text-medium);
    line-height: 1.6;
}

.social-proof {
    text-align: center;
    padding: 30px;
    background-color: var(--primary-navy);
    color: var(--base-white);
    border-radius: 8px;
}

.social-proof .stars {
    width: 120px;
    height: 24px;
    margin: 0 auto 15px;
    color: #FFD700;
}

.social-proof p {
    font-size: 1.1rem;
    margin: 0;
}

/* Statistics Section */
.stats-section {
    padding: 80px 0;
    background-color: var(--primary-navy);
    color: var(--base-white);
}

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

.stat-card {
    text-align: center;
    padding: 30px 20px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    color: var(--accent-aqua);
    margin: 0 auto 20px;
}

.stat-card h3 {
    font-size: 3rem;
    color: var(--action-red);
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Emergency Banner */
.emergency-banner {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1621905251918-48416bd8575a?w=1600&h=600&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
    color: var(--base-white);
    text-align: center;
    overflow: hidden;
}

.emergency-banner .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(229, 57, 53, 0.9) 0%, rgba(12, 62, 110, 0.85) 100%);
    z-index: 1;
}

.emergency-banner .container {
    position: relative;
    z-index: 2;
}

.banner-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

/* Image Text Sections */
.image-text-section {
    padding: 100px 0;
    background-color: var(--base-white);
}

.image-text-section:nth-of-type(even) {
    background-color: var(--subtle-gray);
}

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

.image-text-reversed .image-text-grid {
    display: flex;
    flex-direction: row-reverse;
}

.image-text-reversed .image-text-content,
.image-text-reversed .image-text-image {
    flex: 1;
}

.image-text-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.image-text-content h2 {
    color: var(--primary-navy);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.6;
}

.image-text-content p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 25px;
}

.feature-list {
    list-style: none;
    margin: 30px 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.feature-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    color: var(--action-red);
    margin-top: 2px;
}

.feature-list span {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.info-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.info-box {
    background-color: var(--primary-navy);
    color: var(--base-white);
    padding: 25px 20px;
    border-radius: 8px;
    text-align: center;
}

.info-box h4 {
    font-size: 2rem;
    color: var(--accent-aqua);
    margin-bottom: 8px;
}

.info-box p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--base-white);
}

/* Services Overview Section */
.services-overview {
    padding: 80px 0;
    background-color: var(--base-white);
}

.services-overview h2 {
    text-align: center;
    color: var(--primary-navy);
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 35px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.card-primary {
    background-color: var(--primary-navy);
    color: var(--base-white);
}

.card-accent {
    background-color: var(--action-red);
    color: var(--base-white);
}

.service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    color: var(--accent-aqua);
}

.service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    opacity: 0.95;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 0.95rem;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-aqua);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Service List Section */
.service-list-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--subtle-gray) 0%, #e8e8f0 100%);
}

.service-list-section h2 {
    text-align: center;
    color: var(--primary-navy);
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.service-checklist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background-color: var(--base-white);
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.checklist-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.check-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    color: var(--action-red);
    margin-top: 2px;
}

.checklist-item span {
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.5;
}

/* New Boilers Section */
.new-boilers-section {
    padding: 80px 0;
    background-color: var(--base-white);
}

.new-boilers-section h2 {
    text-align: center;
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: var(--text-medium);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.brand-card {
    background-color: var(--subtle-gray);
    padding: 40px 20px;
    border-radius: 8px;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-navy);
    border: 2px solid transparent;
    transition: var(--transition);
}

.brand-card:hover {
    border-color: var(--accent-aqua);
    background-color: var(--base-white);
    box-shadow: var(--shadow-md);
}

.boiler-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-box {
    background-color: var(--primary-navy);
    color: var(--base-white);
    padding: 35px 30px;
    border-radius: 8px;
    text-align: center;
}

.feature-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-aqua);
}

.feature-box p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* Why Choose Section */
.why-choose {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--subtle-gray) 0%, #e8e8f0 100%);
}

.why-choose h2 {
    text-align: center;
    color: var(--primary-navy);
    margin-bottom: 50px;
}

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

.why-card {
    background-color: var(--base-white);
    padding: 35px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid var(--action-red);
}

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

.why-icon {
    width: 60px;
    height: 60px;
    color: var(--accent-aqua);
    margin: 0 auto 20px;
}

.why-card h3 {
    color: var(--primary-navy);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.why-stat {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--action-red);
    font-weight: 700;
    margin-bottom: 15px;
}

.why-card p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* Accreditations Section */
.accreditations {
    padding: 60px 0;
    background-color: var(--base-white);
}

.accreditations h2 {
    text-align: center;
    color: var(--primary-navy);
    margin-bottom: 40px;
}

.accreditation-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.accreditation-logos img {
    height: 130px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.accreditation-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Coverage & Contact Section */
.coverage-contact {
    padding: 80px 0;
    background-color: var(--subtle-gray);
}

.coverage-contact h2 {
    text-align: center;
    color: var(--primary-navy);
    margin-bottom: 50px;
}

.coverage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.coverage-map {
    background-color: var(--base-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.map-image-wrapper {
    position: relative;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(12, 62, 110, 0.3) 0%, rgba(12, 62, 110, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-marker {
    text-align: center;
    color: var(--base-white);
}

.marker-icon {
    width: 50px;
    height: 50px;
    color: var(--action-red);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    margin: 0 auto 10px;
}

.map-marker span {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.coverage-areas h3 {
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.coverage-areas ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.coverage-areas li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-medium);
}

.coverage-areas li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--action-red);
    font-size: 1.5rem;
    line-height: 1;
}

.contact-details {
    background-color: var(--base-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.contact-details h3 {
    color: var(--primary-navy);
    margin-bottom: 30px;
    font-size: 2rem;
}

.contact-info {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    color: var(--accent-aqua);
}

.contact-item strong {
    display: block;
    color: var(--primary-navy);
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-item a {
    color: var(--action-red);
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item p {
    margin: 0;
    color: var(--text-medium);
    line-height: 1.6;
}

.contact-form {
    border-top: 2px solid var(--subtle-gray);
    padding-top: 30px;
}

.contact-form h4 {
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    margin-bottom: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

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

/* Final CTA Banner */
.final-cta-banner {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1560185127-6ed189bf02f4?w=1600&h=500&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0;
    color: var(--base-white);
    text-align: center;
    overflow: hidden;
}

.final-cta-banner .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(12, 62, 110, 0.92) 0%, rgba(229, 57, 53, 0.88) 100%);
    z-index: 1;
}

.final-cta-banner .container {
    position: relative;
    z-index: 2;
}

.final-cta-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.final-cta-content p {
    font-size: 1.35rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

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

/* Footer */
.footer {
    background-color: var(--primary-navy);
    color: var(--base-white);
    padding: 60px 0 30px;
}

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

.footer-logo {
    height: 140px;
    width: auto;
    margin-bottom: 20px;
}

.footer-col p {
    opacity: 0.9;
    line-height: 1.7;
}

.footer-col h4 {
    color: var(--accent-aqua);
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--base-white);
    opacity: 0.9;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--accent-aqua);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    opacity: 0.8;
}

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

.footer-links a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-aqua);
}

/* Animations & Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

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

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

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

    .image-text-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .image-text-reversed .image-text-grid {
        flex-direction: column;
    }

    .info-boxes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 2rem;
    }

    .header-top {
        font-size: 0.8rem;
    }

    .header-top .container {
        flex-direction: column;
        gap: 5px;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--base-white);
        box-shadow: var(--shadow-md);
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .header-main .btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        padding: 60px 0 50px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-guarantees {
        flex-direction: column;
        gap: 15px;
    }

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

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

    .emergency-banner {
        padding: 60px 0;
        background-attachment: scroll;
    }

    .banner-content h2 {
        font-size: 2rem;
    }

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

    .image-text-section {
        padding: 60px 0;
    }

    .image-text-content h2 {
        font-size: 2rem;
    }

    .lead-text {
        font-size: 1.1rem;
    }

    .final-cta-banner {
        padding: 80px 0;
        background-attachment: scroll;
    }

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

    .final-cta-content p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

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

    .service-checklist {
        grid-template-columns: 1fr;
        gap: 15px;
    }

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

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

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

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

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .hero-form-wrapper {
        padding: 25px 20px;
    }

    .coverage-map,
    .contact-details {
        padding: 25px 20px;
    }

    .process-card,
    .service-card,
    .why-card {
        padding: 25px 20px;
    }

    .stat-card h3 {
        font-size: 2.5rem;
    }

    .accreditation-logos {
        gap: 20px;
    }

    .accreditation-logos img {
        height: 100px;
    }
}

/* Print Styles */
@media print {
    .header,
    .hero,
    .footer,
    .btn {
        display: none;
    }
}
