/* ----------------------------------------------------------
   GLOBAL RESET
---------------------------------------------------------- */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f7f9fc;
    color: #305cde;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ----------------------------------------------------------
   HEADER: TOP WHITE BAR
---------------------------------------------------------- */

.topbar {
    background: #ffffff;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    position: relative; /* anchor for hamburger on mobile */
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.topbar-left {}

.topbar-logo {
    height: 70px;
    width: auto;
    display: block;
}

.topbar-center p {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.topbar-right p {
    margin: 0;
    text-align: right;
    font-size: 0.95rem;
    color: #333;
}

.header-contact-link {
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.header-contact-link:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* ----------------------------------------------------------
   BLUE NAV BAR (DESKTOP)
---------------------------------------------------------- */

.nav-wrapper {
    background: #0a3a82;
    border-top: 3px solid #cc0000;
    border-bottom: 3px solid #cc0000;
}

.amg-nav {
    position: relative;
}

.navigation {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding: 12px 0;
    margin: 0;
}

.navigation li a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
}

.navigation li img {
    height: 20px;
    width: auto;
    display: block;
}

.navigation li a.active {
    color: #ff4444;
}


/* Desktop: hide hamburger */
#mobileMenuBtn {
    display: none;
}


/* ----------------------------------------------------------
   FINAL MOBILE HEADER — CLEAN + CORRECT
---------------------------------------------------------- */
@media (max-width: 900px) {

    /* Anchor for hamburger */
    .topbar {
        position: relative;
    }

    /* Logo row */
    .topbar-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
    }

    /* Logo size */
    .topbar-logo {
        max-height: 38px;
        width: auto;
        height: auto;
    }

    /* Tagline below logo */
    .topbar-center {
        width: 100%;
        order: 2;
    }

    /* Contact below tagline */
    .topbar-right {
        width: 100%;
        order: 3;
    }

    .topbar-right p {
        margin: 2px 0;
        text-align: center;
    }

/* Hamburger top-right in the white header on mobile */

    #mobileMenuBtn {
        display: block;
        position: absolute;
        right: 15px;
        top: 13px;          /* tuned for 10px top padding + 38px logo */
        font-size: 2rem;
        color: #0a3a82;
        z-index: 9999;
        cursor: pointer;
    }




    /* Hide blue bar visually */
    .nav-wrapper {
        background: transparent;
        border: none;
        height: 0;
        overflow: visible;
    }

    /* Mobile dropdown */
    .navigation {
        position: absolute;
        top: 70px;
        right: 10px;
        width: 85%;
        max-width: 320px;
        background: #0a3a82;
        padding: 20px;
        border-radius: 10px;
        display: none;
        flex-direction: column;
        gap: 15px;
        z-index: 9999;
    }

    .navigation.nav-open {
        display: flex;
    }
}


/* ----------------------------------------------------------
   CTA SECTION (FOOTER CTA)
---------------------------------------------------------- */

.footer-cta {
    background: #fff;
    padding: 35px 0;
    color: #0a3a82;
}

.footer-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cta-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cta-icon svg {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.cta-text h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.cta-text p {
    margin: 5px 0 0;
    font-size: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.25s ease;
}

/* Phone + WhatsApp */
.phone-btn {
    background: #0a3a82;
    color: #fff;
    border: 2px solid #fff;
}

.whatsapp-btn {
    background: #005a2c;
    color: #fff;
    border: 2px solid #fff;
}

.phone-btn:hover,
.whatsapp-btn:hover {
    background: #005a2c;
    border-color: #0a3a82;
}

/* Quote button */
.quote-btn {
    background: #fff;
    color: #0a1a2f;
    border: 2px solid #0a3a82;
}

.quote-btn:hover {
    background: #005a2c;
    border-color: #005a2c;
    color: #fff;
}

/* MOBILE */
@media (max-width: 900px) {
    .footer-cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .cta-left {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .cta-btn {
        width: auto;
        max-width: 90%;
    }
}


/* ----------------------------------------------------------
   HERO
---------------------------------------------------------- */
.hero {
    background: url('/img/eng-board.jpg') center/cover no-repeat;
    height: 550px;
    position: relative;
    margin-top: 0 !important;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.40) 100%),
        linear-gradient(
            to right,
            rgba(0,0,0,0.65) 0%,
            rgba(0,0,0,0.30) 30%,
            rgba(0,0,0,0.05) 70%,
            rgba(0,0,0,0.00) 100%
        ),
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.60) 0%,
            rgba(0,0,0,0.40) 40%,
            rgba(0,0,0,0.20) 100%
        );
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding-top: 120px;
    color: #fff;
}

