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

:root {
    --primary-red: #FF3F33;
    --dark-navy: #2C3E50;
    --bright-orange: #FF8C00;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --black: #000000;
    --page-bg: #DFD0B8;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-navy);
    overflow-x: hidden;
    background-color: var(--black);
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* Header & Navigation */
.top-bar {
    background-color: var(--primary-red);
    padding: 10px 0;
}

.top-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
}

.top-bar-link {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.3s ease;
}

.top-bar-link:hover {
    opacity: 0.85;
}

.top-bar-link svg {
    width: 18px;
    height: 18px;
}
/*
.main-header {
    background-color: var(--black);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
*/
.header-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo-icon {
    width: 50px;
    height: 50px;
    background-color: var(--dark-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-icon::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 20px solid var(--primary-green);
}

.site-logo {
    height: 300px;
    width: auto;
    display: block;
}

.logo-text {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    display: block;
}
.logo-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 2px;
    margin-top: -50px;
}
.logo-subtitle {
    color: var(--white);
    font-size: 20px;
    font-weight: 800;
    margin-top: 4px;
    line-height: 1.4;
    display: block;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background-color: var(--white);
    border-radius: 1px;
}

.cta-button {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(255, 140, 0, 0.25);
    animation: pulse 2s infinite;
}

@-webkit-keyframes pulse {
    0%, 100% { -webkit-transform: scale(1); transform: scale(1); }
    50% { -webkit-transform: scale(1.03); transform: scale(1.03); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.cta-button:hover {
    background-color: #E67E00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
    animation: none;
}

nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.nav-links-row {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-cta-row {
    display: flex;
    justify-content: flex-end;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}

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

nav a:hover::after {
    width: 100%;
}

/* Breadcrumb */
.breadcrumb {
   
    padding: 12px 0;
}

.breadcrumb-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.content {
    width: 100% !important;
    position: relative !important;
    overflow: visible !important;
    min-height: auto !important;
    display: block !important;
    height: auto !important;
}

.breadcrumb,
.breadcrumb-content {
    overflow: visible !important;
    height: auto !important;
    min-height: auto !important;
}

.breadcrumb a {
    color: var(--primary-green);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.breadcrumb svg {
    width: 14px;
    height: 14px;
}
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    z-index: 0;

}

/* Background image - shows on home and Our Services pages */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('globe-removebg-preview.png');
    background-size: contain;
    background-position: center 120px;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: -2;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
/* Show background with reduced opacity when Our Services section is active - only top of globe visible */
body.our-services-active::before {
    opacity: 0.3;
    background-position: center 20px; /* Move up so plane is above "Our Services" heading */
    background-size: 45% auto; /* Smaller size so it doesn't extend to bottom of page */
    background-repeat: no-repeat;
}
/* Image layer ABOVE the background, BELOW content */
.bg-overlay-image {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center 120px;
    z-index: -1;
    pointer-events: none;
    opacity: 1;
}

.home-hero-left h2 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    color:--white;
    text-decoration: none;
}

/* Move the whole home text block left */
.home-hero-left {
    margin-left: 0;
    padding-left: 10px; /* reduce this to go further left */
}

.main-paragraph {
    margin-top: 300px; /* increase this to move the paragraph block down */
}

.main-paragraph p {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0.95;
    color:var(--white);
    text-decoration: none;
}

.hero-cta {
    background-color: var(--bright-orange);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hero-cta:hover {
    background-color: #E67E00;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
/* Remove blue focus outline / underline from the hero button */
.hero-cta {
    text-decoration: none;   /* no underline */
}

.hero-cta:focus,
.hero-cta:active {
    outline: none;           /* remove blue focus outline */
}

/* Main content wrapper - no flex, so sections get real height */
.main-content {
    display: block;
    width: 100%;
    min-height: 50vh;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Hide footer on the Home page (body gets this class from JS) */
body.home-page-active .site-footer {
    display: none;
}

/* No black space below home section on mobile */
@media (max-width: 768px) {
    body.home-page-active .main-content {
        min-height: unset;
        height: 100vh;
        height: 100dvh;
        overflow: hidden;
    }

    body.home-page-active section#home {
        min-height: unset !important;
        height: 100%;
        overflow: hidden;
    }

    /* Globe fills full viewport on mobile home page */
    body.home-page-active .bg-overlay-image {
        top: auto;
        bottom: 0;
        left: 0;
        width: 100vw;
        height: 72vh;
        object-fit: cover;
        object-position: center top;
    }

    /* Sections on non-home pages fill at least the full viewport so no black bleeds below footer */
    section {
        min-height: 100vh;
    }
}

/* Footer – designed and developed, logo, all rights reserved */
.site-footer {
    background-color: transparent; /* remove blue banner */
    color: var(--white);
    padding: 4px 0; /* tighter spacing so footer is very compact */
    text-align: center;
    border-top: none;
}

.footer-content {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap; /* keep everything on a single line */
    align-items: center;
    justify-content: center;
    gap: 8px; /* small gap so items sit close together */
    padding: 0 8px;
    box-sizing: border-box;
}

.footer-logo {
    height: 24px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
}

.footer-credit {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    white-space: nowrap; /* prevent wrapping so line stays single */
}

.footer-credit .footer-dev-name {
    font-weight: 600;
    color: var(--white);
}

.footer-rights {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    white-space: nowrap; /* prevent wrapping so line stays single */
}

/* Section base styling */
section {
    min-height: 400px;
    padding: 40px;
    color: var(--white);
    width: 100%;
    box-sizing: border-box;
    display: block;
}

/* Ensure sections with display block are visible */
section[style*="display: block"],
section[style*="display:block"] {
    display: block !important;
    height: auto !important;
    min-height: 400px !important;
}

section h2 {
    color: var(--white) !important;
    font-size: 36px;
    margin-bottom: 40px;
    display: block;
    visibility: visible;
}

section p {
    color: var(--white);
    font-size: 18px;
    line-height: 1.6;
}

/* Our Services section - solid black background with top of globe visible */
section#Our\ Services {
    background-color: var(--black) !important;
    position: relative !important;
    z-index: 10 !important;
    min-height: 100vh !important;
    padding: 60px 40px !important;
    width: 100% !important;
    margin: 0 !important;
    top: 0 !important;
    left: 0 !important;
    overflow: visible !important;
    height: auto !important;
}

section#Our\ Services[style*="block"],
section#Our\ Services.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
}

section#Our\ Services * {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure home section is hidden when Our Services is active */
section#Our\ Services.active ~ section#home,
section#Our\ Services[style*="block"] ~ section#home {
    display: none !important;
}

/* Hide home when Our Services is shown */
body:has(section#Our\ Services.active) section#home,
body:has(section#Our\ Services[style*="block"]) section#home,
body.our-services-active section#home {
    display: none !important;
}

section#Our\ Services h2 {
    color: var(--white) !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-align: center !important;
}

/* Background opacity handled by body classes, not needed here */

/* Contact Us section - black background only */
section#Contact\ Us {
    background-color: var(--black);
    position: relative;
    z-index: 1;
    text-align: center !important;
}

