/* --------portfolio--------- */



/* ------------------------------ */
.tp-offcanvas-logo img{
    height: 40px;          /* increase logo height */
    width: auto;           /* keep aspect ratio */
    max-width: none; 
}

.tp-offcanvas-social ul li a {
    display: flex;               /* Flex centers content */
    align-items: center;         /* Vertical centering */
    justify-content: center;     /* Horizontal centering */
    width: 40px;                 /* Circle width */
    height: 40px;                /* Circle height */
    border-radius: 50%;          /* Circle shape */
    background-color: #f0f0f0;  /* Optional background */
    text-align: center;          
    line-height: 1;              /* Reset line height */
}

.tp-offcanvas-social ul li a svg {
    display: block;     /* Remove inline spacing */
    width: 16px;        /* Or desired size */
    height: 16px;
}

.tp-offcanvas-social ul li {
    margin: 0 5px;      /* spacing between icons */
}

.tp-offcanvas-social ul li a {
    padding: 0;         /* remove extra padding that pushes icon up */
}




.tp-hero-5-area,
.tp-hero-5-area.fix {
    overflow: visible !important;
}

.tp-project-5-wrap {
    justify-content: flex-start !important;
    padding-left: 20px;
    padding-right: 2px;
}

.tp-project-5-thumb-wrap {
    display: flex;
    align-items: center;
    gap: 0 !important;
    margin: 0;
    padding: 0;
}

.tp-project-5-thumb {
    width: 400px !important;
    height: 230px !important;
    flex-shrink: 0;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    display: block;
}

/* Remove negative margins - use direct adjacency instead */
.tp-project-5-thumb + .tp-project-5-thumb {
    margin-left: 0 !important;
}

.tp-project-5-thumb img,
.tp-project-5-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
}

/* Ensure the video container has no extra spacing */
.tp-project-5-thumb .tp-project-5-video {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
}

/* Remove any anchor tag spacing */
.tp-project-5-thumb a {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.tp-project-5-video {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #000; /* Prevents white flash while loading */
}

.tp-project-5-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tp-mission-right-thumb{
    width: 380px !important;
    height: 260px !important;
    flex-shrink: 0;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    display: block;
}

/* ===============================
   MARQUEE IMAGES — FORCE 16:10
   =============================== */

.slide-funfact {
    position: relative;
    overflow: hidden;
}


.slide-funfact .mb-30 {
    margin-bottom: 0 !important;
}


.slide-funfact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.slide-funfact-item h4 {
    line-height: 1;
    margin-bottom: 6px;
}

.funfact-center {
    position: relative;
    z-index: 2;
}


/* image marquee layer */
.img-marq {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;
}



:root {
    --marquee-gap: 160px;
}

.slide-img-left,
.slide-img-right {
    position: absolute;
    left: 0;
    width: 100%;
    top: 50%;
    overflow: hidden;
}

.slide-img-left {
    transform: translateY(calc(-50% - var(--marquee-gap)));
}

.slide-img-right {
    transform: translateY(calc(-50% + var(--marquee-gap)));
}



.slide-funfact-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 100%;
}

.slide-funfact-height {
    min-height: 100vh; /* or 80vh if you prefer */
}


/* =====================================
   HIDE MARQUEE ON MOBILE
===================================== */

@media (max-width: 768px) {
    .img-marq {
        display: none !important;
    }

    /* ensure counters stay centered */
    .slide-funfact-wrap {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
    }

    .slide-funfact-height {
        min-height: auto;
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    :root {
        --marquee-gap: 90px;
    }
}

@media (max-width: 480px) {
    :root {
        --marquee-gap: 65px;
    }
}


/* @media (max-width: 768px) {
    :root {
        --marquee-offset: 110px;
    }
}

@media (max-width: 480px) {
    :root {
        --marquee-offset: 80px;
    }
} */



/* @media (max-width: 576px) {
  .slide-img-left .box img,
  .slide-img-right .box img {
      height: 120px;         /* mobiles */
  }
}

/* COUNTER SPACING – MOBILE FIX */
@media (max-width: 768px) {
    .slide-funfact .row {
        row-gap: 40px; /* space between counters */
    }
}

@media (max-width: 480px) {
    .slide-funfact .row {
        row-gap: 28px;
    }
} */




.logo-1,
.logo-2 {
    width: auto !important;
    height: auto !important;
    max-height: 60px !important;
}

 
.tp-header-logo img {
    height: 40px !important;        
    width: auto !important;
    max-height: none;
}

#header-sticky .row {
    align-items: center;     /* vertical alignment */
    justify-content: space-between;
}


.tp-header-menu {
    display: flex;
    justify-content: center;
    white-space: nowrap;
}

.tp-main-menu-content ul li a {
    white-space: nowrap;
}



/* Remove white space between body and footer */

