:root{
    --logo-h: 46px;       /* logo height */
    --gap: 110px;         /* space between logos */
    --speed: 40s;         /* bigger = slower (slight movement) */
    --fade: 7%;           /* width of edge fades */
    --card-radius: 22px;            /* rounded corners like the mock */
    --card-aspect: 16 / 9;          /* consistent card height */
    --overlay: rgba(0,0,0,.45);     /* darkness over images */
    --hover-raise: translateY(-4px);
  }
   /* Self-hosted Avenir — modern browsers */
@font-face {
  font-family: "AvenirXLR8";
  src: url("/fonts/Avenir-Book.woff2") format("woff2"),
       url("/fonts/Avenir-Book.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "AvenirXLR8";
  src: url("/fonts/Avenir-BookOblique.woff2") format("woff2"),
       url("/fonts/Avenir-BookOblique.woff") format("woff");
  font-weight: 400;
  font-style: italic;   /* map Oblique to italic style */
  font-display: swap;
}
@font-face {
  font-family: "AvenirXLR8";
  src: url("/fonts/Avenir-Medium.woff2") format("woff2"),
       url("/fonts/Avenir-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "AvenirXLR8";
  src: url("/fonts/Avenir-Heavy.woff2") format("woff2"),
       url("/fonts/Avenir-Heavy.woff") format("woff");
  font-weight: 800;     /* Heavy/Bold */
  font-style: normal;
  font-display: swap;
}

/* Use a robust fallback stack */
:root {
  --font-sans: "AvenirXLR8", "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, -apple-system, "Noto Sans", "Liberation Sans", sans-serif;
}
html, body { font-family: var(--font-sans); }
 
/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: #000;
}

.btn.btn-primary:hover {
    background: #eaeaea;
    border: 1px solid var(--bs-secondary);
}

.btn.btn-secondary {
    color: #ffffff;
   
}

/***.btn.btn-secondary:hover {
    background: var(--bs-primary);
    border: 1px solid var(--bs-primary);
}***/
/*** Topbar Start ***/

/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 75px;
    padding: 35px 0;
    color: var(--bs-white);
    font-size: 17px;
    font-weight: 400;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--bs-dark);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    transition: .5s;
    opacity: 1;
}

@media (max-width: 992px) {
    .sticky-top.navbar-light {
        position: relative;
        background: var(--bs-white);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid rgba(0, 0, 0, .08);
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--bs-dark);
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }

    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-top: 0;
        border-right: 0;
        border-bottom: 1px solid;
        border-left: 0;
        border-style: dotted;
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: var(--bs-light);
        border: none;
    }

    .navbar-light .navbar-nav .nav-item::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--bs-primary);
        transition: .5s;
    }

    .sticky-top.navbar-light .navbar-nav .nav-item::before {
        bottom: 0;
    }

    .navbar-light .navbar-nav .nav-item::after {
        content: "";
        position: absolute;
        bottom: 1px;
        left: 50%;
        transform: translateX(-50%);
        border: 10px solid;
        border-color: transparent transparent var(--bs-primary) transparent;
        opacity: 0;
        transition: 0.5s;
    }

    .navbar-light .navbar-nav .nav-item:hover::after,
    .navbar-light .navbar-nav .nav-item.active::after {
        bottom: 1px;
        opacity: 1;
    }

    .navbar-light .navbar-nav .nav-item:hover::before,
    .navbar-light .navbar-nav .nav-item.active::before {
        width: calc(100% - 2px);
        left: 1px;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}
.logo-link a {
    text-decoration: none; font-weight: 600; transition: color 0.3s ease, opacity 0.2s ease;
  }

  /* --- Brand container reserves height; logos are centered inside --- */
