/* ===== BASE ===== */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: #333333;
    background: #f2f2f2;
    line-height: 1.6;
}

a {
    color: #1f8a80;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== LAYOUT ===== */
.container {
    width: 90%;
    max-width: 1180px;
    margin: 0 auto;
}

.narrow {
    max-width: 860px;
}

.center-text {
    text-align: center;
}

section {
    position: relative;
    padding: 85px 0;
}

.header-title {
    text-align: center;
}

/* ===== HEADER ===== */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;

    height: 50px;                 /* increased height */
    display: flex;
    align-items: center;          /* vertical centering */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.header-flex {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    height: 100%;
}

.logo-img {
    height: 46px;
    width: auto;
}

.site-title {
    font-size: 18px;
    font-weight: 600;
    color: #1c6f63;
    letter-spacing: -0.01em;
    white-space: nowrap;
    line-height: 1;
}

.logo-link span {
    font-size: 22px;
    font-weight: 700;
    color: #1c6f63;
    line-height: 1;
}

.main-nav {
    display: flex;
    align-items: center;
    height: 100%;
}

.main-nav a {
    margin-left: 28px;
    font-weight: bold;
    color: #1c6f63;
    position: relative;

    display: flex;
    align-items: center;
    height: 100%;                 /* fills header height */
}

.main-nav a:hover,
.main-nav a.active {
    text-decoration: none;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 9px;
    width: 100%;
    height: 2px;
    background: #145a52;
}
.main-nav a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 9px;
    width: 100%;
    height: 2px;
    background: #145a52;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3 {
    letter-spacing: -0.02em;
}

h2 {
    font-size: 38px;
    line-height: 1.15;
    margin: 0 0 16px;
    color: #1c6f63;
}

h3 {
    font-size: 24px;
    margin: 0 0 12px;
    color: #1c6f63;
}

/* ===== SHARED HEADING SYSTEM ===== */
.heading-flex {
    display: flex;
    align-items: center;
    gap: 18px;
}

.heading-flex h1,
.heading-flex h2,
.heading-flex h3 {
    margin: 0;
}

.center-text .heading-flex,
.center-heading {
    justify-content: center;
}

/* ===== BARS SYSTEM ===== */
.bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.bars .bar {
    display: block;
    width: 12px;
    border-radius: 8px 8px 0 0;
}

.bars-lg {
    height: 120px;
}

.bars-md {
    height: 54px;
}

.bars-lg .bar {
    width: 14px;
}

.bar1 { height: 40%; background: #1f8a80; }
.bar2 { height: 70%; background: #6fbf73; }
.bar3 { height: 55%; background: #a4d65e; }
.bar4 { height: 85%; background: #8ecae6; }
.bar5 { height: 100%; background: #b8e0d2; }

/* ===== HERO ===== */
.hero {
    position: relative;
    background: url('../images/hero.jpg') center center / cover no-repeat;
    color: #ffffff;
    min-height: 560px;
    display: flex;
    align-items: center;
    padding: 140px 0;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-copy {
    max-width: 1100px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 13px;
    font-weight: bold;
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.88);
}

.hero .heading-flex {
    align-items: center;
}

.hero h1 {
    font-size: 58px;
    line-height: 1.05;
    color: #ffffff;
}

.hero-text {
    font-size: 21px;
    max-width: 860px;
    margin: 30px 0 32px;
    color: rgba(255, 255, 255, 0.94);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    background: #1f8a80;
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
    text-decoration: none;
    opacity: 0.95;
    transform: translateY(-2px);
}

.btn:visited {
    color: #ffffff;
}

.btn-secondary {
    background: #6fbf73;
}

/* ===== SECTIONS ===== */
.intro {
    background: #ffffff;
}

.services-preview {
    background: #f4f8f7;
}

.why-us {
    background: #ffffff;
}

.testimonials {
    background: #eef6f5;
}

.contact-strip {
    background: #e9efed;
}

.page-section {
    background: #ffffff;
}

.page-section .container.narrow {
    max-width: 860px;
}

/* ===== SECTION HEADINGS ===== */
.section-heading {
    margin-bottom: 34px;
}

.section-heading h2 {
    position: relative;
    padding-bottom: 10px;
}

.section-heading h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: #6fbf73;
}

.center-text .section-heading h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.intro p,
.services-preview p,
.why-us p,
.testimonials p,
.contact-strip p,
.page-section p,
.page-section li {
    font-size: 18px;
}

.page-section ul {
    padding-left: 22px;
}

/* ===== CARDS ===== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 30px;
}

.card {
    background: #ffffff;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
}

.service-card {
    overflow: hidden;
    padding: 0;
}

.service-card h3,
.service-card p {
    padding-left: 24px;
    padding-right: 24px;
}

.service-card h3 {
    padding-top: 6px;
}

.service-card p {
    padding-bottom: 24px;
}

.card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    margin-bottom: 18px;
}

.icon-card {
    min-height: 220px;
}

.testimonial-card .quote {
    font-style: italic;
    margin: 0 0 18px;
}


/* ===== PARALLAX ===== */
.parallax-strip {
    background: url('../images/parallax-bg.jpg') center center / cover no-repeat fixed;
    color: #ffffff;
    text-align: center;
    padding: 110px 0;
}

.parallax-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(28, 111, 99, 0.45);
}

.parallax-strip .container {
    position: relative;
    z-index: 2;
}

.parallax-strip h2 {
    color: #ffffff;
}

.parallax-strip p {
    font-size: 20px;
    margin-bottom: 0;
}

/* ===== CONTACT STRIP ===== */
.contact-locations {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 28px 0;
    text-align: left;
}

.contact-location {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.contact-location strong {
    display: inline-block;
    margin-bottom: 6px;
    color: #333333;
}

.contact-location a {
    color: #1f8a80;
    font-weight: 600;
    text-decoration: none;
}

.contact-location span {
    color: #555555;
}

.contact-line {
    margin: 18px 0 28px;
    font-weight: bold;
}

/* ===== INNER HERO ===== */
.inner-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    color: #ffffff;
    padding: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.inner-hero.about {
    background-image: url('../images/about-banner.jpg');
}

.inner-hero.services {
    background-image: url('../images/services-banner.jpg');
}

.inner-hero.contact {
    background-image: url('../images/contact-banner.jpg');
}

.inner-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25));
}

.inner-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-bottom: 40px;
}