/* Option 1: If the white space is from the blog area padding */
.tp-blog-area {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Option 2: If the white space is from the footer padding */
.tp-footer-2-area {
    padding-top: 70px !important; /* Reduce from pt-100 */
}

main {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}


.footer-top {
    margin-top: 70px !important;
}

.tp-blog-area {
    padding-bottom: 70px;
    margin-bottom: 70px;
    background-color: #ffffff; /* Match footer black background */
}

.tp-footer-2-area.black-bg {
    margin-top: 70px;
}


/* LOGO HEADER */

/* .tp-header-logo img {
    height: 22px;      
    width: 100%;      
    max-width: none;   
} */


.tp-header-logo .logo-2 img {
    height: 40px;   /* optional: keep secondary logo smaller */
    width: auto;
}


/* ==========================================
   BRAND LOGO SLIDER - SMOOTH CONTINUOUS FLOW
   Uniform Size & Grayscale
   ========================================== */

/* Wrapper */
.tp-brand-3-slider-wrapper {
    position: relative;
    overflow: hidden;
}

/* Brand Item Container - Fixed dimensions for uniformity */
.tp-brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    padding: 15px 25px;
}

/* Brand Logo Images - UNIFORM SIZING & GRAYSCALE */
.tp-brand-item img {
    /* Uniform sizing constraints */
    max-width: 150px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    
    /* Black and white (grayscale) filter */
    filter: grayscale(100%);
    opacity: 0.6;
    
    /* Smooth transition for hover effect */
    transition: all 0.3s ease;
}

/* Color on hover */
.tp-brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Swiper slide - auto width for smooth continuous flow */
.tp-brand-3-slider-active .swiper-slide {
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CRITICAL: Linear timing for smooth continuous movement */
.tp-brand-3-slider-active .swiper-wrapper {
    transition-timing-function: linear !important;
    -webkit-transition-timing-function: linear !important;
}

.tp-blog-title-sm{
    line-height: 20px;
}

.tp-footer-2-widget-logo img {
    height: 30px;          /* increase logo height */
    width: auto;           /* keep aspect ratio */
    max-width: none;       /* remove theme restriction */
}


.tp-footer-2-contact-item a {
    display: block;
    line-height: 1.6;
}

.tp-footer-2-contact-item a {
    white-space: nowrap;
}

/* Footer contact – mobile fix */
@media (max-width: 767px) {
    .tp-footer-2-contact-item span {
        display: block;
        width: 100%;
        margin-bottom: 8px;
    }
}





--------------------
.ab-brand-item {
   height: 90px;              /* uniform height */
   display: flex;
   align-items: center;
   justify-content: center;
}

.ab-brand-item img {
   max-height: 60px;          /* controls logo size */
   max-width: 110px;
   width: auto;
   height: auto;
   object-fit: contain;
   opacity: 0.85;             /* subtle premium look */
   filter: none !important;      /* removes white/grey effect */
   opacity: 1 !important;
   transition: all 0.3s ease;
}

.ab-brand-item img:hover {
   opacity: 1;
   transform: scale(1.05);
}

/* Logo container */
.ab-brand-item {
   height: 90px;
   display: flex;
   align-items: center;
   justify-content: center;
}


.ab-brand-item {
   height: 90px;                     /* uniform height */
   display: flex;
   align-items: center;
   justify-content: center;
}

.ab-brand-item img {
   max-height: 60px;                 /* controls logo size */
   max-width: 110px;
   width: auto;
   height: auto;
   object-fit: contain;

   /* visual style */
   opacity: 0.9;                     /* subtle premium look */
   filter: grayscale(100%) brightness(0) invert(1);

   /* animation */
   transition: all 0.3s ease;
}

.ab-brand-item:hover img {
   opacity: 1;
   filter: none;                     /* show original logo */
   transform: scale(1.05);
}



/* Hover: original logo */
.ab-brand-item:hover img {
   filter: none;
   opacity: 1;
   transform: scale(1.05);
}

.ab-brand-area.black-bg-2 {
    background-color: #ffffff !important;
    background-image: none !important;
}

.ab-brand-title,
.ab-brand-content p,
.ab-brand-content span {
    color: #000000;
}

/* Brand item container */
.ab-brand-item {
    height: 70px;                /* reduced height = closer vertically */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;       /* remove inner gap */
}

/* Logo styling */
.ab-brand-item img {
    max-height: 55px;            /* slightly smaller */
    max-width: 110px;
    width: auto;
    height: auto;
    object-fit: contain;

    /* default white logo */
    opacity: 0.9;
    filter: grayscale(100%) brightness(0) invert(1);

    transition: all 0.3s ease;
}

/* Hover: show original color */
.ab-brand-item:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.05);
}

/* ================================
   FUN FACT SECTION – COLOR INVERT
================================ */
.ab-funfact-area {
    background-color: #1c1c1c; /* 👈 background = previous text color */
    padding-top: 100px;
}

/* Text & numbers */
.ab-funfact-area,
.ab-funfact-area h4,
.ab-funfact-area p,
.ab-funfact-area span,
.ab-funfact-area i {
    color: #ffffff; /* 👈 font = previous background color */
}

/* SVG icon color */
.ab-funfact-area svg path {
    fill: #ffffff;
}

