

@import url('https://fonts.googleapis.com/css2?family=Afacad:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Onest:wght@400;500;600;700;800&family=Public+Sans:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

@font-face {
  font-family: 'SK-MODERNIST';
  src: local('SK MODERNIST'), local('SK-MODERNIST');
  font-style: normal;
  font-weight: 400 700;
}

@font-face {
  font-family: 'icomoon';
  src: url("../fonts/icomoon/icomoon.eot?srf3rx");
  src: url("../fonts/icomoon/icomoon.eot?srf3rx#iefix") format("embedded-opentype"), url("../fonts/icomoon/icomoon.ttf?srf3rx") format("truetype"), url("../fonts/icomoon/icomoon.woff?srf3rx") format("woff"), url("../fonts/icomoon/icomoon.svg?srf3rx#icomoon") format("svg");
  font-weight: normal;
  font-style: normal; }
#colorlib-main-menu ul li a , .social-links{
    font-family: 'Afacad', sans-serif;
}
/* =======================================================
*
* 	Template Style 
*	Edit this section
*
* ======================================================= */

/* Lazy-load placeholder and fade-in for background images */
.project-hero-title {
  font-family: 'Urbanist', sans-serif;
}

[data-bg] {
  background-color: #e8e8e8;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
[data-bg].lazyloaded {
  animation: lazyBgFadeIn 0.4s ease-out;
}
@keyframes lazyBgFadeIn {
  from { opacity: 0.85; }
  to { opacity: 1; }
}

html {
  overflow-x: hidden;
  overflow-y: auto; /* single document scrollbar (avoid html + body both scrolling) */
  width: 100%;
  max-width: 100vw;
  background: #f6f2dc96;
  min-height: 100%;
}
body {
  overflow-x: hidden;
  overflow-y: visible;
  width: 100%;
  max-width: 100vw;
  position: relative;
  background: transparent url("../images/Ikaei_background\ layer.jpeg") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  /* font-family: "Quicksand", Arial, sans-serif; */
  font-family: 'Public Sans', Arial, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.7);
  min-height: 100%;
}

/* Mobile: fixed full-screen background (mobile-safe) */
@media screen and (max-width: 768px) {
  body {
    font-size: 25px;
    /* Disable body background on mobile; use a fixed pseudo-layer instead */
    background: none;
    min-height: 100svh;
    min-height: 100dvh;
  }

  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: transparent url("../images/Ikaei_background\ layer.jpeg") no-repeat center center;
    background-size: cover;
  }

  /* Ensure page content paints above the fixed background layer */
  #colorlib-page {
    position: relative;
    z-index: 0;
  }
}
  @media screen and (max-width: 992px) {
    body {
      font-size: 16px; } }

a {
  color: #ad3e2f;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s; }
  a:hover, a:active, a:focus {
    color: #ad3e2f;
    outline: none;
    text-decoration: none !important; }

p {
  margin-bottom: 1.5em; }

h1, h2, h3, h4, h5, h6 {
  color: #000;
  font-family: 'Onest', Arial, sans-serif;
  font-weight: 700;
  margin: 0 0 30px 0; }

figure {
  margin-bottom: 2.5em;
  float: left;
  width: 100%; }
  figure figcaption {
    font-size: 16px;
    width: 80%;
    margin: 20px auto 0px auto;
    color: #b3b3b3;
    font-style: italic;
    font-family: 'Public Sans', Arial, sans-serif; }
    @media screen and (max-width: 480px) {
      figure figcaption {
        width: 100%; } }

::-webkit-selection {
  color: #fff;
  background: #ad3e2f; }

::-moz-selection {
  color: #fff;
  background: #ad3e2f; }

::selection {
  color: #fff;
  background: #ad3e2f; }

#colorlib-page {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  overflow-y: visible;
  position: relative;
}

/* Project detail page: force a single scrollbar */
body.project-overlay {
  height: 100vh;
  overflow: hidden;
}
body.project-overlay #colorlib-page {
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}
body.project-overlay #colorlib-main {
  overflow: visible;
}

/* Non-project pages: scroll on html only (body stays overflow-y: visible) */
body:not(.project-overlay) #colorlib-page {
  height: auto;
  overflow-y: visible;
}

/* Studio: force a single scrollbar (prevent any nested scroller) */
body.studio-page,
body.studio-page #colorlib-page,
body.studio-page #colorlib-main {
  height: auto;
  overflow-y: visible;
}

/* Inner pages: no decorative body bg — fixed loader video wallpaper shows through */
body:not(.home-overlay) {
  background-color: transparent;
  background-image: none;
}

body:not(.home-overlay) #colorlib-page {
  position: relative;
  z-index: 1;
  background: transparent;
}

@media screen and (max-width: 768px) {
  body:not(.home-overlay) {
    background: none;
  }

  /* Bottom scroll / overscroll strip on inner pages (behind fixed wallpaper) */
  html:has(body:not(.home-overlay)) {
    background: #f5efcc;
  }

  body:not(.home-overlay)::before {
    content: none;
    display: none;
    background: none;
  }
}

/* Home: hero slider is the only backdrop — never show decorative body layer */
body.home-overlay {
  background-color: #f6f2dc;
  background-image: none;
  background-attachment: scroll;
}

body.home-overlay::before {
  content: none;
  display: none;
  background: none;
}

/* Home page overlay nav over full image */
body.home-overlay #colorlib-main {
  width: 100%;
  max-width: 100vw;
  float: none;
  box-sizing: border-box;
}
#colorlib-main * {
  box-sizing: border-box;

}
#colorlib-main img {
  max-width: 100%;
}
/* Project gallery: use full main column width; show entire photo (no crop) */
.colorlib-Images .projects-image {
  display: block;
  width: 80%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin-left: auto;
  margin-right: auto;
}

body.home-overlay #colorlib-aside.overlay-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 16%;
  padding: 3em;
  /* No panel fill over the hero — see .sidebar-solid when scrolled for a readable bar */
  background: transparent;
  background-image: none;
  box-shadow: none;
  border: none;
  z-index: 2000;
  transition: background 0.3s ease;
}
/* When scrolled to images section: sidebar solid light grey (Project_1) */
body.home-overlay.sidebar-solid #colorlib-aside.overlay-nav {
  background: #e0e0e0;
  background-size: cover;
  background-attachment: fixed;
}
/* Main content width when scrolled: no horizontal overflow, fixed on all screens */
body.home-overlay.sidebar-solid #colorlib-main {
  width: calc(100vw - 260px);
  max-width: calc(100vw - 260px);
  margin-left: 260px;
  box-sizing: border-box;
  transition: width 0.3s ease, margin-left 0.3s ease;
}
@media screen and (max-width: 768px) {
  body.home-overlay.sidebar-solid #colorlib-main {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }
}

/* body.home-overlay #colorlib-aside.overlay-nav #colorlib-logo {
  text-align: left;
  margin-bottom: 2em;
} */

/* body.home-overlay #colorlib-aside.overlay-nav #colorlib-main-menu ul {
  text-align: left;
} */

/* body.home-overlay #colorlib-aside.overlay-nav #colorlib-main-menu ul li a {
  font-size: 18px;
  font-weight: 700;
} */

#colorlib-aside {
  padding-top: 3em;
  padding-bottom: 40px;
  padding-left: 3em;
  padding-right: 3em;
  width: 20%;
  position: fixed;
  bottom: 0;
  top: 0;
  left: 0;
  height: 100vh;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  z-index: 1001;
  overflow: hidden;
  background-size: cover;
  background-attachment: fixed;
  border: none;
  border-right: none;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s; }
  /* Bring sidebar content a bit higher on inner pages */
  /* @media screen and (min-width: 769px) {
    body.projects-page #colorlib-aside,
    body.studio-page #colorlib-aside,
    body.workflow-page #colorlib-aside,
    body.contact-page #colorlib-aside,
    body.project-overlay #colorlib-aside {
      padding-top: 2em;
    }
  } */
  @media screen and (max-width: 1200px) {
    #colorlib-aside {
      width: 30%; } }
  @media screen and (max-width: 768px) {
    #colorlib-aside {
      width: 270px;
      -moz-transform: translateX(-270px);
      -webkit-transform: translateX(-270px);
      -ms-transform: translateX(-270px);
      -o-transform: translateX(-270px);
      transform: translateX(-270px);
      padding-top: 2.5em; } }
  #colorlib-aside #colorlib-logo {
    text-align: left;
    font-weight: 700;
    font-size: 22px;
    text-transform: uppercase;
    /* margin-top: auto; */
    margin-bottom: 0;
    display: block;
    width: 100%; }
    @media screen and (max-width: 768px) {
      #colorlib-aside #colorlib-logo {
        margin-top: 0;
        margin-bottom: 0;
        max-width: 88%; } }
    /* `#colorlib-logo` is an anchor in markup (not a wrapper), so style it directly */
    #colorlib-aside a#colorlib-logo {
      display: block;
      text-align: left;
      color: #fff;
      letter-spacing: 2px;
      padding: 0;
      margin: 0 0 14px 0;
    }
    /* Tamil logo positioning is handled in .footer-copyright (bottom-pinned). */
  #colorlib-aside #colorlib-main-menu ul {
    text-align: left;
    margin-top: 30px;
    padding: 0; }
    @media screen and (max-width: 768px) {
      #colorlib-aside #colorlib-main-menu ul {
        margin: 40px 0 2em 0; } }
    #colorlib-aside #colorlib-main-menu ul li {
      margin: 0 0 2px 0;
      padding: 2px 0;
      list-style: none;
      font-size: 12px;
      font-weight: 500;
      text-transform: none;
      letter-spacing: 1px; }
      #colorlib-aside #colorlib-main-menu ul li a {
        color: #ad3e2f;
        font-weight: 600;
        font-size: 26px;
        text-decoration: none;
        position: relative;
        padding: 8px 0;
        font-family: 'Afacad', 'Public Sans', Arial, sans-serif !important;
        font-style: normal;
        text-transform: none;
        letter-spacing: 0;
        line-height: 1.15;
        -webkit-transition: 0.3s;
        -o-transition: 0.3s;
        transition: 0.3s; }
        #colorlib-aside #colorlib-main-menu .colorlib-active a ul li a:after{
background-color: #ad3e2f !important;
        }
        #colorlib-aside #colorlib-main-menu ul li a:after {
          content: "";
          position: absolute;
          height: 2px;
          bottom: 7px;
          left: 0;
          right: 0;
          background-color: #ffffff;
          visibility: hidden;
          -webkit-transform: scaleX(0);
          -moz-transform: scaleX(0);
          -ms-transform: scaleX(0);
          -o-transform: scaleX(0);
          transform: scaleX(0);
          -webkit-transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
          -moz-transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
          -ms-transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
          -o-transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
          transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
        #colorlib-aside #colorlib-main-menu ul li a:hover {
          text-decoration: none;
          color: #ffffff; }
          #colorlib-aside #colorlib-main-menu ul li a:hover:after {
            visibility: visible;
            -webkit-transform: scaleX(1);
            -moz-transform: scaleX(1);
            -ms-transform: scaleX(1);
            -o-transform: scaleX(1);
            transform: scaleX(1); }
            #colorlib-aside #colorlib-main-menu ul li.colorlib-active a:after {
              background-color: #ad3e2f; /* red */
              visibility: visible;
              -webkit-transform: scaleX(1);
              -moz-transform: scaleX(1);
              -ms-transform: scaleX(1);
              -o-transform: scaleX(1);
              transform: scaleX(1);
            }
            #colorlib-aside #colorlib-main-menu ul li.colorlib-active a:hover:after {
              background-color: #ad3e2f /* white when hovering over active link */
            }
      #colorlib-aside #colorlib-main-menu ul li.colorlib-active a {
        color: #ad3e2f; 
        text-decoration-color: #ad3e2f !important;
        text-underline-offset: 4px;
      }
        #colorlib-aside #colorlib-main-menu ul li.colorlib-active a:after {
          visibility: visible;
          -webkit-transform: scaleX(1);
          -moz-transform: scaleX(1);
          -ms-transform: scaleX(1);
          -o-transform: scaleX(1);
          transform: scaleX(1); }
  #colorlib-aside .colorlib-footer {
    position: static;
    margin-top: 45px;
    right: auto;
    left: auto;
    font-size: 14px;
    line-height: 1.35;
    text-align: left;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.3);
    padding: 0;
    width: 100%; }
    #colorlib-aside .colorlib-footer ul {
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      /* gap: 6px; */
    }
    #colorlib-aside .colorlib-footer ul li a {
      color: #fff;
      padding: 0;
      display: inline-block;
      font-size: 20px;
    }
    @media screen and (max-width: 768px) {
      #colorlib-aside .colorlib-footer {
        position: relative;
        bottom: 0; 
        margin-top: 25px;
      } }
    #colorlib-aside .colorlib-footer span {
      display: block; }
    #colorlib-aside .colorlib-footer ul {
      padding: 0;
      margin: 0; }
      #colorlib-aside .colorlib-footer ul li {
        padding: 0;
        margin: 0;
        display: block; 
        list-style: none; }
        #colorlib-aside .colorlib-footer ul li a {
          color: #ad3e2f;
          padding: 2px 0px; }
          #colorlib-aside .colorlib-footer ul li a:hover, #colorlib-aside .colorlib-footer ul li a:active, #colorlib-aside .colorlib-footer ul li a:focus {
            text-decoration: none;
            outline: none;
            color: #ffffff; }

  /* Mini copyright footer inside sidebar (Projects page) */
  #colorlib-aside .footer-copyright {
    /* Anchor below decorative background line (see end-of-file rules) */
    margin-top: 0;
    flex-shrink: 0;
    padding: 0;
    font-size: 11px;
    line-height: 1.35;
    text-align: left;
    color: rgba(255, 255, 255, 0.7);
  }

  #colorlib-aside .footer-copyright a#colorlib-logo-tamil img {
    margin-left: 0 !important;
  }
  /* Neutralize bootstrap grid spacing inside narrow sidebar */
  #colorlib-aside .footer-copyright .container,
  #colorlib-aside .footer-copyright .row,
  #colorlib-aside .footer-copyright [class^="col-"],
  #colorlib-aside .footer-copyright [class*=" col-"] {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    /* margin-left: 0; */
    margin-right: 0;
    margin-top: 0;
  }
  #colorlib-aside .footer-copyright-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  #colorlib-aside .footer-copyright-text p {
    margin: 0;
    font-size: inherit;
    color: inherit;
  }
  #colorlib-aside .footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  #colorlib-aside .footer-menu ul li {
    margin: 0;
    padding: 0;
  }
  #colorlib-aside .footer-menu ul li a {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
  }
  #colorlib-aside .footer-menu ul li a:hover,
  #colorlib-aside .footer-menu ul li a:active,
  #colorlib-aside .footer-menu ul li a:focus {
    color: #ad3e2f;
    text-decoration: none;
    outline: none;
  }

#colorlib-main {
  width: 80%;
  float: right;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s; }
  @media screen and (max-width: 1200px) {
    #colorlib-main {
      width: 70%; } }
  @media screen and (max-width: 768px) {
    #colorlib-main {
      width: 100%; } 

      #colorlib-hero {
        min-height: 100vh;
        width: 100%;
        float: left;
        margin-bottom: 0;
        clear: both;
        background: none;
      }
      #colorlib-aside .footer-copyright{
        margin-top: 0;
      }
      #colorlib-aside .colorlib-footer ul li a{
        font-size: 20px;
      }
      #colorlib-aside #colorlib-main-menu ul li a{
        font-size: 25px;
        font-family: 'Afacad', 'Public Sans', Arial, sans-serif !important;
        font-weight: 600;
        font-style: normal;
        text-transform: none;
        letter-spacing: 0;
        line-height: 1.15;
      }
      #colorlib-aside a#colorlib-logo {
        max-width: 88%;
        margin-right: 0;
        box-sizing: border-box;
      }
      #colorlib-logo img{
        width: min(168px, 72vw);
        max-width: 88%;
        height: auto;
      }
       .studio-heading{
        right: 0 !important;
      }
    }

