@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
    --primary: #6b1c8c;
    --primary-dark: #4b1163;
    --primary-light: #9b4dbe;
    --secondary: #6b1c8c;
    --bg-light: #f1f5f9;
    --bg-white: #ffffff;
    --bg-dark: #ffffff;
    --text-dark: #1A1A1A;
    --text-main: #334155;
    --text-muted: #64748B;
    --glass: rgba(255, 255, 255, 0.9);
    --border-light: rgba(107, 28, 140, 0.1);
    --font-family: "Bahnschrift", "DIN", "Inter", sans-serif;
}

section {
    position: relative;
    padding: 120px 8%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Glassmorphism Classes */
.glass {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (max-width: 1100px) {
    .hamburger { display: block; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 1001;
        padding-top: 5rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-ctas {
        flex-direction: column;
        margin-left: 0;
        width: 100%;
        padding: 0 10%;
    }

    .btn-nav { width: 100%; text-align: center; }
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: none;
    padding: 0.6rem 1rem;
    border-radius: 4px;
}

.nav-links a:hover {
    color: var(--primary-light);
}

.nav-links a.active {
    background: var(--primary);
    color: white !important;
}

.nav-ctas {
    display: flex;
    gap: 1rem;
    margin-left: 1rem;
}

.btn-nav {
    background: var(--primary);
    color: white !important;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-size: 1.05rem;
    font-weight: 700;
    white-space: nowrap;
    border: 2px solid var(--primary);
}

.btn-nav.outline {
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary) !important;
}

.btn-nav:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white !important;
}

.btn-nav.outline:hover {
    background: var(--primary);
    color: white !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 40px !important;
    color: white;
    z-index: 10;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
    background: #fff; /* Fallback */
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 15%, rgba(255, 255, 255, 0.7) 40%, rgba(255, 255, 255, 0) 90%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    text-align: left;
    animation: fadeInUp 1s ease-out;
    z-index: 3;
    padding-left: 0;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 0.5rem;
    font-weight: 800;
    color: white;
    text-transform: none;
    letter-spacing: -1px;
}

.hero .nationwide {
    font-size: 2.5rem;
    color: #fff;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    display: block;
    font-weight: 300;
}

.hero p {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.5;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1.2rem 2.5rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.btn-orange {
    background: #f39c12;
    color: white !important;
    border: none;
}

.btn-orange:hover {
    background: #e67e22;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white !important;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

.trust-strip {
    display: flex;
    gap: 2.5rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1.2s ease-out;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.9;
    white-space: nowrap;
}

.trust-item i {
    color: #f39c12;
}

/* Experience Section */
.experience-section {
    padding: 80px 5%;
    background: #fff;
    color: #1a1a1a;
}

.experience-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) 320px 1.3fr;
    gap: 6rem;
    align-items: stretch;
}

@media (max-width: 1250px) {
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .exp-mid-col {
        flex-direction: row;
        gap: 1.5rem;
    }
    .exp-mid-col img {
        height: 350px;
        flex: 1;
    }
    .exp-left-col h4 {
        font-size: 1.5rem;
        padding: 1.2rem;
    }
}


.exp-left-col h4 {
    background: var(--primary);
    color: white;
    padding: 1.5rem 2.2rem;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    display: inline-block;
    width: 100%;
    text-transform: none;
    letter-spacing: -0.5px;
    font-weight: 800;
}



.exp-left-col h5 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1rem;
    margin-top: 1.8rem;
    color: #000;
}



.exp-left-col ul {
    list-style: none;
    padding-left: 0;
}

.exp-left-col ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    font-size: 1.05rem;
}

.exp-left-col ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1a1a1a;
    font-weight: bold;
}

.exp-mid-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.exp-mid-col img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 2px;
}

.exp-right-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
}



.exp-text-top p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 0.8rem;
    color: #1a1a1a;
}



.metrics-dashboard {
    background: #2a002a;
    padding: 2rem 2.5rem 0.5rem 2.5rem;
    border-radius: 12px;
    color: white;
    text-align: center;
}




.metrics-dashboard h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.metrics-dashboard h3 span {
    color: #f39c12;
}

.metrics-dashboard p.subtitle {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 3rem;
    text-transform: none;
}

.kpi-grid-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.kpi-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.2rem 1rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.kpi-val {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
}





.kpi-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.9;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .exp-mid-col {
        flex-direction: column;
    }
    .exp-mid-col img {
        height: 300px;
    }
}