/* ================================
   BRAND SECTION – REDUCE BOTTOM SPACE
================================ */
.ab-brand-area {
    padding-bottom: 40px !important; /* 👈 reduce from 120px */
}

.ab-brand-content p {
    margin-bottom: 0 !important;     /* 👈 remove extra paragraph gap */
}



------------------------------

/* customer_stories */

.pm-project-masonary-item .fix {
    width: 100%;
    overflow: hidden;
}

.pm-project-masonary-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10; /* adjust if needed */
    display: block;
}

#smooth-content {
    will-change: transform;
}

.pm-project-masonary-item {
    will-change: transform;
}


---------------------
/* aboutus */
/* About page navbar text white */
.about-page .tp-header-area .tp-main-menu-content ul li a {
    color: #ffffff !important;
}

/* Dropdown arrow (if any) */
.about-page .tp-header-area .has-dropdown > a::after {
    color: #ffffff !important;
}

/* Header icons (hamburger, SVG icons) */
.about-page .tp-header-area svg,
.about-page .tp-header-area svg path,
.about-page .tp-header-area .tp-header-bar span {
    stroke: #ffffff !important;
    fill: #ffffff !important;
}

/* Sticky header (important) */
.about-page #header-sticky.is-sticky .tp-main-menu-content ul li a {
    color: #ffffff !important;
}


.tp-project-5-2-area .tp-project-5-2-thumb {
  margin-bottom: 60px;
}

.tp-project-5-2-area .row > div:nth-last-child(-n+2) .tp-project-5-2-thumb {
  margin-bottom: 0;
}


.tp-blog-standard-thumb-box {
    min-height: 600px;
}

.tp-blog-standard-thumb-box img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}


/* -------logo-for-phone-------- */

/* Global logo safety */
.site-logo img,
.header-logo img,
.tm-logo img,
.logo img {
    max-width: 180px;
    width: auto;
    height: auto;
}

@media (max-width: 991px) {
    .site-logo img,
    .header-logo img,
    .tm-logo img,
    .logo img {
        max-width: 140px;
    }
}

@media (max-width: 575px) {
    .site-logo img,
    .header-logo img,
    .tm-logo img,
    .logo img {
        max-width: 120px;
    }
}


@media (max-width: 991px) {
  #smooth-wrapper {
    overflow: auto;
  }
}

@media (max-width: 768px) {
  .tp-char-animation,
  .tp_fade_bottom,
  [data-speed],
  [data-lag] {
    animation: none !important;
    transform: none !important;
  }
}

/* @media (max-width: 991px) {
  #smooth-wrapper,
  #smooth-content {
    transform: none !important;
  }
} */

@media (max-width: 768px) {
  .tp_fade_bottom,
  .tp_fade_left,
  .tp_fade_right,
  .tp-char-animation,
  .tp_img_reveal {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

.slide-img-left,
.slide-img-right {
  will-change: transform;
  transform: translateZ(0);
}

---------------------------
@media (max-width: 768px) {
  .slide-img-left,
  .slide-img-right {
    animation: none !important;
  }
}


@media (max-width: 767px) {

    .cn-contact-right-wrap {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px;
    }

    .cn-contact-right-info {
        width: 100%;
        text-align: left !important;
        margin-top: 0;
    }

    .cn-contact-right-info a {
        display: block;
        line-height: 1.4;
        margin-bottom: 0;
    }

    /* 🔥 REMOVE EXTRA LINE */
    .cn-contact-right-info br {
        display: none;
    }
}

@media (max-width: 767px) {

    .cn-contact-right-info a {
        display: inline-block;      /* key: shrink to text width */
        position: relative;
        padding-bottom: 6px;
    }

    .cn-contact-right-info a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;                /* same width as text */
        height: 1px;
        background-color: rgba(255, 255, 255, 0.3); /* adjust color */
    }
}



.tp-project-5-2-thumb {
    width: 100%;
    overflow: hidden;
}


.tp-project-5-2-thumb img,
.tp-project-5-2-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;    
    display: block;
}


/* 16:9 ONLY for VIDEO portfolio */
.video-portfolio .tp-project-5-2-thumb {
    aspect-ratio: 16 / 9;
}

/* Make video fill the box */
.video-portfolio .tp-project-5-2-thumb video,
.video-portfolio .tp-project-5-2-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Video portfolio text color */
.video-portfolio .tp-project-5-2-category span,
.video-portfolio .tp-project-5-2-meta,
.video-portfolio .tp-project-5-2-title-sm a {
    color: #ffffff; /* soft grey */
}



/* Push Office contact content to the right */
.footer-col-2-3 {
    text-align: right;
}

.tp-footer-2-area {
    padding-bottom: 0 !important;
}


.footer-col-2-3 {
    gap: 40px;
}

.tp-footer-2-contact-item {
    max-width: 260px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
}


@media (max-width: 991px) {
    .footer-grid .tp-footer-2-contact-item {
        padding-left: 0;
        line-height: 0;
    }
}



