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

:root {
    --primary-blue: #5B9BD5;
    --secondary-blue: #2E5C8A;
    --light-bg: #E8F4F9;
    --text-dark: #2C3E50;
    --text-light: #555;
    --white: #FFFFFF;
    --border-color: #D0E8F2;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

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

/* Navigation */
.navbar {
    background-color: var(--white);
    border-bottom: 2px solid var(--light-bg);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(91, 155, 213, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 20px 60px;
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(91, 155, 213, 0.4));
    border: 2px solid rgba(255,255,255,0.5);
    animation: float 8s ease-in-out infinite;
}

.bubble-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.bubble-2 {
    width: 50px;
    height: 50px;
    top: 40%;
    right: 20%;
    animation-delay: 1.5s;
}

.bubble-3 {
    width: 100px;
    height: 100px;
    bottom: 15%;
    left: 25%;
    animation-delay: 3s;
}

.bubble-4 {
    width: 45px;
    height: 45px;
    top: 60%;
    right: 35%;
    animation-delay: 2s;
}

.bubble-5 {
    width: 70px;
    height: 70px;
    bottom: 25%;
    right: 15%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-40px) translateX(15px);
        opacity: 0.6;
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: white;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #f0fafd;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(91, 155, 213, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

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

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

.btn-white:hover {
    background-color: #f0fafd;
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-outline-white:hover {
    background-color: rgba(255,255,255,0.1);
}

.btn-small {
    padding: 10px 24px;
    font-size: 0.95rem;
}

.btn-large {
    padding: 16px 48px;
    font-size: 1.1rem;
}

/* Before & After Section */
.before-after {
    padding: 80px 20px;
    background: linear-gradient(135deg, #F0FAFD 0%, var(--light-bg) 100%);
}

.before-after h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--secondary-blue);
}

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

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

.before-after-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(91, 155, 213, 0.15);
}

.before-after-item img {
    width: 100%;
    height: auto;
    display: block;
}

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

.services h2,
.pricing h2,
.why-us h2,
.service-areas h2,
.cta h2,
.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--secondary-blue);
}

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

.service-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(91, 155, 213, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--secondary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

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

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

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkmark {
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Pricing Section */
.pricing {
    padding: 80px 20px;
    background: linear-gradient(135deg, #F0FAFD 0%, var(--light-bg) 100%);
}

.pricing-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

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

.pricing-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(91, 155, 213, 0.2);
}

.pricing-card h3 {
    font-size: 1.8rem;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
}

.price-badge {
    display: inline-block;
    background-color: var(--light-bg);
    color: var(--secondary-blue);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.price-badge.featured {
    background-color: var(--primary-blue);
    color: white;
}

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

/* Why Us Section */
.why-us {
    padding: 80px 20px;
    background-color: var(--white);
}

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

.feature {
    padding: 2rem;
    background-color: var(--light-bg);
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100%;
}

.feature-check {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    line-height: 50px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
    flex-shrink: 0;
}

.feature h3 {
    color: var(--secondary-blue);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.3;
}

.feature p {
    color: var(--text-light);
    line-height: 1.5;
    overflow: visible;
    word-wrap: break-word;
}

/* Service Areas */
.service-areas {
    padding: 80px 20px;
    background-color: var(--light-bg);
}

.service-areas p {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.map-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-map {
    width: 25%;
    height: auto;
    display: block;
    transform: rotate(-90deg);
    margin: 2rem auto 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.service-map:hover {
    opacity: 0.8;
}

.map-hint {
    margin-top: 1rem;
    color: var(--primary-blue);
    font-size: 0.95rem;
    font-style: italic;
    text-align: center;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* Map Modal */
.map-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.map-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-modal-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    transform: rotate(-90deg);
}

.map-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.map-modal-close:hover {
    color: #bbb;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.area-note {
    text-align: center;
    color: var(--text-light);
}

.area-note a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.area-note a:hover {
    text-decoration: underline;
}

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

.cta h2 {
    color: white;
}

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

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

/* Direct Debit Section */
.direct-debit {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--light-bg) 0%, #F0FAFD 100%);
}

.direct-debit h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--secondary-blue);
}

.dd-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.dd-text h3 {
    font-size: 1.5rem;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
}

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

.dd-benefits {
    list-style: none;
}

.dd-benefits li {
    padding: 0.8rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
}

.dd-benefits .checkmark {
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.dd-cta {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* FAQ Section */
.faq-section {
    padding: 80px 20px;
    background-color: var(--light-bg);
}

.faq-section h1 {
    font-size: 3rem;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
    text-align: center;
}

.faq-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.faq-item {
    background: var(--white);
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
    box-shadow: 0 2px 8px rgba(91, 155, 213, 0.1);
}

.faq-item h2 {
    font-size: 1.5rem;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
}

.faq-item p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.faq-item p:last-child {
    margin-bottom: 0;
}

.faq-item strong {
    color: var(--secondary-blue);
}

.faq-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    margin-top: 3rem;
}

.faq-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: white;
}

.faq-cta p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    background-color: var(--white);
}

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

.contact-item {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border-top: 4px solid var(--primary-blue);
}

.contact-item h3 {
    color: var(--secondary-blue);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-item p {
    margin: 0;
}

.contact-item a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
}

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

/* Footer */
.footer {
    background-color: var(--secondary-blue);
    color: white;
    padding: 3rem 20px;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-section p {
    margin: 0.5rem 0;
    opacity: 0.9;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-section strong {
    color: white;
    font-weight: 600;
}

.footer-company {
    text-align: left;
    border-left: 2px solid rgba(255, 255, 255, 0.3);
    padding-left: 2rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-company {
        border-left: none;
        border-top: 2px solid rgba(255, 255, 255, 0.3);
        padding-left: 0;
        padding-top: 1.5rem;
        text-align: center;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 400px;
        padding: 80px 20px 40px;
    }

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

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

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

    .btn {
        width: 100%;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .services h2,
    .pricing h2,
    .why-us h2,
    .service-areas h2,
    .cta h2,
    .contact h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

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

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

    .dd-cta {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .services h2,
    .pricing h2,
    .why-us h2,
    .service-areas h2,
    .cta h2,
    .contact h2 {
        font-size: 1.5rem;
    }

    .logo-main {
        font-size: 1rem;
    }

    .logo-sub {
        font-size: 0.7rem;
    }

    .nav-links {
        gap: 0.5rem;
    }

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