/* -----------------------------------
   GLOBAL PAGE STYLING
----------------------------------- */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #e9f4ff; /* pale blue */
    color: #222;
}

.page-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 15px 60px;
}

/* -----------------------------------
   HEADER + LOGO
----------------------------------- */
.site-header {
    text-align: center;
    padding: 10px 15px 20px;
}

/* Desktop default */
.logo-top .logo {
    width: 100%;
    max-width: 455px;
    height: auto;
}

/* Mobile behaviour */
@media (max-width: 600px) {
    .logo-top .logo {
        width: 100%;
        max-width: 90vw;
        height: auto;
  }

}

@media (max-width: 600px) {
    .logo-top .logo {
        max-width: 260px;
    }
}

/* -----------------------------------
   NAVIGATION
----------------------------------- */
.main-nav {
    margin-top: 10px;
}

.nav-btn {
    margin: 0 4px;
    padding: 8px 12px;
    border: none;
    background: #004a8f;
    color: #fff;
    cursor: pointer;
    font-size: 0.9rem;
    border-radius: 4px;
}

.nav-btn:hover {
    background: #0060b8;
}

/* MOBILE NAV FIX */
@media (max-width: 600px) {
    .nav-btn {
        margin: 6px 4px;
    }
}

.fast-contact {
    margin-top: 8px;
    font-weight: bold;
}

/* -----------------------------------
   MAIN HEADING + SUBHEADING
----------------------------------- */
.main-heading {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 5px;
}

.sub-heading {
    text-align: center;
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 25px;
    color: #444;
}

/* -----------------------------------
   PANELS
----------------------------------- */
.panel {
    display: none;
}

.panel.active {
    display: block;
}

/* -----------------------------------
   SERVICES TWO-COLUMN LIST
----------------------------------- */
.services {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin: 20px 0;
}

.services ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.services li {
    margin-bottom: 6px;
}

/* -----------------------------------
   GUARANTEE BOXES
----------------------------------- */
.guarantee-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.guarantee {
    background: #ffffff;
    border-radius: 6px;
    padding: 10px 14px;
    min-width: 200px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    font-weight: bold;
}

/* -----------------------------------
   EXPERIENCE BANNER
----------------------------------- */
.experience-banner {
    margin: 15px 0;
    padding: 10px;
    background: #004a8f;
    color: #fff;
    text-align: center;
    border-radius: 4px;
}

/* -----------------------------------
   SEO BLOCK
----------------------------------- */
.seo-block {
    margin: 20px 0;
}

.centre-text {
    text-align: center;
}

/* -----------------------------------
   SITE NAME BANNER
----------------------------------- */
.site-name-banner {
    margin-top: 15px;
    text-align: center;
    font-weight: bold;
}

/* -----------------------------------
   GALLERY / TESTIMONIALS IMAGE GRID
----------------------------------- */

/* Panel container – removes extra spacing like testimonials fix */
#galleryPanel {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}

/* Auto-fit grid for the images */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
    justify-items: center;
}

/* Force all gallery images to sensible size */
#galleryPanel img {
    width: 100%;
    max-width: 180px;   /* hard cap so they never blow up */
    height: 140px;      /* thumbnail height */
    object-fit: cover;
    border-radius: 6px;

}


/* -----------------------------------
   TESTIMONIAL PANEL FIXES
----------------------------------- */
#testimonialsPanel {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}

#testimonialsPanel .five-images {
    margin: 0;
    padding: 0;
}

#testimonialsPanel .five-images-wrapper {
    margin: 0;
    padding: 0;
    justify-content: center;
}

#testimonialsPanel .five-img {
    width: 350px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* -----------------------------------
   CONTACT FORM
----------------------------------- */
#contactForm {
    background: #ffffff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    margin-bottom: 10px;
}

.form-row label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-family: inherit;
    font-size: 0.95rem;
}

.submit-btn {
    padding: 8px 16px;
    border-radius: 4px;
    border: none;
    background: #004a8f;
    color: #fff;
    cursor: pointer;
}

.submit-btn:hover {
    background: #0060b8;
}

.error-message {
    color: #b00020;
    font-size: 0.8rem;
    min-height: 14px;
}

.success-message {
    color: #0a7a1f;
    font-size: 0.85rem;
    margin-top: 6px;
}

/* -----------------------------------
   FOOTER TEXT
----------------------------------- */
.site-footer {
    text-align: center;
    padding: 20px 10px 30px;
    background: #dbe9ff;
    margin-top: 30px;
}

.site-footer p {
    text-align: center;
    margin: 6px 0;
}

/* -----------------------------------
   FOOTER IMAGE GRID
----------------------------------- */
.footer-images-wrapper {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.footer-img-box {
    width: 110px;
    height: 110px;
    background: transparent;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    display: block;
}

/* -----------------------------------
   RESPONSIVE
----------------------------------- */
@media (max-width: 800px) {
    .services {
        flex-direction: column;
        align-items: center;
    }

    .footer-images-wrapper {
        grid-template-columns: repeat(2, auto);
    }
}

/* -----------------------------------
   LOCATION STRIP
----------------------------------- */
.location-strip {
    width: 100%;
    overflow: hidden;
    background: transparent;
    padding: 6px 0;
}

.location-text {
    white-space: nowrap;
    display: inline-block;
    animation: smoothScroll 18s linear infinite;
    font-size: 15px;
    color: #333;
}

@keyframes smoothScroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
