/* ============================================
   PLUMBING WEBSITE - styles.css
   Theme: Navy + Blue Accent (#1892CD)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Source+Sans+3:wght@300;400;600&display=swap');

:root {
    --accent:          #0f5989;
    --accent-dk:       #0f6fa0;
    --accent-lt:       #d6eef8;
    --navy:            #0f5989;
    --navy-mid:        #0d1f2d;
    --navy-light:      #1e3a52;
    --silver:          #c8d6df;
    --light-bg:        #f4f7f9;
    --text-dark:       #1a2a35;
    --header-height:   100px;
    --font-display:    'Oswald', sans-serif;
    --font-body:       'Source Sans 3', sans-serif;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    padding-top: var(--header-height);
    font-family: var(--font-body);
    color: var(--text-dark);
    background: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    letter-spacing: 0.02em;
}

/* ── Loader ── */
#loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--navy);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

#loader::after {
    content: "Loading…";
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse { 0%,100%{ opacity:.4 } 50%{ opacity:1 } }

.loading-image {
    width: 90px;
    filter: brightness(10);
    animation: wrench-spin 2s ease-in-out infinite;
}

@keyframes wrench-spin {
    0%   { transform: rotate(-20deg); }
    50%  { transform: rotate(20deg); }
    100% { transform: rotate(-20deg); }
}

/* ── Color utilities ── */
.maincolor    { color: var(--accent) !important; }
.colorblack   { color: var(--navy)   !important; }
.bg-maincolor { background-color: var(--accent) !important; }
.bg-navy      { background-color: var(--navy)   !important; }