.navbar .navbar-brand{
    position: relative;
    display: inline-block;
    width: auto;
    height: 60px;                    /* landing height */
  }
  .navbar.is-solid .navbar-brand{     /* after scroll or menu open */
    height: 45px;
  }
  
  /* Neutralize theme's max-height on images (we control via parent height) */
  .navbar .navbar-brand img{ max-height: none !important; }
  
  /* Both logos sit exactly on top of each other and center vertically */
  .navbar .brand-logo{
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 100%;                    /* match container height */
    width: auto;
    display: block;
    transition: opacity .2s ease;
  }
  
  /* Default state: transparent header = show WHITE, hide BLACK */
  .navbar .brand-logo--light{ opacity: 1; }
  .navbar .brand-logo--dark { opacity: 0; }
  
  /* Solid header state: show BLACK, hide WHITE */
  .navbar.is-solid .brand-logo--light{ opacity: 0; }
  .navbar.is-solid .brand-logo--dark { opacity: 1; }
  
  /* Mobile: header area is white, so keep BLACK visible */
  @media (max-width: 991.98px){
    .navbar .navbar-brand{ height: 45px; }
    .navbar .brand-logo--light{ opacity: 0; }
    .navbar .brand-logo--dark { opacity: 1; }
  }
  
/*** Carousel Hero Header Start ***/
.carousel-header {
    position: relative;
    overflow: hidden;
}

.carousel-indicators {
    display: none;
}

.carousel .carousel-control-prev,
.carousel .carousel-control-next {
    width: 0;
}

.carousel .carousel-control-prev .carousel-control-prev-icon,
.carousel .carousel-control-next .carousel-control-next-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 25px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff6b;
    transition: 0.5s;
}

.carousel .carousel-control-prev .carousel-control-prev-icon {
    left: 0;
    border-left: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 50px;

}

.carousel .carousel-control-next .carousel-control-next-icon {
    right: 0;
    border-right: 0;
    border-top-left-radius: 50px;
    border-top-right-radius: 0;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 0;
}

.carousel .carousel-control-prev .carousel-control-prev-icon:hover,
.carousel .carousel-control-next .carousel-control-next-icon:hover {
    background: #ffffff;
}

.carousel .carousel-inner .carousel-item {
    position: relative;
}

.carousel .carousel-inner .carousel-item .carousel-caption-1  {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding-top: 100px;
    display: flex;
    align-items: center;
    justify-content: end;
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, 0.5));
    background-size: cover;
}

.carousel-caption-1-content {
    text-align: end;
    padding-right: 100px;
}

.carousel-caption-1-content .carousel-caption-1-content-btn {
    display: flex;
    justify-content: end;
}

.carousel .carousel-inner .carousel-item .carousel-caption-2  {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding-top: 100px;
    display: flex;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, 0.5));
    background-size: cover;
}

.carousel-caption-2-content {
    text-align: start;
    padding-left: 100px;
}

.carousel-caption-2-content .carousel-caption-2-content-btn {
    display: flex;
    justify-content: start;
}


@media (max-width: 992px) {
    .carousel .carousel-inner .carousel-item {
        height: 700px;
        margin-top: -100px;
    }

    .carousel .carousel-inner .carousel-item img {
        height: 700px;
        object-fit: cover;
    }


    .carousel .carousel-inner .carousel-item .carousel-caption-1 {
        max-width: 100% !important;
        justify-content: center;
    }

    .carousel-caption-1-content {
        padding: 0 20px !important;
        text-align: center !important;
    }

    .carousel-caption-1-content .carousel-caption-1-content-btn {
        justify-content: center;
    }


    .carousel .carousel-inner .carousel-item .carousel-caption-2 {
        max-width: 100% !important;
        justify-content: center;
    }

    .carousel-caption-2-content {
        padding: 0 20px !important;
        text-align: center !important;
    }

    .carousel-caption-2-content .carousel-caption-2-content-btn {
        justify-content: center;
    }



    .carousel .carousel-control-prev .carousel-control-prev-icon,
    .carousel .carousel-control-next .carousel-control-next-icon {
        display: none;
    }
}

.modal .modal-header {
    height: 100px;
}