/* Client Reviews section */
section#Client\ Reviews {
    background-color: var(--black);
    position: relative;
    z-index: 1;
    text-align: center !important;
}

section#Client\ Reviews[style*="block"],
section#Client\ Reviews.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: auto !important;
}

section#Client\ Reviews * {
    visibility: visible !important;
    opacity: 1 !important;
}

section#Client\ Reviews h2 {
    color: var(--white) !important;
    display: block !important;
    visibility: visible !important;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.review-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 14px 0;
    text-align: left;
    transition: transform 0.2s ease;
}

.review-card + .review-card {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.review-card:hover {
    transform: translateY(-2px);
}

.review-stars {
    color: var(--bright-orange);
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.review-quote {
    color: var(--white);
    font-size: 16px;
    line-height: 1.7;
    font-style: italic;
    margin: 0 0 16px 0;
}

.review-author {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
}

.review-form-wrapper {
    max-width: 700px;
    margin: 30px auto 0;
    padding: 0 20px 20px;
    text-align: center;
}

.review-submit-btn {
    padding: 12px 24px;
    font-size: 15px;
}

.review-form-intro {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 18px;
    font-size: 15px;
}

.review-form-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 20px 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

/* Social links with icons */
.social-link {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
}

.social-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Space between consultation button and "Follow Us" on Contact page */
.social-media-container {
    margin-top: 40px;
}

/* Space between "Follow Us" and social links */
.social-media-container h3 {
    margin-bottom: 20px;
}

/* Center Instagram and TikTok links */
.social-links {
    margin-top: 15px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Our Services Page Styling */
.services-intro {
    max-width: 900px;
    margin: 0 auto 50px;
    padding: 20px !important;
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    min-height: 100px !important;
}

.services-intro p {
    color: var(--white) !important;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
}

/* Wrapper for Tier 1 + discount bubble side by side */
.services-tiers-wrapper {
    display: flex !important;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px !important;
    align-items: center;
    justify-content: center;
}

.services-tiers-wrapper .tier-item {
    flex: 0 1 320px;
    max-width: 380px;
}

/* Side bubble for discount advertising */
.discount-bubble {
    flex: 0 1 320px;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.25), rgba(255, 63, 51, 0.2));
    border: 2px solid var(--bright-orange);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.2);
    position: relative;
}