.hero h1 { font-size: 2.8rem; margin-bottom: 10px; }
.hero h2 { font-size: 1.8rem; margin-bottom: 15px; }
.hero p  { font-size: 1.2rem; margin-bottom: 25px; }

/* ----------------------------------------------------------
   HERO CTA BUTTON FIXES
---------------------------------------------------------- */
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* generic button base */
.btn {
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.hero-cta .btn {
    /* inherits .btn base */
}

.hero-cta .btn i {
    margin-right: 10px;   /* same spacing as footer CTA */
    display: inline-block;
}


/* ---------------- MOBILE CTA FIX ---------------- */
@media (max-width: 900px) {

    .hero {
        height: auto !important;
        overflow: visible !important;
        padding-bottom: 10px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 12px;
    }

    .hero-cta .btn {
        width: auto;
        max-width: 90%;
        padding: 12px 20px;
    }
}

.btn.red { background: #811818; color: #fff; }
.btn.white { background: #fff; color: #000; }
.btn.green { background: #005a2c; color: #fff; }

/* ----------------------------------------------------------
   FEATURES
---------------------------------------------------------- */
.features {
    background: #f4f7fb;
    padding: 70px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
    text-align: center;
}

.feature-item {
    background: #ffffff;
    padding: 28px 20px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.05rem;
    color: #0a1a2f;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ----------------------------------------------------------
   WHY CHOOSE AMG
---------------------------------------------------------- */

.why-choose-amg {
    background: #0a3a82;
    padding: 60px 0;
    color: #fff;
}

.why-layout {
    display: grid;
    grid-template-columns: 25% 1px 1fr;
    gap: 40px;
    align-items: start;
}

/* Left column */
.why-left h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.why-left h3 {
    font-size: 1.2rem;
    color: #7aa7ff;
    margin-bottom: 15px;
}

.why-left p {
    color: #d0d8e8;
    margin-bottom: 25px;
}

.niceic-badge img {
    width: 95%;
    border: 1px solid #fff;
    padding: 8px;
}

/* Divider */
.why-divider {
    width: 1px;
    background: rgba(255,255,255,0.25);
}

/* Right grid */
.why-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

/* Items */
.why-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.why-icon svg {
    width: 40px;
    height: 40px;
    color: #fff;
    flex-shrink: 0;
}

.why-text h4 {
    margin: 0 0 6px 0;
    font-size: 1.1rem;
    color: #fff;
}

.why-text p {
    margin: 0;
    font-size: 0.95rem;
    color: #d0d8e8;
}

/* MOBILE */
@media (max-width: 900px) {

    .why-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-divider {
        display: none;
    }

    .why-right {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .why-icon svg {
        width: 32px;
        height: 32px;
    }
}


/* ----------------------------------------------------------
   SERVICES
---------------------------------------------------------- */
.services {
    padding: 90px 0;
    background: #ffffff;
}

.services h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #0a1a2f;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.service-card {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);

    /* NEW SHADOW */
    box-shadow:
        0 6px 18px rgba(10, 58, 130, 0.38),
        0 2px 6px rgba(10, 58, 130, 0.25);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 6px 18px rgba(10, 58, 130, 0.38),
        0 2px 6px rgba(10, 58, 130, 0.25);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 18px;
    color: #0a3a82;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card ul li {
    margin-bottom: 10px;
    padding-left: 22px;
    position: relative;
    font-size: 1.05rem;
    color: #1a1f29;
}

.service-card ul li::before {
    content: "▸";
    position: absolute;
    left: 0;
    top: 0;
    color: #d62828;
    font-weight: bold;
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-icon {
    width: 75px;
    height: auto;
    display: block;
    margin: 0 auto 22px auto;
    opacity: 0.95;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.18));
}

/* ----------------------------------------------------------
   CONTACT SECTION
---------------------------------------------------------- */

.contact-section {
    background: #173257;
    padding: 70px 0;
    color: #f2f6ff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-right-inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-panel,
.attachments-panel {
    background: #fff;
    color: #000;
    padding: 25px 28px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.contact-left label,
.contact-message-row label {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    color: #f2f6ff;
}

.contact-left input,
.contact-left select,
.contact-message-row textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 1.1rem;
    border: 1px solid #d0d6e0;
    border-radius: 10px;
    background: #fff;
    margin-bottom: 22px;
    box-sizing: border-box;
}

.contact-message-row textarea {
    min-height: 160px;
    resize: vertical;
}

.contact-info-panel h3,
.attachments-panel h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #0a1a2f;
}

.contact-info-panel ul {
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.contact-info-panel ul li {
    margin-bottom: 10px;
    padding-left: 22px;
    position: relative;
    font-size: 1rem;
}

.contact-info-panel ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #0a1a2f;
    font-weight: bold;
}

.attachments-panel input[type="file"] {
    display: block;
    width: 100%;
    margin-bottom: 14px;
    padding: 8px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #d0d6e0;
}

.contact-submit-row button {
    background: #811818;
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
}

.contact-submit-row button:hover {
    background: #b71f1f;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------------------------
   FOOTER	background: #1a4db8;
---------------------------------------------------------- */

.amg-footer {
    background: #0a3a82;
    padding: 60px 0 0;
    color: #fff;
}

/* support both .footer-main and .footer-columns */
.footer-main,
.footer-columns {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.5fr;
    gap: 50px;
}

.footer-logo {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 15px;
}

.footer-brand-text {
    line-height: 1.5;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 10px; /* adds breathing room below icons */
}

.footer-social img {
    width: auto;
    height: 28px;
    margin-right: 10px;
}

.footer-bottom {
    background: #242E42;
    text-align: center;
    padding: 12px 0;
    margin: 0 !important;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #ffffff !important;
    text-decoration: underline;
}

/* footer columns + links */
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.footer-col ul li a:hover {
    opacity: 0.6;
}

@media (max-width: 900px) {
    .footer-main,
    .footer-columns {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-col {
        align-items: center;
    }
}

/* ----------------------------------------------------------
   PRE-HERO
---------------------------------------------------------- */

.pre-hero {
    padding: 35px 0 !important;
    background: #ffffff;
}

.pre-hero-grid {
    display: grid;
    grid-template-columns: 66% 34%;
    gap: 40px;
    align-items: center;
}

.pre-hero-left h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #0a1a2f;
    margin: 0 0 12px 0;
}

.pre-hero-left h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 25px 0;
    color: #00a651;
}

.pre-hero-left p {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 15px;
    color: #444;
    max-width: 90%;
}

.fade-slideshow {
    position: relative;
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fade-slideshow img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: absolute;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    border-radius: 12px;
}

.fade-slideshow img.active {
    opacity: 1;
}

@media (max-width: 900px) {
    .pre-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .pre-hero-right {
        margin-top: 20px;
    }
}

/* ----------------------------------------------------------
   GOOGLE REVIEW SECTION
---------------------------------------------------------- */

.google-review-section {
    background: #f4f7fb;
    padding: 40px 0;
    border-radius: 6px;
    margin-bottom: 40px;
}

.review-section {
    background: #0a1a2f;
    padding: 40px 0;
    border-radius: 6px;
    margin-bottom: 40px;
}

.review-inner {
    display: flex;
    align-items: center;
    gap: 30px;
}

.google-review-inner {
    display: flex;
    align-items: center;
    gap: 30px;
}

.google-review-logo img {
    width: 140px;
    height: auto;
}

.review-quote {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 10px;
    font-style: italic;
}

.review-quote-white {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 10px;
    font-style: italic;
}

.review-author {
    font-size: 0.95rem;
    font-weight: 600;
    color: #005a2c;
}

.review-author-grey {
    font-size: 0.95rem;
    font-weight: 600;
    color: #d3d3d3;
}

@media (max-width: 900px) {
    .google-review-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ----------------------------------------------------------
   NICEIC INLINE LOGO + SVG GLOBAL
---------------------------------------------------------- */

.niceic-inline-logo {
    height: 74px;
    width: auto;
    vertical-align: middle;
    margin-right: 8px;
}

svg {
    max-width: 100%;
    height: auto;
}

/* MOBILE: Make hero buttons equal width but not full width */
@media (max-width: 900px) {
    .hero-cta .btn {
        width: 170px;          /* pick a width that looks good */
        max-width: 90%;        /* prevents overflow on tiny screens */
        text-align: center;
    }

    .hero-cta {
        align-items: center;   /* centre the buttons */
    }
}

/* ----------------------------------------------------------
   DESKTOP NAV ACTIVE SLIDE ANIMATION
---------------------------------------------------------- */
@media (min-width: 901px) {

    .navigation li a {
        position: relative;
        padding: 6px 0;
    }

    /* Base state: bars hidden */
    .navigation li a::before,
    .navigation li a::after {
        content: "";
        position: absolute;
        left: 50%;
        width: 0;
        height: 2px;
        background: #ffffff;
        transition: all 0.35s ease;
        transform: translateX(-50%);
        opacity: 0.8;
    }

    /* Top bar */
    .navigation li a::before {
        top: -3px;
    }

    /* Bottom bar */
    .navigation li a::after {
        bottom: -3px;
    }

    /* ACTIVE PAGE — bars fully extended */
	.navigation li a.active::before,
	.navigation li a.active::after {
		width: 100%;
	}

    /* HOVER (desktop only) — preview the bars */
    .navigation li a:hover::before,
    .navigation li a:hover::after {
        width: 100%;
    }
	
	/* ACTIVE PAGE — continuous pulse when NOT hovered */
	.navigation li a.active:not(:hover)::before,
	.navigation li a.active:not(:hover)::after {
		animation: activePulse 4.2s ease-in-out infinite;
	}

	/* KEYFRAMES: red → fade → white → fade */
	@keyframes activePulse {
		0%   { background: rgba(255, 0, 0, 1); }
		25%  { background: rgba(255, 0, 0, 0); }
		50%  { background: rgba(255, 255, 255, 1); }
		75%  { background: rgba(255, 255, 255, 0); }
		100% { background: rgba(255, 0, 0, 1); }
	}

}

/* GALLERY PAGE */
.gallery-page h1 {
    text-align: center;	
    margin-bottom: 40px;
    color: #0a1a2f;
}

.gallery-grid {
    display: grid;
	margin-top: 40px;
	margin-bottom: 40px;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-img {
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 14px rgba(10, 58, 130, 0.18);
}

.gallery-img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 28px rgba(10, 58, 130, 0.25);
}

/* MOBILE */
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* MODAL */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
}

.gallery-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

/* ----------------------------------------------------------
   SUB-HERO (thin, left-aligned)
---------------------------------------------------------- */
.sub-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 17px 0; /* MUCH thinner */
    color: #fff;
}

.sub-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.50);
}

.sub-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 0 0;
    text-align: left; /* LEFT ALIGN */
}