#searchModal .modal-content {
    background: rgba(255, 255, 255, .6);
}
/*** Carousel Hero Header End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 20, 66, 0.7), rgba(0, 20, 66, 0.7)), url(../img/breadcrumb.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 120px 0 60px 0;
    transition: 0.5s;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}

@media (max-width: 992px) {
    .bg-breadcrumb {
        padding: 60px 0 60px 0;
    }
}
/*** Single Page Hero Header End ***/


/*** Features Start ***/
.feature .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--bs-white);
    border-radius: 10px;
    transition: 0.5s;
}

.feature .feature-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.feature .feature-item .feature-icon {
    width: 100px;
    height: 100px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
}

.feature .feature-item .feature-icon i {
    transition: 0.5s;
}

.feature .feature-item:hover .feature-icon i {
    transform: rotate(360deg);
}

.feature .feature-item a.btn {
    transition: 0.5s;
}

.feature .feature-item:hover a.btn:hover {
    color: var(--bs-primary) !important;
}
/*** Features End ***/

/*** About Start ***/
:root{
    --photo-w: 775px;
    --photo-h: 450px;
    --card-w: 600px;
    --card-h: 400px;
    --overlap: 120px; /* how much the card overlaps the photo */
  }
  
  .about-wrap{
    position: relative;
    display: flex;
    align-items: center;              /* vertically center the two boxes */
    justify-content: center;
    gap: 0;                           /* no gap when overlapping */
    max-width: calc(var(--photo-w) + var(--card-w) - var(--overlap));
    margin: 0 auto;                   /* center the whole block */
  }
  
  /* Photo box (775x450) */
  .about-photo{
    width: var(--photo-w);
    height: var(--photo-h);
    overflow: hidden;
    border-radius: 12px;
    margin: 0;                        /* reset <figure> */
    position: relative;
    z-index: 1;
    box-shadow: 0 18px 35px rgba(0,0,0,.18);
  }
  .about-photo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  /* Dark card (600x400) */
  .about-card{
    width: var(--card-w);
    height: var(--card-h);
    background: #222;                 /* dark grey */
    color: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 35px 60px rgba(0,0,0,.35);
    transform: translateX(calc(var(--overlap) * -1)); /* create the overlap */
    position: relative;
    z-index: 2;                       /* sit above the photo */
    display: flex;
    flex-direction: column;
    justify-content: center;          /* center text vertically in the card */
  }
  .about-eyebrow{
    font-size: 32px;
    font-weight: 800;
    letter-spacing: .06em;
    margin: 0 0 14px;
  }
  .about-card p{
    margin-bottom: 18px;
    line-height: 1.7;
  }
  
  /* Button */
  .btn-dark-pill{
    align-self: flex-start;
    border-radius: 999px;
    padding: 14px 22px;
    font-weight: 600;
    background: #111;
    color: #fff;
    text-decoration: none;
  }
  
  /* Responsive: stack neatly on smaller screens */
  @media (max-width: 1200px){
    .about-wrap{
      flex-direction: column;
      align-items: center;
      max-width: min(100%, var(--photo-w));
    }
    .about-card{
      transform: none;                /* remove overlap on mobile */
      width: 100%;
      max-width: var(--card-w);
      height: auto;
    }
    .about-photo{
      width: 100%;
      max-width: var(--photo-w);
      height: auto;
      aspect-ratio: 31 / 18;          /* ≈ 775x450 */
    }
  }
/*** About End ***/

/***Brands Start***/
/* Section styling (optional) */
.brands { background:#fff; }

/* Scroller wrapper */
.brands-scroller{
  position: relative;
  overflow: hidden;
  display: flex;             /* place the two tracks side by side */
  gap: 0;
  padding: 16px 0;
  /* soft edge fade */
  -webkit-mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 var(--fade),
      #000 calc(100% - var(--fade)),
      transparent 100%
  );
          mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 var(--fade),
      #000 calc(100% - var(--fade)),
      transparent 100%
  );
}

/* Each track */
.brands-track{
  display: flex;
  align-items: center;
  gap: var(--gap);
  flex-shrink: 0;            /* prevent wrapping */
  list-style: none;
  margin: 0;
  padding: 22px 0;
  animation: scroll var(--speed) linear infinite;
}