/* Coverage Section */
.coverage-banner {
    background: url('media/images/coverage-background.jpg');
    background-size: cover;
    background-position: center;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 5%;
}

.coverage-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(107, 28, 140, 0.7);
}

.coverage-banner h2 {
    color: white;
    font-size: 3.5rem;
    font-weight: 800;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.coverage-layout {
    display: grid;
    grid-template-columns: 1.2fr 1.6fr 0.6fr;
    gap: 6rem;
    padding: 100px 5%;
    background: #fff;
    align-items: center;
}

.coverage-info h4 {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 2rem;
    font-weight: 500;
    line-height: 1.6;
}

.coverage-areas {
    margin-top: 3rem;
}

.coverage-areas h5 {
    font-size: 1rem;
    color: #111;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-transform: none;
}

.coverage-areas p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
    margin-bottom: 0.2rem;
}

.btn-oval {
    display: inline-block;
    background: var(--primary);
    color: white !important;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    margin-top: 4rem;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-transform: none;
}

.btn-oval:hover {
    background: var(--primary-dark);
}

.map-container-new {
    width: 100%;
    height: 480px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(107, 28, 140, 0.05);
}

.coverage-side-metrics {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.metric-card-side {
    background: white;
    padding: 2rem 1.5rem;
    border-left: 5px solid var(--primary);
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
    border-radius: 0 12px 12px 0;
}

.metric-card-side .num {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.metric-card-side .lbl {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary);
    letter-spacing: 0.5px;
}

.nano-difference {
    font-size: 1.8rem;
    color: var(--secondary);
    margin: 3rem 0 2rem;
    display: block;
    font-weight: 800;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.mission-block {
    background: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid var(--bg-light);
}

.mission-block:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.mission-block h4 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    text-transform: none;
    display: block;
    border: none;
    padding: 0;
}

.mission-block p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.mission-block ul {
    list-style: none;
}

.mission-block li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-main);
}

.mission-block li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 800;
}

@media (max-width: 900px) {
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Case Study Grid */
.case-study-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5.5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

@media (max-width: 1000px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Form Styles */
.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--primary);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: all 0.3s ease;
    background: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background: white;
    box-shadow: 0 0 0 4px rgba(247, 147, 30, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23003366' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
}

/* Footer Improvements */
.site-footer {
    padding: 100px 8% 60px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.footer-nav h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animations Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Coverage & Why Section */
.split-section {
    padding: 100px 8%;
    display: grid;
    grid-template-columns: 1fr 2fr 0.8fr;
    gap: 3rem;
    max-width: 100%;
    align-items: center;
    background: #ffffff;
}

.split-diagonal-metrics {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 500px;
    /* Matching the map height */
}

.diag-metric {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--secondary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
    width: 220px;
    flex: 1;
    /* Stretch to fill height proportionally */
}

.diag-metric:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.diag-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.diag-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.split-left h2 {
    font-size: 2.22rem;
    color: var(--primary);
    margin-bottom: 2rem;
    text-transform: none;
}

.map-description ul {
    list-style: none;
}

.map-description li {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-main);
    padding-left: 20px;
    position: relative;
}

.map-description li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.coverage-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 2rem;
    text-align: left;
}

.coverage-box h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-transform: none;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.coverage-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.coverage-partners {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    opacity: 0.8;
}

.coverage-partners i {
    font-size: 1.8rem;
    color: var(--primary);
}





/* Reviews Section */
.reviews-section {
    padding: 100px 8%;
    background: var(--bg-light);
    text-align: center;
}

.reviews-header {
    margin-bottom: 4rem;
}

.reviews-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.review-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.2rem;
    color: var(--text-main);
    background: #f8fafc;
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-flex;
    margin: 0 auto;
    border: 1px solid #e2e8f0;
}

.review-stats strong {
    color: var(--primary);
}

.review-stats i {
    font-size: 1.4rem;
}

.trust-badge i {
    font-size: 2.5rem;
}

.google-blue {
    color: #4285F4;
}

.trustpilot-green {
    color: #00b67a;
}

.badge-info h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.stars {
    color: #f7931e;
    font-size: 0.9rem;
}

/* Old scroll animation removed to avoid conflict - using new version below */

.review-card-old {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
}

/* Reviews Section */
.reviews-section {
    padding: 120px 5%;
    background: linear-gradient(rgba(247, 249, 252, 0.3), rgba(247, 249, 252, 0.3)), url("media/images/reviews-%20background.png") center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.review-capsule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    background: white;
    padding: 1.2rem 3.5rem;
    border-radius: 60px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    margin: 0 auto 6rem;
    width: fit-content;
    border: 1px solid rgba(107, 28, 140, 0.1);
}