.sub-hero h1 {
    font-size: 2.4rem;
    font-weight: 650;
    margin-bottom: 12px;
}

.sub-hero p {
    font-size: 1.1rem;
    line-height: 1.55;
    max-width: 900px;
    margin-bottom: 25px;
}

/* CTA buttons */
.sub-hero .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    margin-right: 12px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
}

.sub-hero .btn.red {
    background: #d62828;
    color: #fff;
}

.sub-hero .btn.green {
    background: #25d366;
    color: #fff;
}

.sub-hero .btn.white {
    background: #fff;
    color: #0a1a2f;
}

.sub-hero .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

/* MOBILE */
@media (max-width: 900px) {
    .sub-hero {
        padding: 45px 0;
    }

    .sub-hero h1 {
        font-size: 2rem;
    }

    .sub-hero p {
        font-size: 1rem;
    }

    .sub-hero .btn {
        width: 100%;
        justify-content: center;
        margin-right: 0;
    }
}

/* ----------------------------------------------------------
   COMMERCIAL SERVICES GRID
---------------------------------------------------------- */
.commercial-services {
    padding: 60px 0;
}

.commercial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.commercial-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.commercial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.commercial-img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 18px;
}

.commercial-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0a1a2f;
}

.commercial-card p {
    font-size: 1.05rem;
    line-height: 1.55;
    color: #333;
}

