:root{
    --blue:#0181f5;
    --lighter-blue: #14aaff;
    --green: #9cca2c;
    --red: #e70000;
}

/* ── Header ── */
header {
    width: 100%;
    font-family: sans-serif;
}

/* Top bar – diagonal blue left / white right */
.top-bar {
    background-color: #e4e4e4;
    display: flex;
    align-items: stretch;
    font-size: 0.875rem;
    overflow: hidden;
    height: 50px;
    border-bottom: 0.5px solid #e4e4e4;
}

.top-bar .left p, .top-bar .right p {
    font-size: 1.2rem;
}

.top-bar .left {
    background-color: var(--red);
    color: #fff;
    display: flex;
    align-items: center;
    padding: 8px 56px 8px 24px;
    min-width: 40%;
    clip-path: polygon(0 0, 100% 0, calc(100% - 28px) 100%, 0 100%);
}

.top-bar .left p {
    margin: 0;
    font-weight: 600;
}

.top-bar .right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 8px 24px;
    color: #333;
}

.top-bar .right p {
    margin: 0;
}

/* Bottom bar */
.bottom-bar {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    gap: 16px;
}

.bottom-bar .left-side img {
    height: 68px;
    width: auto;
    display: block;
}

.bottom-bar .middle nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 36px;
}

.bottom-bar .middle nav ul li a {
    text-decoration: none;
    color: #222;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.bottom-bar .middle nav ul li a:hover {
    color: var(--green);
    border-bottom-color: var(--green);
}

.bottom-bar .right-side {
    display: flex;
    align-items: center;
    gap: 20px;
}

.bottom-bar .right-side > div:first-child {
    text-align: right;
}

.bottom-bar .right-side p {
    margin: 0;
}

.bottom-bar .right-side p:first-child {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bottom-bar .right-side p + p {
    font-weight: 700;
    color: #222;
    font-size: 1rem;
}

.bottom-bar .right-side li {
    list-style: none;
}

.bottom-bar .right-side li a {
    text-decoration: none;
    background-color: var(--blue);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 12px 26px;
    border-radius: 8px;
    display: inline-block;
    transition: background-color 0.2s;
}

.bottom-bar .right-side li a:hover {
    background-color: var(--lighter-blue);
}


.hero-section {
    height: 90vh;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.1)), url('../images/hero-image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 64px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 660px;
    margin-left: 50px;
}

.hero-content span {
    display: inline-block;
    background-color: var(--green);
    color: #424242;
    font-family: sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 16px;
    border-radius: 4px;
    width: fit-content;
}

.hero-content h1 {
    font-family: sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* ── Scrolling banner ── */
.banner-divider {
    background-color: var(--blue);
    overflow: hidden;
    padding: 16px 0;
}

.banner-divider:hover .banner-track {
    animation-play-state: paused;
}

.banner-track {
    display: inline-flex;
    align-items: center;
    gap: 56px;
    white-space: nowrap;
    animation: banner-scroll 50s linear infinite;
}

.banner-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-family: sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    flex-shrink: 0;
}

.banner-item img {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

@keyframes banner-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── About section ── */
.about-section {
    display: flex;
    align-items: stretch;
    background-color: #fff;
    font-family: sans-serif;
}

.about-col1 {
    flex: 0 0 60%;
    max-width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 64px;
}

.about-col1 h2 {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--blue);
    margin-bottom: 16px;
}

.about-col1 h2::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    background-color: var(--green);
    margin: 10px auto 0;
}

.about-col1 p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

.about-col2 {
    flex: 0 0 40%;
    max-width: 40%;
    background-image: url('../images/about-crane.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
}

/* ── Services section ── */
.services-section {
    display: flex;
    align-items: stretch;
    font-family: sans-serif;
    min-height: 480px;
}

.services-left {
    flex: 0 0 40%;
    max-width: 40%;
    background-image: url('../images/renovations.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.services-right {
    flex: 0 0 60%;
    max-width: 60%;
    background-color: #fff;
    padding: 64px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-right h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.services-right h2::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    background-color: var(--green);
    margin: 10px auto 40px;
}

.services-grid {
    display: flex;
    gap: 24px;
}

.service-card {
    background-color: #fff;
    border: none;
    border-top: 4px solid var(--green);
    border-radius: 10px;
    flex: 1;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue);
    margin: 0;
    line-height: 1.4;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-card ul li {
    font-size: 0.9rem;
    color: #444;
    padding-left: 16px;
    position: relative;
}

.service-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--green);
    border-radius: 50%;
}

/* ── Assurance section ── */
.assurance-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.72)), url('../images/construction-building.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 64px;
    font-family: sans-serif;
}

.assurance-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.assurance-section h2::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    background-color: var(--red);
    margin: 10px auto 48px;
}

.card-items {
    display: flex;
    gap: 32px;
    justify-content: center;
}

.assurance-section .card {
    background-color: #fff;
    border: none;
    border-top: 4px solid var(--red);
    border-radius: 10px;
    flex: 1;
    max-width: 340px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.assurance-section .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

.assurance-section .card img {
    height: 56px;
    width: auto;
    /* filter: invert(55%) sepia(80%) saturate(500%) hue-rotate(75deg); */
}

.assurance-section .card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

/* ── Projects section ── */
.projects-section {
    background-color: #f5f5f5;
    padding: 80px 64px;
    font-family: sans-serif;
}

.projects-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.projects-section h2::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    background-color: var(--green);
    margin: 10px auto 48px;
}

.projects-grid {
    display: flex;
    gap: 28px;
    justify-content: center;
}

