/*
Theme Name: EDC Engineering
Author: EDC Enterprises
Description: Professional EPC Engineering WordPress Theme
Version: 2.0
*/

/* =========================================================
   GLOBAL RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #172033;
    background: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}


/* =========================================================
   TOP CONTACT BAR
   ========================================================= */

.top-bar {
    width: 100%;
    background: #ffffff;
    color: #172033;
    border-bottom: 1px solid #eeeeee;
}

.top-bar-inner {
    width: 100%;
    min-height: 38px;
    padding: 0 28px;

    display: flex;
    align-items: center;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
}


/* =========================================================
   MAIN HEADER
   ========================================================= */

.site-header {
    width: 100%;
    background: #ffffff;
    position: relative;
    z-index: 100;
}

.main-header {
    width: 100%;
    background: #ffffff;

    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   HEADER INNER
   ========================================================= */

.header-inner {
    width: 100%;
    min-height: 125px;

    padding: 0 28px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   EDC BRAND
   LOGO + COMPANY NAME
   ========================================================= */

.brand {
    display: flex !important;
    align-items: center !important;

    flex: 0 0 auto !important;

    width: auto !important;
    height: 125px !important;

    margin: 0 !important;
    padding: 0 !important;

    text-decoration: none !important;

    white-space: nowrap !important;
}


/* =========================================================
   LOGO CONTAINER
   ========================================================= */

.brand-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 105px !important;
    height: 105px !important;

    margin: 0 !important;
    padding: 0 !important;

    flex: 0 0 105px !important;
}


/* =========================================================
   LOGO IMAGE
   ========================================================= */

.brand-logo img {
    display: block !important;

    width: 105px !important;
    height: 105px !important;

    min-width: 105px !important;
    min-height: 105px !important;

    max-width: 105px !important;
    max-height: 105px !important;

    object-fit: contain !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   COMPANY NAME
   VERY CLOSE TO LOGO
   ========================================================= */

.brand .company-name {
    display: block !important;

    margin: 0 0 0 8px !important;
    padding: 0 !important;

    color: #111827 !important;

    font-family: Arial, Helvetica, sans-serif !important;

    font-size: 26px !important;
    font-weight: 800 !important;

    line-height: 1.1 !important;

    letter-spacing: 0 !important;

    white-space: nowrap !important;

    width: auto !important;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.main-navigation {
    display: flex;
    align-items: center;

    margin-left: auto;
}

.main-menu {
    display: flex;

    align-items: center;

    gap: 30px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.main-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu a {
    display: block;

    color: #172033;

    font-size: 14px;
    font-weight: 700;

    text-transform: uppercase;

    padding: 10px 0;

    white-space: nowrap;

    transition: color 0.2s ease;
}

.main-menu a:hover {
    color: #0755a0;
}


/* =========================================================
   GET A QUOTE BUTTON
   ========================================================= */

.quote-btn {
    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    min-width: 166px;
    min-height: 55px;

    padding: 15px 25px;

    background: #0755a0;

    color: #ffffff !important;

    font-size: 14px;
    font-weight: 700;

    text-transform: uppercase;

    border-radius: 2px;

    white-space: nowrap;

    transition: background 0.2s ease;
}

.quote-btn:hover {
    background: #06457f;
    color: #ffffff !important;
}


/* =========================================================
   HERO SECTION
   ========================================================= */

/* =========================================================
   EDC HERO - CONSTRUCTION COVER / GRADIENT
   ========================================================= */

.hero {
    position: relative;

    min-height: 570px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background-image:
        linear-gradient(
            90deg,
            rgba(3, 28, 67, 0.96) 0%,
            rgba(4, 45, 92, 0.90) 28%,
            rgba(7, 74, 130, 0.62) 52%,
            rgba(7, 74, 130, 0.18) 78%,
            rgba(7, 74, 130, 0.05) 100%
        ),
        url("https://edc-enterprises.org/wp-content/uploads/2026/08/Cover-photo2.jpg");

    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}


/* Dark-blue subtle lower gradient */
.hero::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 35%;

    background:
        linear-gradient(
            to top,
            rgba(2, 27, 58, 0.45),
            rgba(2, 27, 58, 0)
        );

    pointer-events: none;
}


/* Keep content above image/gradient */
.hero .container {
    position: relative;

    z-index: 2;
}


/* HERO TEXT AREA */

.hero-content {
    max-width: 650px;

    padding: 65px 0;
}


/* MAIN HEADING */

.hero h1 {
    margin: 0 0 22px;

    font-size: 52px;

    line-height: 1.08;

    font-weight: 800;

    letter-spacing: -0.5px;

    color: #ffffff;
}


/* BLUE ACCENT LINE */

.hero h1 span {
    color: #43b8ed;
}


/* DESCRIPTION */

.hero p {
    max-width: 590px;

    margin: 0 0 32px;

    color: #ffffff;

    font-size: 17px;

    line-height: 1.7;

    text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}


/* BUTTON AREA */

.hero-buttons {
    display: flex;

    align-items: center;

    gap: 15px;
}


/* PRIMARY BUTTON */

.hero .btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 26px;

    background: #0755a0;

    color: #ffffff;

    font-size: 13px;

    font-weight: 700;

    border: 1px solid #0755a0;

    transition: all 0.25s ease;
}

.hero .btn:hover {
    background: #0b78bd;

    border-color: #0b78bd;

    color: #ffffff;
}


/* OUTLINE BUTTON */

.hero .btn-outline {
    background: rgba(255,255,255,0.08);

    color: #ffffff;

    border: 1px solid rgba(255,255,255,0.75);

    backdrop-filter: blur(3px);
}

.hero .btn-outline:hover {
    background: #ffffff;

    color: #0755a0;

    border-color: #ffffff;
}


/* =========================================================
   HERO RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .hero {
        min-height: 520px;

        background-position: center center;
    }

    .hero-content {
        max-width: 600px;

        padding: 55px 0;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 15px;
    }
}


@media (max-width: 600px) {

    .hero {
        min-height: 560px;

        background-position: center center;
    }

    .hero-content {
        padding: 45px 0;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 14px;

        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;
    }

    .hero .btn {
        width: auto;

        min-width: 170px;
    }
}

/* =========================================================
   STATS
   ========================================================= */

.stats {
    background: #0755a0;
    color: #ffffff;

    padding: 20px 0;
}

.stats-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.stat {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 15px;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
}

.stat-text {
    font-size: 13px;
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section {
    padding: 65px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.section-heading .small-title {
    color: #0755a0;

    font-size: 13px;
    font-weight: 700;

    text-transform: uppercase;
}

.section-heading h2 {
    font-size: 29px;
    margin-top: 5px;
}

.section-heading::after {
    content: "";

    display: block;

    width: 35px;
    height: 2px;

    background: #0755a0;

    margin: 12px auto;
}


/* =========================================================
   SERVICES
   ========================================================= */

.services {
    background: #ffffff;
}

.service-grid {
    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 12px;
}

.service-card {
    border: 1px solid #e3e8ef;

    border-radius: 8px;

    padding: 28px 15px;

    text-align: center;

    min-height: 175px;

    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

.service-icon {
    font-size: 35px;

    color: #0755a0;

    margin-bottom: 12px;
}

.service-card h3 {
    font-size: 14px;

    color: #102c4e;

    margin-bottom: 8px;
}

.service-card p {
    font-size: 11px;

    color: #555;
}

.service-card a {
    color: #0755a0;

    font-size: 11px;

    font-weight: bold;
}


/* =========================================================
   INDUSTRIES
   ========================================================= */

.industries {
    background: #f4f8fc;
}

.industry-grid {
    display: grid;

    grid-template-columns: repeat(8, 1fr);

    gap: 15px;
}

.industry {
    text-align: center;
}

.industry-icon {
    font-size: 35px;

    color: #0755a0;
}

.industry span {
    display: block;

    font-size: 12px;

    margin-top: 8px;
}


/* =========================================================
   WHY US / VALUES
   ========================================================= */

.split-section {
    display: grid;

    grid-template-columns: 1fr 1fr;
}

.why-us {
    background: #0755a0;

    color: #ffffff;

    padding: 50px;
}

.values {
    background: #f4f8fc;

    padding: 50px;
}

.split-section h3 {
    margin-bottom: 25px;
}

.check-list {
    list-style: none;

    columns: 2;
}

.check-list li {
    margin-bottom: 10px;

    font-size: 13px;
}

.check-list li::before {
    content: "✓";

    margin-right: 8px;

    font-weight: bold;
}

.values-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;

    text-align: center;
}

.value-icon {
    font-size: 27px;

    color: #0755a0;
}


/* =========================================================
   APPROACH
   ========================================================= */

.approach {
    text-align: center;
}

.approach-grid {
    display: grid;

    grid-template-columns: repeat(8, 1fr);

    gap: 10px;
}

.approach-item {
    position: relative;
}

.approach-circle {
    width: 55px;
    height: 55px;

    margin: auto;

    border-radius: 50%;

    background: #0755a0;

    color: #ffffff;

    display: flex;

    align-items: center;
    justify-content: center;
}

.approach-item span {
    display: block;

    font-size: 11px;

    margin-top: 8px;
}


/* =========================================================
   PROJECTS
   ========================================================= */

.projects {
    background: #ffffff;
}

.project-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;
}

.project-card {
    border: 1px solid #e4e8ee;

    border-radius: 7px;

    overflow: hidden;
}

.project-card img {
    height: 130px;

    width: 100%;

    object-fit: cover;
}

.project-content {
    padding: 15px;
}

.project-content h3 {
    font-size: 13px;

    color: #11385e;
}

.project-content p {
    font-size: 11px;

    color: #555;
}


/* =========================================================
   CERTIFICATIONS
   ========================================================= */

.cert-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;
}

.cert-box {
    padding: 25px;

    border-radius: 8px;

    background: #0755a0;

    color: #ffffff;
}

.cert-box.white {
    background: #ffffff;

    color: #172033;

    border: 1px solid #e2e6eb;
}

.cert-box h3 {
    font-size: 14px;

    margin-bottom: 8px;
}

.cert-box p {
    font-size: 12px;

    margin-bottom: 10px;
}


/* =========================================================
   CTA
   ========================================================= */

.cta {
    background:
        linear-gradient(
            rgba(0,31,65,.80),
            rgba(0,31,65,.80)
        ),
        url("assets/images/cta.jpg") center/cover;

    color: #ffffff;

    padding: 70px 0;
}

.cta-inner {
    display: flex;

    justify-content: space-between;

    align-items: center;
}

.cta h2 {
    font-size: 35px;

    line-height: 1.2;
}

.cta p {
    margin-top: 10px;

    max-width: 500px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    background: #021a32;

    color: #ffffff;

    padding: 50px 0 15px;
}

.footer-grid {
    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr 1fr;

    gap: 40px;
}

.footer h2 {
    font-size: 28px;

    margin-bottom: 10px;
}

.footer h3 {
    font-size: 14px;

    margin-bottom: 15px;
}

.footer ul {
    list-style: none;
}

.footer li {
    font-size: 12px;

    margin-bottom: 7px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.2);

    margin-top: 30px;

    padding-top: 15px;

    display: flex;

    justify-content: space-between;

    font-size: 11px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .brand .company-name {
        font-size: 22px !important;
    }

    .main-menu {
        gap: 18px;
    }

    .quote-btn {
        min-width: 145px;
        padding: 14px 20px;
    }
}


/* =========================================================
   MOBILE / SMALL TABLET
   ========================================================= */

@media (max-width: 900px) {

    .header-inner {
        min-height: 110px;

        padding: 0 20px;

        gap: 15px;
    }

    .brand {
        height: 110px !important;
    }

    .brand-logo {
        width: 85px !important;
        height: 85px !important;

        flex-basis: 85px !important;
    }

    .brand-logo img {
        width: 85px !important;
        height: 85px !important;

        min-width: 85px !important;
        min-height: 85px !important;

        max-width: 85px !important;
        max-height: 85px !important;
    }

    .brand .company-name {
        font-size: 18px !important;

        margin-left: 6px !important;
    }

    .main-menu {
        display: none;
    }

    .main-navigation {
        margin-left: auto;
    }

    .quote-btn {
        min-width: 130px;

        min-height: 48px;

        padding: 12px 15px;

        font-size: 12px;
    }

    .stats-grid,
    .service-grid,
    .project-grid,
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industry-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .approach-grid {
        grid-template-columns: repeat(4, 1fr);

        row-gap: 25px;
    }

    .split-section {
        grid-template-columns: 1fr;
    }

    .cta-inner {
        display: block;
    }

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .top-bar-inner {
        padding: 7px 15px;
    }

    .contact-info {
        flex-direction: column;

        align-items: flex-start;

        gap: 2px;

        font-size: 11px;

        white-space: normal;
    }

    .header-inner {
        min-height: 90px;

        padding: 0 15px;

        gap: 8px;
    }

    .brand {
        height: 90px !important;

        max-width: calc(100% - 115px) !important;
    }

    .brand-logo {
        width: 65px !important;
        height: 65px !important;

        flex: 0 0 65px !important;
    }

    .brand-logo img {
        width: 65px !important;
        height: 65px !important;

        min-width: 65px !important;
        min-height: 65px !important;

        max-width: 65px !important;
        max-height: 65px !important;
    }

    .brand .company-name {
        font-size: 14px !important;

        margin-left: 5px !important;

        white-space: normal !important;

        line-height: 1.15 !important;
    }

    .quote-btn {
        min-width: 105px;

        min-height: 42px;

        padding: 10px;

        font-size: 10px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .stats-grid,
    .service-grid,
    .project-grid,
    .cert-grid {
        grid-template-columns: 1fr;
    }

    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-buttons {
        flex-direction: column;

        align-items: flex-start;
    }

    .cta h2 {
        font-size: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 8px;
    }
}
/* =========================================================
   EDC HEADER - FORCE FINAL LAYOUT
   ========================================================= */

/* Header itself */
html body header.site-header {
    width: 100% !important;
    display: block !important;
    position: relative !important;
    float: none !important;
    clear: both !important;
    background: #ffffff !important;
    z-index: 99999 !important;
}


/* Temporary test bar */
html body header.site-header + * {
    clear: both !important;
}


/* TOP BAR */
html body .site-header .top-bar {
    width: 100% !important;
    height: 38px !important;
    min-height: 38px !important;
    display: block !important;
    position: relative !important;
    background: #ffffff !important;
    overflow: hidden !important;
}

html body .site-header .top-bar-inner {
    width: 100% !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 25px !important;
}

html body .site-header .contact-info {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    height: 38px !important;
    white-space: nowrap !important;
    font-size: 13px !important;
    color: #172033 !important;
}


/* MAIN HEADER */
html body .site-header .main-header {
    width: 100% !important;
    height: 125px !important;
    min-height: 125px !important;
    display: block !important;
    position: relative !important;
    float: none !important;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.08) !important;
    overflow: visible !important;
}


/* HEADER ROW */
html body .site-header .header-inner {
    width: 100% !important;
    height: 125px !important;
    min-height: 125px !important;

    display: flex !important;
    align-items: center !important;

    position: relative !important;

    margin: 0 !important;
    padding: 0 25px !important;

    gap: 20px !important;

    overflow: visible !important;
}


/* BRAND */
html body .site-header .brand {
    display: flex !important;
    align-items: center !important;

    width: auto !important;
    height: 105px !important;

    margin: 0 !important;
    padding: 0 !important;

    flex: 0 0 auto !important;
    flex-shrink: 0 !important;

    position: relative !important;
    float: none !important;

    gap: 8px !important;

    overflow: visible !important;

    white-space: nowrap !important;
}


/* LOGO HOLDER */
html body .site-header .brand > .brand-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 105px !important;
    height: 105px !important;

    min-width: 105px !important;
    min-height: 105px !important;

    max-width: 105px !important;
    max-height: 105px !important;

    margin: 0 !important;
    padding: 0 !important;

    flex: 0 0 105px !important;

    position: relative !important;
    float: none !important;
}