/* Mobile sidebar: solid panel on inner pages; home/project heroes stay clear until drawer opens */
@media screen and (max-width: 768px) {
  #colorlib-aside,
  body.offcanvas #colorlib-aside {
    background: #f6f2dc !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    width: 75% !important;
  }

  /* Mobile: keep footer/Tamil logo pinned to bottom like desktop */
  #colorlib-aside {
    min-height: 100svh;
    min-height: 100dvh;
    padding-bottom: 12px !important;
    display: flex;
    flex-direction: column;
  }
  body.home-overlay:not(.sidebar-solid) #colorlib-aside,
  body.home-overlay:not(.sidebar-solid) #colorlib-aside.overlay-nav {
    background: transparent !important;
    background-image: none !important;
  }

  body.project-overlay:not(.offcanvas) #colorlib-aside,
  body.project-overlay:not(.offcanvas) #colorlib-aside.overlay-nav {
    background: transparent !important;
    background-image: none !important;
  }

  /* Open drawer on home: restore a light panel so links stay readable */
  body.home-overlay.offcanvas #colorlib-aside {
    background: #f6f2dc !important;
    background-image: none !important;
  }

  /* Open drawer on project pages */
  body.project-overlay.offcanvas #colorlib-aside {
    background: #f6f2dc !important;
    background-image: none !important;
  }

  #colorlib-aside a#colorlib-logo-tamil {
    display: block !important;
  }

  #colorlib-aside a#colorlib-logo-tamil img,
  #colorlib-logo-tamil img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}
  /* Project page hero: full-height background (same as home) */
  #colorlib-hero > div.js-fullheight {
    min-height: 100vh;
    width: 100%;
    position: relative;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
  }
  #colorlib-hero .flexslider {
    border: none;
    z-index: 1;
    margin-bottom: 0; }
    #colorlib-hero .flexslider .slides {
      position: relative;
      overflow: hidden; }
      #colorlib-hero .flexslider .slides li {
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
        min-height: 100vh;
        position: relative; }
    #colorlib-hero .flexslider .flex-control-nav {
      bottom: 20px;
      z-index: 1000;
      left: 20px;
      float: left;
      width: auto; }
      @media screen and (max-width: 768px) {
        #colorlib-hero .flexslider .flex-control-nav {
          right: 20px;
          top: 100px; } }
      #colorlib-hero .flexslider .flex-control-nav li {
        display: block;
        margin-bottom: 10px; }
        #colorlib-hero .flexslider .flex-control-nav li a {
          background: rgba(255, 255, 255, 0.5);
          -webkit-box-shadow: none;
          box-shadow: none;
          width: 12px;
          height: 12px;
          cursor: pointer; }
          #colorlib-hero .flexslider .flex-control-nav li a.flex-active {
            cursor: pointer;
            background: transparent;
            border: 2px solid #ad3e2f; }
    #colorlib-hero .flexslider .flex-direction-nav {
      display: none; }
  #colorlib-hero .flexslider .slider-text {
      display: table;
      opacity: 0;
      min-height: 500px;
      z-index: 9; }
      #colorlib-hero .flexslider .slider-text > .slider-text-inner {
        display: table-cell;
        vertical-align: middle;
        min-height: 700px;
        padding: 2.5em;
        position: relative; }
        #colorlib-hero .flexslider .slider-text > .slider-text-inner .desc {
          position: absolute;
          bottom: 0;
          right: 0;
          left: 0;
          padding: 30px 60px;
          background: #000; }
          @media screen and (max-width: 768px) {
            #colorlib-hero .flexslider .slider-text > .slider-text-inner .desc {
              padding: 20px; } }
        @media screen and (max-width: 768px) {
          #colorlib-hero .flexslider .slider-text > .slider-text-inner {
            text-align: center; } }
        #colorlib-hero .flexslider .slider-text > .slider-text-inner h1, #colorlib-hero .flexslider .slider-text > .slider-text-inner h2 {
          margin: 0;
          padding: 0;
          color: black;
          font-family: 'Onest', Arial, sans-serif; }
        #colorlib-hero .flexslider .slider-text > .slider-text-inner h1 {
          margin-bottom: 20px;
          font-size: 44px;
          line-height: 1.3;
          font-weight: 300; }
          @media screen and (max-width: 768px) {
            #colorlib-hero .flexslider .slider-text > .slider-text-inner h1 {
              font-size: 28px; } }
        #colorlib-hero .flexslider .slider-text > .slider-text-inner h2 {
          font-size: 18px;
          line-height: 1.5;
          margin-bottom: 30px;
          font-weight: 300;
          font-family: 'Public Sans', Arial, sans-serif; }
          #colorlib-hero .flexslider .slider-text > .slider-text-inner h2 a {
            color: rgba(0, 0, 0, 0.8); }
        #colorlib-hero .flexslider .slider-text > .slider-text-inner .heading-section {
          font-size: 50px; }
          @media screen and (max-width: 768px) {
            #colorlib-hero .flexslider .slider-text > .slider-text-inner .heading-section {
              font-size: 30px; } }
        #colorlib-hero .flexslider .slider-text > .slider-text-inner s
.colorlib-lead {
          font-size: 20px;
          color: #fff; }
        #colorlib-hero .flexslider .slider-text > .slider-text-inner p {
          margin-bottom: 0; }
        #colorlib-hero .flexslider .slider-text > .slider-text-inner .btn {
          font-size: 12px;
          text-transform: uppercase;
          letter-spacing: 2px;
          color: #000;
          padding: 10px 15px !important;
          border: none;
          font-weight: 400; }
          #colorlib-hero .flexslider .slider-text > .slider-text-inner .btn.btn-learn {
            color: #000;
            border: 1px solid #fff;
            background: #fff !important; }
            #colorlib-hero .flexslider .slider-text > .slider-text-inner .btn.btn-learn:hover {
              background: transparent !important;
              border: 1px solid #000 !important; }
          @media screen and (max-width: 768px) {
            #colorlib-hero .flexslider .slider-text > .slider-text-inner .btn {
              width: 100%; } }

/* Hero text positioning when not using flexslider */
#colorlib-hero .slider-text {
  display: table;
  min-height: 100vh;
  z-index: 9;
}

#colorlib-hero .slider-text > .slider-text-inner {
  display: table-cell;
  vertical-align: bottom;
  min-height: 100vh;
  padding: 2.5em;
  position: relative;
}

#colorlib-hero .slider-text > .slider-text-inner .desc {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 30px 60px;
  background: #ad3e2f;
}

@media screen and (max-width: 768px) {
  #colorlib-hero .slider-text > .slider-text-inner {
    text-align: center;
  }
  #colorlib-hero .slider-text > .slider-text-inner .desc {
    padding: 20px;
  }
}

/* Project hero: right-aligned title; wrap if needed (bigger type without overflow) */
.project-hero-title {
  position: absolute;
  top: 44%;
  left: auto;
  /* Match the right-side breathing room used by big headings (e.g., Contact) */
  right: calc(28px + env(safe-area-inset-right, 0px));
  transform: translateY(-50%);
  margin: 0;
  max-width: calc(100% - 56px);
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  box-sizing: border-box;
  font-size: clamp(2.4rem, calc((100vw - 2rem) / 13), 10.5rem);
  font-weight: 400;
  color: #ad3e2f;
  text-align: right;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 0.95;
  text-wrap: balance;
  text-transform: none;
  letter-spacing: 0.02em;
  z-index: 5;
}

/* Stack sits at hero right (h1 text-align); both lines align to screen right */
.project-hero-title-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
}

.project-hero-title-main {
  display: block;
  text-align: right;
  font-family: 'Monopolix', 'Onest', Arial, sans-serif;
  font-weight: 700;
}

/* Second line: right-aligned under main title, slightly smaller type */
.project-hero-title-sub {
  display: block;
  margin-top: 0.1em;
  font-size: 0.55em;
  font-weight: 500;
  font-family: 'Poppins', 'Public Sans', Arial, sans-serif;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-align: right;
  width: auto;
  max-width: 100%;
}

/* Project detail pages: hero heading + subtitle typography */
body.project-overlay .project-hero-title:not(:has(.project-hero-title-stack)) {
  font-family: 'Monopolix', 'Onest', Arial, sans-serif;
  font-weight: 700;
}

body.project-overlay #colorlib-hero .project-details,
body.project-overlay #colorlib-hero .project-details li,
body.project-overlay #colorlib-hero .project-details li span,
body.project-overlay #colorlib-hero .project-details li span b {
  font-family: 'Poppins', 'Public Sans', Arial, sans-serif;
}

/* Desktop: main is ~84% width beside 16% sidebar — conservative divisor so full line fits */
@media screen and (min-width: 769px) {
  body.project-overlay .project-hero-title {
    font-size: clamp(3rem, calc((100vw - 16vw - 3rem) / 14), 12rem);
  }
}
@media screen and (max-width: 768px) {
  .project-hero-title {
    top: 40%;
  }
}

/* Hero project details styling */
#colorlib-hero .project-details {
  justify-content: space-between;
}

#colorlib-hero .project-details li {
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 1px;
}

#colorlib-hero .project-details li span {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

body.offcanvas {
  overflow-x: hidden; }
  body.offcanvas #colorlib-aside {
    -moz-transform: translateX(0);
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
    width: 270px;
    background: #f6f2dc80;
    background-size: cover;
    z-index: 999;
    position: fixed; }
  /* body.offcanvas #colorlib-aside #colorlib-main-menu ul li a,
  body.offcanvas #colorlib-aside .colorlib-footer ul li a,
  body.offcanvas #colorlib-aside #colorlib-logo a {
    color: #000;
  } */
  body.offcanvas #colorlib-main, body.offcanvas .colorlib-nav-toggle {
    top: 0;
    -moz-transform: translateX(270px);
    -webkit-transform: translateX(270px);
    -ms-transform: translateX(270px);
    -o-transform: translateX(270px);
    transform: translateX(270px); }

/* Projects & detail pages (desktop): sidebar 12%, main 88% */
@media screen and (min-width: 769px) {
  body.projects-page #colorlib-aside,
  body.studio-page #colorlib-aside,
  body.workflow-page #colorlib-aside,
  body.contact-page #colorlib-aside,
  body.project-overlay #colorlib-aside {
    width: 16%;
  }
  body.projects-page #colorlib-main,
  body.studio-page #colorlib-main,
  body.workflow-page #colorlib-main,
  body.contact-page #colorlib-main,
  body.project-overlay #colorlib-main {
    width: 84%;
  }
}

.colorlib-narrow-content {
  padding: 0 2.5em 0 0; }
  /* No gap: row flush left, first column flush to sidebar */
  #colorlib-main .colorlib-narrow-content .row {
    margin-left: 0;
  }

  @media screen and (max-width: 768px) {
    .colorlib-narrow-content {
      padding: 0 1em; } }

.no-gutters {
  margin: 0;
  padding: 0; }

.colorlib-blog,
.colorlib-work,
.colorlib-about,
.colorlib-services,
.colorlib-contact {
  padding-top: 4em;
  /* padding-bottom: 9em; */
  clear: both;
  width: 100%;
  display: block; }
  @media screen and (max-width: 768px) {
    .colorlib-blog,
    .colorlib-work,
    .colorlib-about,
    .colorlib-services,
    .colorlib-contact {
      padding-top: 5em;
      padding-bottom: 8em; } }

.about-img,
.about-img-2,
.services-img {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative; }