.inner-hero .heading-flex h1 {
    color: #ffffff;
    font-size: 54px;
    line-height: 1.05;
}

/* ===== CONTACT PAGE ===== */
.contact-page-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.contact-location-card {
    display: flex;
    flex-direction: column;
}

.map-embed {
    width: 100%;
    height: 380px;
    margin-top: 15px;
    border-radius: 12px;
    overflow: hidden;
    background: #e9ecef;
}

.map-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #1c6f63;
    color: #ffffff;
    padding: 40px 0 34px;
}

.site-footer a {
    color: #ffffff;
    text-decoration: none;
}

.site-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-content {
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 48px;
    align-items: start;
}

.footer-col h3 {
    margin: 0 0 18px;
    color: #ffffff;
}

.footer-company p {
    margin: 0 0 18px;
}

.footer-location {
    margin-bottom: 24px;
}

.footer-location:last-child {
    margin-bottom: 0;
}

.footer-location strong {
    display: inline-block;
    margin-bottom: 4px;
    color: #ffffff;
}

.footer-location a {
    display: inline-block;
    margin: 4px 0;
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
}

.footer-location span {
    color: rgba(255, 255, 255, 0.88);
}

.footer-bars-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    align-self: end;
}

.footer-bars-wrap .bars {
    height: 140px;
}

.footer-copy {
    margin-top: 30px;
    font-size: 14px;
    color: #ffffff;
}

.footer-copy p {
    margin: 0;
}

/* ===== REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .hero h1 {
        font-size: 50px;
    }

    .hero-copy {
        max-width: 980px;
    }

    .bars-lg {
        height: 104px;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .header-flex {
        grid-template-columns: 1fr;
        gap: 12px;
        align-items: start;
    }

    .main-nav {
        margin-top: 15px;
        text-align: left;
    }

    .main-nav a {
        margin-left: 0;
        margin-right: 18px;
        display: inline-block;
    }

    .hero {
        padding: 110px 0;
        min-height: auto;
    }

    .hero-copy {
        max-width: 100%;
    }

    .hero .heading-flex {
        align-items: flex-start;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-text {
        font-size: 18px;
        max-width: 100%;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .contact-locations {
        grid-template-columns: 1fr;
    }

    .contact-page-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr auto;
        gap: 30px;
    }

    .footer-bars-wrap {
        justify-content: flex-end;
        align-self: center;
        margin-top: 0;
    }

    .footer-bars-wrap .bars {
        height: 110px;
    }

    .parallax-strip {
        background-attachment: scroll;
        padding: 90px 0;
    }

    .parallax-strip h2 {
        font-size: 34px;
    }

    .inner-hero {
        min-height: 260px;
    }

    .inner-hero .heading-flex h1 {
        font-size: 42px;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 34px;
    }

    .heading-flex {
        flex-direction: column;
        gap: 12px;
    }

    .center-text .heading-flex,
    .center-heading {
        align-items: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn {
        width: auto;
    }

    h2 {
        font-size: 30px;
    }

    section {
        padding: 65px 0;
    }

    .inner-hero {
        min-height: 220px;
    }

    .inner-hero .heading-flex {
        align-items: flex-start;
    }

    .inner-hero .heading-flex h1 {
        font-size: 34px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bars-wrap {
        justify-content: flex-start;
        align-self: start;
        margin-top: 20px;
    }

    .footer-bars-wrap .bars {
        height: 100px;
    }
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.staff-card {
    text-align: center;
    padding: 20px;
}

.staff-card p {
    font-size: 14px;
    line-height: 1.45;
    color: #555;
}

.staff-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}

.staff-role {
    font-weight: bold;
    color: #1c6f63;
    margin: 6px 0 10px;
}

@media (max-width: 900px) {
    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .staff-grid {
        grid-template-columns: 1fr;
    }
}
.quote-name {
    font-size: 16px;
    font-weight: 700;
    color: #1c6f63;
    margin: 0;
}

.quote-meta {
    font-size: 12px !important;
    color: #777;
    margin: 2px 0 0;
    line-height: 1.3;
}

.services-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.service-text-card {
    padding: 26px 24px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    background: #ffffff;
    min-height: 190px;
}

.service-text-card h3 {
    margin: 0 0 18px;
    font-size: 24px;
    line-height: 1.35;
    color: #1c6f63;
}

.service-text-card p {
    margin: 0;
    font-size: 18px;
    line-height: 1.55;
    color: #333333;
}

@media (max-width: 900px) {
    .services-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .services-card-grid {
        grid-template-columns: 1fr;
    }

    .service-text-card {
        min-height: auto;
    }
}