.project-item {
    background-color: #fff;
    border-radius: 10px;
    flex: 1;
    max-width: 380px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.project-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.project-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.project-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue);
    margin: 0;
    padding: 20px 24px 8px;
}

.project-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
    padding: 0 24px 24px;
}

/* ── Contact section ── */
.contact-section {
    background-image: linear-gradient(to right, rgba(1, 129, 245, 0.92), rgba(20, 170, 255, 0.88)), url('../images/construction-building.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 64px;
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.contact-section h2::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    background-color: var(--green);
    margin: 10px auto 0;
}

.contact-section > p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    margin: 16px 0 48px;
    text-align: center;
}

.contact-details {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 960px;
}

.contact-detail-item {
    background-color: #fff;
    border-radius: 12px;
    padding: 36px 32px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-detail-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
    line-height: 1;
}

.contact-detail-item h4 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue);
    margin: 0 0 8px;
}

.contact-detail-item p {
    font-size: 0.95rem;
    color: #333;
    margin: 0;
    line-height: 1.6;
    word-break: break-all;
}
/* ── Footer ── */
footer {
    background-color: #0d2a5e;
    font-family: sans-serif;
    color: #cdd8f0;
}

.footer-main {
    display: flex;
    gap: 48px;
    padding: 60px 64px;
    align-items: flex-start;
}

.footer-col {
    flex: 1;
}

.footer-brand img {
    height: 60px;
    width: auto;
    margin-bottom: 16px;
    display: block;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.8;
    color: #b0c4de;
    margin: 0 0 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    background-color: var(--green);
    border-radius: 6px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    text-decoration: none;
}

.footer-social a:hover {
    background-color: var(--blue);
}

.footer-social a img {
    height: 18px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--blue);
    width: fit-content;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #b0c4de;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--green);
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: #b0c4de;
    line-height: 1.5;
}

.footer-icon {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.footer-bottom {
    background-color: var(--blue);
    text-align: center;
    padding: 14px 24px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

/* ══════════════════════════════════
   RESPONSIVE — Tablet (≤ 1024px)
   ══════════════════════════════════ */
@media (max-width: 1024px) {
    .bottom-bar .middle nav ul {
        gap: 20px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .about-col1 {
        padding: 60px 40px;
    }

    .services-right {
        padding: 48px 36px;
    }

    .assurance-section {
        padding: 60px 40px;
    }

    .projects-section {
        padding: 60px 40px;
    }

    .contact-section {
        padding: 60px 40px;
    }

    .footer-main {
        gap: 32px;
        padding: 48px 40px;
    }
}

/* ══════════════════════════════════
   RESPONSIVE — Mobile/Tablet (≤ 768px)
   ══════════════════════════════════ */
@media (max-width: 768px) {
    /* Header */
    .top-bar {
        height: auto;
        padding: 8px 0;
    }

    .top-bar .left {
        clip-path: none;
        padding: 8px 16px;
        min-width: unset;
        flex: 1;
        font-size: 0.85rem;
    }

    .top-bar .right {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .bottom-bar {
        flex-wrap: wrap;
        padding: 12px 16px;
        gap: 12px;
    }

    .bottom-bar .left-side img {
        height: 50px;
    }

    .bottom-bar .middle {
        order: 3;
        width: 100%;
    }

    .bottom-bar .middle nav ul {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .bottom-bar .middle nav ul li a {
        font-size: 0.85rem;
    }

    .bottom-bar .right-side > div:first-child {
        display: none;
    }

    /* Hero */
    .hero-section {
        height: 70vh;
        padding: 0 24px;
    }

    .hero-content {
        margin-left: 0;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    /* About */
    .about-section {
        flex-direction: column;
    }

    .about-col1 {
        flex: none;
        max-width: 100%;
        padding: 48px 24px;
    }

    .about-col2 {
        flex: none;
        max-width: 100%;
        min-height: 280px;
    }

    /* Services */
    .services-section {
        flex-direction: column;
    }

    .services-left {
        flex: none;
        max-width: 100%;
        min-height: 260px;
    }

    .services-right {
        flex: none;
        max-width: 100%;
        padding: 48px 24px;
    }

    .services-grid {
        flex-direction: column;
    }

    /* Assurance */
    .assurance-section {
        padding: 48px 24px;
    }

    .card-items {
        flex-direction: column;
        align-items: center;
    }

    .assurance-section .card {
        max-width: 100%;
        width: 100%;
    }

    /* Projects */
    .projects-section {
        padding: 48px 24px;
    }

    .projects-grid {
        flex-direction: column;
        align-items: center;
    }

    .project-item {
        max-width: 100%;
        width: 100%;
    }

    /* Contact */
    .contact-section {
        padding: 48px 24px;
    }

    .contact-details {
        flex-direction: column;
        align-items: center;
    }

    .contact-detail-item {
        max-width: 100%;
        width: 100%;
    }

    /* Footer */
    .footer-main {
        flex-wrap: wrap;
        padding: 40px 24px;
        gap: 32px;
    }

    .footer-col {
        flex: 0 0 calc(50% - 16px);
        min-width: 200px;
    }
}

/* ══════════════════════════════════
   RESPONSIVE — Small Mobile (≤ 480px)
   ══════════════════════════════════ */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-section {
        height: 60vh;
    }

    .about-col1 h2,
    .services-right h2,
    .assurance-section h2,
    .projects-section h2,
    .contact-section h2 {
        font-size: 1.6rem;
    }

    .footer-col {
        flex: 0 0 100%;
    }

    .footer-main {
        padding: 32px 16px;
    }

    .footer-bottom {
        padding: 12px 16px;
    }
}