.colorlib-heading {
  font-size: 18px;
  margin-bottom: 4em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 5px;
  line-height: 1.8;
  position: relative; }
  .colorlib-heading:after {
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 60px;
    height: 4px;
    content: '';
    background: #ad3e2f; }
  .colorlib-heading span {
    display: block; }
  @media screen and (max-width: 768px) {
    .colorlib-heading {
      margin-bottom: 3em; } }

/* Projects page big heading */
.projects-title {
  font-size: 250px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -12px;
  line-height: 0.85;
  margin-bottom: 180px;
  text-align: right;
  margin-top: 70px;
  right: -20px;
  color: #ad3e2f;
}

/* Large tablets (max 1200px) */
@media screen and (max-width: 1200px) {
  .projects-title {
    font-size: 160px;
    letter-spacing: -8px;
    margin-bottom: 120px;
    margin-top: 50px;
  }
}

/* Tablets (max 992px) */
@media screen and (max-width: 992px) {
  .projects-title {
    font-size: 120px;
    letter-spacing: -6px;
    margin-bottom: 80px;
    margin-top: 40px;
    right: 0;
  }
}

/* Mobile landscape (max 768px) */
@media screen and (max-width: 768px) {
  .projects-title {
    font-size: 80px;
    letter-spacing: -4px;
    line-height: 0.9;
    margin-bottom: 50px;
    margin-top: 30px;
    text-align: center;
    right: auto;
  }
}

/* Mobile portrait (max 480px) */
@media screen and (max-width: 480px) {
  .projects-title {
    font-size: 52px;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 30px;
    margin-top: 20px;
    text-align: center;
    right: auto;
  }
}

/* Very small screens (max 360px) */
@media screen and (max-width: 360px) {
  .projects-title {
    font-size: 40px;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 20px;
    margin-top: 15px;
  }
}
.projects-title:after {
  display: none;
}

/* Studio page: right offset desktop only, reset on mobile */
.studio-heading {
  width: 100%;
  text-align: right;
  position: relative;
  right: -20px;
}

/* Match Contact heading spacing on other pages (do NOT affect Contact) */
body.projects-page .projects-title {
  right: -20px;
}

body.workflow-page .projects-title {
  right: 0;
}

/* Workflow title vertical spacing — same margin-top / margin-bottom as other .projects-title pages */
body.workflow-page .colorlib-work > .colorlib-narrow-content .projects-title.colorlib-heading {
  padding-bottom: 0;
  margin-top: 70px;
  margin-bottom: 180px;
}

@media screen and (max-width: 1200px) {
  body.workflow-page .colorlib-work > .colorlib-narrow-content .projects-title.colorlib-heading {
    margin-top: 50px;
    margin-bottom: 120px;
  }
}

@media screen and (max-width: 992px) {
  body.workflow-page .colorlib-work > .colorlib-narrow-content .projects-title.colorlib-heading {
    margin-top: 40px;
    margin-bottom: 80px;
  }
}

@media screen and (max-width: 768px) {
  body.workflow-page .colorlib-work > .colorlib-narrow-content .projects-title.colorlib-heading {
    margin-top: 30px;
    margin-bottom: 50px;
  }
}

@media screen and (max-width: 480px) {
  body.workflow-page .colorlib-work > .colorlib-narrow-content .projects-title.colorlib-heading {
    margin-top: 20px;
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 360px) {
  body.workflow-page .colorlib-work > .colorlib-narrow-content .projects-title.colorlib-heading {
    margin-top: 15px;
    margin-bottom: 20px;
  }
}

body.studio-page .studio-heading {
  right: -20px;
}

.heading-meta {
  margin-bottom: 15px;
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  color: #999999;
  font-weight: 500;
  letter-spacing: 5px; }

.about-img {
  width: 80%;
    height: 600px;
    margin-bottom: 30px;
    margin-left: 50px !important;
}
/* @media screen and (min-width: 1367px) {
  .about-img {
  width: 100%;
  max-width: contain;
    height: 600px;
    margin-bottom: 30px;
    margin-left: 50px !important;
  }
} */

.about-desc h3 {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-weight: 500; }

.padding {
  padding: 1em; }

.steps {
  display: block;
  position: relative; }
  .steps h3 {
    font-weight: 400;
    margin-bottom: 20px;
    color: rgba(0, 0, 0, 0.7);
    font-size: 14px;
    letter-spacing: 3px;
    line-height: 1.5;
    text-transform: uppercase; }
  .steps:before {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: #e6e6e6;
    z-index: -1; }
  .steps .icon {
    display: block;
    margin-bottom: 20px;
    position: relative;
    z-index: 0; }
    .steps .icon span {
      display: table;
      width: 40px;
      height: 40px;
      border: 1px solid #e6e6e6;
      text-align: center;
      background: #fff;
      -webkit-border-radius: 50%;
      -moz-border-radius: 50%;
      -ms-border-radius: 50%;
      border-radius: 50%;
      z-index: 1; }
      .steps .icon span i {
        display: table-cell;
        vertical-align: middle;
        color: #000; }
  .steps:hover i {
    color: #ad3e2f !important; }
  .steps.active i {
    color: #ad3e2f !important; }

.fancy-collapse-panel .panel-default > .panel-heading {
  padding: 0; }

.panel-heading a {
  padding: 15px 25px;
  display: block;
  width: 100%;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background-color: #000;
  color: #fff;
  position: relative;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  -ms-box-shadow: none !important;
  -o-box-shadow: none !important;
  box-shadow: none !important; }

.panel {
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  -ms-box-shadow: none !important;
  -o-box-shadow: none !important;
  box-shadow: none !important;
  border: none; }

.panel-heading a:after {
  font-family: "icomoon";
  content: "\ea0e";
  position: absolute;
  right: 20px;
  font-size: 20px;
  font-weight: 400;
  top: 50%;
  line-height: 1;
  margin-top: -10px; }

.panel-heading a.collapsed:after {
  content: "\ea1c"; }

.panel-heading a.collapsed {
  background: #fafafa;
  border: 1px solid #e6e6e6 !important;
  color: #333333; }

.panel-body {
  padding: 1.5em;
  margin-top: 5px;
  border: 1px solid #e6e6e6 !important; }

.services-wrap {
  display: block;
  margin-bottom: 40px;
  z-index: 0; }
  .services-wrap .services-img {
    height: 170px;
    display: block;
    z-index: -1; }
  .services-wrap .desc {
    width: 90%;
    z-index: 1;
    margin-top: -20px;
    background: #fafafa;
    padding: .8em .5em; }
    .services-wrap .desc h3 {
      font-weight: 500;
      margin-bottom: 20px;
      color: rgba(0, 0, 0, 0.7);
      font-size: 14px;
      letter-spacing: 3px;
      line-height: 1.5;
      margin-bottom: 0;
      text-transform: uppercase; }

.move-bottom {
  margin-top: 100px; }
  @media screen and (max-width: 768px) {
    .move-bottom {
      margin-top: 0; } }

.colorlib-feature {
  text-align: left;
  width: 100%;
  float: left;
  margin-bottom: 40px;
  position: relative; }
  .colorlib-feature .colorlib-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    display: table;
    text-align: center;
    background: rgba(0, 0, 0, 0.03);
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    border-radius: 2px; }
    .colorlib-feature .colorlib-icon i {
      display: table-cell;
      vertical-align: middle;
      color: #ad3e2f;
      font-size: 60px;
      height: 100px; }
      @media screen and (max-width: 1200px) {
        .colorlib-feature .colorlib-icon i {
          font-size: 40px; } }
  .colorlib-feature .colorlib-text {
    padding-left: 120px;
    width: 100%; }
    .colorlib-feature .colorlib-text h2, .colorlib-feature .colorlib-text h3 {
      margin: 0;
      padding: 0; }
    .colorlib-feature .colorlib-text h3 {
      font-weight: 500;
      margin-bottom: 20px;
      color: rgba(0, 0, 0, 0.7);
      font-size: 14px;
      letter-spacing: 3px;
      text-transform: uppercase; }
  .colorlib-feature.colorlib-feature-sm .colorlib-text {
    margin-top: 30px; }
  .colorlib-feature.colorlib-feature-sm .colorlib-icon i {
    color: #ad3e2f;
    font-size: 40px; }
    @media screen and (max-width: 1200px) {
      .colorlib-feature.colorlib-feature-sm .colorlib-icon i {
        font-size: 28px; } }

.colorlib-feature-lg .colorlib-text h2, .colorlib-feature-lg .colorlib-text h3 {
  margin: 0;
  padding: 0; }

.colorlib-feature-lg .colorlib-text h3 {
  font-weight: 500;
  margin-bottom: 20px;
  color: rgba(0, 0, 0, 0.8);
  font-size: 14px;
  letter-spacing: .2em;
  text-transform: uppercase; }

.blog-entry {
  width: 100%;
  float: left;
  /* background: #fff; */
  margin-bottom: 3em; }
  @media screen and (max-width: 768px) {
    .blog-entry {
      margin-bottom: 3em; } }
  .blog-entry .blog-img {
    width: 100%;
    float: left;
    overflow: hidden;
    position: relative;
    z-index: 1;
    margin-bottom: 25px; }
    .blog-entry .blog-img img {
      position: relative;
      max-width: 100%;
      -webkit-transform: scale(1);
      -moz-transform: scale(1);
      -ms-transform: scale(1);
      -o-transform: scale(1);
      transform: scale(1);
      -webkit-transition: 0.3s;
      -o-transition: 0.3s;
      transition: 0.3s; }
  .blog-entry .desc h3 {
    font-size: 16px;
    margin-bottom: 25px;
    line-height: auto;
    font-weight: 500;
    /* text-transform: uppercase; */
    /* letter-spacing: 1px; */
    } 
    .blog-entry .desc h3 a {
      color: #000;
      text-decoration: none; }
  .blog-entry .desc span {
    display: block;
    margin-bottom: 20px;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.4) !important;
    /* text-transform: uppercase; */
    /* letter-spacing: 3px; */
    font-weight: 400; }
    .blog-entry .desc span small i {
      color: #999999; }
  .blog-entry .desc .lead {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000; }
  .blog-entry:hover .blog-img img {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1); }

.overlap {
  margin-top: 5em;
  background: #fff;
  padding: 30px; }
  @media screen and (max-width: 768px) {
    .overlap {
      margin-top: 2em; } }

.project {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  height: 300px;
  width: 100%;
  display: block;
  margin-bottom: 5px; }
  .project .desc {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s; }
    .project .desc .con {
      padding: 20px;
      display: block;
      position: relative;
      height: 300px; }
      .project .desc .con .icon {
        position: absolute;
        bottom: 20px;
        left: 20px;
        right: 20px; }
        .project .desc .con .icon span {
          display: inline;
          padding-right: 5px; }
          .project .desc .con .icon span a {
            color: #cccccc;
            padding: 5px;
            background: #333333;
            -webkit-border-radius: 4px;
            -moz-border-radius: 4px;
            -ms-border-radius: 4px;
            border-radius: 4px; }
        .project .desc .con .icon i {
          font-size: 16px;
          color: #cccccc; }
    .project .desc h3 {
      font-size: 16px;
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 1px;
      -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
      -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
      transition: opacity 0.3s, -webkit-transform 0.3s;
      -o-transition: transform 0.3s, opacity 0.3s;
      transition: transform 0.3s, opacity 0.3s;
      transition: transform 0.3s, opacity 0.3s, -webkit-transform 0.3s;
      -webkit-transform: translate3d(0, -15px, 0);
      transform: translate3d(0, -15px, 0);
      margin-bottom: 15px; }
      .project .desc h3 a {
        color: #fff; }
    .project .desc span {
      display: block;
      color: #999999;
      font-size: 13px;
      -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
      -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
      transition: opacity 0.3s, -webkit-transform 0.3s;
      -o-transition: transform 0.3s, opacity 0.3s;
      transition: transform 0.3s, opacity 0.3s;
      transition: transform 0.3s, opacity 0.3s, -webkit-transform 0.3s;
      -webkit-transform: translate3d(0, 15px, 0);
      transform: translate3d(0, 15px, 0); }
      .project .desc span a {
        color: #000; }
    @media screen and (max-width: 768px) {
      .project .desc {
        opacity: 1;
        background: rgba(0, 0, 0, 0.4); }
        .project .desc h3 {
          font-style: 28px;
          -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
          color: #000; }
        .project .desc span {
          -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0); } }
  .project:hover .desc {
    opacity: 1; }
    .project:hover .desc h3 {
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0); }
    .project:hover .desc span {
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0); }

.project-desc h2 {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px; }

.project-desc span {
  display: block;
  color: #666666;
  font-size: 13px;
  margin-bottom: 15px; }
  .project-desc span a {
    color: #666666; }

.project-desc .icon span {
  display: inline;
  padding-right: 5px; }

.project-desc .btn-download {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 400;
  text-decoration: underline; }

#colorlib-counter {
  position: relative;
  clear: both;
  margin-bottom: 5em; }

.colorlib-counters {
  padding: 3em 0;
  background-size: cover;
  background-attachment: fixed;
  background-position: center center; }
  .colorlib-counters .overlay {
    z-index: 0;
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.4); }
  .colorlib-counters .icon {
    width: 100px;
    height: 100px;
    display: table;
    margin: 0 auto;
    margin-bottom: 20px; }
    .colorlib-counters .icon i {
      display: table-cell;
      vertical-align: middle;
      width: 100px;
      height: 100px;
      font-size: 50px;
      color: #ad3e2f;
      background: #fff;
      -webkit-border-radius: 50%;
      -moz-border-radius: 50%;
      -ms-border-radius: 50%;
      border-radius: 50%; }
  .colorlib-counters .counter-wrap {
    border: 1px solid red !important; }
  .colorlib-counters .colorlib-counter {
    font-size: 40px;
    display: block;
    color: white;
    font-family: 'Public Sans', Arial, sans-serif;
    width: 100%;
    font-weight: 700;
    margin-bottom: .3em; }
  .colorlib-counters .colorlib-counter-label {
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 5px;
    margin-bottom: 2em;
    display: block; }

.colorlib-lead {
  font-size: 18px;
  line-height: 1.5; }

#get-in-touch {
  padding: 3em 0; }
  #get-in-touch .btn-learn {
    padding: 15px 30px !important;
    font-size: 13px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    border-radius: 30px; }

/* Contact form panel (Contact page) */
.contact-form-panel {
  background: #f6f2dc96;
  padding: 40px 60px;
  border: 1px solid #cacaca;
}

@media screen and (max-width: 768px) {
  .contact-form-panel {
    padding: 25px 20px;
  }
}

.contact-form-row {
  margin-bottom: 25px;
}

.contact-form-row label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 300;
}

.required-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  font-size: 11px;
  color: #fff;
  background: #e53935;
  border-radius: 2px;
}

.contact-input,
.contact-textarea {
  width: 100%;
  background: #f5f5f5;
  border-radius: 0;
}

.contact-textarea {
  height: auto;
}

.contact-form-actions {
  margin-top: 35px;
}

.contact-intro h3 {
  font-size: 20px;
  text-align: center;
  margin-bottom: 15px;
}

.contact-intro p {
  text-align: center;
  font-size: 13px;
  margin-bottom: 25px;
}

.contact-divider {
  border: none;
  border-top: 1px solid #c8c8c8;
  margin: 20px 0 30px;
}

.contact-question {
  margin-bottom: 10px;
}

.contact-radio {
  display: inline-block;
  margin-right: 30px;
  font-size: 14px;
}

.contact-radio input {
  margin-right: 8px;
}

.colorlib-social {
  padding: 0;
  margin: 0;
  text-align: center; }
  .colorlib-social li {
    padding: 0;
    margin: 0;
    list-style: none;
    display: -moz-inline-stack;
    display: inline-block;
    zoom: 1;
    display: inline; }
    .colorlib-social li a {
      font-size: 22px;
      color: #000;
      padding: 10px;
      display: -moz-inline-stack;
      display: inline-block;
      zoom: 1;
      display: inline;
      -webkit-border-radius: 7px;
      -moz-border-radius: 7px;
      -ms-border-radius: 7px;
      border-radius: 7px; }
      @media screen and (max-width: 768px) {
        .colorlib-social li a {
          padding: 10px 8px; } }
      .colorlib-social li a:hover {
        color: #ad3e2f; }
      .colorlib-social li a:hover, .colorlib-social li a:active, .colorlib-social li a:focus {
        outline: none;
        text-decoration: none;
        color: #ad3e2f; }

#map {
  width: 100%;
  height: 700px; }
  @media screen and (max-width: 768px) {
    #map {
      height: 200px; } }

.colorlib-bg-color {
  background: #fafafa;
  position: relative; }

/* Workflow page: video left, steps right (desktop rules in media queries below) */
.workflow-layout {
  width: min(100%, 1180px);
  max-width: 100%;
  margin: 0 0 48px 0;
  margin-right: auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.workflow-layout-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 32px;
}

.workflow-video-col {
  flex: 0 0 44%;
  max-width: 44%;
  position: sticky;
  top: 20px;
  align-self: flex-start;
  display: flex;
  min-height: calc(100vh - 160px);
  max-height: calc(100vh - 120px);
}

/* Desktop (769–1366px) — left-aligned panel, portrait video, text inside decorative lines */
@media screen and (min-width: 769px) and (max-width: 1366px) {
  body.workflow-page {
    --workflow-block-height: clamp(580px, 68vh, 760px);
    --workflow-video-width: 300px;
  }

  body.workflow-page #colorlib-main {
    padding-left: 20px;
    padding-right: 32px;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  body.workflow-page .colorlib-narrow-content {
    padding-left: 0;
    padding-right: 2.5em;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  body.workflow-page .projects-title {
    position: relative;
    right: 20px !important;
    left: -30px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left !important;
    max-width: 100%;
    box-sizing: border-box;
  } 

  body.workflow-page .workflow-layout.workflow-minwidth,
  body.workflow-page .workflow-minwidth.workflow-layout {
    width: fit-content !important;
    max-width: min(860px, 100%) !important;
    margin: 0 0 64px 0 !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    padding: 36px 52px 72px 16px;
    /* background: #f6f2dc; */
    box-sizing: border-box;
    overflow: visible;
  }

  body.workflow-page .workflow-layout-row {
    gap: 40px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: nowrap;
    max-width: 100%;
    min-height: var(--workflow-block-height);
  }

  body.workflow-page .workflow-video-col {
    flex: 0 0 var(--workflow-video-width);
    width: var(--workflow-video-width);
    max-width: var(--workflow-video-width);
    margin-right: 0;
    height: var(--workflow-block-height);
    min-height: var(--workflow-block-height);
    max-height: var(--workflow-block-height);
    position: relative;
    top: auto;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
  }

  body.workflow-page .workflow-video-wrap {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    min-height: var(--workflow-block-height);
    height: 100%;
    max-height: 100%;
    aspect-ratio: auto;
    background: #1a1a1a;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid #1a1a1a;
    display: flex;
    align-items: stretch;
  }

  body.workflow-page .workflow-inline-video {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center center;
    vertical-align: top;
  }

  body.workflow-page .workflow-steps-col.workflow-section {
    flex: 1 1 auto;
    min-width: 0;
    height: auto;
    min-height: var(--workflow-block-height);
    max-height: none;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    padding: 0 20px 0 0 !important;
    background: transparent;
    overflow: visible;
    box-sizing: border-box;
  }

  body.workflow-page .workflow-steps-col .workflow-inner {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: clamp(10px, 1.4vh, 16px);
    width: 100%;
    min-height: 0;
    height: auto;
    max-height: none;
    max-width: 100%;
    margin: 0;
    padding-left: 0;
    overflow: visible;
  }

  body.workflow-page .workflow-steps-col .workflow-step {
    padding: 0;
    column-gap: 20px;
    row-gap: 0;
    align-items: flex-start;
    flex-wrap: nowrap;
    max-width: 100%;
    box-sizing: border-box;
    flex: 0 0 auto;
  }

  body.workflow-page .workflow-steps-col .workflow-step:first-child {
    padding-top: 0;
  }

  body.workflow-page .workflow-steps-col .workflow-step:last-child {
    padding-bottom: 0;
  }

  body.workflow-page .workflow-steps-col .workflow-number {
    flex: 0 0 48px;
    width: 48px;
    font-size: 40px;
    text-align: left;
    align-self: flex-start;
    line-height: 1;
  }

  body.workflow-page .workflow-steps-col .workflow-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    gap: 4px;
  }

  body.workflow-page .workflow-steps-col .workflow-content p {
    max-width: 260px;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    margin-bottom: 10 px;
  }

  body.workflow-page .workflow-steps-col .workflow-content h3 {
    max-width: none;
    font-size: 19px;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2;
    align-self: flex-start;
    flex: 0 0 auto;
    flex-shrink: 0;
    min-width: 0;
    white-space: normal;
    overflow: visible !important;
    text-overflow: clip;
  }
}

/* Big screens (1367px+): wide video + offset layout */
@media screen and (min-width: 1367px) {
  body.workflow-page {
    --workflow-block-height: clamp(580px, 68vh, 760px);
    --workflow-video-width: min(38vw, 440px);
  }

  /* Big screen: match Contact page heading (right-aligned) */
  body.workflow-page .colorlib-work > .colorlib-narrow-content,
  body.workflow-page .colorlib-narrow-content {
    padding-left: 0;
    padding-right: 2.5em;
    max-width: 100%;
    box-sizing: border-box;
  }

  body.workflow-page .projects-title,
  body.workflow-page .colorlib-work > .colorlib-narrow-content .projects-title.colorlib-heading {
    position: relative !important;
    right: -20px !important;
    left: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: right !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.workflow-page .workflow-layout.workflow-minwidth {
    width: min(100%, 1120px);
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 64px;
    margin-left: clamp(72px, 71vw, 160px);
    margin-right: auto;
    padding: 0 40px 64px 0;
    background: transparent;
    overflow: visible;
  }

  body.workflow-page .workflow-layout-row {
    gap: 40px;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: var(--workflow-block-height);
  }

  body.workflow-page .workflow-video-col {
    flex: 0 0 var(--workflow-video-width);
    width: var(--workflow-video-width);
    max-width: var(--workflow-video-width);
    height: var(--workflow-block-height);
    min-height: var(--workflow-block-height);
    max-height: var(--workflow-block-height);
    align-self: flex-start;
    display: flex;
    flex-direction: column;
  }

  body.workflow-page .workflow-video-wrap {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    height: 100%;
    max-height: 100%;
    aspect-ratio: auto;
    overflow: hidden;
    border: 1px solid #1a1a1a;
    box-sizing: border-box;
    display: flex;
    align-items: stretch;
  }

  body.workflow-page .workflow-inline-video {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  body.workflow-page .workflow-steps-col.workflow-section {
    flex: 1 1 auto;
    max-width: min(640px, 46vw);
    height: auto;
    min-height: var(--workflow-block-height);
    max-height: none;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    padding: 0 clamp(40px, 4vw, 68px) 0 0;
    background: transparent;
    overflow: hidden;
    box-sizing: border-box;
  }

  body.workflow-page .workflow-steps-col .workflow-inner {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: clamp(10px, 1.4vh, 16px);
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto;
    max-height: none;
    margin-left: 56px;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  body.workflow-page .workflow-steps-col .workflow-step {
    padding: 0;
    column-gap: 28px;
    row-gap: 0;
    align-items: flex-start;
    flex-wrap: nowrap;
    min-width: 0;
    max-width: 100%;
  }

  body.workflow-page .workflow-steps-col .workflow-step:first-child {
    padding-top: 0;
  }

  body.workflow-page .workflow-steps-col .workflow-number {
    flex: 0 0 88px;
    width: 88px;
    font-size: 48px;
    text-align: left;
    align-self: flex-start;
    line-height: 1;
  }

  body.workflow-page .workflow-steps-col .workflow-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    gap: 6px;
    overflow: hidden;
    box-sizing: border-box;
  }

  body.workflow-page .workflow-steps-col .workflow-content p {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.55;
    padding-bottom: 20px;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  body.workflow-page .workflow-steps-col .workflow-content h3 {
    font-size: 22px;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2;
    align-self: flex-start;
    flex: 0 1 auto;
    flex-shrink: 1;
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: clip;
  }
}

@media screen and (min-width: 1600px) {
  body.workflow-page {
    --workflow-video-width: min(40vw, 480px);
  }

  body.workflow-page .workflow-layout.workflow-minwidth {
    margin-left: clamp(96px, 8.5vw, 220px);
  }

  body.workflow-page .workflow-video-col {
    width: var(--workflow-video-width);
    max-width: var(--workflow-video-width);
  }

  body.workflow-page .workflow-video-wrap {
    max-width: var(--workflow-video-width);
  }

  body.workflow-page .workflow-steps-col.workflow-section {
    max-width: min(600px, 42vw);
    padding-right: clamp(48px, 4.5vw, 76px);
  }
}

.workflow-steps-col.workflow-section {
  flex: 1 1 auto;
  min-width: 0;
  min-height: auto;
  padding: 24px 20px 48px 16px;
  box-sizing: border-box;
  
}

.workflow-steps-col .workflow-inner {
  max-width: 100%;
  margin: 0;
}

/* Workflow page */
.workflow-section {
  /* Beige panel like the reference screenshot */
  min-height: auto;
  padding: 48px 72px 0;
  box-sizing: border-box;
}

.workflow-inner {
  max-width: 900px;
  margin: 0;
}

body.workflow-page .workflow-steps-col .workflow-inner {
  margin-left: 0;
  margin-right: 0;
}

.workflow-step {
  position: relative;
  padding: 24px 0 0 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  column-gap: 24px;
  row-gap: 0;
}

.workflow-number {
  font-size: 48px;
  font-weight: 700;
  color: #000;
  flex: 0 0 88px;
  width: 88px;
  text-align: left;
  line-height: 1;
  margin: 0;
  padding: 0;
  align-self: flex-start;
  transition: color 0.25s ease;
}

.workflow-number-faded {
  color: #b5b09a;
}

.workflow-step:first-child .workflow-number,
.workflow-step:first-child .workflow-content h3,
.workflow-step:first-child .workflow-content p {
  color: #000;
}

.workflow-step:not(:first-child) .workflow-number,
.workflow-step:not(:first-child) .workflow-content h3,
.workflow-step:not(:first-child) .workflow-content p {
  color: #b5b09a;
}

.workflow-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  gap: 6px;
  transition: color 0.25s ease;
}

.workflow-content h3 {
  font-size: 22px;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.25;
  flex: 0 0 auto;
  min-width: 0;
  align-self: flex-start;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  color: inherit; /* override global h3 color */
}

.workflow-content p {
  font-size: 16px;
  line-height: 1.55;
  max-width: 100%;
  width: 100%;
  flex: 0 0 auto;
  margin: 0;
  transition: color 0.25s ease;
}

@media screen and (max-width: 768px) {
  .workflow-layout {
    padding: 0 15px 24px;
    margin-bottom: 24px;
    background: transparent;
  }

  .workflow-layout-row {
    flex-direction: column;
    gap: 0;
  }

  .workflow-video-col {
    flex: none;
    max-width: 100%;
    width: 100%;
    position: static;
    margin-bottom: 0;
    min-height: 0;
    max-height: none;
  }

  .workflow-video-wrap {
    min-height: 0;
    max-height: none;
  }

  .workflow-inline-video {
    min-height: 0;
    max-height: 62vh;
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .workflow-steps-col.workflow-section {
    padding: 20px 16px 36px 0px;
    width: 100%;
  }

  .workflow-section {
    padding: 40px 20px;
  }
  .workflow-step {
    padding: 20px 0 0 0;
    flex-direction: row;
    flex-wrap: nowrap;
    column-gap: 12px;
    row-gap: 0;
    align-items: flex-start;
  }
  .workflow-number {
    font-size: 40px;
    flex: 0 0 auto;
    width: auto;
  }
  .workflow-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    gap: 6px;
    position: static;
    padding-left: 0;
    margin-top: 0;
  }
}

/* Workflow: default — step 01 black, rest muted; on hover, active step black, others fade */
.workflow-section:has(.workflow-step:hover) .workflow-step:not(:hover) .workflow-number,
.workflow-section:has(.workflow-step:hover) .workflow-step:not(:hover) .workflow-content h3,
.workflow-section:has(.workflow-step:hover) .workflow-step:not(:hover) .workflow-content p {
  color: rgba(0, 0, 0, 0.25) !important;
}

.workflow-section:has(.workflow-step:hover) .workflow-step:hover .workflow-number,
.workflow-section:has(.workflow-step:hover) .workflow-step:hover .workflow-content h3,
.workflow-section:has(.workflow-step:hover) .workflow-step:hover .workflow-content p {
  color: #000 !important;
}

/* Workflow inline video — poster preview, opens centered modal on click */
body.workflow-page .workflow-video-wrap {
  position: relative;
  cursor: pointer;
}

body.workflow-page .workflow-video-wrap:focus-visible {
  outline: 2px solid #ad3e2f;
  outline-offset: 3px;
}

body.workflow-page .workflow-inline-video {
  pointer-events: none;
  display: block;
}

body.workflow-page .workflow-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

body.workflow-page .workflow-video-play::after {
  content: "";
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 58% center;
  background-size: 28px 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* Workflow video modal */
.workflow-video-modal {
  padding: 0;
  margin: 0;
  border: 0;
  width: 100vw;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100vh;
  background: transparent;
  box-sizing: border-box;
}

.workflow-video-modal::backdrop {
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}

.workflow-video-modal__shell {
  position: relative;
  width: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 20px 28px;
  box-sizing: border-box;
}

.workflow-video-modal__close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top, 0px));
  right: max(12px, env(safe-area-inset-right, 0px));
  z-index: 10;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.workflow-video-modal__close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.workflow-video-modal__player {
  display: block;
  width: min(92vw, 960px);
  max-height: calc(100vh - 100px);
  max-height: calc(100dvh - 100px);
  height: auto;
  background: #000;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
}

.pagination {
  padding: 0; }
  .pagination li {
    margin: 2px; }
    .pagination li a {
      color: #000;
      background: transparent;
      color: #000;
      margin: 2px;
      -webkit-border-radius: 0;
      -moz-border-radius: 0;
      -ms-border-radius: 0;
      border-radius: 0; }
      .pagination li a:first-child {
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        -ms-border-radius: 2px;
        border-radius: 2px; }
      .pagination li a:hover, .pagination li a:focus {
        background: #ad3e2f;
        color: #fff;
        border: 1px solid #ad3e2f; }
      @media screen and (max-width: 768px) {
        .pagination li a {
          padding: 7px 15px; } }
    .pagination li.active a {
      background: #ad3e2f;
      border: 1px solid #ad3e2f !important; }
      .pagination li.active a:hover, .pagination li.active a:focus {
        background: #ad3e2f;
        color: #fff;
        border: 1px solid #ad3e2f !important; }

.btn {
  margin-right: 4px;
  margin-bottom: 4px;
  font-family: 'Public Sans', Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  border-radius: 2px;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  padding: 8px 15px !important; }
  .btn.btn-sm {
    padding: 4px 15px !important; }
  .btn.btn-md {
    padding: 8px 20px !important; }
  .btn.btn-lg {
    padding: 18px 36px !important; }
  .btn:hover, .btn:active, .btn:focus {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    outline: none !important; }

.btn-primary {
  background: #ad3e2f;
  color: #fff;
  border: 2px solid #ad3e2f; }
  .btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background: #ffc91a !important;
    border-color: #ffc91a !important; }
  .btn-primary.btn-outline {
    background: transparent;
    color: #ad3e2f;
    border: 2px solid #ad3e2f; }
    .btn-primary.btn-outline:hover, .btn-primary.btn-outline:focus, .btn-primary.btn-outline:active {
      background: #ad3e2f;
      color: #fff; }

.btn-success {
  background: #5cb85c;
  color: #fff;
  border: 2px solid #5cb85c; }
  .btn-success:hover, .btn-success:focus, .btn-success:active {
    background: #4cae4c !important;
    border-color: #4cae4c !important; }
  .btn-success.btn-outline {
    background: transparent;
    color: #5cb85c;
    border: 2px solid #5cb85c; }
    .btn-success.btn-outline:hover, .btn-success.btn-outline:focus, .btn-success.btn-outline:active {
      background: #5cb85c;
      color: #fff; }

.btn-info {
  background: #5bc0de;
  color: #fff;
  border: 2px solid #5bc0de; }
  .btn-info:hover, .btn-info:focus, .btn-info:active {
    background: #46b8da !important;
    border-color: #46b8da !important; }
  .btn-info.btn-outline {
    background: transparent;
    color: #5bc0de;
    border: 2px solid #5bc0de; }
    .btn-info.btn-outline:hover, .btn-info.btn-outline:focus, .btn-info.btn-outline:active {
      background: #5bc0de;
      color: #fff; }

.btn-warning {
  background: #f0ad4e;
  color: #fff;
  border: 2px solid #f0ad4e; }
  .btn-warning:hover, .btn-warning:focus, .btn-warning:active {
    background: #eea236 !important;
    border-color: #eea236 !important; }
  .btn-warning.btn-outline {
    background: transparent;
    color: #f0ad4e;
    border: 2px solid #f0ad4e; }
    .btn-warning.btn-outline:hover, .btn-warning.btn-outline:focus, .btn-warning.btn-outline:active {
      background: #f0ad4e;
      color: #fff; }

.btn-danger {
  background: #d9534f;
  color: #fff;
  border: 2px solid #d9534f; }
  .btn-danger:hover, .btn-danger:focus, .btn-danger:active {
    background: #d43f3a !important;
    border-color: #d43f3a !important; }
  .btn-danger.btn-outline {
    background: transparent;
    color: #d9534f;
    border: 2px solid #d9534f; }
    .btn-danger.btn-outline:hover, .btn-danger.btn-outline:focus, .btn-danger.btn-outline:active {
      background: #d9534f;
      color: #fff; }

.btn-outline {
  background: none;
  border: 2px solid gray;
  font-size: 16px;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s; }
  .btn-outline:hover, .btn-outline:focus, .btn-outline:active {
    -webkit-box-shadow: none;
    box-shadow: none; }

.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  background: transparent;
  border: 1px solid #979797;
  height: 54px;
  /* font-size: 16px; */
  font-weight: 400;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  border-radius: 0; }
  .form-control:active, .form-control:focus {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid #979797;
    /* background: #f0f0f0; */
   }

#message {
  height: 130px; }

.colorlib-nav-toggle {
  cursor: pointer;
  text-decoration: none; }
  .colorlib-nav-toggle.active i::before, .colorlib-nav-toggle.active i::after {
    background: #000; }
  .colorlib-nav-toggle.dark.active i::before, .colorlib-nav-toggle.dark.active i::after {
    background: #000; }
  .colorlib-nav-toggle:hover, .colorlib-nav-toggle:focus, .colorlib-nav-toggle:active {
    outline: none;
    border-bottom: none !important; }
  .colorlib-nav-toggle i {
    position: relative;
    display: -moz-inline-stack;
    display: inline-block;
    zoom: 1;
    display: inline;
    width: 30px;
    height: 2px;
    color: #000;
    font: bold 14px/.4 Helvetica;
    text-transform: uppercase;
    text-indent: -55px;
    background: #000;
    -webkit-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out; }
    .colorlib-nav-toggle i::before, .colorlib-nav-toggle i::after {
      content: '';
      width: 30px;
      height: 2px;
      background: #000;
      position: absolute;
      left: 0;
      -webkit-transition: 0.2s;
      -o-transition: 0.2s;
      transition: 0.2s; }
  .colorlib-nav-toggle.dark i {
    position: relative;
    color: #000;
    background: #000;
    -webkit-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out; }
    .colorlib-nav-toggle.dark i::before, .colorlib-nav-toggle.dark i::after {
      background: #000;
      -webkit-transition: 0.2s;
      -o-transition: 0.2s;
      transition: 0.2s; }

.colorlib-nav-toggle i::before {
  top: -7px; }

.colorlib-nav-toggle i::after {
  bottom: -7px; }

.colorlib-nav-toggle:hover i::before {
  top: -10px; }

.colorlib-nav-toggle:hover i::after {
  bottom: -10px; }

.colorlib-nav-toggle.active i {
  background: transparent; }

.colorlib-nav-toggle.active i::before {
  top: 0;
  -webkit-transform: rotateZ(45deg);
  -moz-transform: rotateZ(45deg);
  -ms-transform: rotateZ(45deg);
  -o-transform: rotateZ(45deg);
  transform: rotateZ(45deg); }

.colorlib-nav-toggle.active i::after {
  bottom: 0;
  -webkit-transform: rotateZ(-45deg);
  -moz-transform: rotateZ(-45deg);
  -ms-transform: rotateZ(-45deg);
  -o-transform: rotateZ(-45deg);
  transform: rotateZ(-45deg); }

.colorlib-nav-toggle {
  position: fixed;
  left: -4px;
  top: 0px;
  z-index: 9999;
  cursor: pointer;
  opacity: 1;
  visibility: hidden;
  padding: 20px;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s; }
  @media screen and (max-width: 768px) {
    .colorlib-nav-toggle {
      opacity: 1;
      visibility: visible; } }

/* Mobile back link (injected by main.js on non-home pages) */
.mobile-back-btn {
  display: none;
}

@media screen and (max-width: 768px) {
  .mobile-back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: max(6px, env(safe-area-inset-top, 0px));
    right: max(10px, env(safe-area-inset-right, 0px));
    /* Above .preloader (99999) so the first tap goes to Projects, not through the loader layer */
    z-index: 100000;
    width: 46px;
    height: 46px;
    padding: 0;
    color: #ad3e2f;
    background: rgba(246, 242, 220, 0.94);
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-back-btn:focus-visible {
    outline: 2px solid #ad3e2f;
    outline-offset: 2px;
  }

  .mobile-back-btn .icon-arrow-back {
    font-size: 20px;
    line-height: 1;
  }
}

@media screen and (max-width: 480px) {
  .col-xxs-12 {
    float: none;
    width: 100%; } }

.row-bottom-padded-lg {
  padding-bottom: 7em; }
  @media screen and (max-width: 768px) {
    .row-bottom-padded-lg {
      padding-bottom: 1em; } }

.row-bottom-padded-md {
  padding-bottom: 3em; }
  @media screen and (max-width: 768px) {
    .row-bottom-padded-md {
      padding-bottom: 1em; } }

.row-bottom-padded-sm {
  padding-bottom: 1em; }
  @media screen and (max-width: 768px) {
    .row-bottom-padded-sm {
      padding-bottom: 1em; } }

.col-padding {
  padding: 10px !important; }

/* .js .animate-box {
  opacity: 0; } */

#sticky_item {
  overflow: hidden;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s; }
  #sticky_item.is_stuck {
    margin-top: 10px; }
@media screen and (max-width: 992px) {
  .sticky-parent {
    clear: both;
    height: inherit !important;
    float: left;
    padding-top: 30px; } }

    #colorlib-main-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Project about column: align with Workflow spacing (desktop only, not big screen) */
@media screen and (min-width: 769px) and (max-width: 1366px) {
  body.project-overlay #colorlib-main .content-move {
    position: relative;
    right: -290px;
    box-sizing: border-box;
    padding: 40px 0 80px 0;
    max-width: 50%;
    font-family: 'Afacad', Arial, sans-serif;
  }
}

@media screen and (max-width: 768px) {
  body.project-overlay #colorlib-main .content-move {
    right: auto;
    padding-left: 0;
    margin-left: 0;
    font-family: 'Afacad', Arial, sans-serif;
      }

}

/* Contact intro block: desktop offset only (big screen uses line channel below) */
@media screen and (min-width: 769px) and (max-width: 1366px) {
  .contact-minwidth {
    position: relative;
    right: -290px;
    box-sizing: border-box;
    max-width: 50%;
    width: 100%;
  }
}

.workflow-minwidth {
    position: relative;
    right: 0;
    box-sizing: border-box;
    padding: 0;
    width: min(100%, 980px);
    max-width: 100%;
    margin: 0;
    margin-right: auto;
}

.team-minwidth {
    position: relative;
    right: -290px;
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
}

/* Mobile */
@media screen and (max-width: 768px) {

    .contact-minwidth,
    .workflow-minwidth,
    .team-minwidth {

        right: 0 !important;

        max-width: 100% !important;
        width: 100% !important;

        padding-left: 15px;
        padding-right: 15px;

        margin-left: 0;
        box-sizing: border-box;
    }

    .workflow-minwidth {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding-top: 20px;
        padding-bottom: 20px;
    }
}
    

/* ------------- */

#colorlib-main-menu ul li ul.dropdown{
display:none;
padding-left:15px;
}

#colorlib-main-menu ul li ul.dropdown li{
display:block;
}

.arrow{
font-size:12px;
float:right;
margin-top: 5px;
}

#colorlib-logo img{
  width: 152px;
  max-width: 88%;
  height: auto;
  margin-bottom: 10px;
  margin-left: 0;
}
#colorlib-logo-tamil img{
  width: 160px;
  max-width: 88%;
  height: auto;
  display: block;
  margin-left: 0;
}
.project{
  position: relative;
  background-size: cover;
  background-position: center;
  height: 300px;
}

/* Projects page: all tiles gray by default; hovered tile is color (desktop / hover-capable only). */
@media (hover: hover) and (pointer: fine) {
  body.projects-page .project {
    filter: grayscale(1);
    transition: filter 0.25s ease;
    will-change: filter;
  }
  body.projects-page .project:hover {
    filter: none;
  }
}

.project-text{
  position: absolute;
  bottom: -44px; /* half outside the image */
  left: 15px;
  right: 15px;
  width: auto;
  max-width: calc(100% - 30px);
  box-sizing: border-box;
  display: block;
  color: #ad3e2f;
  font-weight: bold;
  font-size: clamp(14px, 1.75vw, 20px);
  border-bottom: 3px solid #ad3e2f;
  padding-bottom: 6px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: normal;
  overflow-wrap: normal;
}
.project-text:hover { 
  color: #fff;
  border-bottom: 3px solid #fff;
}

/* body.projects-page .project-text {
  bottom: -30px;
} */

/* Projects page: a bit more breathing room below title before details row */
body.projects-page .project-details {
  margin-top: 45px;
  font-family: 'Afacad', Arial, sans-serif;
}

body.projects-page .project-details li,
body.projects-page .project-details li span,
body.projects-page .project-details li span b {
  font-family: inherit;
}

/* Projects listing details — slightly larger Afacad type (desktop + big screen) */
@media screen and (min-width: 769px) and (max-width: 1366px) {
  body.projects-page .project-details li {
    font-size: 13px;
  }

  body.projects-page .project-details li span {
    font-size: 13px;
    line-height: 1.1;
  }
}

.project-details {
  display: flex;
  justify-content: space-between;
  padding: 0;
  margin-top: 15px;
  list-style: none;
}

.project-details li{
  text-align: center;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 400;
  color: #adadad;
  text-transform: uppercase;
}

.project-details li span{
  display: block;
  margin-top: 2px;
  line-height: 0.8;
  color: #000;
  text-transform: none;
  text-align: left;
}

/* Projects grid details — slightly larger on big screens only */
@media screen and (min-width: 1367px) {
  body.projects-page .project-details li {
    font-size: 17px;
  }

  body.projects-page .project-details li span {
    font-size: 17px;
    line-height: 1.1;
  }
}

body.projects-page [data-bg].lazyloaded,
body.projects-page .project.lazyloaded {
  animation: none;
}

.blog-entry .desc{
  margin-top: 8px;
  text-align: left;
}

.blog-entry .desc h3{
  margin-bottom: 2px;   /* small gap */
  font-size: 14px;
}

.blog-entry .desc span{
  display: block;
  margin-top: 0;
  font-size: 14px;
  color: #777;
}

.team-entry {
  position: relative;
  max-width: 100%;
  /* Space for .project-text sitting below the image (matches Projects page) */
  padding-bottom: 3.5rem;
  box-sizing: border-box;
  overflow: visible;
}

.team-entry .blog-img {
  margin-bottom: 0;
}

.team-entry .desc h3 {
  position: absolute;
  left: 15px;
  bottom: -14px;   /* half outside the image */
  margin: 0;
  padding: 4px 8px;
  background: #fff;
  border-bottom: 3px solid #000;
}

/* Studio Our Team: same tile size as Projects .project cards */
.team-entry .project {
  width: 100%;
  max-width: 100%;
  height: 300px;
  min-height: 300px;
  aspect-ratio: auto;
  overflow: visible;
  margin-bottom: 5px;
  box-sizing: border-box;
}

.team-entry .project-text {
  bottom: -44px;
}

/* Studio about copy — Afacad (matches Contact / project about text) */
body.studio-page .about-desc p {
  font-family: 'Afacad', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

@media screen and (min-width: 769px) and (max-width: 1366px) {
  body.studio-page .about-desc p {
    font-size: 18px;
  }
}

@media screen and (min-width: 1367px) {
  body.studio-page .about-desc p {
    font-size: 20px;
  }
}

/* Studio — team cards: same frame size as Projects data-bg tiles */
body.studio-page .team-entry .project.team-card-media {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 300px;
  min-height: 300px;
  aspect-ratio: auto;
  overflow: visible;
  margin-bottom: 5px;
  background-color: #e8e4d8;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: none !important;
}

body.studio-page .team-entry .team-card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 1;
}

body.studio-page .team-entry .team-card-media picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 1;
}

body.studio-page .team-card-photo--offset-down {
  object-position: center 40% !important;
}

body.studio-page .team-entry .project-text {
  z-index: 2;
}

body.studio-page .team-entry .project-text:hover {
  color: #fff;
  border-bottom: 3px solid #fff;
}

/* Studio team tiles: same hover as Projects page (grayscale tile → color on hover) */
@media (hover: hover) and (pointer: fine) {
  body.studio-page .team-entry .project.team-card-media {
    filter: grayscale(1);
    transition: filter 0.25s ease;
    will-change: filter;
  }

  body.studio-page .team-entry:hover .project.team-card-media,
  body.studio-page .team-entry .project.team-card-media:hover {
    filter: none;
  }
}

@media screen and (max-width: 768px) {
  body.studio-page .team-entry .project.team-card-media {
    height: 300px;
    min-height: 300px;
    max-width: 100%;
  }

  body.studio-page .about-img {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 24px !important;
    height: 58vw !important;
    max-height: 360px !important;
    min-height: 220px !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  /* Arif M — nudge photo down slightly on mobile */
  body.studio-page .team-card-photo--offset-arif {
    object-position: center 28% !important;
  }
}

/* Studio team — big screen: 90% tile width, minimal gap between images */
@media screen and (min-width: 1367px) {
  body.studio-page .colorlib-blog .row:has(.studio-team-reveal) {
    margin-left: -4px;
    margin-right: -4px;
  }

  body.studio-page .studio-team-reveal {
    padding-left: 4px;
    padding-right: 4px;
  }

  body.studio-page .team-entry .project.team-card-media {
    width: 90%;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
  }

  body.studio-page .team-entry .team-card-media picture {
    overflow: hidden;
  }
}

/* Monopolix bold for all text */
@font-face {
  font-family: 'Monopolix';
  src: url('../fonts/Monopolix-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

body {
  font-family: 'Public Sans', Arial, sans-serif;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Onest', Arial, sans-serif; 
  font-weight: 700;
}  
#colorlib-main {
  background-size: cover;
  background-attachment: fixed;
}
.projects-image{
  margin-top: 20px;
}
.colorlib-Images .col-md-12{
  text-align: center;
}

#colorlib-hero{
  width: 100%;
  padding: 0;
  margin: 0;
}

.project-hero-bg{
  width: 100%;
}
.container-fluid{
  padding-left: 0;
  padding-right: 0;
}
.project-hero-bg{
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
}
.project-hero-bg{
  min-height: 100vh;
}

/* Project detail: main must stay in the column beside the fixed sidebar (not 100vw — that draws under the nav) */
body.project-overlay #colorlib-main {
  float: right;
  box-sizing: border-box;
}

/* Let .project-hero-title and .desc position against the full hero (js-fullheight), not the narrow half-column cell */
body.project-overlay #colorlib-hero .slider-text > .slider-text-inner {
  position: static;
}

/* Project pages: make hero image span behind sidebar (full viewport like home) */
@media screen and (min-width: 769px) {
  body.project-overlay #colorlib-hero {
    width: 100vw;
    margin-left: -16vw; /* pull hero under the 16% fixed sidebar */
  }
  body.project-overlay #colorlib-hero .project-hero-bg {
    width: 100vw;
  }
}

body.project-overlay #colorlib-aside.overlay-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 16%;
  padding: 3em;
  /* Project pages: match home hero (no panel fill over image) */
  background: transparent;
  background-image: none;
  box-shadow: none;
  border: none;
  z-index: 2000;
  transition: background 0.3s ease;
}


/* Optional: solid background after scroll, if you use sidebar-solid */
/* body.project-overlay.sidebar-solid #colorlib-aside.overlay-nav {
  background: #e0e0e0 url("../images/bg-decorative-lines.svg") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
} */
.colorlib-empty-space {
  height: 1000px;          /* full viewport height */
  background-color: #e0e0e0;  /* same light grey as screenshot */
  margin: 0;
  padding: 0;
}

/* Non-project pages: transition reveal (transition must live on base selector so it still applies after .is-visible) */
body:not(.project-overlay) #colorlib-main .animate-box {
  transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  backface-visibility: hidden;
}
body:not(.project-overlay) #colorlib-main .animate-box:not(.is-visible) {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
}
body:not(.project-overlay) #colorlib-main .animate-box.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Workflow page: faster bottom-up reveal for step numbers + copy */
body.workflow-page #colorlib-main .workflow-steps-col .animate-box {
  transition: opacity 0.32s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
}

body.workflow-page #colorlib-main .workflow-steps-col .animate-box:not(.is-visible) {
  transform: translate3d(0, 24px, 0);
}

/* Container for Project_1 images section — stay inside main column (no overlap with sidebar) */
.colorlib-Images .colorlib-narrow-content {
  max-width: 100%;
  margin: 0;
  padding: 0 2rem 0 0;
  box-sizing: border-box;
}

/* Project_1 images: smooth bottom-to-top animation, no jerk at start or end */
/* =======================================================
   Project_1 – professional image animation (bottom to top only)
   ======================================================= */
@keyframes projectImageReveal {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.colorlib-Images .animate-box {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  backface-visibility: hidden;
}

.colorlib-Images .animate-box.animated,
.colorlib-Images .animate-box.fadeInLeft,
.colorlib-Images .animate-box.fadeInRight,
.colorlib-Images .animate-box.fadeInUp {
  animation: projectImageReveal 0.65s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  transform: translate3d(0, 0, 0);
}

.colorlib-Images .animate-box.fadeInLeft.animated,
.colorlib-Images .animate-box.fadeInRight.animated,
.colorlib-Images .animate-box.fadeInUp.animated {
  animation: projectImageReveal 0.65s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  transform: translate3d(0, 0, 0);
}

/* Project_1 images */
.projects-image {
  display: block;
  margin: 0 auto 20px;   /* center horizontally, add spacing below */
  max-width: 100%;       /* never wider than its container */
  width: 100%;           /* fill the content width */
  height: auto;          /* keep aspect ratio */
}

/* Project_1 image animation independent from waypoint/animate-box */
.colorlib-Images .project-image-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  will-change: transform, opacity;
}
.colorlib-Images .project-image-reveal:nth-child(2) {
  animation-delay: 0.08s;
}
.colorlib-Images .project-image-reveal:nth-child(3) {
  animation-delay: 0.16s;
}
.colorlib-Images .project-image-reveal.is-visible {
  animation: projectImageRevealDirect 0.28s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

/* Studio team cards: no scroll reveal animation */
.studio-team-reveal,
.studio-team-reveal.is-visible {
  opacity: 1;
  transform: none;
  animation: none !important;
  will-change: auto;
}

@keyframes projectImageRevealDirect {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Project pages: scroll-reveal text — transitions (smooth, no keyframe snap/blink) */
body.project-overlay .colorlib-about .col-md-7 h2,
body.project-overlay .colorlib-about .col-md-7 p {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  backface-visibility: hidden;
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
body.project-overlay .colorlib-about .col-md-7 h2 {
  font-family: 'SK-MODERNIST', 'Onest', Arial, sans-serif !important;
  text-transform: capitalize;
}

/* Project detail pages — about title + description copy */
body.project-overlay .colorlib-about .col-md-7.content-move h2 {
  font-size: 28px;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

body.project-overlay .colorlib-about .col-md-7.content-move p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 0;
}

@media screen and (min-width: 769px) {
  body.project-overlay .colorlib-about .col-md-7.content-move h2 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 1.5rem;
  }

  body.project-overlay .colorlib-about .col-md-7.content-move p {
    font-size: 18px;
    line-height: 1.8;
  }
}

@media screen and (min-width: 1367px) {
  body.project-overlay .colorlib-about .col-md-7.content-move h2 {
    font-size: 36px;
    margin-bottom: 1.75rem;
  }

  body.project-overlay .colorlib-about .col-md-7.content-move p {
    font-size: 20px;
    line-height: 1.85;
  }
}

body.project-overlay .colorlib-about .col-md-7 h2.is-visible,
body.project-overlay .colorlib-about .col-md-7 p.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Project pages: gallery images — same smooth transition reveal (overrides keyframe animation) */
body.project-overlay .colorlib-Images .project-image-reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

body.project-overlay .colorlib-Images .project-image-reveal.is-visible {
  animation: none;
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Projects listing + detail pages: no bottom-up image/card animation */
body.projects-page #colorlib-main .animate-box,
body.projects-page #colorlib-main .animate-box.is-visible,
body.projects-page #colorlib-main .animate-box:not(.is-visible) {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

/* Studio Our Team: no bottom-up reveal on team cards or photos */
body.studio-page .studio-team-reveal,
body.studio-page .studio-team-reveal.is-visible,
body.studio-page .studio-team-reveal .animate-box,
body.studio-page .studio-team-reveal .animate-box.is-visible,
body.studio-page .studio-team-reveal .animate-box:not(.is-visible),
body.studio-page .studio-team-reveal .team-card-photo {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

/* Project detail pages: no bottom-up scroll reveal */
body.project-overlay .colorlib-Images .project-image-reveal,
body.project-overlay .colorlib-Images .project-image-reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

body.project-overlay .colorlib-about .col-md-7 h2,
body.project-overlay .colorlib-about .col-md-7 p,
body.project-overlay .colorlib-about .col-md-7 h2.is-visible,
body.project-overlay .colorlib-about .col-md-7 p.is-visible {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

body.project-overlay .colorlib-Images .animate-box,
body.project-overlay .colorlib-Images .animate-box.animated,
body.project-overlay .colorlib-Images .animate-box.fadeInUp,
body.project-overlay .colorlib-Images .animate-box.fadeInUp.animated {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

body.project-overlay .colorlib-Images .project-image-split__half + .project-image-split__half,
body.project-overlay .colorlib-Images .project-image-split.split-joined .project-image-split__half + .project-image-split__half {
  transform: none !important;
  transition: none !important;
}

/* Tall project images: two horizontal strips; scroll reveal uses same bottom-to-top as .project-image-reveal */
body.project-overlay .colorlib-Images .project-image-split {
  display: flex;
  flex-direction: column;
  /* Avoid flex-gap collapsing glitches during scroll transforms */
  gap: 0;
  width: 80%;
  max-width: 100%;
  margin: 20px auto 20px;
  box-sizing: border-box;
}

/* Space between the two split halves (stable during transforms) */
body.project-overlay .colorlib-Images .project-image-split__half + .project-image-split__half {
  margin-top: 0;
  /* JS drives this via --split-gap for scroll-progress joining (visual slide) */
  transform: translate3d(0, var(--split-gap, clamp(8px, 1.2vw, 16px)), 0);
  will-change: transform;
}

/* Animate the two halves to “join” (JS toggles .split-joined) */
body.project-overlay .colorlib-Images .project-image-split.split-joined .project-image-split__half + .project-image-split__half {
  transform: translate3d(0, 0, 0);
}

body.project-overlay .colorlib-Images .project-image-split__half {
  width: 100%;
  aspect-ratio: var(--split-piece-ratio, 1);
  background-repeat: no-repeat;
  background-size: 100% auto;
  overflow: hidden;
  border-radius: 2px;
}

body.project-overlay .colorlib-Images .project-image-split__half--top {
  background-position: center top;
}

body.project-overlay .colorlib-Images .project-image-split__half--bottom {
  background-position: center bottom;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .colorlib-Images .project-image-reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .studio-team-reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
  body.project-overlay .colorlib-about .col-md-7 h2,
  body.project-overlay .colorlib-about .col-md-7 p {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.radio-group{
  display: flex;
  gap: 20px;
}

.contact-radio{
  display: flex;
  align-items: center;
  gap: 5px;
}
.contact-content{
  text-align: left;
  font-size: 17px;
  font-weight: 100;
  line-height: 1.5;
}
.contact-call{
  margin-top: 100px;
  text-align: left;
  font-size: 17px;
  font-weight: 100;
  line-height: 1.5;
}
.contact-call h3{
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 10px;
}
.contact-call p{
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: #777;
}
.contact-content p {
  margin: 0 0 6px;
}

.contact-call {
  margin-top: 40px;
}

.contact-call-main {
  margin: 0 0 8px;
  font-weight: 700;
}

.contact-call-sub {
  margin: 0;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.45);
}

.contact-ph-no {
  margin-top: 35px;
}

.contact-phone-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
  font-weight: 700;
}

.contact-phone-icon {
  font-size: 22px;
}

.contact-phone-note {
  margin-top: 4px;
  font-size: 12px;
}
.contact-separator {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  margin: 30px 0 0;
  margin-bottom: 60px;
}

/* Contact page — copy + form: same family as project about text (Afacad) */
body.contact-page .contact-minwidth,
body.contact-page .contact-form-panel {
  font-family: 'Afacad', Arial, sans-serif;
}

body.contact-page .contact-input,
body.contact-page .contact-textarea,
body.contact-page .btn-send-message {
  font-family: 'Afacad', Arial, sans-serif;
}

/* Desktop (769–1366px) */
@media screen and (min-width: 769px) and (max-width: 1366px) {
  body.contact-page .contact-content,
  body.contact-page .contact-content p {
    font-size: 18px;
    line-height: 1.8;
    font-weight: 400;
  }

  body.contact-page .contact-call,
  body.contact-page .contact-call-main,
  body.contact-page .contact-call h3 {
    font-size: 19px;
    line-height: 1.45;
    font-weight: 600;
  }

  body.contact-page .contact-call-sub,
  body.contact-page .contact-call p {
    font-size: 16px;
    line-height: 1.65;
    font-weight: 500;
  }

  body.contact-page .contact-phone-wrap,
  body.contact-page .contact-phone-number {
    font-size: 28px;
  }

  body.contact-page .contact-phone-note {
    font-size: 14px;
  }

  body.contact-page .contact-intro h3 {
    font-size: 22px;
  }

  body.contact-page .contact-intro p {
    font-size: 15px;
  }

  body.contact-page .contact-form-row label,
  body.contact-page .contact-question,
  body.contact-page .contact-question strong {
    font-size: 17px;
  }

  body.contact-page .contact-radio,
  body.contact-page .contact-radio span {
    font-size: 16px;
  }

  body.contact-page .contact-input,
  body.contact-page .contact-textarea {
    font-size: 16px;
  }

  body.contact-page .contact-checkbox-wrap label,
  body.contact-page .contact-checkbox-label span {
    font-size: 16px;
  }
}

/* Big screen (1367px+) */
@media screen and (min-width: 1367px) {
  body.contact-page .contact-content,
  body.contact-page .contact-content p {
    font-size: 20px;
    line-height: 1.85;
    font-weight: 400;
  }

  body.contact-page .contact-call,
  body.contact-page .contact-call-main,
  body.contact-page .contact-call h3 {
    font-size: 21px;
    line-height: 1.45;
    font-weight: 600;
  }

  body.contact-page .contact-call-sub,
  body.contact-page .contact-call p {
    font-size: 18px;
    line-height: 1.7;
    font-weight: 500;
  }

  body.contact-page .contact-phone-wrap,
  body.contact-page .contact-phone-number {
    font-size: 30px;
  }

  body.contact-page .contact-phone-note {
    font-size: 18px;
  }

  body.contact-page .contact-intro h3 {
    font-size: 24px;
  }

  body.contact-page .contact-intro p {
    font-size: 20px;
  }

  body.contact-page .contact-form-row label,
  body.contact-page .contact-question,
  body.contact-page .contact-question strong {
    font-size: 20px;
  }

  body.contact-page .contact-radio,
  body.contact-page .contact-radio span {
    font-size: 20px;
  }

  body.contact-page .contact-input,
  body.contact-page .contact-textarea {
    font-size: 20px;
  }

  body.contact-page .contact-checkbox-wrap label,
  body.contact-page .contact-checkbox-label span {
    font-size: 20px;
  }
}

/* =======================================================
   Mobile responsive – all pages
   ======================================================= */
@media screen and (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    max-width: 100%;
  }

  #colorlib-main {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    padding-left: 0;
    padding-right: 0;
  }

  body.home-overlay.sidebar-solid #colorlib-main,
  body.project-overlay.sidebar-solid #colorlib-main {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
  }

  .colorlib-narrow-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Projects page (mobile): equal spacing for every tile (all 6) */
  body.projects-page .row.row-bottom-padded-md .col-md-4 {
    margin-top: 24px;
    padding-bottom: 18px;
  }

  /* Projects page (mobile): remove extra inline gap before MARAGATHAM row */
  body.projects-page .row.row-bottom-padded-md[style*="margin-top"] {
    margin-top: 0 !important;
  }

  /* Keep the first tile aligned to the content top */
  body.projects-page .row.row-bottom-padded-md:first-of-type .col-md-4:first-child {
    margin-top: 0;
  }

  /* Restore row/column spacing on mobile */
  #colorlib-main .colorlib-narrow-content .row {
    margin-left: 0;
    margin-right: 0;
  }
  #colorlib-main .colorlib-narrow-content .row > [class*="col-"]:first-child {
    padding-left: 0;
  }

  .projects-title {
    font-size: 60px;
    letter-spacing: -2px;
    margin-top: 30px;
    margin-bottom: 40px;
    text-align: center;
    width: 100%;
    display: block;
    font-weight: 700;
  }

  .studio-heading {
    right: auto;
  }

  .project-hero-title {
    top: 45%;
  }

  /* Project pages: hero title + red details bar fully visible (no fixed 785px offset) */
  body.project-overlay #colorlib-hero .slider-text > .slider-text-inner {
    padding-top: calc(1.25em + env(safe-area-inset-top, 0px));
    padding-left: 1em;
    padding-right: 1em;
    overflow: visible;
  }

  body.project-overlay #colorlib-hero .slider-text > .slider-text-inner .desc {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 80px;
    right: 0;
    padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  }

  body.project-overlay .project-hero-title {
    top: 38%;
    max-width: calc(100% - 2rem);
    padding-left: 0.75rem;
    padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
  }

  #colorlib-hero .project-details {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0;
    padding: 0;
  }

  #colorlib-hero .project-details li {
    font-size: 12px;
    text-align: left;
    display: block;
    width: 100%;
    margin: 0;
  }

  #colorlib-hero .project-details li span {
    font-size: 14px;
    display: inline;
    margin-top: 0;
    margin-left: 6px;
  }

  #colorlib-hero .project-details li span b {
    font-weight: 600;
  }

  .contact-form-panel {
    padding: 20px 16px;
  }

  .contact-form-row {
    margin-bottom: 18px;
  }

  .contact-form-row label {
    font-size: 13px;
  }

  .contact-content,
  .contact-call {
    font-size: 15px;
    padding-left: 0;
    padding-right: 0;
  }

  .contact-call {
    margin-top: 28px;
  }

  .contact-call-main {
    font-size: 16px;
  }

  .contact-call-sub {
    font-size: 12px;
  }

  .contact-ph-no {
    margin-top: 24px;
  }

  .contact-phone-wrap {
    font-size: 20px;
    flex-wrap: wrap;
  }

  .contact-phone-number {
    word-break: break-all;
  }

  .contact-phone-note {
    font-size: 11px;
  }

  .contact-separator {
    margin: 24px 0 30px;
  }

  .workflow-section {
    padding: 30px 16px;
  }

  .workflow-number {
    font-size: 36px;
  }

  .workflow-content h3 {
    font-size: 18px;
  }

  .workflow-content p {
    font-size: 13px;
  }

  .colorlib-Images .colorlib-narrow-content {
    padding: 0 16px;
  }

  .projects-image {
    margin-bottom: 16px;
  }

  .colorlib-empty-space {
    height: 100vh;
  }
}

@media screen and (max-width: 480px) {
  .projects-title {
    font-size: 80px;
    margin-top: 20px;
    margin-bottom: 28px;
    text-align: center;
    font-weight: 700;
  }

  .contact-form-panel {
    padding: 16px 12px;
  }

  .contact-radio {
    flex-direction: column;
    align-items: flex-start;
  }

  .workflow-number {
    font-size: 40px;
  }

  .workflow-content h3 {
    font-size: 16px;
  }
}
#colorlib-hero .flexslider .flex-control-nav {
  display: none !important;
}

.preloader {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 100vh;
	/* Prefer modern mobile viewport units when supported */
	min-height: 100svh;
	height: 100svh;
	height: 100dvh; /* dynamic viewport for mobile browser bars */
	/* iOS Safari fallback */
	height: -webkit-fill-available;
	min-height: -webkit-fill-available;
	z-index: 99999;
	/* Match site/preloader brand background (no gray bars) */
	background: #f6f2dc;
	background-size: cover;
	/* background-attachment: fixed; */
    background-attachment: scroll;
	transition: opacity 0.4s ease-out, visibility 0.4s ease-out;
	overflow: hidden;
}
/* Hide page until preloader finishes (non-home: visibility; home: opacity crossfade) */
body.studio-page:not(.preloader-loaded) #colorlib-page,
body.workflow-page:not(.preloader-loaded) #colorlib-page,
body.projects-page:not(.preloader-loaded) #colorlib-page,
body.project-overlay:not(.preloader-loaded) #colorlib-page,
body.contact-page:not(.preloader-loaded) #colorlib-page {
	visibility: hidden;
}

