/* ============================================
   OUR EXPERTISE PAGE STYLES
   ============================================ */

/* Expertise Hero Section */
.exp-hero-section {
    position: relative;
    height: 450px;
    width: 100%;
    overflow: hidden;
}

.exp-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    margin-top: 40px;
}

.exp-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4.25rem);
    font-weight: 800;
    color: var(--text-white);
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.exp-hero-category {
    color: var(--text-white);
    font-size: clamp(1.5rem, 3.5vw, 2.75rem);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.exp-hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.375rem);
    font-weight: 300;
    color: var(--text-white);
    max-width: 700px;
    opacity: 0.9;
}

/* Grey Line */
.exp-grey-line {
    background-color: #231F20;
    height: 50px;
}

/* Final CTA on the expertise page — drop the global 14px blue border-top */
.expertise-final-cta {
    border-top: 0;
}

/* ============================================
   SHARED SECTION STYLES
   ============================================ */
.exp-section {
    position: relative;
    overflow: hidden;
}

/* Dark sections (background image + overlay) */
.exp-section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.exp-section-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.exp-section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(35, 31, 32, 0.65);
}

.exp-section-overlay-heavy {
    background-color: rgba(35, 31, 32, 0.7);
}

.exp-section-content {
    position: relative;
    z-index: 2;
    padding: 100px 0;
}

/* Section Number */
.exp-section-number {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.20);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.exp-section-number-dark {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.12);
    line-height: 1;
    margin-bottom: 0.5rem;
}

/* Section Heading */
.exp-section-heading {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-white);
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.exp-section-heading-dark {
    color: var(--text-black);
}

/* Section Divider */
.exp-section-divider {
    width: 80px;
    height: 3px;
    background-color: var(--main-color);
    margin-bottom: 2rem;
}

.exp-section-divider-dark {
    width: 80px;
    height: 3px;
    background-color: var(--main-color);
    margin-bottom: 2rem;
}

/* Section Description */
.exp-section-description {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.exp-section-description-dark {
    color: var(--text-dark);
}

/* Decorative Lines */
.exp-decorative-line-left {
    position: absolute;
    top: 60px;
    left: 100px;
    width: 2px;
    height: calc(100% - 120px);
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.exp-decorative-line-right {
    position: absolute;
    top: 60px;
    right: 100px;
    width: 2px;
    height: calc(100% - 120px);
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

/* ============================================
   SECTION 1: ROADS & BRIDGES (dark, full-bleed)
   ============================================ */
.exp-roads-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.exp-roads-text {
    /* text content sits in left column */
}

.exp-roads-stats {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Stats Row */
.exp-transport-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(0, 0, 0, 0.08);
}

/* Dark variant of stats (used in Section 1) */
.exp-transport-stats-dark {
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    border-left: 3px solid var(--main-color);
    padding-left: 2rem;
}


.exp-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.exp-stat-number {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--main-color);
    line-height: 1;
}

.exp-stat-label {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.exp-stat-label-light {
    color: rgba(255, 255, 255, 0.65);
}

/* ============================================
   SECTION 2: SITE & LAND DEVELOPMENT
   ============================================ */
.exp-section-light {
    background: linear-gradient(to top, var(--dark-bg), #5a5a5a);
}

.exp-section-light .exp-section-number-dark {
    color: rgba(255, 255, 255, 0.20);
}

.exp-section-light .exp-section-heading-dark {
    color: var(--text-white);
}

.exp-section-light .exp-section-description-dark {
    color: rgba(255, 255, 255, 0.9);
}

.exp-section-light .exp-site-capabilities {
    border-top-color: rgba(255, 255, 255, 0.15);
}

.exp-section-light .exp-capabilities-grid li {
    color: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

/* ============================================
   SECTION 2: IMAGE + TEXT LAYOUT
   ============================================ */
.exp-site-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: stretch;
}

.exp-site-image {
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    min-height: 350px;
}

.exp-site-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.exp-site-image:hover .exp-site-photo {
    transform: scale(1.03);
}

.exp-site-capabilities {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 2px solid rgba(0, 0, 0, 0.08);
}

.exp-capabilities-label {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--main-color);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}

.exp-capabilities-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.25rem 2rem;
}

.exp-capabilities-grid li {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--text-dark);
    padding: 0.5rem 0 0.5rem 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    position: relative;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.exp-capabilities-grid li:hover {
    color: var(--main-color);
    padding-left: 2rem;
}

.exp-capabilities-grid li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.1em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--main-color);
}

/* ============================================
   SECTION 3: QUARRY PRODUCTS & LOCATIONS
   ============================================ */
.exp-quarry-content {
    padding: 100px 0 80px;
}

.exp-quarry-intro {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 4rem;
}