.review-capsule i {
    color: #4285F4;
    font-size: 1.4rem;
}

.review-capsule span {
    font-size: 1.15rem;
    color: #444;
    font-weight: 600;
}

.review-capsule strong {
    color: #1a1a1a;
    font-weight: 800;
}

.review-grid {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll-loop 35s linear infinite;
    padding: 2rem 0;
    flex-wrap: nowrap !important;
}

@media (max-width: 600px) {
    .review-grid {
        gap: 1.5rem;
    }
}

@keyframes scroll-loop {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 1rem));
    }
}

.review-grid:hover {
    animation-play-state: paused;
}

.carousel-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 2rem 0;
}

.review-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    text-align: left;
    position: relative;
    transition: all 0.3s ease;
    width: 400px;
    max-width: 85vw;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.reviewer-meta {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.reviewer-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.reviewer-info h5 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
    text-transform: none;
    letter-spacing: 0;
}

.source-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.google-tag {
    color: #4285F4;
}

.review-content {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.stars {
    color: #f39c12;
    font-size: 0.9rem;
    display: flex;
    gap: 4px;
}


.kpi-banner {
    background: var(--primary-dark);
    padding: 3rem;
    border-radius: 24px;
    color: white;
    position: relative;
    overflow: hidden;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kpi-header {
    margin-bottom: 3rem;
    text-align: center;
}

.kpi-header h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 0.5rem;
}

.kpi-header span {
    color: var(--secondary);
}

.kpi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.kpi-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.kpi-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary);
}

.kpi-val {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
}

.kpi-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
    margin-top: 0.5rem;
}


.map-card {
    width: 100%;
    min-height: 600px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #F1F5F9;
}

.map-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 40px;
    filter: drop-shadow(0 0 20px rgba(155, 77, 190, 0.4));
    display: block;
    opacity: 0.9;
    transition: all 0.8s ease;
}

.map-card:hover img {
    transform: scale(1.05);
    opacity: 1;
}

.map-label {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 10px 20px rgba(107, 28, 140, 0.4);
}

/* map hotspot & tooltip */
.leaflet-container {
    background: transparent !important;
    border-radius: 12px;
}

.leaflet-tile-container {
    opacity: 0.8 !important;
    /* Higher opacity for light theme */
    filter: grayscale(60%);
    /* Less harsh grayscale */
    pointer-events: none;
    will-change: transform;
}

.leaflet-tile {
    /* Absolute fix for subpixel gaps/gridlines */
    margin: -1px !important;
    outline: 1px solid transparent;

    /* Technical stabilization */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.map-card {
    border: 2px solid rgba(107, 28, 140, 0.1);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
    background: #f1f5f9 !important;
    /* Neutral off-white/light-gray background */
    position: relative;
    overflow: hidden;
}

/* Branded pattern overlay - Adjusted for light background */
.map-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: url('media/logo\'s/Nano Fibre UK Logo.png');
    background-size: 150px;
    background-repeat: repeat;
    opacity: 0.02;
    /* Very subtle on light bg */
    transform: rotate(-15deg);
    filter: brightness(0);
    /* Make black for contrast on white if needed */
    pointer-events: none;
    z-index: 0;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    background: #ffffff !important;
    color: #333 !important;
    border: 1px solid var(--primary);
    box-shadow: 0 5px 15px rgba(107, 28, 140, 0.1);
    border-radius: 8px;
}