body.home-overlay:not(.preloader-loaded) #colorlib-page {
	visibility: visible;
	opacity: 0;
	pointer-events: none;
}
body.home-overlay:not(.preloader-loaded),
body.studio-page:not(.preloader-loaded),
body.workflow-page:not(.preloader-loaded),
body.projects-page:not(.preloader-loaded),
body.project-overlay:not(.preloader-loaded),
body.contact-page:not(.preloader-loaded) {
	overflow: hidden;
	height: 100vh;
	height: 100svh;
	height: 100dvh;
	height: -webkit-fill-available;
}
/* If JS fails, never hide the site forever */
@media (prefers-reduced-motion: reduce) {
  body.home-overlay:not(.preloader-loaded) #colorlib-page,
  body.studio-page:not(.preloader-loaded) #colorlib-page,
  body.workflow-page:not(.preloader-loaded) #colorlib-page,
  body.projects-page:not(.preloader-loaded) #colorlib-page,
  body.project-overlay:not(.preloader-loaded) #colorlib-page,
  body.contact-page:not(.preloader-loaded) #colorlib-page {
    visibility: visible;
  }
  body.home-overlay:not(.preloader-loaded) .preloader,
  body.studio-page:not(.preloader-loaded) .preloader,
  body.workflow-page:not(.preloader-loaded) .preloader,
  body.projects-page:not(.preloader-loaded) .preloader,
  body.project-overlay:not(.preloader-loaded) .preloader,
  body.contact-page:not(.preloader-loaded) .preloader {
    display: none;
  }
}
body.home-overlay.preloader-loaded .preloader {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

/* Inner pages: keep loader video fixed behind content after reveal */
body:not(.home-overlay).preloader-loaded .preloader,
body:not(.home-overlay).wallpaper-bg-fixed-mode .preloader {
	opacity: 1;
	visibility: visible;
	pointer-events: none;
	z-index: 0;
}

body:not(.home-overlay).preloader-loaded {
	overflow: visible;
	height: auto;
	min-height: 100%;
}

/* Show page when loader finishes */
body.studio-page.preloader-loaded #colorlib-page,
body.workflow-page.preloader-loaded #colorlib-page,
body.projects-page.preloader-loaded #colorlib-page,
body.project-overlay.preloader-loaded #colorlib-page,
body.contact-page.preloader-loaded #colorlib-page {
	visibility: visible !important;
	opacity: 1 !important;
	animation: none;
	transition: none;
}

