/* ===========================
   GLOBAL + HEADER
   =========================== */

.main-header {
    background: #231940; /* Navy blue */
    border-top: 5px solid #4aa3ff; /* Light blue strip */
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

body {
    margin: 0;
    padding-top: 150px;
    font-family: Arial, sans-serif;
    color: #333;
    background: #d9e7f7; /* <<< MAKE WHOLE PAGE LIGHT BLUE */
}

.dual-logo {
    height: 120px;
    margin-left: 50px;
}

.header-right {
    text-align: right;
}

.header-contact {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #4aa3ff;
    margin-right: 100px;
    font-weight: 300;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 40px;
    margin-top: 50px;
}

.header-nav {
    display: flex;
    gap: 40px;
}

.header-nav a {
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: 400;
}

.header-nav a:hover {
    color: #4aa3ff;
}

.badge {
    height: 60px;
    margin-left: 15px;
}

.header-badges {
    display: flex;
    gap: 10px;
    margin-right: 50px;
}


/* ===========================
   HERO SLIDER (unchanged)
   =========================== */

.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

.hero-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* better than fill */
}

.hero-slider .label {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: #0a1a3a;
    color: #fff;
    padding: 12px 25px;
    font-size: 1.4rem;
    border-radius: 4px;
    opacity: 0;
    transition: all 0.8s ease;
}

.hero-slider .slide.active .label {
    bottom: 300px;
    opacity: 1;
}

/* ===========================
   SERVICE BOXES OVERLAY
   =========================== */

.services-overlay {
    position: absolute;
    bottom: 40px; /* moves boxes up/down over slider */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    pointer-events: none; /* allows slider clicks if needed */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1200px;
    width: 100%;
    padding: 0 40px;
    pointer-events: auto; /* re-enable clicking on boxes */
}

.service-box {
    background: rgba(255, 255, 255, 0.7);
    padding: 25px 10px;
    border-radius: 6px;
    text-decoration: none;
    color: #231940;
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
    transition: 0.3s ease;
}

.service-box:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-overlay {
        bottom: 20px;
    }
}




/* ===========================
   ABOUT SECTION
   =========================== */

.about-section {
    background: #d9e7f7;
    padding: 150px 0; /* reduced */
}

.about-section .container {
    padding-left: 50px;
    padding-right: 50px;
}

.about-title {
    text-align: center;
    color: #231940;
    font-size: 2rem;
    margin-bottom: 30px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 20px 1fr;
    gap: 40px;
    align-items: start;
}

.about-left p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
}

.about-divider {
    width: 2px;
    background: #231940;
    height: 100%;
}

.about-right h3 {
    color: #231940;
    margin-bottom: 20px;
}

.about-right ul {
    padding-left: 20px;
}

.about-right ul li {
    margin-bottom: 10px;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .about-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-divider {
        display: none;
    }
}


/* ===========================
   SERVICES SECTION
   =========================== */

.services-section {
    background: #d9e7f7;
    padding: 150px 0; /* reduced */
}

.services-section .container {
    padding-left: 50px;
    padding-right: 50px;
}

.services-title {
    text-align: center;
    color: #231940;
    font-size: 2rem;
    margin-bottom: 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px; /* reduced */
}

.service-card {
    background: #ffffff; /* white cards cause white band */
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
}

.service-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
}

.service-card h3 {
    color: #231940;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-btn {
    display: inline-block;
    background: #231940;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

/* ============================================================
   SERVICE PAGE (shared by Plumbing & Heating + Building Services)
   ============================================================ */
.service-page {
    background: #d9e7f7; /* same blue as About Us */
    padding: 40px 0;
}

.service-page .container {
    padding-left: 50px;
    padding-right: 50px;
}

@media (max-width: 768px) {
    .service-page .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.service-page-title {
    text-align: center;
    color: #231940;
    font-size: 2rem;
    margin-bottom: 40px;
}

.service-page-content h3 {
    color: #231940;
    margin-bottom: 15px;
}

.service-page-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Right-aligned quotation button */
.service-btn-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

.service-page-btn {
    display: inline-block;
    background: #231940;
    color: #fff;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}


/* ============================================================
   PLUMBING & HEATING PAGE — 2 COLUMN CARD GRID
   ============================================================ */
.ph-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.ph-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
}

.ph-card h3 {
    color: #231940;
    margin-bottom: 10px;
}

.ph-card p {
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .ph-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   BUILDING SERVICES PAGE — 2 COLUMN LIST
   ============================================================ */
.bs-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.bs-list-grid ul {
    padding-left: 20px;
}

.bs-list-grid li {
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .bs-list-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   CONTACT SECTION
   =========================== */

.contact-section {
    background: #d9e7f7;
    padding: 150px 0; /* reduced */
}

.section-title {
    text-align: center;
    color: #231940;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.contact-container {
    max-width: 700px;
    margin: 20px auto 0; /* small gap */
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #231940;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

.contact-btn {
    background: #231940;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    float: right;
    font-size: 1rem;
}

.contact-btn:hover {
    background: #4aa3ff;
    color: #000;
}

.contact-btn {
    margin-top: 40px; /* move button down */
}