.leaflet-popup-content {
    font-family: var(--font-family) !important;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 5px 10px;
    margin: 10px !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.leaflet-control-zoom {
    border: none !important;
}

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
    background-color: var(--primary) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    margin-bottom: 5px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.leaflet-control-zoom-in:hover,
.leaflet-control-zoom-out:hover {
    background-color: var(--secondary) !important;
}

/* Clean Location Pin */
.custom-pin i {
    color: var(--primary);
    font-size: 19px;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

.custom-pin.highlight i {
    font-size: 24px;
    color: var(--primary);
    filter: drop-shadow(0 0 12px rgba(107, 28, 140, 0.4));
}


.custom-pin:hover i {
    color: var(--secondary);
    transform: scale(1.3) translateY(-3px);
    filter: drop-shadow(0 5px 10px rgba(107, 28, 140, 0.3));
}

/* Region Interaction Styles */
.leaflet-interactive {
    transition: stroke-width 0.2s, stroke 0.2s, fill-opacity 0.2s, fill 0.2s;
    outline: none;
}

.region-tooltip {
    background: var(--primary) !important;
    color: white !important;
    border: none !important;
    border-radius: 4px;
    padding: 6px 12px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 1 !important;
    pointer-events: none;
    z-index: 1000 !important;
}

.region-tooltip::before {
    display: none;
}

.site-footer {
    padding: 100px 8% 40px;
    background: var(--primary-dark);
    color: #ffffff;
    border-top: 4px solid var(--secondary);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer-nav h4 {
    color: #ffffff !important;
    margin-bottom: 2rem;
}

.footer-nav ul li {
    color: rgba(255, 255, 255, 0.6) !important;
    transition: color 0.3s ease;
    cursor: pointer;
}

.footer-nav ul li:hover {
    color: var(--secondary) !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

.section-separator {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 51, 102, 0.1), transparent);
    width: 100%;
}

.bg-alt {
    background-color: var(--bg-light);
}

/* Gallery Section */
.gallery-section {
    display: flex;
    width: 100%;
    height: 700px;
    background: #000;
    padding: 0 !important;
}

.gallery-item {
    position: relative;
    flex: 1;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item .overlay-bg {
    position: absolute;
    inset: 0;
    background: rgba(107, 28, 140, 0);
    transition: background 0.4s ease;
    z-index: 1;
}

.gallery-item h3 {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    z-index: 2;
    text-align: center;
    width: 100%;
    pointer-events: none;
    text-shadow: 0 2px 15px rgba(0,0,0,0.4);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .overlay-bg {
    background: rgba(107, 28, 140, 0.7);
}

/* New Global Footer */
.site-footer {
    padding: 100px 5% 40px;
    background: linear-gradient(135deg, #f8fafd 0%, #ffffff 100%);
    color: #333;
    border-top: 4px solid transparent;
    border-image: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-image-slice: 1;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr 1.2fr 1.5fr;
    gap: 5rem;
    max-width: 1600px;
    margin: 0 auto;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col h4 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.85rem;
}

.footer-links a {
    color: #555;
    font-size: 1.15rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.2rem 0;
    position: relative;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.footer-contact-item i {
    background: rgba(107, 28, 140, 0.05);
    color: var(--primary);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-contact-item:hover i {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.footer-contact-text {
    display: flex;
    flex-direction: column;
}

.footer-contact-note {
    font-size: 0.85rem;
    color: #1a1a1a;
    font-weight: 600;
    margin-top: 0.2rem;
    margin-bottom: 0;
    line-height: 1.2;
}

.social-bar {
    display: flex;
    gap: 0.8rem;
    margin-top: auto;
    padding-top: 2rem;
}

.social-bar a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.social-bar a:hover {
    transform: translateY(-3px);
}

.s-fb { background: #3b5998; }
.s-li { background: #0077b5; }
.s-yt { background: #ff0000; }

.footer-address-box {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.footer-address-box i {
    background: rgba(107, 28, 140, 0.05);
    color: var(--primary);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 2rem;
    flex-shrink: 0;
}

.footer-address-box p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #333;
    font-weight: 600;
}

.btn-pill-footer {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 2.2rem;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 800;
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: auto;
}

.btn-pill-footer:hover {
    background: var(--primary);
    color: white;
}

.mini-map-wrap {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border: 8px solid white;
}

.mini-map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.footer-legal-bar {
    background: #000000;
    color: #ffffff;
    padding: 40px 5%;
}

.legal-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.02em;
}

.legal-left p {
    margin: 0.4rem 0;
    font-size: 0.88rem;
    font-weight: 700;
    opacity: 0.9;
}

.legal-right {
    text-align: right;
}

.legal-right p {
    margin: 0.4rem 0;
    font-size: 0.88rem;
    font-weight: 700;
    opacity: 0.9;
}

/* Legal Bar replaces footer-bottom-line */

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-bottom-line {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}


@media (max-width: 768px) {
    .gallery-section {
        flex-direction: column;
        height: auto;
    }
    .gallery-item {
        height: 300px;
    }
}

@media (max-width: 1100px) {
    .coverage-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-bottom: 60px;
    }
    .map-column {
        height: 400px;
        order: -1;
    }
    .coverage-side-metrics {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .coverage-side-metrics {
        flex-direction: column;
        align-items: center;
    }
    .metric-card-side {
        width: 100%;
    }
}