body.home-overlay.preloader-loaded #colorlib-page {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
	transition: opacity 0.4s ease-out;
}

/* Home desktop: restore normal document flow after loader (avoids height/scroll jerk) */
@media screen and (min-width: 769px) {
	body.home-overlay.preloader-loaded {
		overflow: visible;
		height: auto;
		min-height: 100%;
	}
}

@keyframes pageFadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Home preloader videos only (desktop/mobile loaders) */
body.home-overlay .preloader-video.desktop-loader,
body.home-overlay .preloader-video.mobile-loader {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	mix-blend-mode: normal;
}

body.home-overlay .preloader-video.desktop-loader {
	/* Some loader videos include baked-in side bars; a stronger scale crops them out */
	transform: scale(1.25);
}

body.home-overlay .preloader .preloader-video {
	background: #f6f2dc;
	background-size: cover;
}

/* Inner pages: loader video wallpaper (no jpeg bg) */
body:not(.home-overlay) .preloader {
	position: fixed;
	inset: 0;
	background: #f6f2dc;
	background-image: none;
	z-index: 99999;
	pointer-events: none;
}

body:not(.home-overlay) .preloader-video,
body:not(.home-overlay) .preloader-video.wallpaper-bg-fixed {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100vh;
	height: 100svh;
	max-width: 100%;
	max-height: 100vh;
	max-height: 100svh;
	object-fit: cover !important;
	object-position: center center;
	transform: translate3d(0, 0, 0);
	-webkit-transform: translate3d(0, 0, 0);
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	background: #f6f2dc;
}
.footer-link{
  color: #fff;
}
/* Remove extra gap under Tamil logo in footer */
#colorlib-aside a#colorlib-logo:last-of-type {
  margin-bottom: 0;
}