/* Smooth, continuous scroll */
@keyframes scroll{
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); } /* move one full track width */
}

/* Logos */
.brands-track img{
  height: var(--logo-h);
  width: auto;
  display: block;
  filter: grayscale(100%);
  opacity: .55;
  transition: opacity .25s ease, filter .25s ease, transform .25s ease;
}
.brands-track img:hover{
  filter: none;
  opacity: 1;
  transform: translateY(-2px);
}

/* Pause on hover */
.brands-scroller:hover .brands-track{
  animation-play-state: paused;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce){
  .brands-track{ animation: none; }
}

:root{ --logo-h: clamp(28px, 3.5vw, 56px); }
.brands-track img{ height: var(--logo-h); width:auto; }

/***Brands End***/

/* Services grid */
.services .service-card{
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16/9;              /* consistent tile height */
    border-radius: 28px;              /* big rounded corners like screenshot */
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0,0,0,.18);
  }
  
  .services .service-card img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    transition: transform .5s ease;
  }
  
  /* dark overlay */
  .services .service-card::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,.30));
    transition: background .3s ease;
  }
  
  /* centered title */
  .services .service-title{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #fff;
    text-align: center;
    font-weight: 800;
    line-height: 1.15;
    /* responsive title size */
    font-size: 20px;
    letter-spacing: .2px;
    text-shadow: 0 2px 8px rgba(0,0,0,.35);
    padding: 0 .5rem;
    z-index: 1;
  }
  
  /* hover effects */
  .services .service-card:hover img{ transform: scale(1.08); }
  .services .service-card:hover::after{
    background: linear-gradient(0deg, rgba(0,0,0,.62), rgba(0,0,0,.38));
  }
  
  /* Optional: extra spacing between the two rows */
  @media (min-width: 992px){
    .services .row.g-4{ row-gap: 2.25rem; } /* tweak if you want more space */
  }


