/* --- Core Styles --- */
:root {
    --primary-color: #005a9e; /* Blue from logo */
    --primary-color-darker: #004a8d;
    --accent-color: #f47b20; /* Orange/Red from logo */
    --accent-color-darker: #d86612;
    --dark-grey: #333;
    --light-grey: #f7f9fa;
    --white: #ffffff;
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Lato', sans-serif;
    --border-radius: 8px;
}

body {
    font-family: var(--body-font);
    line-height: 1.7;
    color: var(--dark-grey);
    background-color: var(--white);
    margin: 0;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    margin-top: 0;
    font-weight: 700;
}

h1 { font-size: 3rem; line-height: 1.2; }
h2 { font-size: 2.5rem; margin-bottom: 20px;}
h3 { font-size: 1.6rem; }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 1.2rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color-darker);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background-color: var(--accent-color-darker);
    border-color: var(--accent-color-darker);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}


/* --- Header --- */
header {
    background-color: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

header .container {
    display: flex;
    justify-content: flex-start; /* Start elements from the left */
    align-items: center;
    gap: 30px; /* Increased gap for overall header elements */
}

.logo-link {
    flex-shrink: 0;
}

.logo {
    height: 65px;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    /* Removed flex-grow: 1; */
    /* Removed justify-content: center; */
    gap: 30px; /* Spacing between nav items */
}

.nav-links li {
    /* No margin-left needed here due to gap */
}

.nav-links a {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1rem;
    padding-bottom: 8px;
    position: relative;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.header-contact {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 20px; /* Spacing between phone number and button */
    margin-left: auto; /* Pushes this section to the far right */
}

.header-contact .phone-number {
    color: var(--primary-color);
    font-weight: bold;
    white-space: nowrap;
}

.header-contact .phone-number strong {
    color: var(--dark-grey);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(to bottom, #f7f9fa, #e8f0f5);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    max-width: 850px;
    margin: 0 auto 25px;
}

.hero p {
    font-size: 1.3rem;
    max-width: 750px;
    margin: 0 auto 35px;
    color: #555;
}

/* --- Welcome Section --- */
.welcome {
    padding: 80px 0;
    text-align: center;
}

.welcome h2 {
    margin-bottom: 25px;
}

.welcome p {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

/* --- Core Services Section --- */
.core-services {
    padding: 80px 0;
    background-color: var(--light-grey);
}

.core-services h2 {
    text-align: center;
    margin-bottom: 15px;
}
.core-services .intro {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.2rem;
    color: #555;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.service-card {
    background-color: var(--white);
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

.service-card .icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 20px;
}

.service-card .btn {
    margin-top: 25px;
}

/* --- Why Choose Us Section --- */
.why-choose-us {
    padding: 80px 0;
}

.why-choose-us h2 {
    text-align: center;
    margin-bottom: 50px;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.reason .icon {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.reason h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* --- Testimonials Section --- */
.testimonials {
    padding: 80px 0;
    background: var(--primary-color) url('path-to-subtle-pattern.png');
    color: var(--white);
}

.testimonials h2 {
    color: var(--white);
    text-align: center;
    margin-bottom: 50px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.testimonial {
    background-color: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: var(--border-radius);
    position: relative;
    padding-top: 50px;
}

.testimonial .fa-quote-left {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.2);
}

.testimonial blockquote {
    margin: 0;
    padding: 0;
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.5;
}

.testimonial footer {
    margin-top: 20px;
    font-weight: bold;
    text-align: right;
    font-size: 1.1rem;
    font-style: normal;
    padding-right: 20px;
}

/* --- Final CTA Section --- */
.final-cta {
    padding: 100px 0;
    text-align: center;
    background-color: var(--light-grey);
}

.final-cta h2 {
    margin-bottom: 20px;
}

.final-cta p {
    margin-bottom: 35px;
    font-size: 1.2rem;
}

.final-cta .secondary-cta {
    margin-top: 25px;
    font-size: 1.1rem;
}

/* --- Footer --- */
footer {
    background-color: #2c3e50;
    color: #bdc3c7;
    padding: 60px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 45px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #bdc3c7;
}

.footer-col a:hover {
    color: var(--accent-color);
}

.social-links a {
    margin-right: 20px;
    font-size: 1.5rem;
    color: var(--white);
}

.social-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #465a70;
    padding-top: 25px;
    font-size: 0.9rem;
    color: #95a5a6;
}

/* --- Responsive Design --- */


@media (max-width: 1100px) {
    .hide-on-small-4 { display: none; }
}

@media (max-width: 1000px) {
    .hide-on-small-3 { display: none; }
}

@media (max-width: 992px) {
    body { font-size: 16px; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .nav-links {
        display: none; /* Hidden by default on small screens */
    }

    .header-contact .phone-number {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
        margin-left: auto; /* Pushes the toggle to the right */
    }

    .hamburger {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--primary-color);
        position: relative;
        transition: transform 0.3s;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 25px;
        height: 3px;
        background-color: var(--primary-color);
        left: 0;
        transition: transform 0.3s, top 0.3s, bottom 0.3s;
    }

    .hamburger::before { top: -8px; }
    .hamburger::after { bottom: -8px; }
    .mobile-nav-toggle.active .hamburger { background-color: transparent; }
    .mobile-nav-toggle.active .hamburger::before { transform: rotate(45deg); top: 0; }
    .mobile-nav-toggle.active .hamburger::after { transform: rotate(-45deg); bottom: 0; }

    /* Overlay Menu Styles */
    .overlay-menu {
        height: 100%;
        width: 0;
        position: fixed;
        z-index: 2000;
        top: 0;
        left: 0;
        background-color: rgba(0,0,0, 0.95);
        overflow-x: hidden;
        transition: 0.5s;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .overlay-menu.open {
        width: 100%;
    }

    .overlay-content {
        position: relative;
        top: 15%;
        width: 100%;
        text-align: center;
        margin-top: 30px;
    }

    .overlay-menu a {
        padding: 15px;
        text-decoration: none;
        font-size: 2.5rem;
        color: #f1f1f1;
        display: block;
        transition: 0.3s;
        font-family: var(--heading-font);
        font-weight: 700;
    }

    .overlay-menu a:hover, .overlay-menu a:focus {
        color: var(--accent-color);
    }

    .overlay-menu .closebtn {
        position: absolute;
        top: 20px;
        right: 45px;
        font-size: 60px;
        color: #f1f1f1;
    }

    .overlay-phone {
        font-size: 1.5rem !important;
        margin-top: 30px;
        color: #ccc !important;
    }

    .overlay-phone strong {
        color: var(--white) !important;
    }

    .overlay-quote-btn {
        margin-top: 20px;
        font-size: 1.5rem !important;
        padding: 15px 30px !important;
    }

    .testimonial-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 880px) {
    .hide-on-small-2 { display: none; }
}

@media (max-width: 768px) {
    .hide-on-small-1 { display: none; }
    .header-contact .btn {
        display: none;
    }
}

@media (max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-links { display: flex; justify-content: center; }

    .overlay-menu a {
        font-size: 1.8rem;
    }
    .overlay-phone {
        font-size: 1.2rem !important;
    }
    .overlay-quote-btn {
        font-size: 1.2rem !important;
        padding: 12px 25px !important;
    }
}

/* --- Gallery Page --- */
.gallery-section { padding: 80px 0; }
.gallery-category { margin-bottom: 60px; }
.gallery-category h3 { text-align: center; margin-bottom: 20px; }
.gallery-category p { text-align: center; max-width: 700px; margin: 0 auto 40px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.gallery-item { border-radius: var(--border-radius); overflow: hidden; box-shadow: 0 5px 25px rgba(0,0,0,0.1); position: relative; transition: transform 0.3s ease; }
.gallery-item:hover { transform: scale(1.05); }
.gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0, 90, 158, 0.9), transparent); color: var(--white); padding: 40px 20px 20px; transition: opacity 0.3s ease; opacity: 0; }
.gallery-item:hover .gallery-caption { opacity: 1; }
.gallery-caption p { margin: 0; font-size: 1rem; font-weight: bold; }

.text-gallery-item {
    background-color: var(--light-grey);
    padding: 30px;
    border: 1px solid #ddd;
}

.text-gallery-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}


/* --- Contact Page --- */
.contact-details-section { padding: 80px 0; background-color: var(--light-grey); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 60px; align-items: start; max-width: 600px; margin: 0 auto; }
.contact-method { margin-bottom: 35px; }
.contact-method h4 { color: var(--primary-color); margin-bottom: 15px; }
.contact-form-container { background-color: var(--white); padding: 45px; border-radius: var(--border-radius); box-shadow: 0 5px 25px rgba(0,0,0,0.08); }
.contact-form .form-group { margin-bottom: 25px; }
.contact-form label { display: block; margin-bottom: 8px; font-weight: bold; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 14px; border: 1px solid #ccc; border-radius: var(--border-radius); font-size: 1rem; box-sizing: border-box; transition: border-color 0.3s, box-shadow 0.3s; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(0, 90, 158, 0.1); outline: none; }
.service-area-section { padding: 80px 0; }
.service-area-section h2 { text-align: center; margin-bottom: 25px; }
.service-area-section p { text-align: center; max-width: 800px; margin: 0 auto 35px; }
.location-list { columns: 2; max-width: 500px; margin: 0 auto 35px; list-style-position: inside; text-align: left; }
.map-placeholder { height: 450px; background-color: #e9e9e9; display: flex; align-items: center; justify-content: center; border-radius: var(--border-radius); font-style: italic; color: #888; }

/* --- Detailed Services Grid --- */
.services-detailed-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 35px; }
.service-detailed-card { background-color: var(--white); padding: 35px; border-radius: var(--border-radius); display: flex; flex-direction: column; box-shadow: 0 5px 25px rgba(0,0,0,0.07); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-detailed-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.09); }
.service-detailed-card h3 { margin-bottom: 20px; }
.service-detailed-card p { flex-grow: 1; }
.service-detailed-card .btn { margin-top: 25px; align-self: flex-start; }

/* --- Process List --- */
.process-list { list-style: none; padding-left: 0; counter-reset: process-counter; max-width: 850px; margin: 0 auto; }
.process-list li { position: relative; padding-left: 70px; margin-bottom: 45px; }
.process-list li:not(:last-child) { border-left: 3px solid var(--accent-color); padding-bottom: 25px; }
.process-list li::before { counter-increment: process-counter; content: counter(process-counter); position: absolute; left: -23px; top: -10px; background-color: var(--accent-color); color: var(--white); width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-family: var(--heading-font); font-size: 1.4rem; border: 3px solid var(--white); box-shadow: 0 0 10px rgba(0,0,0,0.1); }


@media (max-width: 576px) { .location-list { columns: 1; } .services-detailed-grid { grid-template-columns: 1fr; } }

/* --- Emergency Steps --- */
.emergency-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.emergency-step-card {
    background-color: var(--light-grey);
    border-radius: var(--border-radius);
    padding: 35px;
    border-left: 5px solid var(--primary-color);
}

.emergency-step-card h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.emergency-step-card ul {
    padding-left: 0;
    margin-bottom: 0;
    list-style-position: inside;
}

.emergency-step-card li {
    margin-bottom: 15px;
}

.emergency-step-card.gas-warning {
    background-color: #fff4e6;
    border-color: var(--accent-color);
}

.emergency-step-card.gas-warning h3 {
    color: var(--accent-color);
}


.form-success {
    text-align: center;
    padding: 40px;
    background-color: var(--light-grey);
    border-radius: 8px;
}