/* Studio: use the same footer/Tamil-logo positioning as other pages */
body.studio-page #colorlib-aside {
  padding-bottom: 40px;
}

.contact-checkbox-wrap {
  display: flex;
  gap: 24px;
  margin-bottom: 12px;
}

.contact-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
}

.contact-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--color-primary, #0064ff);
}

@media screen and (max-width: 768px) {
  body.contact-page .contact-checkbox-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

.social-links li a {
  display: flex;
  align-items: center;
  gap: 6px;
}

.video-thumb-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
  cursor: pointer;
}

.video-thumb-wrap img.projects-image {
  display: block;
  width: 100%;
}

/* Play button bottom right */
.play-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.play-btn:hover {
  opacity: 0.8;
}

.play-btn svg {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.play-btn span {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1;
}

/* Lightbox overlay */
.video-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.video-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Blur backdrop */
.video-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Video container */
.video-overlay-content {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 960px;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
  transform: scale(0.92);
  transition: transform 0.4s ease;
}

.video-overlay.active .video-overlay-content {
  transform: scale(1);
}

.video-overlay-content video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Close button */
.video-close-btn {
  position: absolute;
  top: -48px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 18px;
  line-height: 1;
}

.video-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Mobile */
@media (max-width: 576px) {
  .play-btn span {
    font-size: 20px;
  }
  .play-btn svg {
    width: 28px;
    height: 28px;
  }
  .video-overlay-content {
    width: 95%;
  }
}
.play-btn-text{
  font-size: 50px !important;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1;
  text-decoration: underline;
}
/* ===== WORKFLOW PAGE MOBILE FIXES ===== */

@media screen and (max-width: 768px) {

    .video-close-btn {
      top: -40px;
      width: 32px;
      height: 32px;
      font-size: 14px;
    }
  
    /* Workflow section */
    .workflow-section {
      padding: 30px 16px;
    }
  
    .workflow-inner {
      max-width: 100%;
    }
  
  .workflow-step {
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 16px 0 0 0;
    column-gap: 12px;
    row-gap: 0;
    align-items: flex-start;
  }

  .workflow-number {
    font-size: 36px;
    width: auto;
    flex: 0 0 auto;
    text-align: left;
  }

  .workflow-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    gap: 6px;
    padding-left: 0;
  }

  .workflow-content h3 {
    font-size: 18px;
    margin: 0 0 0 0 !important;
  }
  
    .workflow-content p {
      font-size: 16px;
      /* line-height: 1.7; */
      max-width: 100%;
    }
  
    /* Projects title */
    .projects-title {
      font-size: 60px !important;
      letter-spacing: -2px !important;
      text-align: left;
      margin-bottom: 30px;
    }
  
    /* Narrow content padding */
    .colorlib-narrow-content {
      padding: 0 16px;
    }
  }
  
  @media screen and (max-width: 480px) {
    .video-thumb-wrap img.projects-image {
      height: 40vh !important;
    }
  
    .play-btn-text {
      font-size: 18px !important;
    }
  
    .workflow-number {
      font-size: 30px;
    }
  
    .projects-title {
        margin-top: 100px;
        text-align: center;
      font-size: 44px !important;
      letter-spacing: -1px !important;
    }
  }
  /* Desktop image style */