.exp-quarry-intro .exp-section-number {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.exp-quarry-intro .exp-section-heading {
    text-align: center;
}

.exp-quarry-intro .exp-section-divider {
    margin-left: auto;
    margin-right: auto;
}

.exp-quarry-intro-text {
    text-align: center;
}

/* Quarry Cards */
.exp-quarry-locations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.exp-quarry-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.exp-quarry-card:hover {
    transform: translateY(-4px);
    border-color: var(--main-color);
}

.exp-quarry-card-header {
    background: rgba(70, 130, 180, 0.15);
    padding: 1.75rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 2px solid var(--main-color);
}

.exp-quarry-icon {
    font-size: 1.5rem;
    color: var(--main-color);
}

.exp-quarry-name {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.exp-quarry-card-body {
    padding: 2rem;
}

.exp-quarry-location-text {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.exp-quarry-products-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--main-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.exp-quarry-products-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1.5rem;
}

.exp-quarry-products-list li {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.375rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.exp-quarry-products-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--main-color);
    opacity: 0.6;
}

/* Quarry Contact */
.exp-quarry-contact {
    text-align: center;
    padding: 2.5rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.exp-quarry-contact-text {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.exp-quarry-contact-phone {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--main-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.exp-quarry-contact-phone:hover {
    color: var(--text-white);
}

/* ============================================
   RESPONSIVE - EXPERTISE PAGE
   ============================================ */
@media (max-width: 1199px) {
    .exp-roads-layout {
        gap: 3.5rem;
    }
}

@media (max-width: 991px) {
    .exp-hero-section {
        height: 380px;
    }

    .exp-section-content {
        padding: 70px 2rem;
    }

    /* Section 1: stack text above stats */
    .exp-roads-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .exp-roads-stats {
        justify-content: flex-start;
    }

    .exp-transport-stats-dark {
        flex-direction: row;
        border-left: none;
        padding-left: 0;
        border-top: 2px solid rgba(255, 255, 255, 0.15);
        padding-top: 2rem;
        gap: 2.5rem;
    }

    /* Section 2: stack columns */
    .exp-site-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .exp-site-text {
        order: 1;
    }

    .exp-site-image {
        order: 2;
        min-height: unset;
    }

    .exp-site-photo {
        height: 350px;
    }

    .exp-capabilities-grid {
        grid-template-columns: 1fr 1fr;
    }

    .exp-quarry-locations {
        grid-template-columns: 1fr;
    }

    .exp-quarry-intro {
        text-align: left;
        max-width: none;
    }

    .exp-quarry-intro .exp-section-number {
        text-align: left;
    }

    .exp-quarry-intro .exp-section-heading {
        text-align: left;
    }

    .exp-quarry-intro .exp-section-divider {
        margin-left: 0;
        margin-right: auto;
    }

    .exp-quarry-intro-text {
        text-align: left;
    }

    .exp-quarry-content {
        padding: 70px 2rem 60px;
    }

    .exp-decorative-line-left,
    .exp-decorative-line-right {
        display: none;
    }

    .exp-section-number,
    .exp-section-number-dark {
        font-size: 4rem;
    }

    .exp-section-heading {
        font-size: 2.25rem;
    }
}

@media (max-width: 767px) {
    .exp-hero-section {
        height: 350px;
    }

    .exp-hero-title {
        font-size: 2.25rem;
    }

    .exp-section-content {
        padding: 50px 1.5rem;
    }

    .exp-section-heading {
        font-size: 2rem;
    }

    /* Stats in Section 1: wrap to column on small screens */
    .exp-transport-stats-dark {
        flex-direction: column;
        gap: 1.5rem;
    }

    .exp-transport-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .exp-quarry-content {
        padding: 50px 1.5rem 40px;
    }

    .exp-quarry-card-header {
        padding: 1.25rem 1.5rem;
    }

    .exp-quarry-card-body {
        padding: 1.5rem;
    }

    .exp-quarry-products-list {
        grid-template-columns: 1fr;
    }

    .exp-quarry-contact-phone {
        font-size: 1.625rem;
    }

}

@media (max-width: 575px) {
    .exp-hero-section {
        height: auto;
        min-height: 250px;
        padding: 150px 0 40px 0;
    }

    .exp-hero-content {
        margin-top: 0;
        padding: 0 2rem;
    }

    .exp-hero-title {
        margin-top: 0;
    }

    .exp-hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0;
    }

    .exp-section-number,
    .exp-section-number-dark {
        font-size: 3rem;
    }

    .exp-section-heading {
        font-size: 1.625rem;
    }

    .exp-section-description {
        font-size: 1rem;
    }

    .exp-site-image {
        min-height: unset;
    }

    .exp-site-photo {
        height: 250px;
    }

    .exp-capabilities-grid {
        grid-template-columns: 1fr;
    }

    .exp-quarry-name {
        font-size: 1.125rem;
    }

    .exp-stat-number {
        font-size: 1.75rem;
    }
}