/* ── Header ── */
header {
    z-index: 100;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

/* Top bar */
.navbar-topbar {
    background: var(--accent);
    padding: 6px 0;
}

.navbar-topbar .contact-info {
    font-size: 13px;
    color: var(--silver);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar-topbar a {
    color: var(--silver);
    text-decoration: none;
    transition: color .2s;
}

.navbar-topbar a:hover {
    color: inherit;
}
.navbar-topbar .bi     { color: var(--silver); margin-right: 5px; }

/* Main nav */
.second-navbar {
    background: #fff !important;
    padding: 0 !important;
    border-bottom: 3px solid var(--accent);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.navbar-brand .logo1 {
    height: 50px !important;
    width: auto !important;
}

.navbar-brand img:last-child {
    max-height: 38px;
    width: auto;
}

.navbar-nav { display: flex; align-items: center; }

.nav-item {
    margin-left: 4px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-link {
    color: var(--navy) !important;
    padding: 28px 14px !important;
    position: relative;
    transition: color .2s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 14px; right: 14px;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform .25s ease;
}

.nav-link:hover::after,
.nav-item.active .nav-link::after { transform: scaleX(1); }

.nav-link:hover,
.nav-item.active .nav-link,
.nav-link.maincolor { color: var(--accent) !important; }

/* CTA nav button */
.nav-cta .nav-link {
    background: var(--accent);
    color: #fff !important;
    border-radius: 4px;
    padding: 10px 18px !important;
    margin: 14px 0 14px 10px;
    transition: background .2s;
}

.nav-cta .nav-link::after { display: none; }
.nav-cta .nav-link:hover  { background: var(--accent-dk); color: #fff !important; }

/* Toggler */
.navbar-toggler {
    border: 2px solid var(--accent) !important;
    border-radius: 4px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231892CD' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Social icons in mobile nav */
.nav-social { display: flex; gap: 8px; padding: 10px 0 16px; }

.nav-social a {
    width: 34px; height: 34px;
    border: 1.5px solid var(--navy);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--navy);
    font-size: 15px;
    transition: all .2s;
}

.nav-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* ── Hero Section ── */
.video-container {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--header-height));
    min-height: 520px;
    overflow: hidden;
}

.full-landing-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.video-container video {
    position: absolute;
    top: 50%; left: 50%;
    width: 100%; height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    opacity: 0.45;
}

.video-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.video-container::after {
    content: "";
    position: absolute;
    bottom: -1px; left: 0;
    width: 100%;
    height: 90px;
    background:  var(--accent);
    clip-path: polygon(0 100%, 100% 0%, 100% 100%);
    z-index: 3;
}

.containers {
    position: absolute;
    top: 50%; left: 0;
    width: 100%;
    z-index: 2;
    transform: translateY(-50%);
}

.containers h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.05;
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.containers h1 span { color: #3997d3 !important; }

#typewriter {
    color: var(--silver);
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    min-height: 28px;
}

.containers .btn {
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 4px;
    border: 0;
    transition: all .2s;
}

.containers .btn-primary {
    background: var(--accent) !important;
    color: #fff;
}

.containers .btn-primary:hover {
    background: var(--accent-dk) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(24,146,205,0.4);
}

.containers .btn-outline-light {
    border: 2px solid rgba(255,255,255,0.6) !important;
    color: #fff !important;
    background: transparent !important;
}

.containers .btn-outline-light:hover {
    border-color: var(--accent) !important;
    color: var(--accent) !important;
}

/* Hero badges */
.hero-badges {
    display: flex;
    gap: 20px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(15,89,137,0.18);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(15,89,137,0.4);
    border-radius: 6px;
    padding: 8px 16px;
    color: #fff;
    font-size: 13px;
    font-family: var(--font-body);
}

.hero-badge i { color: var(--accent); font-size: 18px; }

/* ── Bubbles ── */
.bubble {
    width: 30px; height: 30px;
    border-radius: 100%;
    position: absolute;
    background-color: var(--accent);
    bottom: -30px;
    opacity: 0.1;
    animation: bubble 15s ease-in-out infinite, sideWays 4s ease-in-out infinite alternate;
}

@keyframes bubble {
    0%   { transform: translateY(0%); opacity: 0.06; }
    100% { transform: translateY(-120vh); }
}

@keyframes sideWays {
    0%   { margin-left: 0px; }
    100% { margin-left: 200px; }
}

.bubble--1  { left:10%; animation-delay:.5s;    animation-duration:16s; opacity:.12; }
.bubble--2  { width:15px;height:15px;left:40%;  animation-delay:1s;     animation-duration:10s; opacity:.08; }
.bubble--3  { width:10px;height:10px;left:30%;  animation-delay:5s;     animation-duration:20s; opacity:.15; }
.bubble--4  { width:25px;height:25px;left:40%;  animation-delay:8s;     animation-duration:17s; opacity:.1;  }
.bubble--5  { width:30px;height:30px;left:60%;  animation-delay:10s;    animation-duration:15s; opacity:.08; }
.bubble--6  { width:10px;height:10px;left:80%;  animation-delay:3s;     animation-duration:30s; opacity:.18; }
.bubble--7  { width:15px;height:15px;left:90%;  animation-delay:-7s;    animation-duration:25s; opacity:.12; }
.bubble--9  { width:20px;height:20px;left:50%;  bottom:30px;animation-delay:-5s;   animation-duration:19s; opacity:.1;  }
.bubble--10 { width:40px;height:40px;left:30%;  bottom:30px;animation-delay:-21s;  animation-duration:16s; opacity:.12; }
.bubble--11 { width:25px;height:25px;left:90%;  bottom:30px;animation-delay:-10.5s;animation-duration:19s; opacity:.12; }

/* ── Section Titles ── */
.titlecss h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem) !important;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    position: relative;
    display: inline-block;
}

.titlecss h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* ── About ── */
.aboutbgcolor { background-color: var(--light-bg) !important; }

.aboutimage img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.float-about {
    float: right;
    width: 300px;
    margin-left: 1.5rem !important;
}

.abouttext   { flex: 1; overflow: hidden; }
.abtparagraph { flex: 1; overflow: hidden; }

.info-box {
    text-align: center;
    background: #fff;
    border-top: 4px solid var(--accent);
    padding: 24px 16px;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: transform .3s, box-shadow .3s;
    position: relative;
    overflow: hidden;
}

.info-box::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 80px; height: 80px;
    border-radius: 50%;
    background: var(--accent-lt);
    opacity: .6;
}

.info-box:hover { transform: translateY(-8px); box-shadow: 0 12px 32px rgba(0,0,0,0.14); }

.info-box h2 {
    font-family: var(--font-display);
    font-size: 2.8rem;
    color: var(--accent);
    margin-bottom: 6px;
    font-weight: 700;
}

.info-box p { font-size: 0.95rem; color: var(--text-dark); margin: 0; }