.workflow-thumb-img {
    width: 80%;
    height: 100vh;
    object-fit: cover;
    display: block;
    margin-right: -15px;
  }
  
  @media screen and (max-width: 768px) {
    .workflow-thumb-img {
      width: 100%;
      height: 50vh;
      margin-right: 0;
    }
  }

  @media screen and (max-width: 768px) {
    .preloader {
      width: 100%;
      height: 100vh;
      height: 100svh;
      height: 100dvh;
      background: #f6f2dc; /* solid bg behind video */
      background-attachment: scroll;
    }

    body:not(.home-overlay) .preloader {
      background: #f6f2dc;
      background-image: none;
    }

    .preloader-video {
      width: 100%;
      height: 100%;
      /* Mobile: show full animation (no cropping) */
      object-fit: cover;
      object-position: center center;
      transform: none;
      top: 0;
      left: 0;
    }

    body:not(.home-overlay) .preloader-video {
      object-position: center center;
      transform: none !important;
    }
/* Hide any text/content inside preloader on mobile */
    .preloader * {
      font-size: 0 !important;
      color: transparent !important;
    }
  
    /* But keep the video visible */
    .preloader .preloader-video {
      font-size: inherit !important;
      color: inherit !important;
      display: block !important;
      visibility: visible !important;
      opacity: 1 !important;
    }
  }

  /* Fix the narrow content margin that pulls images under sidebar */
@media screen and (max-width: 768px) {
    .colorlib-Images .colorlib-narrow-content {
      margin-left: 0 !important;
      padding: 0 16px !important;
      max-width: 100% !important;
    }
  
    .colorlib-Images .row {
      margin-left: 0 !important;
      margin-right: 0 !important;
    }
  
    .colorlib-Images .col-md-12 {
      padding-left: 0 !important;
      padding-right: 0 !important;
      margin-bottom: 12px;
    }
  
    .colorlib-Images .projects-image {
      width: 100% !important;
      /* height: auto !important; */
      max-width: 100% !important;
      margin: 0 !important;
      display: block;
      object-fit: contain;
    }

    body.project-overlay .colorlib-Images .project-image-split {
      width: 100% !important;
      margin-top: 0 !important;
      margin-bottom: 12px !important;
    }
 
  }
  
  @media screen and (max-width: 480px) {
    .colorlib-Images .colorlib-narrow-content {
      padding: 0 8px !important;
    }
  
    .colorlib-Images .col-md-12 {
      margin-bottom: 8px;
    }
  }

/* Final mobile sidebar fixes (keep at end so it wins) */
@media screen and (max-width: 768px) {
  /* One-color panel only */
  #colorlib-aside,
  body.offcanvas #colorlib-aside,
  body.home-overlay #colorlib-aside.overlay-nav,
  body.project-overlay #colorlib-aside.overlay-nav {
    /* background: #f6f2dc !important; */
    background: #f2ecca !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Mobile sidebar: no internal scroll (all pages) */
  #colorlib-aside {
    width: 75% !important;
    left: 0 !important;
    -moz-transform: translateX(-100%) !important;
    -webkit-transform: translateX(-100%) !important;
    -ms-transform: translateX(-100%) !important;
    -o-transform: translateX(-100%) !important;
    transform: translateX(-100%) !important;
    -webkit-transition: -webkit-transform 0.35s ease !important;
    -o-transition: transform 0.35s ease !important;
    transition: transform 0.35s ease !important;
    will-change: transform;
    overflow: hidden !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: auto;
    height: 100dvh !important;
    max-height: 100dvh !important;
  }

  body.home-overlay #colorlib-aside {
    -moz-transform: translateX(0) !important;
    -webkit-transform: translateX(0) !important;
    -ms-transform: translateX(0) !important;
    -o-transform: translateX(0) !important;
    transform: translateX(0) !important;
  }

  /* Ensure Tamil logo always renders */
  #colorlib-aside #colorlib-logo-tamil,
  #colorlib-aside #colorlib-logo-tamil img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Toggle open state: sidebar width fixed to 75% */
  body.offcanvas #colorlib-aside {
    width: 75% !important;
    -moz-transform: translateX(0) !important;
    -webkit-transform: translateX(0) !important;
    -ms-transform: translateX(0) !important;
    -o-transform: translateX(0) !important;
    transform: translateX(0) !important;
  }

  /* Remove mobile gray seam: do not push main content with translate */
  body.offcanvas #colorlib-main,
  body.offcanvas .colorlib-nav-toggle {
    -moz-transform: none !important;
    -webkit-transform: none !important;
    -ms-transform: none !important;
    -o-transform: none !important;
    transform: none !important;
    left: 0 !important;
    border-left: 0 !important;
    box-shadow: none !important;
  }

  body.home-overlay .colorlib-nav-toggle {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
  }
}
/* .preloader {
    transition: opacity 0.2s ease, visibility 0.2s ease;
} */


/* 
@media (max-width: 768px) {
    #sitePreloader,
    #preloaderVideo {
        height: 100dvh;
    }
} */
/* ── Preloader ────────────────────────────────────────────── */
/* .preloader {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 99999;
    background: #f6f2dc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
} */

body.home-overlay.preloader-loaded .preloader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

body.home-overlay:not(.preloader-loaded) .preloader {
	opacity: 1;
	visibility: visible;
}

/* Mobile */
@media screen and (max-width: 768px) {
    .preloader {
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: #f6f2dc;
    }

    body.home-overlay .preloader-video.desktop-loader,
    body.home-overlay .preloader-video.mobile-loader {
        object-position: 20% center;
    }

    .preloader-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        transform: none;
    }

    body:not(.home-overlay) .preloader-video {
        object-position: center center;
        transform: none !important;
    }
}
/* Home page: desktop/mobile loader switching */

body.home-overlay .preloader-video.mobile-loader,
.preloader-video.mobile-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    transform: none !important;
    display: none;
}

@media screen and (max-width: 768px) {
    .preloader-video.desktop-loader {
        display: none !important;
    }
}
/* Studio team: grayscale tile + color on hover (same pattern as Projects .project) */
@media (hover: hover) and (pointer: fine) {
    body.studio-page .team-entry .team-card-photo {
        transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
        will-change: transform;
    }
    body.studio-page .team-entry:hover .team-card-photo,
    body.studio-page .team-entry .project:hover .team-card-photo {
        transform: scale(1.02);
    }
}

/* Submit button — red loading state */
.btn-send-message:disabled {
    background: #ad3e2f !important;
    border-color: #ad3e2f !important;
    opacity: 0.5 !important;
    cursor: not-allowed;
}

/* Contact form: keep red on hover (override global .btn-primary yellow) */
body.contact-page .btn-primary.btn-send-message:hover,
body.contact-page .btn-primary.btn-send-message:focus,
body.contact-page .btn-primary.btn-send-message:active {
    background: #962f22 !important;
    border-color: #962f22 !important;
    color: #fff !important;
}

/* Alert near submit button */
#mail-alert {
    margin-top: 16px;
}

#mail-alert .alert {
    padding: 12px 16px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 500;
}

#mail-alert .alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

#mail-alert .alert-danger {
    background: #fdecea;
    color: #c62828;
    border: 1px solid #ef9a9a;
}
.field-error{
    color:red;
    font-size:13px;
    margin-top:5px;
}

.contact-input.input-invalid,
.contact-textarea.input-invalid {
    border-color: #c62828 !important;
}

.contact-checkbox-wrap.group-invalid {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #c62828;
}

.contact-input,
.contact-textarea{
    transition: border-color .3s ease;
}

/* Sidebar logos: aligned left, Tamil sits below decorative line on all screens */
#colorlib-aside {
  --sidebar-logo-max: 88%;
  --sidebar-header-logo: 152px;
  --sidebar-tamil-logo: 160px;
  --sidebar-tamil-line-top: 82vh;
  --sidebar-tamil-gap: 1.35rem;
  --sidebar-pad-x: 3em; /* match `#colorlib-aside` padding-left/right */
}

#colorlib-aside a#colorlib-logo {
  max-width: var(--sidebar-logo-max);
  margin-right: 0;
  padding-right: 0;
  box-sizing: border-box;
}

#colorlib-aside a#colorlib-logo img,
#colorlib-aside #colorlib-logo img,
#colorlib-logo img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin-left: 0 !important;
  margin-right: 0;
  display: block;
}

#colorlib-aside .footer-copyright {
  position: absolute;
  left: var(--sidebar-pad-x);
  right: var(--sidebar-pad-x);
  top: var(--sidebar-tamil-line-top);
  bottom: auto !important;
  margin-top: 0 !important;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  z-index: 2;
}

#colorlib-aside .footer-copyright a#colorlib-logo-tamil {
  display: block !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  max-width: var(--sidebar-logo-max);
}

#colorlib-aside .footer-copyright a#colorlib-logo-tamil img,
#colorlib-aside a#colorlib-logo-tamil img,
#colorlib-aside #colorlib-logo-tamil img,
#colorlib-logo-tamil img {
  width: var(--sidebar-tamil-logo) !important;
  max-width: var(--sidebar-logo-max) !important;
  height: auto !important;
  margin-left: 0 !important;
  margin-top: var(--sidebar-tamil-gap) !important;
  padding-left: 0 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Large desktop */
@media screen and (min-width: 1367px) {
  #colorlib-aside {
    --sidebar-logo-max: 80%;
    --sidebar-header-logo: 158px;
    --sidebar-tamil-logo: 178px;
    --sidebar-tamil-line-top: 82vh;
    --sidebar-tamil-gap: 1.4rem;
  }
}

@media screen and (min-width: 1367px) and (min-aspect-ratio: 16 / 9) {
  #colorlib-aside {
    --sidebar-tamil-line-top: clamp(84vh, 86vh, 88vh);
    --sidebar-tamil-gap: 1.5rem;
  }
}

/* Small desktop / narrow sidebar */
@media screen and (min-width: 769px) and (max-width: 1366px) {
  #colorlib-aside {
    --sidebar-header-logo: min(142px, 80%);
    --sidebar-tamil-logo: min(162px, 88%);
    --sidebar-tamil-line-top: clamp(78vh, 80vh, 82vh);
    --sidebar-tamil-gap: 1.3rem;
    overflow: hidden;
  }
}

@media screen and (min-width: 769px) and (max-width: 1366px) and (min-aspect-ratio: 16 / 9) {
  #colorlib-aside {
    --sidebar-tamil-line-top: clamp(80vh, 82vh, 85vh);
    --sidebar-tamil-gap: 1.45rem;
  }
}

/* Mobile */
@media screen and (max-width: 768px) {
  #colorlib-aside {
    --sidebar-header-logo: min(168px, 72vw);
    --sidebar-tamil-logo: min(178px, 72vw);
    --sidebar-tamil-line-top: clamp(76vh, 78vh, 81vh);
    --sidebar-tamil-gap: 1.25rem;
  }

  #colorlib-aside #colorlib-logo {
    max-width: var(--sidebar-logo-max);
  }
}

/* Home hero: full width, cover screen — no zoom transform on slides */
body.home-overlay #colorlib-hero,
body.home-overlay #colorlib-hero > .flexslider,
body.home-overlay #colorlib-hero .flexslider .flex-viewport,
body.home-overlay #colorlib-hero .flexslider .slides {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  max-height: 100dvh;
  transform: none !important;
}

body.home-overlay #colorlib-hero .flexslider .slides > li {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100dvh !important;
  transform: none !important;
  zoom: 1 !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Home hero — smoother fade transitions on desktop+ */
@media screen and (min-width: 769px) {
  body.home-overlay #colorlib-hero .flexslider .slides {
    overflow: hidden;
  }

  body.home-overlay #colorlib-hero .flexslider .slides > li {
    will-change: opacity;
  }

  body.home-overlay #colorlib-hero .flexslider .flex-viewport {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }
}

body.home-overlay #colorlib-hero .flexslider .slides > li[data-bg],
body.home-overlay #colorlib-hero .flexslider .slides > li.lazyloaded {
  background-size: cover !important;
  background-position: center center !important;
  transform: none !important;
  /* Avoid global lazyBgFadeIn — its opacity animation fights flexslider fade */
  animation: none;
}

/* Hide stacked slides until flexslider takes over opacity */
body.home-overlay #colorlib-hero .flexslider:not(.flexslider-initialized) .slides > li:not(:first-child) {
  visibility: hidden;
}

body.home-overlay #colorlib-hero,
body.home-overlay #colorlib-hero > .flexslider,
body.home-overlay #colorlib-hero .flexslider .flex-viewport {
  background-color: #f6f2dc;
}

body.home-overlay #colorlib-hero .flexslider .slides img {
  display: none;
}

/* Home mobile: no page scroll (hero only). Sidebar scroll removed via #colorlib-aside overflow rules. */
@media screen and (max-width: 768px) {
  html:has(body.home-overlay.preloader-loaded) {
    overflow: hidden;
    height: 100%;
    max-height: 100dvh;
  }

  body.home-overlay.preloader-loaded {
    overflow: hidden !important;
    height: 100dvh;
    max-height: 100dvh;
    min-height: 0;
    overscroll-behavior: none;
  }

  body.home-overlay.preloader-loaded #colorlib-page {
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
  }

  body.home-overlay.preloader-loaded #colorlib-main,
  body.home-overlay.preloader-loaded #colorlib-hero,
  body.home-overlay.preloader-loaded #colorlib-hero > .flexslider,
  body.home-overlay.preloader-loaded #colorlib-hero .flexslider .slides,
  body.home-overlay.preloader-loaded #colorlib-hero .flexslider .slides > li {
    height: 100dvh !important;
    max-height: 100dvh !important;
    min-height: 0 !important;
  }
}

