/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

h1,
h2,
h3,
.logo {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Variables */
:root {
    --primary-color: #D35400;
    /* Deep Orange/Rust - Industrial/Energy feel */
    --secondary-color: #2C3E50;
    /* Dark Slate Blue - Professional/Corporate */
    --accent-color: #F39C12;
    /* Safety Yellow/Orange */
    --text-dark: #222;
    --text-light: #fff;
    --bg-light: #f4f4f4;
    --bg-dark: #1a1a1a;
}

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


.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--primary-color);
}

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


.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--text-light);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--text-light);
    margin-left: 10px;
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--text-dark);
}

/* Navigation */
.navbar {
    background-color: var(--text-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 2px 0;
    /* Smoother transition with cubic-bezier */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: width, margin, border-radius, background-color;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    width: 90%;
    max-width: 1200px;
    margin: 10px auto 0;
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 0 20px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 1px;
}

.highlight {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links .btn-primary {
    color: var(--text-light) !important;
}

.nav-links .btn-primary:hover {
    color: var(--primary-color) !important;
    background-color: transparent !important;
}

.nav-phone {
    font-weight: 700;
    color: var(--secondary-color);
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.nav-phone i {
    color: var(--primary-color);
    margin-right: 8px;
}

.nav-links .btn-primary:hover {
    color: var(--primary-color) !important;
    background-color: transparent !important;
}

.nav-phone {
    font-weight: 700;
    color: var(--secondary-color);
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.nav-phone i {
    color: var(--primary-color);
    margin-right: 8px;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
/* Hero Section */
.hero {
    height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
}

/* Slider Container */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Individual Slide */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}


.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

/* Sections General */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-header .subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.line {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

.line.white-line {
    background-color: var(--text-light);
}

.line-left {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px 0 20px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 15px;
    color: #555;
    font-size: 1.05rem;
}

.about-image {
    flex: 1;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Team Section */
.team-feature {
    display: flex;
    gap: 40px;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    align-items: flex-start;
}

.feature-img-container {
    flex: 0 0 300px;
    /* Fixed width for image column */
}

.feature-img-container img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.feature-bio {
    flex: 1;
}

.feature-bio h3 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.team-role {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-bio p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #555;
}

@media (max-width: 768px) {
    .team-feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .feature-img-container {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
        margin-bottom: 20px;
    }
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--text-light);
    padding: 0;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border-bottom: 3px solid transparent;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-hero-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-content-wrapper {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid var(--primary-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-card ul {
    margin-bottom: 15px;
}

.service-card ul li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
    color: #555;
}

.service-card ul li::before {
    content: "\2022";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.service-sub {
    font-size: 0.9rem;
    color: #777;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* Dual Column (Comm/Res) */
.dual-column {
    display: flex;
    gap: 40px;
}

.column {
    flex: 1;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.column h2 {
    font-size: 2rem;
    color: var(--secondary-color);
}

.styled-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    display: flex;
    align-items: center;
}

.styled-list li::before {
    content: "\f058";
    /* check-circle */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary-color);
    margin-right: 10px;
}

/* Certifications Section */
.cert-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    text-align: center;
}

.cert-item {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    width: 200px;
    height: 120px;
    /* Fixed height for uniformity */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-5px);
}

.cert-logo {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
}

.cert-item p {
    display: none;
    /* Hide if any accidentally remain */
}


/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.project-img {
    height: 200px;
    background-color: #eee;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
    transform: scale(1.05);
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* Equipment Section */
.equipment-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.equip-item {
    text-align: center;
    flex: 1;
    min-width: 250px;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.equip-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.equip-item h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* Safety Section */
.safety-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.safety-text {
    flex: 2;
}

.safety-stats {
    flex: 1;
    display: flex;
    gap: 30px;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    flex: 1;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--text-light);
}

/* Team Section - Members */
.team-member {
    text-align: center;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
    /* Ensure full height in grid */
}

.member-img {
    width: 150px;
    height: 150px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.team-member h3 {
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.team-member p {
    color: #777;
    font-style: italic;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: #ccc;
    padding-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h3 {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p,
.footer-col li {
    margin-bottom: 10px;
}

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

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--text-light);
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-content,
    .dual-column,
    .safety-content {
        flex-direction: column;
    }

    .about-image {
        width: 100%;
    }
}

/* Commercial Grid */
.commercial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.comm-card {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.comm-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.comm-card i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.comm-card h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.comm-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Residential Section (Subtle) */
.residential-container {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #ddd;
}

.residential-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.res-intro {
    font-style: italic;
    color: #666;
}

.residential-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
    list-style: circle;
    padding-left: 20px;
}

.residential-list li {
    font-size: 0.95rem;
    color: #444;
}

/* Trust Bar */
.trust-bar {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.trust-bar .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.trust-label {
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-logos img {
    height: 40px;
    transition: all 0.3s ease;
}

.trust-logos img:hover {
    transform: scale(1.05);
}

/* Quick Services Bar */
.quick-services {
    background-color: var(--secondary-color);
    padding: 40px 0;
}

.quick-services .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.qs-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 150px;
}

.qs-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.qs-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.qs-item span {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* Contact & Service Areas Section */
.bg-dark {
    background-color: #222;
    color: #fff;
    padding: 80px 0;
}

.text-light {
    color: #fff !important;
}

.contact-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: flex-start;
}

.contact-info-col {
    flex: 1;
    min-width: 300px;
}

.contact-info-col .lead {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ccc;
    font-weight: 300;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-method i {
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.3rem;
    width: 25px;
    text-align: center;
}

.big-phone {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.big-phone i {
    font-size: 2.2rem;
}

.big-phone:hover,
.email-link:hover {
    transform: translateX(10px);
    opacity: 0.9;
}

/* Service Area Column */
.service-area-col {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
}

.service-area-col h3 {
    margin-bottom: 30px;
    font-size: 1.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.area-block {
    margin-bottom: 25px;
}

.area-block:last-child {
    margin-bottom: 0;
}

.area-block h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.area-highlight {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.area-list {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.6;
}

/* Simplified Footer */
footer {
    background-color: #111;
    padding: 30px 0;
    font-size: 0.9rem;
    border-top: 1px solid #333;
}

.footer-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    color: #888;
    margin-left: 20px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}