/* ACTUAL LOGO IMAGE */
html body .site-header .brand > .brand-logo > img {
    display: block !important;

    width: 105px !important;
    height: 105px !important;

    min-width: 105px !important;
    min-height: 105px !important;

    max-width: 105px !important;
    max-height: 105px !important;

    object-fit: contain !important;

    margin: 0 !important;
    padding: 0 !important;

    position: relative !important;
    float: none !important;
}


/* COMPANY NAME */
html body .site-header .brand > .company-name {
    display: block !important;

    position: relative !important;
    float: none !important;

    width: auto !important;
    height: auto !important;

    margin: 0 0 0 8px !important;
    padding: 0 !important;

    color: #172033 !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 26px !important;
    font-weight: 800 !important;

    line-height: 1.1 !important;

    white-space: nowrap !important;

    visibility: visible !important;
    opacity: 1 !important;
}


/* NAVIGATION */
html body .site-header .main-navigation {
    display: flex !important;
    align-items: center !important;

    position: relative !important;
    float: none !important;

    width: auto !important;
    height: auto !important;

    margin-left: auto !important;
    margin-right: 25px !important;

    padding: 0 !important;
}


html body .site-header .main-menu {
    display: flex !important;
    align-items: center !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    gap: 28px !important;

    list-style: none !important;
}