/* LIST STYLE */
.commercial-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.commercial-list li {
    font-size: 1.05rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: #222;
}

.commercial-list ul li::before {
    content: "▸";
    position: absolute;
    left: 0;
    top: 0;
    color: #d62828;
    font-weight: bold;
}

.commercial-list li span {
    color: #31e21e;
    font-weight: 700;
    margin-right: 8px;
    font-size: 1.2rem;
}

/* MOBILE */
@media (max-width: 900px) {
    .commercial-grid {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------------------------
   DOMESTIC SERVICES GRID
---------------------------------------------------------- */
.domestic-services {
    padding: 60px 0;
}

.domestic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.domestic-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.domestic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.domestic-img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 18px;
}

.domestic-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0a1a2f;
}

.domestic-card p {
    font-size: 1.05rem;
    line-height: 1.55;
    color: #333;
}

/* LIST STYLE */
.domestic-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.domestic-list li {
    font-size: 1.05rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: #222;
}

.domestic-list ul li::before {
    content: "▸";
    position: absolute;
    left: 0;
    top: 0;
    color: #d62828;
    font-weight: bold;
}

.domestic-list li span {
    color: #31e21e;
    font-weight: 700;
    margin-right: 8px;
    font-size: 1.2rem;
}

/* MOBILE */
@media (max-width: 900px) {
    .domestic-grid {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------------------------
   COMMERCIAL FEATURE BLOCK (Blue background, 3 columns)
---------------------------------------------------------- */
.commercial-feature-block {
    background: #0a1a2f; /* AMG deep blue */
    padding: 70px 0;
    color: #fff;
}

.commercial-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

/* Vertical dividers */
.commercial-feature-grid .feature-col {
    position: relative;
    padding: 0 25px;
}

.commercial-feature-grid .feature-col:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 20px;
    right: 0;
    width: 1px;
    height: calc(100% - 40px);
    background: rgba(255,255,255,0.25);
}

/* Image */
.feature-img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* Headings */
.feature-col h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Paragraph */
.feature-col p {
    font-size: 1.05rem;
    line-height: 1.55;
    color: #e6e6e6;
}

/* List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    font-size: 1.05rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.feature-list li span {
    color: #31e21e;
    font-weight: 700;
    margin-right: 10px;
    font-size: 1.2rem;
}

/* MOBILE */
@media (max-width: 900px) {
    .commercial-feature-grid {
        grid-template-columns: 1fr;
    }

    .commercial-feature-grid .feature-col:not(:last-child)::after {
        display: none;
    }
}


/* ----------------------------------------------------------
   DOMESTIC SERVICES GRID
---------------------------------------------------------- */
.domestic-services {
    padding: 60px 0;
}

.domestic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.domestic-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.domestic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.domestic-img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 18px;
}