.aboutpageicon {
    position: absolute !important;
    top: -20%; left: 0; right: 0;
    margin: auto;
    background-color: var(--accent) !important;
    color: white !important;
    border: 5px solid white;
    width: 54px; height: 54px;
    font-size: 20px;
    border-radius: 50%;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1;
    box-shadow: 0 4px 14px rgba(24,146,205,0.4);
}

.margintopabout { margin-top: 8% !important; }

/* ── Services ── */
.services {
    position: relative;
    width: 100%;
    text-align: center;
    border: 1px solid #e2eaf0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .3s, transform .3s;
    background: #fff;
}

.services:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    transform: translateY(-6px);
}

.services:hover .service-info { background: var(--navy); }
.services:hover .servicep     { color: #fff !important; }
.services:hover .servicep p   { color: rgba(255,255,255,0.75) !important; }

.servicep { text-align: end; color: var(--navy) !important; transition: color .3s; }
.servicehover:hover { color: var(--accent) !important; }
.mousrcursor { cursor: pointer; }

.service-info {
    display: flex;
    flex-direction: column;
    padding: 12px 14px;
    background: #fff;
    transition: background .3s;
}

.service-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ── Team ── */
.team-member {
    position: relative;
    width: 100%;
    text-align: end;
    border: 1px solid #e2eaf0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .3s, transform .3s;
    background: #fff;
}

.team-member:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.team-photo { width: 100%; height: auto; object-fit: cover; }
.team-name  { font-family: var(--font-display); font-weight: 600; margin-bottom: 4px; font-size: 17px; }
.team-info  { padding: 14px; text-transform: capitalize !important; }

.team-icons {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: var(--navy);
    padding: 10px;
    display: flex;
    justify-content: center;
    gap: 18px;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity .2s ease-out, transform .4s ease-out;
}

.team-icons .icon       { color: #fff; font-size: 18px; transition: color .2s; }
.team-icons .icon:hover { color: var(--accent); }
.team-member:hover .team-icons { opacity: 1; transform: translateY(0); }

/* ── Building / Projects ── */
.building {
    position: relative;
    width: 100%;
    text-align: end;
    border: 1px solid #e2eaf0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    transition: box-shadow .3s;
}

.building:hover { box-shadow: 0 10px 28px rgba(0,0,0,0.1); }
.building-photo { width: 100%; height: auto; object-fit: cover; }

/* ── Gallery ── */
.photo-gallery { display: flex; gap: 16px; flex-wrap: wrap; }
.column { display: flex !important; flex-direction: column !important; gap: 16px !important; flex: 1; }

.image-item { position: relative; overflow: hidden; border-radius: 6px; }
.image-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.image-item:hover img { transform: scale(1.05); }

.picture-icon {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: rgba(13,31,45,0.8);
    padding: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity .2s ease-out, transform .4s ease-out;
}

.picture-icon .icon       { color: #fff; font-size: 20px; }
.picture-icon .icon:hover { color: var(--accent); }
.image-item:hover .picture-icon { opacity: 1; transform: translateY(0); }

/* Popup */
.popup-image {
    position: fixed;
    top: 0; left: 0;
    background: rgba(13,31,45,0.95);
    height: 100%; width: 100%;
    z-index: 1031;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.popup-image span {
    position: absolute;
    top: 16px; right: 24px;
    font-size: 50px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    line-height: 1;
}

.popup-image span:hover { color: var(--accent); }

.popup-image img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 6px;
    object-fit: contain;
}

.popup-controls {
    position: absolute;
    top: 50%; width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 1000;
}

.popup-controls button {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    font-size: 28px;
    cursor: pointer;
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    transition: background .3s;
}

.popup-controls button:hover {
    background: var(--accent);
    border-color: var(--accent);
}

/* ── Contact ── */
.contact-icon {
    background: var(--navy);
    color: #fff !important;
    border-radius: 6px;
    width: 48px; height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: transform .3s, background .3s;
}

.contact-icon:hover {
    transform: scale(1.1);
    background: var(--accent);
    color: #fff !important;
}

.displaycontact {
    display: flex;
    align-items: center;
    margin-bottom: 22px;
    gap: 16px;
}

.displaycontact .text-container { font-size: 16px; }
.displaycontact label { margin: 0; cursor: default; }

.form-control {
    border: 1.5px solid #dce6ed;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 15px;
    font-family: var(--font-body);
    transition: border-color .2s, box-shadow .2s;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(24,146,205,0.18);
    outline: none;
}

.form-group { margin-bottom: 16px; width: 100%; }

.form-row { display: flex; flex-wrap: wrap; gap: 12px; }
.form-row .form-group { flex: 1 1 45%; }
.form-row .form-group.col-md-12 { flex: 1 1 100%; }

.btn-primary {
    background: var(--accent) !important;
    border: 0 !important;
    font-family: var(--font-display);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 1rem;
    transition: all .2s;
}

.btn-primary:hover {
    background: var(--accent-dk) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24,146,205,0.35);
}

.sent-messages {
    display: none;
    color: #fff;
    background: #059652;
    text-align: center;
    padding: 12px;
    margin-bottom: 16px;
    font-weight: 600;
    border-radius: 4px;
}

.spinner-email {
    border: 3px solid rgba(24,146,205,0.2);
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    width: 28px; height: 28px;
    animation: spin 0.9s linear infinite;
    display: none;
    margin-bottom: 10px;
}

@keyframes spin { 0%{ transform:rotate(0deg) } 100%{ transform:rotate(360deg) } }

/* ── Why Strip ── */
.why-strip {
    background: var(--navy);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.why-strip::before {
    content: '';
    position: absolute;
    left: -80px; top: -80px;
    width: 250px; height: 250px;
    border-radius: 50%;
  
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 0;
}

.why-icon {
    width: 52px; height: 52px;
    background: rgba(24,146,205,0.15);
    border: 1.5px solid rgba(24,146,205,0.35);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 24px;
    color: #fff;
}

.why-text h6 {
    font-family: var(--font-display);
    color: #fff;
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 4px;
}

.why-text p {
    color: var(--silver);
    font-size: 13.5px;
    margin: 0;
    line-height: 1.5;
}

/* ── Dashboard / Stats ── */
.dashboardstyle {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ── Box containers ── */
.box-container { display: flex; flex-wrap: wrap; gap: 2rem; }

.boxs {
    background: #fff;
    border-top: 4px solid var(--accent);
    flex: 1 1 20%;
    aspect-ratio: 4;
    padding: 1rem !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.3rem;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: transform .3s;
}

.boxs:hover { transform: translateY(-6px); }

/* ── Swiper ── */
.swiper-container { width: 100%; padding: 20px 0; }
.swiper-wrapper   { display: flex; align-items: center; }

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform .3s ease;
}

.swiper-slide img {
    max-width: 100%;
    height: auto;
    padding: 15px;
    filter: grayscale(60%);
    opacity: .75;
    transition: all .3s;
}

.swiper-slide:hover img { filter: grayscale(0); opacity: 1; }

/* ── Building slider ── */
.showcaseb { overflow: hidden; width: 100%; }

.sliderb {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 15px;
    animation: slideForever linear infinite;
}

.itemb { flex: 1 0 0; margin-right: 15px; box-sizing: border-box; }

@keyframes slideForever {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ── Greetings Popup ── */
.greetings-image {
    position: fixed;
    top: 0; left: 0;
    height: 100%; width: 100%;
    z-index: 10031;
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    background: rgba(13,31,45,0.6);
    backdrop-filter: blur(4px);
}

.greetings-image span {
    position: absolute;
    top: 16px; right: 24px;
    font-size: 50px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    line-height: 1;
}

.greetings-image span:hover { color: var(--accent); }

.greetings-image img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 8px;
    object-fit: contain;
    opacity: 0;
    animation: fadeIn 2s ease-in-out forwards;
}

@keyframes fadeIn { 0%{ opacity:0 } 100%{ opacity:1 } }

.hidden  { display: none; }
.visible { display: flex; }

/* ── Footer ── */
footer {
    background: var(--navy) !important;
    color: var(--silver);
    font-size: 14px;
    font-family: var(--font-body);
}

footer h6 {
    font-family: var(--font-display);
    color: #fff;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

footer h6::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 32px; height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

footer p, footer a {
    color: var(--silver) !important;
    text-decoration: none !important;
    transition: color .2s;
}

footer a:hover { color: var(--accent) !important; }

footer .bi.maincolor { color: var(--accent) !important; }

footer hr { border-color: rgba(255,255,255,0.1) !important; }

footer section#target-section {
    font-size: 13px;
    color: rgba(200,214,223,0.7);
    text-align: center;
    padding: 14px 0;
}

footer section#target-section .maincolor { color: var(--accent) !important; }

/* Footer social */
.btnoutline      { border-color: rgba(255,255,255,0.3) !important; color: var(--silver) !important; }
.facebook-icon:hover  { background:#1877F2 !important; color:#fff !important; border-color:#1877F2 !important; }
.twitter-icon:hover   { background:#000    !important; color:#fff !important; border-color:#000    !important; }
.instagram-icon:hover { background:#E4405F !important; color:#fff !important; border-color:#E4405F !important; }

/* Footer images */
.footerimgheight1 { max-width: 28%; filter: brightness(10); }
.footerimgheight2 { max-width: 68%; filter: brightness(0) invert(1); }

.center {
    display: flex;
    justify-content: start;
    align-items: center;
    width: 100%;
    height: 100%;
    max-height: 300px;
    overflow: hidden;
}

/* ── Careers ── */
.job-card {
    border: 1px solid #dde8ef;
    padding: 20px;
    margin-bottom: 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: box-shadow .2s, border-color .2s;
}

.job-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border-color: var(--accent);
}

.jobcardsection { max-height: 80vh; overflow-y: auto; }

.job-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--navy);
}

.job-description { margin-top: 10px; font-size: 1rem; }

.job-location, .job-type {
    margin-top: 4px;
    color: #6b8096;
    font-size: 14px;
}

.job-details {
    display: none;
    transition: all .3s;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid #dde8ef;
    border-radius: 8px;
    background: var(--light-bg);
}

.sticky-nav {
    position: sticky;
    top: 0;
    background: var(--light-bg);
    border: 1px solid #dde8ef;
    border-radius: 8px;
    display: none;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.sticky-nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* ── Service / About page banner ── */
.image-container { position: relative; width: 100%; height: 300px; }
.image-container img { width: 100%; height: 100%; object-fit: cover; }

.overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(13,31,45,0.6);
}

.centered-text {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.service-list-bg.active,
.list-group-item.clicked {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #fff !important;
}

.textjustify { text-align: justify; }
.liststyle   { list-style-position: outside; text-align: justify; }

/* ── Misc ── */
.rposition { position: relative; }

.logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.logo-container img { max-width: 110px; width: 100%; height: auto; }

i { font-style: normal; }
i a, i span { color: white; text-decoration: none; }
.bi-envelope, .bi-phone { color: white; }
i a:hover, i span:hover { color: white; }

/* Hide third-party widget elements */
.HeaderRating__RatingContainer-sc-2fc190ff-0,
.bpCTrQ,
.WidgetTitle__Header-sc-581bc1ec-2,
.jOACPc { display: none !important; }

/* ── Container width overrides ── */
@media (min-width: 1400px) { .container { max-width: 1320px; } }
@media (min-width: 1600px) { .container { max-width: 1500px; } }
@media (min-width: 1920px) { .container { max-width: 1700px; } }

/* ── Responsive ── */
@media (max-width: 991px) {
    :root { --header-height: 108px; }
    .nav-item { margin-left: 0; text-align: left; }
    .nav-link  { padding: 14px 0 !important; }
    .nav-link::after { left: 0; right: 0; }
    .navbar-collapse ul { margin-top: 4%; }
    .navbar-collapse ul li { border-bottom: 1px solid rgba(112,112,112,.2); }
    .nav-cta .nav-link { margin: 8px 0; padding: 12px 0 !important; }
}

@media (max-width: 768px) {
    :root { --header-height: 90px; }
    .containers h1 { font-size: clamp(2rem, 8vw, 3rem); }
    .photo-gallery { justify-content: space-between; }
    .column { flex-basis: calc(50% - 10px); }
    .popup-image img { width: 95%; }
}

@media (max-width: 480px) {
    .containers h1 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
    .hero-badges { gap: 10px; }
    .hero-badge  { padding: 6px 12px; font-size: 12px; }
    .float-about { width: 100%; margin-left: 0 !important; }
}

@media (max-width: 400px) {
    .float-about { width: 100%; margin-left: 0; }
    .hero-badges { flex-direction: column; }
}

@media (max-width: 369px) {
    .hidescreen { display: none; }
    .containers h1 { font-size: 1.9rem; }
}