/*** Counter Start ***/
:root{
    --vp-red-1:#d21b1f;
    --vp-red-2:#a51014;
  }
  
  .value-props{
    background:
      radial-gradient(1200px 600px at 20% 20%, rgba(255,255,255,.08), transparent 60%),
      radial-gradient(1000px 500px at 80% 70%, rgba(255,255,255,.06), transparent 55%),
      linear-gradient(115deg, var(--vp-red-1) 0%, var(--vp-red-2) 100%);
    color:#fff;
  }
  
  /* Shared item styles */
  .vp-item{ max-width: 560px; margin-inline:auto; }
  .vp-icon{ font-size:44px; line-height:1; margin-bottom: 16px; }
  .vp-title{
    font-weight:800; text-transform:uppercase; letter-spacing:.02em;
    margin:0 0 12px; font-size: clamp(20px, 2.2vw, 28px);
  }
  .vp-copy{
    margin:0; font-size: clamp(16px, 1.8vw, 22px); line-height:1.6;
  }
  
  /* ---------- Mobile: horizontal snap scroller ---------- */
  .vp-scroller{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .vp-track{
    display:flex; gap: 28px; padding: 4px 12px 0;
    scroll-snap-type:x mandatory;
  }
  .vp-slide{
    flex: 0 0 88vw;               /* big card on mobile */
    scroll-snap-align:center;
    padding: 10px 6px 0;          /* room so text isn't clipped by mask */
  }
  
  /* Dots like your screenshot (pill style) */
  .vp-dots{
    display:flex; justify-content:center; gap:18px; margin-top:18px;
  }
  .vp-dots button{
    width:82px; height:12px; border-radius:999px; border:0;
    background: rgba(255,255,255,.35); cursor:pointer;
  }
  .vp-dots button[aria-current="true"]{ background:#fff; }
  
  /* ---------- Desktop: 3 columns, no scroll, no dots ---------- */
  @media (min-width: 992px){
    .vp-scroller{ overflow:visible; }
    .vp-track{
      display:grid; grid-template-columns: repeat(3, minmax(0,1fr));
      gap: 40px; padding:0;
    }
    .vp-slide{ flex: none; scroll-snap-align: none; width:auto; padding:0; }
    .vp-dots{ display:none; }
  }
  
  /* Respect reduced motion */
  @media (prefers-reduced-motion: reduce){
    html:focus-within { scroll-behavior: auto; }
  }
/*** Counter End ***/

/*** Gallery Start***/
:root{
    --gap: 28px;
    --radius: 12px;
    --row-h: 200px;
  }
  
  /* Title already centered via Bootstrap class */
  
  /* ===== Grid ===== */
  .gallery-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: var(--row-h);
    gap: var(--gap);
    align-items: stretch;
    grid-auto-flow: dense;
  }
  
  .gallery-item{ position: relative; overflow: hidden; border-radius: var(--radius); }
  .gallery-item.tall{ grid-row: span 2; }
  .gallery-item.big { grid-column: span 2; grid-row: span 2; }
  
  .gallery-item img{
    width: 100%; height: 100%; object-fit: cover; display:block;
    transition: transform .35s ease, filter .35s ease;
  }
  .gallery-item:hover img{ transform: scale(1.04); }
  
  .gallery-cta{
    display:flex;
    justify-content:flex-end;
    margin-top: 16px;           /* space below the photos */
  }
  
  .gallery-more{
    display:inline-flex;
    align-items:center;
    padding:10px 18px;
    height:auto;                /* guard against theme styles */
    line-height:1.2;
    border-radius:999px;
  }
  
  /* ===== Lightbox ===== */
  .lightbox{
    position: fixed; inset: 0;
    background: rgba(0,0,0,.85);
    display: grid; place-items: center;
    opacity: 0; transform: scale(1.015);
    transition: opacity .2s cubic-bezier(.22,.61,.36,1), transform .2s cubic-bezier(.22,.61,.36,1);
    z-index: 1060; padding: 24px;
  }
  .lightbox.open{ opacity: 1; transform: none; }
  .lightbox-img{
    max-width: 92vw; max-height: 88vh; border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
    opacity: 0; transition: opacity .2s ease;
  }
  .lightbox-img.ready{ opacity: 1; }
  
  .lightbox-close{
    position: absolute; top: 18px; right: 18px;
    width: 44px; height: 44px; border-radius: 50%;
    border: 0; background: #fff; color:#111; font-size: 28px; line-height: 1;
    display: grid; place-items: center; cursor: pointer;
    box-shadow: 0 6px 20px rgba(0,0,0,.25);
  }
  .lightbox-close:hover{ filter: brightness(.95); }
  
  /* ===== Responsive ===== */
  @media (max-width: 1199.98px){
    .gallery-grid{ grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
  }
  @media (max-width: 991.98px){
    .gallery-grid{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
    .gallery-item.big{ grid-column: span 2; grid-row: span 2; }
  }
  @media (max-width: 575.98px){
    .gallery-grid{ grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: 16px; }
    .gallery-more{ width: 100%; justify-self: stretch; text-align: center; }
  }
  
  /* Reduced motion */
  @media (prefers-reduced-motion: reduce){
    .gallery-item img, .lightbox, .lightbox-img{ transition: none; }
  }
  
/*** Gallery End***/

/*** Products Start ***/
.product .product-item {
    border: 1px solid rgba(196, 211, 211, 0.9);
    border-radius: 10px;
}

/*** Products End ***/

/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
    background: var(--bs-light);
    transition: 0.5s;
}

.blog .blog-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.2);
}

.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item:hover .blog-img::after {
    background: rgba(0, 209, 249, 0.2);
}

.blog .blog-item .blog-date {
    position: absolute;
    top: 25px;
    left: 25px;
    border-radius: 10px;
    background: var(--bs-primary);
    color: var(--bs-white);
    z-index: 2;
}

.blog .blog-item .blog-content a {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-content a:hover {
    color: var(--bs-primary) !important;
}
/*** Blog End ***/

/*** Team Start ***/
.team .team-item {
    position: relative;
    overflow: hidden;
    background: var(--bs-white);
    border: 1px solid var(--bs-secondary);
    border-radius: 10px;
}

.team .team-item .team-inner {
    transition: 0.5s;
}
.team .team-item:hover .team-inner {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.2);
}