.domestic-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0a1a2f;
}

.domestic-card p {
    font-size: 1.05rem;
    line-height: 1.55;
    color: #333;
}

/* LIST STYLE */
.domestic-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.domestic-list li {
    font-size: 1.05rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: #222;
}

/* MOBILE */
@media (max-width: 900px) {
    .domestic-grid {
        grid-template-columns: 1fr;
    }
}
/* ----------------------------------------------------------
   DOMESTIC FEATURE BLOCK (Blue background, 3 columns)
---------------------------------------------------------- */
.domestic-feature-block {
    background: #0a1a2f; /* AMG deep blue */
    padding: 70px 0;
    color: #fff;
}

.domestic-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

/* Vertical dividers */
.domestic-feature-grid .feature-col {
    position: relative;
    padding: 0 25px;
}

.domestic-feature-grid .feature-col:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 20px;
    right: 0;
    width: 1px;
    height: calc(100% - 40px);
    background: rgba(255,255,255,0.25);
}

/* Image */
.feature-img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* Headings */
.feature-col h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Paragraph */
.feature-col p {
    font-size: 1.05rem;
    line-height: 1.55;
    color: #e6e6e6;
}

/* List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    font-size: 1.05rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.feature-list li span {
    color: #31e21e;
    font-weight: 700;
    margin-right: 10px;
    font-size: 1.2rem;
}

/* MOBILE */
@media (max-width: 900px) {
    .domestic-feature-grid {
        grid-template-columns: 1fr;
    }

    .domestic-feature-grid .feature-col:not(:last-child)::after {
        display: none;
    }
}


/* WRAPPER */
.reviews-wrapper {
    width: 100%;
}

