* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: sans-serif; background-color: #ffffff; }

.navbar-outer {
    background-color: #ffffff;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 9999;
    border-bottom: 1px solid #eee;
}

.navbar-inner {
    max-width: 1220px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center; 
    height: 130px;
    padding: 0 20px;
}

.logo img {
    max-height: 110px;
    width: auto;
    margin: 28px;
}

/* Navbar responsive shrinking - STAGE 1 at 1200px */
@media screen and (max-width: 1200px) {
    .navbar-inner {
        height: 110px;
    }
    .logo img {
        max-height: 80px;
        margin: 20px;
    }
    #tel_holder_tel a {
        font-size: 20px;
    }
    #tel_email_holder a {
        font-size: 12px;
    }
    .nav-link, .dropbtn {
        font-size: 14px;
        padding: 8px 12px;
    }
    .nav-links {
        top: 110px;
    }
}

/* Navbar responsive shrinking - STAGE 2 at 1000px */
@media screen and (max-width: 1000px) {
    .navbar-inner {
        height: 90px;
    }
    .logo img {
        max-height: 70px;
        margin: 15px;
    }
    #tel_holder_tel a {
        font-size: 18px;
    }
    #tel_email_holder a {
        font-size: 11px;
    }
    .nav-link, .dropbtn {
        font-size: 12px;
        padding: 6px 10px;
    }
    .nav-links {
        top: 90px;
        max-height: calc(100vh - 90px);
    }
}

/* --- RIGHT SIDE LAYOUT --- */
.nav-content-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
    padding-top: 15px;
}

/* --- CONTACT INFO --- */
#tel_holder {
    text-align: right;
    margin-bottom: 8px;
    padding-right: 15px;
}

#tel_holder_tel a {
    font-size: 24px;
    font-weight: bold;
    color: #444444;
    text-decoration: none !important;
}

#tel_email_holder a {
    color: #3d85c6;
    font-size: 14px;
    text-decoration: none !important;
}

/* --- MENU LINKS --- */
.nav-links {
    display: flex;
    list-style: none;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-link, .dropbtn {
    padding: 10px 15px;
    color: black;
    text-decoration: none;
    font-size: 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: 0.2s;
}

.nav-link:hover, .dropbtn:hover {
    background-color: #3d85c6;
    color: #ffffff;
    border-radius: 4px;
}

/* --- DROPDOWN --- */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
}

.dropdown-content.show { display: block; }

.dropdown-content a {
    color: #333;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #f4f4f4;
}

.dropdown-content a:hover { background-color: #f9f9f9; color: #3d85c6; }

.dropdown-content::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

/* --- MOBILE --- */
@media screen and (max-width: 1000px) {
    .hamburger { display: block !important; }
    .nav-content-right { 
        display: block !important;
        position: relative;
        height: auto;
        padding: 0;
        flex-direction: row;
    }
    #tel_holder {
        display: none;
    }
    .nav-links {
        display: none !important;
        position: fixed;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        z-index: 9998;
        list-style: none;
        margin: 0;
        padding: 0;
        border-top: 1px solid #eee;
        overflow-y: auto;
    }
    .nav-links.active {
        display: flex !important;
    }
    .nav-item {
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    .nav-link, .dropbtn {
        width: 100%;
        padding: 18px 20px;
        text-align: left;
        height: auto;
        font-size: 16px;
        display: flex;
        align-items: center;
    }
    .nav-item {
        display: flex;
        align-items: stretch;
        position: relative;
        flex-direction: column;
    }
    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        display: none;
        background: #f9f9f9;
        margin: 0;
        padding: 0;
    }
    .dropdown-content.show {
        display: block;
    }
    .dropdown-content a {
        color: #000000;
        padding: 15px 20px;
        padding-left: 40px;
        border-bottom: 1px solid #eee;
    }
}

.hamburger { display: none; cursor: pointer; background: none; border: none; padding: 10px; z-index: 1001; }
.bar { display: block; width: 25px; height: 3px; background: black; margin: 5px 0; }

.logo { color: white; font-weight: bold; font-size: 1.2rem; }

.image-wrapper {
    overflow: hidden;
    width: 100%;
    display: block;
}

.scroller {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    transition: transform 0.3s ease;
}

.scroller img {
    width: 100vw;
    min-width: 100vw;
    flex-shrink: 0;
    flex-grow: 0;
    object-fit: cover;
    height: 400px;
}

.scroller-container {
    position: relative;
    width: 100%;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: white;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
    margin: 0px 20px;
}

.left-arrow {
    left: 0;
}

.right-arrow {
    right: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
    text-align: left;
}

.content-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: start;
}

.content-grid2 {
    display: grid;
    grid-template-columns: 1.6fr 0.4fr;
    gap: 50px;
    align-items: start;
    font-size: 14px;
}

@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        margin: 0;
        padding: 40px 30px;
    }
}

@media (max-width: 800px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mobilehide {
        display: none !important;
    }
        .content-grid2 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .image-pane {
        order: 2;
    }
    h1 { font-size: 1.8rem; }
}