.discount-bubble::before {
    display: none;
    content: '';
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--bright-orange);
    color: var(--black);
    font-size: 14px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.discount-bubble-text {
    color: var(--white) !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    font-weight: 500 !important;
    margin: 0 0 8px 0 !important;
    opacity: 1 !important;
    text-align: center !important;
}

.discount-bubble-text strong {
    font-size: 18px !important;
    font-weight: 800 !important;
    display: block !important;
    margin-bottom: 2px !important;
    color: var(--white) !important;
}

/* Tiers 2 & 3 info box */
.tiers-2-3-box {
    flex: 1 1 100%;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 24px 28px;
    margin-top: 10px;
}

.tiers-2-3-text {
    color: var(--white) !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
    font-weight: 500 !important;
    margin: 0 !important;
    opacity: 0.95 !important;
    text-align: center;
}

.services-tiers {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px !important;
    visibility: visible !important;
    height: auto !important;
    min-height: 200px !important;
}

.tier-item {
    background-color: rgba(255, 255, 255, 0.05) !important;
    padding: 28px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block !important;
    visibility: visible !important;
}

.tier-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.tier-item h3 {
    color: var(--white) !important;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.tier-price {
    color: var(--black) !important;
    font-size: 22px;
    font-weight: 800;
    margin: 15px 0;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: var(--bright-orange);
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.tier-item p {
    color: var(--white) !important;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 12px;
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
}

.tier-note {
    color: var(--bright-orange) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-style: italic;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tier-1 {
    border: 2px solid rgba(255, 63, 51, 0.3);
    position: relative;
    padding: 25px !important;
    max-width: 380px;
}

.tier-1:hover {
    border-color: rgba(255, 63, 51, 0.5);
}

/* £75 bubble at top of Tier 1 box - same design as discount 15% OFF */
.tier-price-bubble {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--bright-orange);
    color: var(--black);
    font-size: 18px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(255, 140, 0, 0.3);
}
/* Consultation Form Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--black);
    margin: 5% auto;
    padding: 40px;
    border: 2px solid var(--primary-red);
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 40px rgba(255, 63, 51, 0.3);
}

.close {
    color: var(--white);
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
    position: absolute;
    right: 20px;
    top: 20px;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--primary-red);
}

.modal-content h2 {
    color: var(--white);
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    background-color: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background-color: var(--primary-red);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 10px;
}

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

.submit-btn:active {
    transform: translateY(0);
}

/* Form success/error messages */
.form-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid #4CAF50;
    display: block;
}

.form-message.error {
    background-color: rgba(244, 67, 54, 0.2);
    color: #F44336;
    border: 1px solid #F44336;
    display: block;
}
/*
.home-hero-right {
    margin-top: 40px;
}
    */

/* ========== RESPONSIVE: Mobile & Desktop ========== */

/* Tablet and below */
@media (max-width: 992px) {
    .header-content {
        flex-wrap: wrap;
        gap: 15px;
        padding: 15px 20px;
    }

    .site-logo {
        height: 80px;
    }

    .logo-text {
        font-size: 16px;
    }

    nav {
        gap: 20px;
    }

    nav a {
        font-size: 14px;
    }

    .cta-button {
        font-size: 11px;
        padding: 6px 12px;
    }

    section {
        padding: 30px 20px;
        min-height: 300px;
    }

    section h2 {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .services-intro p,
    .tier-item p,
    section p {
        font-size: 16px;
    }

    .services-tiers-wrapper {
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }

    .services-tiers-wrapper .tier-item {
        flex: none;
    }

    .discount-bubble {
        flex: none;
    }

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

    .main-content {
        min-height: 40vh;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .site-footer {
        padding: 6px 8px; /* still compact but with a bit of breathing room on tablet */
    }

    .footer-content {
        flex-direction: row;        /* keep items on one line */
        flex-wrap: nowrap;
        justify-content: center;
        gap: 6px;
    }

    .footer-logo {
        height: 22px;              /* slightly smaller on tablet/mobile */
    }

    .footer-credit,
    .footer-rights {
        font-size: 10px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    body {
        min-height: 100vh;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        flex-direction: column;
    }

    .main-content {
        -webkit-flex: 1 1 auto;
        flex: 1 1 auto;
    }

    .site-footer {
        padding: 10px 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        background-color: #000;
        padding-bottom: 70px; /* space so chatbot button doesn't overlap footer text */
    }

    .footer-content {
        flex-direction: column;
        gap: 4px;
    }

    .footer-credit {
        font-size: 11px;
        white-space: normal;
        text-align: center;
    }

    .footer-rights {
        font-size: 11px;
        white-space: normal;
        text-align: center;
    }

    .header-content {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: row;
        flex-direction: row;
        -webkit-align-items: center;
        align-items: center;
        -webkit-justify-content: space-between;
        justify-content: space-between;
        padding: 10px 12px;
        -webkit-flex-wrap: nowrap;
        flex-wrap: nowrap;
        gap: 8px;
        position: relative;
    }

    .logo {
        -webkit-flex: 1 1 auto;
        flex: 1 1 auto;
        min-width: 0;
        gap: 8px;
        justify-content: flex-start;
    }

    .site-logo {
        height: 160px;
    }

    .logo-text {
        font-size: 11px;
        line-height: 1.2;
    }

    .logo-stack {
        display: flex; /* show “A New Chapter Awaits” on mobile */
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 0;
    }

    .nav-container {
        position: relative;
        top: auto;
        right: auto;
        width: auto;
        -webkit-flex: 0 0 auto;
        flex: 0 0 auto;
        margin-left: auto;
        overflow: visible;
        align-self: flex-start;
    }

    .nav-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        background-color: rgba(0, 0, 0, 0.92);
        flex-direction: column;
        align-items: flex-end;
        gap: 14px;
        padding: 60px 20px 20px;
        width: 200px;
        height: 100vh;
        box-sizing: border-box;
        display: none;
        box-shadow: -4px 0 20px rgba(0,0,0,0.5);
        z-index: 100;
    }

    body.nav-open .nav-container nav {
        display: flex;
    }

    .nav-links-row {
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
        width: 100%;
    }

    .nav-cta-row {
        width: 100%;
        justify-content: flex-end;
    }

    nav a {
        font-size: 10px;
        padding: 6px 4px;
        white-space: nowrap;
        width: 100%;
        justify-content: flex-start;
    }

    nav a:not(.cta-button) {
        font-size: 9px;
    }

    .cta-button {
        width: 100%;
        text-align: center;
        padding: 6px 8px;
        font-size: 9px;
        min-height: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        flex-shrink: 0;
        border-radius: 15px;
    }

    section {
        padding: 25px 15px;
        min-height: 280px;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    section h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .services-intro {
        padding: 15px !important;
        margin-bottom: 30px;
    }

    .services-intro p {
        font-size: 15px;
    }

    .tier-item {
        padding: 25px 20px !important;
    }

    .tier-item h3 {
        font-size: 20px !important;
    }

    .tier-price-bubble {
        font-size: 16px;
        padding: 5px 12px;
        top: -10px;
        right: 15px;
    }

    .discount-bubble {
        padding: 20px;
    }

    .discount-bubble::before {
        display: none;
    }

    .discount-bubble-text {
        font-size: 15px !important;
    }

    .tiers-2-3-box {
        padding: 20px;
        margin-top: 0;
    }

    .tiers-2-3-text {
        font-size: 15px !important;
    }

    .contact-item {
        padding: 20px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 20px 16px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .review-card {
        padding: 24px 20px;
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .review-stars {
        font-size: 20px;
    }

    .review-quote {
        font-size: 15px;
        line-height: 1.65;
    }

    .review-author {
        font-size: 14px;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .social-link {
        min-height: 48px;
        padding: 14px 28px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 280px;
    }

    /* Modal on mobile */
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 30px 20px;
    }

    .modal-content h2 {
        font-size: 22px;
    }

    .form-group input,
    .form-group textarea {
        padding: 14px;
        font-size: 16px; /* prevents zoom on iOS */
    }

    .submit-btn {
        padding: 16px;
        font-size: 16px;
        min-height: 48px;
    }

    .close {
        font-size: 28px;
        right: 15px;
        top: 15px;
    }

    /* Ensure background is visible on Our Services page on mobile/tablet - top of globe only */
    body.our-services-active::before {
        opacity: 0.3 !important;
        background-position: center 10px !important; /* Move up for mobile */
        background-size: 45% auto !important; /* Smaller so it doesn't show at bottom */
    }
}

/* Small mobile */
@media (max-width: 480px) {
    body.home-page-active .bg-overlay-image {
        top: auto;
        bottom: 0;
        left: 0;
        width: 100vw;
        height: 72vh;
        object-fit: cover;
        object-position: center top;
    }

    section {
        min-height: 100vh;
    }

    .site-footer {
        background-color: #000;
    }

    .header-content {
        padding: 8px 10px;
        gap: 6px;
    }

    .site-logo {
        height: 140px;
    }

    .logo-text {
        font-size: 10px;
    }

    .logo-stack {
        display: flex; /* ensure tagline remains visible on small mobile */
    }

    nav {
        gap: 4px;
    }

    nav a {
        font-size: 9px;
        padding: 4px 5px;
    }

    .cta-button {
        font-size: 8px;
        padding: 4px 8px;
    }

    section {
        padding: 20px 12px;
    }

    section h2 {
        font-size: 22px;
    }

    .tier-item h3 {
        font-size: 18px !important;
    }

    .tier-price-bubble {
        font-size: 14px;
        padding: 4px 10px;
    }

    .main-paragraph p {
        font-size: 16px;
    }

    /* Client Reviews - small mobile */
    section#Client\ Reviews {
        padding: 24px 12px !important;
    }

    .reviews-grid {
        padding: 16px 12px;
        gap: 20px;
    }

    .review-card {
        padding: 20px 16px;
    }

    .review-form-wrapper {
        padding: 0 12px 20px;
        margin-top: 30px;
    }

    .review-form-card {
        padding: 18px 16px;
    }

    .review-quote {
        font-size: 14px;
    }

    .review-author {
        font-size: 13px;
    }

    /* Ensure background is visible on Our Services page on mobile - top of globe only */
    body.our-services-active::before {
        opacity: 0.3 !important;
        background-position: center 5px !important; /* Move up for small mobile */
        background-size: 45% auto !important; /* Smaller so it doesn't show at bottom */
    }

    body::before {
        background-position: center 80px;
        background-size: 90%;
    }
}

/* ========== Chatbot - Globe shaped, bottom right ========== */
.chatbot-container {
    position: fixed;
    bottom: 24px; /* default for laptop/desktop */
    right: 24px;
    z-index: 999;
    font-family: 'Montserrat', sans-serif;
}

/* Globe-shaped toggle button */
.chatbot-globe {
    width: 55px; /* smaller on laptop/desktop to avoid overlapping tier boxes */
    height: 55px;
    border-radius: 50%;
    border: 3px solid var(--bright-orange);
    background: var(--black);
    cursor: pointer;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chatbot-globe:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(255, 140, 0, 0.5);
}

.chatbot-globe-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.chatbot-toggle-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.chatbot-label {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

/* Chat panel - hidden by default */
.chatbot-panel {
    position: absolute;
    bottom: 90px;
    right: 0;
    /* Default (laptop/desktop) size – slightly smaller */
    width: 380px;
    max-width: calc(100vw - 48px);
    height: 480px;
    max-height: 70vh;
    background: var(--black);
    border: 2px solid var(--bright-orange);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-panel.open {
    display: flex;
}

.chatbot-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(255, 63, 51, 0.3), rgba(255, 140, 0, 0.2));
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.chatbot-header h3 {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.chatbot-header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    margin: 0;
}

.chatbot-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 24px;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s ease;
}

.chatbot-close:hover {
    background: var(--primary-red);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chatbot-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.chatbot-msg.user {
    align-self: flex-end;
    background: var(--primary-red);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.chatbot-msg.bot {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom-left-radius: 4px;
}

.chatbot-input-wrap {
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
}

.chatbot-input {
    flex: 1;
    padding: 12px 14px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

.chatbot-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.chatbot-input:focus {
    outline: none;
    border-color: var(--bright-orange);
}

.chatbot-send {
    padding: 12px 18px;
    background: var(--primary-red);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.chatbot-send:hover {
    background: #E62E22;
}

/* Tablet: smaller chatbot panel and lifted chatbot so it clears footer */
@media (max-width: 768px) {
    .chatbot-container {
        bottom: 40px;
    }

    .chatbot-panel {
        width: 320px;
        max-width: calc(100vw - 32px);
        height: 400px;
        max-height: 55vh;
        bottom: 85px;
    }

    .chatbot-header {
        padding: 12px 16px;
    }

    .chatbot-header h3 {
        font-size: 16px;
    }

    .chatbot-header p {
        font-size: 11px;
    }

    .chatbot-close {
        width: 28px;
        height: 28px;
        font-size: 20px;
        top: 10px;
        right: 10px;
    }

    .chatbot-messages {
        padding: 12px;
        gap: 10px;
    }

    .chatbot-msg {
        font-size: 13px;
        padding: 8px 12px;
    }

    .chatbot-input-wrap {
        padding: 10px 12px;
        gap: 6px;
    }

    .chatbot-input {
        padding: 10px 12px;
        font-size: 13px;
    }

    .chatbot-send {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* Mobile: smaller globe, compact panel and slightly higher so it doesn't cover footer */
@media (max-width: 480px) {
    .chatbot-container {
        bottom: 48px;
        right: 16px;
    }

    .chatbot-globe {
        width: 50px;
        height: 50px;
        border-width: 2px;
    }

    .chatbot-label {
        font-size: 10px;
    }

    .chatbot-panel {
        width: calc(100vw - 24px);
        max-width: 320px;
        right: 0;
        bottom: 75px;
        height: 50vh;
        max-height: 400px;
        border-radius: 12px;
    }

    .chatbot-header {
        padding: 10px 14px;
    }

    .chatbot-header h3 {
        font-size: 14px;
        margin-bottom: 2px;
    }

    .chatbot-header p {
        font-size: 10px;
    }

    .chatbot-close {
        width: 24px;
        height: 24px;
        font-size: 18px;
        top: 8px;
        right: 8px;
    }

    .chatbot-messages {
        padding: 10px;
        gap: 8px;
    }

    .chatbot-msg {
        font-size: 12px;
        padding: 7px 10px;
        max-width: 90%;
    }

    .chatbot-input-wrap {
        padding: 8px 10px;
        gap: 5px;
    }

    .chatbot-input {
        padding: 8px 10px;
        font-size: 12px;
    }

    .chatbot-send {
        padding: 8px 14px;
        font-size: 12px;
    }
}