/* BLOCK BACKGROUNDS */
.review-block.dark-bg {
    background: #0a1a2f;
    color: #fff;
    padding: 60px 0;
}

.review-block.light-bg {
    background: #f7f7f7;
    color: #222;
    padding: 60px 0;
}

/* REVIEW CARD */
.review-card {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.review-quote,
.review-quote-white {
    font-size: 1.2rem;
    line-height: 1.65;
    margin-bottom: 20px;
}

.review-quote-white {
    color: #fff;
}

.review-author,
.review-author-grey {
    font-size: 1rem;
    font-weight: 600;
}

.review-author-grey {
    color: #ccc;
}

/* GOOGLE REVIEW BLOCKS */
.google-review-inner {
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.google-review-logo img {
    width: 80px;
    height: auto;
}

.google-review-text h3 {
    margin-bottom: 10px;
}

/* MOBILE */
@media (max-width: 900px) {
    .google-review-inner {
        flex-direction: column;
        text-align: left;
    }

    .google-review-logo img {
        width: 60px;
    }
}

.review-block.dark-bg {
    background: #0a3a82;
    color: #fff;
    padding: 40px 0;
}

.review-block.light-bg {
    background: #f7f7f7;
    color: #222;
    padding: 40px 0;
}

.google-review-inner {
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.review-card {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.review-avatar svg {
    width: 64px;
    height: 64px;
    display: block;
}

/* Existing quote/author styles still apply */

@media (max-width: 900px) {
    .google-review-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .review-avatar svg {
        width: 52px;
        height: 52px;
    }
}

/* Unified review row layout */
.google-review-inner {
    display: flex;
    align-items: center; /* vertically centre avatar/logo + text */
    gap: 25px;
    padding: 5px 0;
}

/* Avatar + Google logo column */
.review-avatar,
.google-review-logo {
    width: 70px;          /* consistent width */
    min-width: 70px;      /* prevents shifting */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Avatar SVG */
.review-avatar svg {
    width: 64px;
    height: 64px;
    display: block;
    color: currentColor; /* auto white on dark, dark on light */
}

/* Text column */
.review-card,
.google-review-text {
    flex: 1;
    text-align: left;
}

/* Remove rogue spacing */
.review-author,
.review-author-grey {
    margin-top: 10px;
}

/* Remove <br> spacing issues */
.review-card br,
.google-review-text br {
    display: none;
}

/* Mobile */
@media (max-width: 900px) {
    .google-review-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .review-avatar,
    .google-review-logo {
        width: 52px;
        min-width: 52px;
    }

    .review-avatar svg {
        width: 52px;
        height: 52px;
    }
}

/* SECTION BACKGROUND */
.proof-section {
    background: #D9E8FF; /* AMG deep blue */
    padding: 0px 0;
    color: #fff;
}

/* GRID */
.proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* EACH ITEM */
.proof-item {
    display: flex;
    align-items: center; /* vertical centering */
    gap: 15px;
}

/* ICON CARD */
.proof-icon {
    background: #fff;
    border-radius: 12px;
    width: 40px;      /* 50% of original 80px */
    height: 40px;     /* 50% of original 80px */
    padding: 6px;     /* small internal padding */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden; /* prevents PNG overflow */
}

.proof-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* keeps PNG proportions */
    display: block;
}

/* TEXT */
.proof-text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 2px;
	color: #1a4db8;
}

.proof-text p {
    font-size: 1.05rem;
    line-height: 1.55;
    color: #0a1a2f;
}

/* MOBILE */
@media (max-width: 900px) {
    .proof-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .proof-item {
        align-items: flex-start;
    }
}

#backToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: #0a1a2f;
    color: #fff;
    border: none;
    font-size: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;              /* hidden by default */
    pointer-events: none;    /* not clickable when hidden */
    transition: opacity 0.3s ease, transform 0.25s ease;
    z-index: 9999;
}

#backToTopBtn.show {
    opacity: 0.85;
    pointer-events: auto;
}

#backToTopBtn:hover {
    background: #d60000;
    transform: translateY(-3px);
    opacity: 1;
}
.form-success {
    background: #d4ffd4;
    color: #0a5a0a;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.form-error {
    background: #ffd4d4;
    color: #8a0000;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
}

#website {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