.team .team-item .team-inner .team-img {
    position: relative;
    z-index: 2;
}

.team .team-item .team-inner .team-img::after {
    content: "";
    width: 100%;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(0, 209, 249, 0.2);
    transition: 0.5s;
    z-index: 3;
}

.team .team-item:hover .team-inner .team-img::after {
    height: 100%;
}

.team .team-item .team-inner .team-img .team-share {
    position: absolute;
    left: 10px;
    bottom: 10px;
    transition: 0.5s;
    z-index: 2;
}

.team .team-item:hover .team-inner .team-img .team-share {
    opacity: 0;
}

.team .team-item .team-inner .team-img .team-icon {
    position: absolute;
    bottom: 0;
    left: -100%;
    border-bottom-left-radius: 0 !important; 
    border-top-left-radius: 0 !important;
    display: inline-flex;
    background: var(--bs-primary);
    transition: 0.5s;
    z-index: 4;
}

.team .team-item:hover .team-inner .team-img .team-icon { 
    left: -25px; 
}
/* keep cards equal height in grid */
.team .team-item{ height: 100%; }

/* little breathing room below the owner row */
.team-owner-row{ margin-bottom: 1rem; }

/*** Team End ***/


/*** testimonial Start ***/
/* ===== Testimonials (responsive, exact mock) ===== */
.testimonials-section{ background:#fff; color:#000; }

/* Desktop: no side-peek, one slide centered */
.tst-scroller{
  overflow: hidden;                 /* desktop: hide neighbors */
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.tst-track{
  display:flex;
  gap:0;                            /* no gap = no peeking */
  align-items:stretch;
}
.tst-slide{
  flex:0 0 100%;                    /* full width slide */
  scroll-snap-align:center;
  box-sizing:border-box;
  padding-inline: clamp(24px, 8vw, 160px);   /* responsive side margins */
  max-width: 1200px;
  margin: 0 auto;                   /* center inside container */
}

/* Quote */
.tst-quote{
  position:relative; margin:0;
  font-weight:700; line-height:1.25; letter-spacing:.01em;
  font-size: clamp(22px, 3.2vw, 42px);
  padding-left: clamp(56px, 6vw, 90px);     /* space for big quote mark */
}
.tst-quote::before{
  content:"“"; position:absolute; left:0; top:-10px;
  font-weight:800; line-height:1;
  color:rgba(0,0,0,.12);
  font-size: clamp(64px, 10vw, 120px);
}

/* Author */
.tst-author{
  margin-top:18px; color:rgba(0,0,0,.45);
  font-weight:800; letter-spacing:.06em; text-transform:uppercase;
  font-size: clamp(12px, 1.2vw, 16px);
}

/* Pills */
.tst-dots{ display:flex; justify-content:center; gap:16px; margin-top:24px; }
.tst-dots button{
  width:46px; height:8px; border-radius:999px; border:0;
  background:rgba(0,0,0,.18); cursor:pointer;
  transition:width .2s ease, background .2s ease;
}
.tst-dots button[aria-current="true"]{ width:86px; background:#000; }

/* ===== Responsive tweaks ===== */

/* Tablets & down: allow swipe while still showing only one slide */
@media (max-width: 991.98px){
  .tst-scroller{
    overflow-x:auto;                /* enable swipe */
    scrollbar-width:none;
  }
  .tst-scroller::-webkit-scrollbar{ display:none; }
  .tst-slide{ padding-inline: clamp(18px, 6vw, 80px); }
  .tst-quote{ font-size: clamp(20px, 4.6vw, 34px); }
  .tst-quote::before{ font-size: clamp(56px, 12vw, 100px); }
}

/* Phones */
@media (max-width: 575.98px){
  .tst-slide{ padding-inline: 18px; }
  .tst-dots{ margin-top:18px; }
  .tst-dots button{ width:42px; height:8px; }
  .tst-dots button[aria-current="true"]{ width:72px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .tst-dots button{ transition:none; }
  html:focus-within{ scroll-behavior:auto; }
}


/*** testimonial End ***/

/*** Services & Maintenance Start ***/
/* --- Maintenance & Servicing block --- */
.service-block .section-eyebrow{
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  font-size: .9rem;
  color: rgba(0,0,0,.45);
}

.service-block .service-intro{
  max-width: 860px;                 /* wider reading line like the mock */
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.75;
  color: rgba(0,0,0,.78);
  margin: 0;                        /* tight to the buttons block */
}

/* Image cards */
.service-photo{
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9;             /* consistent height across row */
  background: #eee;
}
.service-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.service-photo:hover img{ transform: scale(1.03); }

/* Responsive spacing tweaks */
@media (max-width: 991.98px){
  .service-block .service-intro{ max-width: 100%; }
}
/*** Services & Maintenance End ***/

/*** More Services ***/
/* More Services cards */
.more-services .svc-card{
  position: relative;
  display: block;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 16 / 9;                 /* consistent height */
  box-shadow: 0 24px 48px rgba(0,0,0,.18);
  text-decoration: none;
  isolation: isolate;                   /* keep overlay on top */
}
.more-services .svc-card img{
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(.95);
  transition: transform .35s ease, filter .35s ease;
}

/* dark gradient overlay */
.more-services .svc-card::after{
  content:"";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.45) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* centered title */
.more-services .svc-title{
  position: absolute; inset: 0;
  display: grid; place-items: center;
  text-align: center;
  color: #fff;
  font-weight: 800;
  line-height: 1.15;
  font-size: clamp(18px, 1.6vw, 28px);
  padding: 0 18px;
  text-shadow: 0 3px 16px rgba(0,0,0,.45);
}

/* hover */
.more-services .svc-card:hover img{
  transform: scale(1.03);
  filter: saturate(1.05) brightness(1.02);
}

/* spacing tweak on small screens */
@media (max-width: 575.98px){
  .more-services .svc-card{ border-radius: 18px; }
}
/*** More Services ***/

/*** before after start ***/
/* ===== Layout wrapper with exact desktop sizes ===== */
.build-frame{
  position: relative;
  /* center the whole composition inside the container */
  max-width: 1400px;
  margin-inline: auto;
}

/* Comparison area – desktop size exactly 775×450 */
.ba{
  position: relative;
  width: 775px;
  height: 450px;
  border-radius: 8px;
  overflow: hidden;
  background:#e9eef3;
  box-shadow: 0 18px 56px rgba(0,0,0,.18);
  user-select:none;
  touch-action:none;
}

/* Images fill the area */
.ba-img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.ba-before{ z-index:1; }
.ba-after { z-index:2; clip-path: inset(0 0 0 calc(var(--pos)*1%)); }

/* Invisible but focusable input */
.ba-range{ position:absolute; inset:0; opacity:0; z-index:5; }

/* Visual line & knob */
.ba-handle{ position:absolute; inset:0; pointer-events:none; z-index:4; }
.ba-line{
  position:absolute; top:0; bottom:0;
  left:calc(var(--pos)*1%);
  width:2px; transform:translateX(-1px);
  background:rgba(255,255,255,.95);
}
.ba-knob{
  position:absolute; left:calc(var(--pos)*1%); top:50%;
  transform:translate(-50%,-50%);
  width:46px; height:46px; border-radius:50%;
  background:#fff; color:#0b2148;
  display:grid; place-items:center;
  box-shadow:0 10px 24px rgba(0,0,0,.25);
  border:1px solid rgba(0,0,0,.06);
}

/* Dark panel sized 600×400 overlapping the right */
.build-panel{
  position:absolute;
  right: 0;                          /* stick to the right of the frame */
  top: 25px;                         /* vertical alignment like your mock */
  width: 600px;
  min-height: 400px;
  background:#2b2b2b; color:#fff;
  border-radius:6px;
  padding: clamp(18px, 2.2vw, 28px);
  z-index:10;                        /* sits above the image */
  box-shadow: 0 18px 48px rgba(0,0,0,.22);
}

/* Responsive: stack on tablet/phone and make sizes fluid */
@media (max-width: 1199.98px){
  .ba{
    width: min(100%, 840px);
    height: clamp(240px, 38vw, 420px);
  }
  .build-panel{
    position: static;
    width: 100%;
    min-height: 0;
    margin-top: 16px;
  }
}
@media (max-width: 575.98px){
  .ba{ height: clamp(200px, 54vw, 320px); border-radius: 10px; }
  .ba-knob{ width:42px; height:42px; }
}

/* Keyboard focus for accessibility */
.ba-range:focus-visible + .ba-handle .ba-knob{
  outline:3px solid #0d6efd; outline-offset:3px;
}
/* make sure the range is above the image & handle and can receive pointer events */
.ba { position: relative; touch-action: none; }
.ba-range{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  z-index: 20;               /* higher than .ba-handle */
  pointer-events: auto;
}
/* handle just below the range so clicks drag the range */
.ba-handle{ position: absolute; inset: 0; z-index: 15; pointer-events: none; }

/* panel sits over the right side, but below the range so the left side remains draggable */
.build-panel{ z-index: 10; }

/*** before after end ***/

/*** Footer Start ***/
.footer {
    background: #000;
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    letter-spacing: 1px;
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary) !important;
}
/*** Footer End ***/

/***Whatsapp Button Start***/
/* Keep these in sync with your back-to-top on each breakpoint */
:root{
    --backtop-size: 48px;     /* your red button size */
    --backtop-bottom: 24px;   /* distance from viewport bottom */
    --wa-gap: 10px;           /* gap between WA and back-to-top */
  }
  
  /* Floating WhatsApp button */
  .wa-fab{
    all: unset;
    position: fixed !important;
    right: 24px !important;
    bottom: calc(var(--backtop-bottom) + var(--backtop-size) + var(--wa-gap)) !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    background: #25D366 !important;
    display: grid !important;
    place-items: center !important;
    z-index: 1051 !important;
    text-decoration: none !important;
    box-shadow: 0 8px 18px rgba(0,0,0,.18) !important;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, filter .2s ease;
  }
  .wa-fab::before,
  .wa-fab::after{ content:none !important; } /* kill plugin glows */
  .wa-fab:hover{ filter: brightness(.92); }
  .wa-fab.show{ opacity:1; visibility:visible; transform:none; }
  
  /* Mobile */
  @media (max-width: 575.98px){
    :root{
      --backtop-size: 44px;
      --backtop-bottom: 16px;
    }
    .wa-fab{
      right: 16px !important;
      width: 48px !important;
      height: 48px !important;
    }
  }
  
  /* Respect iOS safe area */
  .wa-fab{
    right: calc(24px + env(safe-area-inset-right)) !important;
    bottom: calc(env(safe-area-inset-bottom) + var(--backtop-bottom) + var(--backtop-size) + var(--wa-gap)) !important;
  }
  @media (max-width: 575.98px){
    .wa-fab{ right: calc(16px + env(safe-area-inset-right)) !important; }
  }
/*** Whatsapp Button end***/
/*** Back to top Start ***/
/* Back to Top — always visible on white backgrounds */
.back-to-top{
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: var(--bs-primary);   /* your theme's red */
    color: #fff;                     /* icon color */
    display: grid;
    place-items: center;
    z-index: 1050;
    border: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, filter .2s ease;
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
  }
  .back-to-top:hover{ filter: brightness(.92); }
  .back-to-top:focus-visible{
    outline: 2px solid #fff; outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(210,27,31,.35);
  }
  
  /* show state toggled by JS */
  .back-to-top.show{
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  
  /* smaller on mobile */
  @media (max-width: 575.98px){
    .back-to-top{ right: 16px; bottom: 16px; width: 44px; height: 44px; }
  }
  
/*** Back to Top end ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #000;
}
/*** copyright end ***/