/* Workflow desktop — final overrides (wins over later global rules) */
@media screen and (min-width: 769px) and (max-width: 1366px) {
  body.workflow-page .colorlib-narrow-content {
    padding-right: 0 !important;
  }

  /* body.workflow-page .projects-title {
    text-align: left !important;
    right: -30px !important;
    left: 0 !important;
    float: none !important;
    width: auto !important;
    margin-bottom: 64px !important;
  } */

  body.workflow-page .workflow-minwidth,
  body.workflow-page .workflow-layout.workflow-minwidth,
  body.workflow-page .workflow-layout {
    margin-left: 0 !important;
    margin-right: auto !important;
    width: fit-content !important;
    max-width: min(920px, calc(100% - 24px)) !important;
    padding-left: 16px !important;
    right: 0 !important;
    overflow: visible !important;
    padding-bottom: 72px !important;
  }

  body.workflow-page .workflow-layout-row {
    gap: 40px !important;
    align-items: flex-start !important;
    min-height: var(--workflow-block-height) !important;
  }

  body.workflow-page .workflow-video-col {
    flex: 0 0 var(--workflow-video-width) !important;
    width: var(--workflow-video-width) !important;
    max-width: var(--workflow-video-width) !important;
    height: var(--workflow-block-height) !important;
    min-height: var(--workflow-block-height) !important;
    max-height: var(--workflow-block-height) !important;
    align-self: flex-start !important;
    display: flex !important;
    flex-direction: column !important;
  }

  body.workflow-page .workflow-video-wrap {
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    border: 1px solid #1a1a1a !important;
    display: flex !important;
  }

  body.workflow-page .workflow-inline-video {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  body.workflow-page .workflow-steps-col.workflow-section {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: var(--workflow-block-height) !important;
    max-height: none !important;
    align-self: flex-start !important;
    padding-bottom: 0 !important;
  }

  body.workflow-page .workflow-steps-col .workflow-inner {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: clamp(10px, 1.4vh, 16px) !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
  }

  body.workflow-page .workflow-steps-col .workflow-step {
    padding: 0 !important;
  }

  body.workflow-page .workflow-steps-col .workflow-inner {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    overflow: visible !important;
  }

  body.workflow-page .workflow-steps-col.workflow-section {
    padding: 0 20px 0 0 !important;
    overflow: visible !important;
  }

  /* Prevent scroll-reveal from hiding/shifting layout before animate */
  body.workflow-page #colorlib-main .workflow-layout .animate-box,
  body.workflow-page #colorlib-main .workflow-layout .animate-box.animated {
    opacity: 1 !important;
    transform: none !important;
    -webkit-transform: none !important;
  }
}

/* Workflow steps: number left, heading + paragraph stacked (desktop + big screen) */
@media screen and (min-width: 769px) {
  body.workflow-page .workflow-video-wrap,
  body.workflow-page .workflow-steps-col .workflow-inner {
    box-sizing: border-box;
  }

  body.workflow-page .workflow-steps-col .workflow-step {
    align-items: flex-start;
    flex-wrap: nowrap;
    row-gap: 0;
  }

  body.workflow-page .workflow-steps-col .workflow-number {
    align-self: flex-start;
    line-height: 1;
  }

  body.workflow-page .workflow-steps-col .workflow-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    gap: 6px;
  }

  body.workflow-page .workflow-steps-col .workflow-content h3 {
    align-self: flex-start;
    line-height: 1.2;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 1 auto !important;
    flex-shrink: 1 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    overflow: hidden !important;
    text-overflow: clip !important;
  }

  @media screen and (min-width: 1367px) {
    body.workflow-page .workflow-steps-col .workflow-content h3 {
      overflow: hidden !important;
      text-overflow: clip !important;
    }
  }

  body.workflow-page .workflow-layout.workflow-minwidth,
  body.workflow-page .workflow-layout {
    padding-bottom: 64px;
    overflow: visible;
  }

  body.workflow-page #colorlib-main {
    padding-bottom: 48px;
  }
}

/* Big screens (1367px+): align copy to decorative-line channel */
@media screen and (min-width: 1367px) {
  /* Project pages — full width between lines; slightly wider on the right */
  body.project-overlay .colorlib-about .colorlib-narrow-content {
    --project-line-inset: clamp(480px, 23vw, 680px);
    width: 100% !important;
    max-width: none !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: max(8px, calc(var(--project-line-inset) - 1vw - 6px)) !important;
    padding-right: max(8px, calc(var(--project-line-inset) - 52px)) !important;
    box-sizing: border-box !important;
  }

  body.project-overlay .colorlib-about > .colorlib-narrow-content > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: none !important;
  }

  body.project-overlay .colorlib-about .col-md-7.content-move {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
  }

  body.project-overlay #colorlib-main .colorlib-about .content-move {
    position: relative !important;
    right: auto !important;
    left: 0 !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    padding: 40px 0 80px 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
    overflow-wrap: break-word;
    word-wrap: break-word;
    font-family: 'Afacad', Arial, sans-serif;
  }

  /* Contact page — intro copy between decorative lines (same channel as project about) */
  body.contact-page .contact-minwidth {
    --project-line-inset: clamp(480px, 23vw, 680px);
    position: relative !important;
    right: auto !important;
    left: 0 !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    padding-left: max(8px, calc(var(--project-line-inset) - 1vw - 6px)) !important;
    padding-right: max(8px, calc(var(--project-line-inset) - 52px)) !important;
    box-sizing: border-box !important;
  }

  body.contact-page .contact-minwidth > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }

  body.contact-page .contact-minwidth .col-md-12 {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Studio — text blocks only (not images / team grid) */
  body.studio-page #colorlib-main .studio-text-channel {
    position: relative !important;
    right: auto !important;
    left: clamp(480px, 23vw, 680px) !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    width: 100% !important;
    max-width: min(580px, 50%) !important;
    padding-left: 0 !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
    float: none !important;
  }

  body.studio-page .about-desc,
  body.studio-page .about-desc .colorlib-heading,
  body.studio-page .about-desc p,
  body.studio-page .team-minwidth .colorlib-heading {
    text-align: left;
  }

  body.studio-page .about-img {
    width: 60% !important;
    /* max-width: 100% !important; */
    /* left: auto !important; */
    margin-left: 280px !important;
    height: clamp(420px, 52vh, 720px);
    min-height: 420px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
}


/* Page titles: keep right-aligned on mobile (match desktop) */
@media screen and (max-width: 768px) {
  body.projects-page .projects-title,
  body.studio-page .projects-title,
  body.workflow-page .projects-title,
  body.contact-page .projects-title {
    text-align: right !important;
    position: relative;
    right: 0 !important;
    left: auto !important;
    width: 100%;
    display: block;
  }
}

@media screen and (max-width: 480px) {
  body.projects-page .projects-title,
  body.studio-page .projects-title,
  body.workflow-page .projects-title,
  body.contact-page .projects-title {
    text-align: right !important;
    right: 0 !important;
    left: auto !important;
  }
}

/* Workflow mobile: full-width / centered block (alignment unchanged; desktop untouched) */
@media screen and (max-width: 768px) {
  body.workflow-page .workflow-minwidth,
  body.workflow-page .workflow-layout.workflow-minwidth,
  body.workflow-page .workflow-layout {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    box-sizing: border-box;
  }

  body.workflow-page .workflow-layout-row {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  body.workflow-page .workflow-video-col {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

  body.workflow-page .workflow-video-wrap {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  body.workflow-page .workflow-inline-video {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: cover;
  }

  body.workflow-page .workflow-steps-col.workflow-section {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 14px !important;
    margin-right: 0 !important;
    padding-left: 20px !important;
    padding-right: 10px !important;
    box-sizing: border-box;
  }
}

/* Mobile sidebar: shift logo, nav, and footer links slightly left */
@media screen and (max-width: 768px) {
  #colorlib-aside {
    --sidebar-pad-x: 1.35em;
    padding-left: 1.35em !important;
    padding-right: 1.5em !important;
  }
}

/* Project detail pages — mobile layout (reference: inset cream panel, text shifted right) */
@media screen and (max-width: 768px) {
  body.project-overlay .colorlib-about,
  body.project-overlay .colorlib-Images {
    margin-left: 14px !important;
    margin-right: 0 !important;  
    box-sizing: border-box;
  }

  body.project-overlay .colorlib-about {
    border-top-left-radius: 18px !important;
    padding-top: 1.25em !important;
    padding-bottom: 2em !important;
  }

  body.project-overlay .colorlib-Images {
    padding-bottom: 1.5em !important;
  }

  body.project-overlay #colorlib-main .colorlib-narrow-content,
  body.project-overlay .colorlib-about .colorlib-narrow-content,
  body.project-overlay .colorlib-Images .colorlib-narrow-content {
    padding-left: 20px !important;
    padding-right: 10px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
  }

  body.project-overlay #colorlib-main .colorlib-narrow-content .row,
  body.project-overlay .colorlib-about .colorlib-narrow-content .row,
  body.project-overlay .colorlib-Images .colorlib-narrow-content .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.project-overlay #colorlib-main .colorlib-narrow-content .row > [class*="col-"],
  body.project-overlay .colorlib-about .colorlib-narrow-content .row > [class*="col-"],
  body.project-overlay .colorlib-Images .colorlib-narrow-content .row > [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.project-overlay #colorlib-hero .slider-text > .slider-text-inner {
    padding-left: 20px !important;
    padding-right: 10px !important;
    box-sizing: border-box;
  }

  body.project-overlay .colorlib-about > .colorlib-narrow-content > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.project-overlay .colorlib-about .col-md-7.content-move {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
  }

  body.project-overlay #colorlib-main .colorlib-about .content-move {
    position: relative !important;
    right: auto !important;
    left: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
    font-family: 'Afacad', Arial, sans-serif;
  }

  body.project-overlay .colorlib-about .content-move h2,
  body.project-overlay .colorlib-about .content-move p {
    text-align: left;
    color: rgba(0, 0, 0, 0.85);
  }

  body.project-overlay .colorlib-about .content-move h2 {
    color: #000 !important;
  }
}

/* Inner pages mobile: keep loader wallpaper fixed while scrolling (home unchanged) */
@media screen and (max-width: 768px) {
  html:has(body:not(.home-overlay).preloader-loaded),
  html:has(body:not(.home-overlay).wallpaper-bg-fixed-mode) {
    overflow-x: hidden;
  }

  body:not(.home-overlay).preloader-loaded,
  body:not(.home-overlay).wallpaper-bg-fixed-mode {
    overflow-x: hidden;
  }

  body.project-overlay.preloader-loaded {
    overflow: hidden !important;
    height: 100vh !important;
    height: 100svh !important;
  }

  body:not(.home-overlay) .preloader,
  body:not(.home-overlay).preloader-loaded .preloader,
  body:not(.home-overlay).wallpaper-bg-fixed-mode .preloader {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100vh !important;
    height: 100svh !important;
    margin: 0 !important;
    transform: translate3d(0, 0, 0) !important;
    -webkit-transform: translate3d(0, 0, 0) !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    pointer-events: none !important;
    z-index: 0 !important;
    background: #f5efcc !important;
  }

  body:not(.home-overlay) .preloader-video,
  body:not(.home-overlay) .preloader-video.wallpaper-bg-fixed,
  body:not(.home-overlay).preloader-loaded .preloader-video,
  body:not(.home-overlay).wallpaper-bg-fixed-mode .preloader-video {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100vh !important;
    height: 100svh !important;
    min-height: 100vh !important;
    min-height: 100svh !important;
    max-height: none !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: translate3d(0, 0, 0) !important;
    -webkit-transform: translate3d(0, 0, 0) !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    z-index: 0 !important;
    background: #f5efcc !important;
  }
}

/* ── Mobile: content starts after decorative wallpaper lines (all inner pages) ── */
@media screen and (max-width: 768px) {
  body:not(.home-overlay) {
    --mobile-line-margin: clamp(14px, 3.8vw, 18px);
    --mobile-line-padding: clamp(24px, 7vw, 36px);
    --mobile-line-channel: calc(var(--mobile-line-margin) + var(--mobile-line-padding));
  }

  /* Contact: decorative line sits slightly further right on this wallpaper */
  body.contact-page {
    --mobile-line-margin: clamp(14px, 4vw, 20px);
    --mobile-line-padding: clamp(30px, 8.5vw, 42px);
  }

  /* Project detail pages: match Contact inset (same decorative-line channel) */
  body.project-overlay {
    --mobile-line-margin: clamp(14px, 4vw, 20px);
    --mobile-line-padding: clamp(30px, 8.5vw, 42px);
  }

  /* Studio: slightly tighter inset (reduce left gap) */
  body.studio-page {
    --mobile-line-margin: clamp(12px, 3.2vw, 16px);
    --mobile-line-padding: clamp(22px, 6.2vw, 32px);
  }

  body.contact-page .colorlib-contact {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  body.contact-page #colorlib-main .colorlib-contact > .colorlib-narrow-content {
    margin-left: 0 !important;
    padding-left: calc(var(--mobile-line-margin) + var(--mobile-line-padding)) !important;
    padding-right: clamp(12px, 3.5vw, 20px) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  body:not(.home-overlay) #colorlib-main .colorlib-narrow-content {
    margin-left: 0 !important;
    padding-left: calc(var(--mobile-line-margin) + var(--mobile-line-padding)) !important;
    padding-right: clamp(12px, 3.5vw, 20px) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  /* Nested narrow-content (e.g. Studio about block) — parent already inset */
  body:not(.home-overlay) .colorlib-narrow-content .colorlib-narrow-content {
    margin-left: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body:not(.home-overlay) #colorlib-main .colorlib-narrow-content .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body:not(.home-overlay) #colorlib-main .colorlib-narrow-content .row > [class*="col-"] {
    padding-left: 0 !important;
  }

  /* Workflow: steps/video sit outside .colorlib-narrow-content */
  body.workflow-page .workflow-layout,
  body.workflow-page .workflow-layout.workflow-minwidth,
  body.workflow-page .workflow-minwidth.workflow-layout {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: calc(var(--mobile-line-margin) + var(--mobile-line-padding)) !important;
    padding-right: clamp(12px, 3.5vw, 20px) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  body.workflow-page .workflow-steps-col.workflow-section {
    margin-left: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.workflow-page .workflow-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Avoid double inset on blocks already inside .colorlib-narrow-content */
  body.contact-page .contact-minwidth,
  body.studio-page .team-minwidth,
  body.studio-page .studio-text-channel {
    margin-left: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.contact-page .contact-form-panel {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 28px 20px !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  /* Project detail: cream panel beside the left line */
  body.project-overlay .colorlib-about,
  body.project-overlay .colorlib-Images {
    margin-left: var(--mobile-line-margin) !important;
    margin-right: 0 !important;
    width: calc(100% - var(--mobile-line-margin)) !important;
    max-width: calc(100% - var(--mobile-line-margin)) !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  body.project-overlay #colorlib-main .colorlib-narrow-content,
  body.project-overlay .colorlib-about .colorlib-narrow-content,
  body.project-overlay .colorlib-Images .colorlib-narrow-content {
    margin-left: 0 !important;
    padding-left: var(--mobile-line-padding) !important;
    padding-right: clamp(12px, 3.5vw, 20px) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  /* Prevent text and rows from spilling past the viewport */
  body:not(.home-overlay) #colorlib-main,
  body:not(.home-overlay) #colorlib-page {
    max-width: 100% !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  body:not(.home-overlay) #colorlib-main .colorlib-narrow-content .row,
  body:not(.home-overlay) #colorlib-main .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100%;
  }

  body:not(.home-overlay) #colorlib-main .colorlib-narrow-content .row > [class*="col-"],
  body:not(.home-overlay) #colorlib-main .row > [class*="col-"] {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  body:not(.home-overlay) #colorlib-main p,
  body:not(.home-overlay) #colorlib-main h1,
  body:not(.home-overlay) #colorlib-main h2,
  body:not(.home-overlay) #colorlib-main h3,
  body:not(.home-overlay) #colorlib-main h4,
  body.contact-page .contact-call-main,
  body.contact-page .contact-content,
  body.contact-page .contact-content p,
  body.contact-page .contact-call-sub {
    overflow-wrap: anywhere;
    word-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
  }

  body.contact-page .contact-input,
  body.contact-page .contact-textarea,
  body.contact-page .contact-form-panel,
  body.contact-page .contact-minwidth {
    max-width: 100%;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 480px) {
  body:not(.home-overlay) {
    --mobile-line-margin: clamp(12px, 3.5vw, 16px);
    --mobile-line-padding: clamp(22px, 6.5vw, 32px);
  }

  body.contact-page {
    --mobile-line-margin: clamp(14px, 4vw, 18px);
    --mobile-line-padding: clamp(28px, 8vw, 38px);
  }

  body.project-overlay {
    --mobile-line-margin: clamp(14px, 4vw, 18px);
    --mobile-line-padding: clamp(28px, 8vw, 38px);
  }

  body.studio-page {
    --mobile-line-margin: clamp(10px, 3vw, 14px);
    --mobile-line-padding: clamp(18px, 5.5vw, 28px);
  }

  body.contact-page .contact-form-panel {
    padding: 24px 18px !important;
  }
}