.text-pane h1 { margin-bottom: 20px; color: #1a1a1a; }
.text-pane p { margin-bottom: 15px; line-height: 1.6; color: #7a7a7a; font-size: 85%; }
.image-pane img { width: 100%; height: auto; border-radius: 4px; display: block; }
.btn-primary { 
    padding: 12px 24px; 
    background: #232f3e; 
    color: #fff; 
    border: none; 
    cursor: pointer; 
}

.scroller img {
    height: 350px !important;
    display: block;
}

#companyCarousel {
    margin-top: 0 !important;
    padding-top: 10px !important;
}

.carousel-inner, .item {
    height: auto !important;
}

.cta-bar {
    background-color: #3d85c6;
    width: 100%;
    padding: 25px 0;
    margin-top: 40px;
}

.cta-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-text {
    color: #ffffff;
    font-size: 26px;
    font-weight: bold;
}

.cta-button {
    background-color: #ffffff;
    color: #3d85c6;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background-color 0.2s ease;
}

.cta-button:hover {
    background-color: #eeeeee;
}

.phone-icon {
    width: 20px;
    height: 20px;
}

@media (max-width: 800px) {
    .cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

.features-section {
    background-color: #fff;
    padding: 10px 0;
    width: 100%;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: #3d85c6;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-text h4 {
    margin-bottom: 8px;
    font-size: 18px;
    color: #232f3e;
}

.feature-text p {
    font-size: 15px;
    line-height: 1.5;
    color: #555;
}

@media (max-width: 800px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.services-boxes {
    padding: 20px 0;
    background-color: #eeeeee;
    border-top: 1px solid #ddd;
}

.four-col-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.w-box img { width: 100%; height: 180px; object-fit: cover; border-radius: 4px; }
.w-box h2 { font-size: 1.2rem; margin: 15px 0 10px; color: #232f3e; }
.w-box p { font-size: 0.95rem; color: #666; }

.section-title { text-align: center; margin-top: 50px; }
.section-title h3 { font-size: 1.8rem; color: #3d85c6; margin-bottom: 10px; text-transform: uppercase; }
.indicator-down { width: 40px; height: 4px; background: #3d85c6; margin: 0 auto; }

.projects-carousel { background: #eeeeee; padding: 10px 0; overflow: hidden; }

.carousel-wrapper { position: relative; display: flex; align-items: center; }
.c-viewport { width: 100%; overflow: hidden; }
.c-strip {
    display: flex;
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.c-slide { min-width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.c-slide img { width: 100%; height: 150px; object-fit: cover; border: 3px solid #fff; }

.c-arrow {
    background: #3d85c6; color: #fff; border: none; padding: 10px 15px;
    cursor: pointer; z-index: 5; position: absolute; top: 50%; transform: translateY(-50%);
}
.c-left { left: -50px; }
.c-right { right: -50px; }

@media (max-width: 1000px) {
    .four-col-grid { grid-template-columns: 1fr 1fr; }
    .c-slide { grid-template-columns: 1fr 1fr; }
    .c-left { left: 10px; }
    .c-right { right: 10px; }
}

@media (max-width: 600px) {
    .four-col-grid { grid-template-columns: 1fr; }
    .c-slide { grid-template-columns: 1fr; }
}

.project-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    margin-bottom: -40px !important;
    position: relative;
    z-index: 10;
}

.blue-box {
    background-color: #3d85c6;
    padding: 8px 20px;
    position: relative;
    display: inline-block;
    border-radius: 4px;
}

.blue-box h3 {
    color: #ffffff;
    text-transform: uppercase;
    font-size: 1rem;
    margin: 0;
}

.blue-box::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 10px solid #3d85c6;
}

.projects-carousel .container {
    padding-top: 0 !important;
}

.projects-carousel {
    background-color: #eeeeee;
    padding-bottom: 5px;
}

.main-footer {
    padding: 10px 0 10px 0;
    width: 100%;
    background-color: #ffffff;
    color: #1b1a1a;
}

.accred-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: center;
    justify-items: center;
    margin-bottom: 20px;
}

.accred-item img {
    max-width: 100%;
    height: auto;
    max-height: 50px;
    display: block;
    filter: brightness(1.2);
    transition: transform 0.3s ease;
}

.accred-item img:hover {
    transform: scale(1.05);
}

.footer-divider {
    border: 0;
    border-top: 1px solid rgba(0,0,0,0.1);
    margin: 15px 0;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    color: #1b1a1a;
    font-size: 0.85rem;
    text-align: left;
}

#tel_holder_tel a:hover {
    color: #3d85c6;
}

#tel_email_holder a:hover {
    text-decoration: none !important;
    color: #444444;
}

/* Modal overlay styles */
.image-modal-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw; /* full viewport width */
  height: 100vh; /* full viewport height */
  background: rgba(0, 0, 0, 0.8);
  display: none; /* hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: auto;
  transition: opacity 0.3s;
}

.image-modal-popup.active {
  display: flex;
}

.image-modal-popup .wrapper {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.image-modal-popup span {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
}

.image-modal-popup img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  margin-top: 40px;
}