html body .site-header .main-menu li {
    display: block !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;
}


html body .site-header .main-menu a {
    display: block !important;

    width: auto !important;

    margin: 0 !important;
    padding: 8px 0 !important;

    color: #172033 !important;

    font-size: 13px !important;
    font-weight: 700 !important;

    white-space: nowrap !important;
}


/* QUOTE BUTTON */
html body .site-header > .main-header .quote-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    position: relative !important;
    float: none !important;

    width: 155px !important;
    min-width: 155px !important;

    height: 52px !important;
    min-height: 52px !important;

    margin: 0 !important;
    padding: 0 20px !important;

    background: #0755a0 !important;
    color: #ffffff !important;

    font-size: 14px !important;
    font-weight: 700 !important;

    white-space: nowrap !important;

    flex: 0 0 155px !important;
}


/* =========================================================
   STOP THE HERO FROM OVERLAPPING THE HEADER
   ========================================================= */

html body .site-header {
    margin-bottom: 0 !important;
}

html body .site-header + .hero {
    position: relative !important;
    z-index: 1 !important;
    clear: both !important;
}


/* =========================================================
   TEMPORARILY REMOVE THE GIANT HERO IMAGE
   ========================================================= */

html body .hero {
    background: #ffffff !important;
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 901px) {

    html body .site-header .main-header {
        height: 125px !important;
    }

    html body .site-header .header-inner {
        height: 125px !important;
    }

    html body .site-header .brand {
        height: 105px !important;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    html body .site-header .main-header {
        height: 100px !important;
        min-height: 100px !important;
    }

    html body .site-header .header-inner {
        height: 100px !important;
        min-height: 100px !important;
        padding: 0 15px !important;
    }

    html body .site-header .brand {
        height: 85px !important;
    }

    html body .site-header .brand > .brand-logo,
    html body .site-header .brand > .brand-logo > img {
        width: 80px !important;
        height: 80px !important;
        min-width: 80px !important;
        min-height: 80px !important;
        max-width: 80px !important;
        max-height: 80px !important;
    }

    html body .site-header .brand > .company-name {
        font-size: 18px !important;
        white-space: normal !important;
    }

    html body .site-header .main-menu {
        display: none !important;
    }

    html body .site-header .quote-btn {
        width: 125px !important;
        min-width: 125px !important;
        height: 45px !important;
        min-height: 45px !important;
        flex-basis: 125px !important;
        font-size: 12px !important;
    }
}