
/** portfolio-section **/


.portfolio-section{
  position: relative;
}

.portfolio-section .outer-container{
  position: relative;
  padding: 0px 100px;
}

.portfolio-block-two .inner-box{
  position: relative;
  display: block;
  overflow: hidden;
  margin-bottom: 30px;
}

.portfolio-block-two .inner-box .image-box{
  position: relative;
  display: block;
  overflow: hidden;
}

.portfolio-block-two .inner-box .image-box img{
  width: 100%;
  transition: all 500ms ease;
}

.portfolio-block-two .inner-box:hover .image-box img{
  transform: scale(1.05);
}

.portfolio-block-two .inner-box .image-box:before{
  position: absolute;
  content: '';
  width: calc(100% - 60px);
  height: calc(100% - 60px);
  left: 30px;
  top: 30px;
  transform: scale(0,0);
  z-index: 1;
  opacity: 0.8;
  transition: all 500ms ease;
}

.portfolio-block-two .inner-box:hover .image-box:before{
  transform: scale(1,1);
}

.portfolio-block-two .inner-box .content-box{
  position: absolute;
  left: 10px;
  bottom: 0px;
  z-index: 2;
  background: #fff;
  padding: 23px 40px 22px 30px;
  opacity: 0;
  transition: all 500ms ease;
}

.portfolio-block-two .inner-box:hover .content-box{
  opacity: 1;
  bottom: 10px;
}

.portfolio-block-two .inner-box .content-box .info-list{
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.portfolio-block-two .inner-box .content-box .info-list li{
  position: relative;
  margin-right: 43px;
}

.portfolio-block-two .inner-box .content-box .info-list li:last-child{
  margin: 0px !important;
}

.portfolio-block-two .inner-box .content-box .info-list li:before{
  position: absolute;
  content: '';
  top: 6px;
  right: -21px;
  width: 1px;
  height: 14px;
  transform: rotate(25deg);
}

.portfolio-block-two .inner-box .content-box .info-list li:last-child:before{
  display: none;
}

.portfolio-block-two .inner-box .content-box h3{
  display: block;
  font-size: 24px;
  line-height: 34px;
}

.portfolio-block-two .inner-box .content-box h3 a{
  display: inline-block;
  color: var(--title-color);
}

.portfolio-block-two .inner-box .content-box h3 a:hover{

}


/** portfolio-style-two **/

.portfolio-style-two{
  position: relative;
}

.portfolio-block-one .inner-box{
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
  cursor: pointer;
}

.portfolio-block-one .inner-box .image-box{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(0,0);
  z-index: 1;
  transition: all 500ms ease;
}

.portfolio-block-one .inner-box:hover .image-box{
  transform: translate(-50%,-50%) scale(1,1);
}

.portfolio-block-one .inner-box h2{
  display: block;
  font-size: 82px;
  line-height: 90px;
  margin-bottom: 7px;
}

.portfolio-block-one .inner-box h2 a{
  display: inline-block;
  color: #DDDDDD;
}

.portfolio-block-one .inner-box h2 a:hover{
  color: var(--title-color);
}

.portfolio-block-one .inner-box .info-inner{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-block-one .inner-box .info-inner .category-list{
  position: relative;
  display: flex;
  align-items: center;
}

.portfolio-block-one .inner-box .info-inner .category-list li{
  position: relative;
  display: inline-block;
  margin-right: 10px;
  padding-left: 15px;
}

.portfolio-block-one .inner-box .info-inner .category-list li:last-child{
  margin: 0px !important;
}

.portfolio-block-one .inner-box .info-inner .category-list li:before{
  position: absolute;
  content: '';
  background: #DDDDDD;
  width: 6px;
  height: 6px;
  left: 0px;
  top: 10px;
  border-radius: 50%;
}

.portfolio-block-one .inner-box .info-inner .category-list li a{
  display: inline-block;
  font-size: 14px;
  line-height: 26px;
  color: var(--title-color);
}

.portfolio-block-one .inner-box .info-inner .category-list li a:hover{

}

.portfolio-block-one .inner-box .info-inner .info-list{
  position: relative;
  display: flex;
  align-items: center;
}

.portfolio-block-one .inner-box .info-inner .info-list li{
  position: relative;
  display: inline-block;
  margin-right: 40px;
  font-size: 14px;
  line-height: 26px;
  color: var(--title-color);
}

.portfolio-block-one .inner-box .info-inner .info-list li:last-child{
  margin: 0px !important;
}

.portfolio-block-one .inner-box .info-inner .info-list li:before{
  position: absolute;
  content: '';
  background: #1F1F1F;
  width: 1px;
  height: 12px;
  top: 6px;
  right: -25px;
  transform: rotate(25deg);
}

.portfolio-block-one .inner-box .info-inner .info-list li:last-child:before{
  display: none;
}


/** portfolio-style-three **/

.portfolio-style-three{
  position: relative;
}

.portfolio-style-three .upper-inner{
  position: relative;
  background: #FFF9F7;
  padding: 110px 0px 53px 0px;
}

.portfolio-block-three .inner-box{
  position: relative;
  display: block;
}

.portfolio-block-three .inner-box .image-box{
  position: relative;
  display: block;
  overflow: hidden;
}

.portfolio-block-three .inner-box .image-box .image{
  position: relative;
  display: block;
  overflow: hidden;
}

.portfolio-block-three .inner-box .image-box .image:before {
  position: absolute;
  content: '';
  width: calc(100% - 60px);
  height: calc(100% - 60px);
  left: 30px;
  top: 30px;
  transform: scale(0,0);
  z-index: 1;
  opacity: 0.8;
  transition: all 500ms ease;
}

.portfolio-block-three .inner-box:hover .image-box .image:before{
  transform: scale(1,1);
}

.portfolio-block-three .inner-box .image-box .image img{
  width: 100%;
  transition: all 500ms ease;
}

.portfolio-block-three .inner-box:hover .image-box .image img{
  transform: scale(1.05);
}

.portfolio-block-three .inner-box .image-box .image-link{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  z-index: 2;
}

.portfolio-block-three .inner-box .image-box .image-link a{
  position: relative;
  display: inline-block;
  position: relative;
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  border-radius: 50%;
  transform: scale(0,0);
}

.portfolio-block-three .inner-box:hover .image-box .image-link a{
  transform: scale(1,1);
}

.portfolio-block-three .inner-box .lower-content{
  position: relative;
  padding: 22px 0px 16px 0px;
}

.portfolio-block-three .inner-box .lower-content .post-info{
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.portfolio-block-three .inner-box .lower-content .post-info li{
  position: relative;
  display: inline-block;
  font-size: 14px;
  line-height: 26px;
  margin-right: 20px;
}

.portfolio-block-three .inner-box .lower-content .post-info li:last-child{
  margin: 0px !important;
}

.portfolio-block-three .inner-box .lower-content h3{
  position: relative;
  display: block;
  font-size: 24px;
  line-height: 34px;
  margin-bottom: 13px;
}

.portfolio-block-three .inner-box .lower-content h3 a{
  display: inline-block;
  color: var(--title-color);
}

.portfolio-block-three .inner-box .lower-content h3 a:hover{

}

.portfolio-block-three .inner-box .lower-content .category-list{
  position: relative;
  display: flex;
  align-items: center;
}

.portfolio-block-three .inner-box .lower-content .category-list li{
  position: relative;
  display: inline-block;
  margin-right: 10px;
  padding-left: 15px;
  font-size: 14px;
  line-height: 26px;
}

.portfolio-block-three .inner-box .lower-content .category-list li:before{
  position: absolute;
  content: '';
  background: #DDDDDD;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  left: 0px;
  top: 10px;
}

.portfolio-block-three .inner-box .lower-content .category-list li a{
  display: inline-block;
  color: #000;
}

.portfolio-block-three .inner-box .lower-content .category-list li a:hover{

}


/** portfolio-style-four **/

.portfolio-style-four{
  position: relative;
}

.portfolio-style-four:before{
  position: absolute;
  content: '';
  background: #FFF9F7;
  width: 100%;
  height: 50%;
  left: 0px;
  top: 0px;
}

.portfolio-block-four .inner-box{
  position: relative;
  display: block;
  overflow: hidden;
}

.portfolio-block-four .inner-box .image-box{
  position: relative;
  display: block;
  overflow: hidden;
}

.portfolio-block-four .inner-box .image-box img{
  width: 100%;
  transition: all 500ms ease;
}

.portfolio-block-four .inner-box:hover .image-box img{
  transform: scale(1.05);
}

.portfolio-block-four .inner-box .content-box{
  position: absolute;
  left: 30px;
  bottom: 30px;
  width: calc(100% - 60px);
  background: #fff;
  padding: 21px 30px 22px 30px;
}

.portfolio-block-four .inner-box .content-box h3{
  position: relative;
  display: block;
  font-size: 32px;
  line-height: 42px;
  margin-bottom: 14px;
}

.portfolio-block-four .inner-box .content-box h3 a{
  display: inline-block;
  color: var(--title-color);
}

.portfolio-block-four .inner-box .content-box h3 a:hover{

}

.portfolio-block-four .inner-box .content-box .inner{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portfolio-block-four .inner-box .content-box .inner li{
  position: relative;
  font-size: 14px;
  line-height: 26px;
}

.portfolio-block-four .inner-box .content-box .inner li a{
  display: inline-block;
  color: var(--text-color);
}

.portfolio-block-four .inner-box .content-box .inner li a:hover{

}

.portfolio-block-four .inner-box .content-box .inner .category-list{
  position: relative;
  display: flex;
  align-items: center;
}

.portfolio-block-four .inner-box .content-box .inner .category-list li{
  padding-left: 15px;
  margin-right: 10px;
}

.portfolio-block-four .inner-box .content-box .inner .category-list li:last-child{
  margin: 0px !important;
}

.portfolio-block-four .inner-box .content-box .inner .category-list li:before{
  position: absolute;
  content: '';
  background: #DDDDDD;
  width: 6px;
  height: 6px;
  left: 0px;
  top: 10px;
  border-radius: 50%;
}

.portfolio-block-four .inner-box .content-box .inner .info-list{
  position: relative;
  display: flex;
  align-items: center;
}

.portfolio-block-four .inner-box .content-box .inner .info-list li{
  margin-right: 20px;
}

.portfolio-block-four .inner-box .content-box .inner .info-list li:last-child{
  margin: 0px !important;
}

.portfolio-style-four .owl-dots{
  position: relative;
  display: block;
  text-align: center;
  margin-top: 40px;
}

.portfolio-block-five .inner-box{
  position: relative;
  display: block;
  overflow: hidden;
  margin-bottom: 30px;
}

.portfolio-block-five .inner-box .image-box{
  position: relative;
  display: block;
  overflow: hidden;
}

.portfolio-block-five .inner-box .image-box img{
  width: 100%;
  transition: all 500ms ease;
}

.portfolio-block-five .inner-box:hover .image-box img{
  transform: scale(1.05);
}

.portfolio-block-five .inner-box .view-btn{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  z-index: 2;
}

.portfolio-block-five .inner-box .view-btn a{
  position: relative;
  display: inline-block;
  width: 100px;
  height: 100px;
  line-height: 100px;
  background: #fff;
  text-align: center;
  border-radius: 50%;
  transform: scale(0,0);
}

.portfolio-block-five .inner-box:hover .view-btn a{
  transform: scale(1,1);
}


/** rtl-css **/

.rtl .sortable-masonry .filter-tabs li:before{
  right: inherit;
  left: -25px;
}

.rtl .portfolio-block-two .inner-box .content-box .info-list li{
  margin-right: 0px;
  margin-left: 43px;
}

.rtl .portfolio-block-two .inner-box .content-box .info-list li:before{
  right: inherit;
  left: -21px;
}

.rtl .portfolio-block-one .inner-box .info-inner .category-list{
  margin-right: 0px;
  margin-left: 110px;
}

.rtl .portfolio-block-one .inner-box .info-inner .category-list li{
  margin-right: 0px;
  margin-left: 10px;
}

.rtl .portfolio-block-one .inner-box .info-inner .info-list li{
  margin-right: 0px;
  margin-left: 40px;
}

.rtl .portfolio-block-one .inner-box .info-inner .info-list li:before{
  right: inherit;
  left: -25px;
}

.rtl .portfolio-block-three .inner-box .lower-content .post-info li{
  margin-right: 0px;
  margin-left: 20px;
}

.rtl .portfolio-block-three .inner-box .lower-content .category-list li{
  margin-right: 10px;
  margin-left: 0px;
  padding-right: 15px;
  padding-left: 0px;
}

.rtl .portfolio-block-three .inner-box .lower-content .category-list li:before{
  left: inherit;
  right: 0px;
}

.rtl .portfolio-block-four .inner-box .content-box{
  text-align: right;
}

/** responsive-css **/

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

}

@media only screen and (max-width: 991px){
  
}

@media only screen and (max-width: 767px){
  .portfolio-section{
    padding: 70px 0px;
  }

  .portfolio-section .outer-container{
    padding: 0px 30px;
  }

  .portfolio-style-two{
    padding: 70px 0px 40px 0px;
  }

  .portfolio-block-one .inner-box h2{
    font-size: 60px;
    line-height: 70px;
  }

  .portfolio-block-one .inner-box .info-inner .category-list{
    margin-right: 30px;
  }

  .rtl .portfolio-block-one .inner-box .info-inner .category-list{
    margin-left: 30px;
  }

  .portfolio-style-three .upper-inner{
    padding-top: 70px;
  }

  .portfolio-style-three{
    padding-bottom: 40px;
  }

  .portfolio-style-four .owl-dots{
    display: none;
  }

  .portfolio-style-four{
    padding: 70px 0px;
  }

  .gallery-page-section{
    padding: 70px 0px;
  }

  .portfolio-style-three.pt_120.pb_120{
    padding: 70px 0px;
  }
}

@media only screen and (max-width: 599px){
  .portfolio-block-one .inner-box .info-inner{
    display: block;
  }

  .portfolio-block-one .inner-box .info-inner .category-list,
  .portfolio-block-one .inner-box .info-inner .info-list{
    justify-content: center;
  }
}

@media only screen and (max-width: 499px){
  .portfolio-section .outer-container{
    padding: 0px 15px;
  }

  .portfolio-block-one .inner-box .info-inner .category-list{
    display: block;
  }

  .portfolio-block-one .inner-box h2{
    font-size: 50px;
    line-height: 60px;
  }

  .portfolio-block-four .inner-box .content-box .inner .info-list li{
    margin-right: 10px;
  }

  .portfolio-block-four .inner-box .content-box{
    left: 15px;
    bottom: 15px;
    width: calc(100% - 30px);
    padding-left: 20px;
    padding-right: 20px;
  }

  .portfolio-block-four .inner-box .content-box .inner{
    display: block;
  }
}









/* --------galery.css------- */


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

/* === SERVICE HERO LAYOUT === */
.banner-style-two.service-hero{
  position: relative;
  background:#131417;          /* dark/black background */
  min-height: 620px;           /* taller hero */
  padding-top: 110px;
  padding-bottom: 240px;       /* space for the two marquees */
  overflow: hidden;
  z-index: 0;
}
@media (max-width: 991px){
  .banner-style-two.service-hero{
    min-height: 600px;
    padding-bottom: 220px;
  }
}

/* Big central title */
.service-hero-cluster{ position:absolute; inset:0; z-index: 4; pointer-events:none; }
.service-hero-title{
  position:absolute; left:50%; top:45%;
  transform:translate(-50%,-50%);
  margin:0; line-height:1;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 900;
  letter-spacing: .5px;
  font-size: clamp(44px, 9vw, 120px);
  color:#f5b08b; /* your gradient-y look can stay in HTML/CSS if using */
  text-shadow: 0 10px 26px rgba(0,0,0,.55);
  text-transform: uppercase;
}

/* === SHAPES AROUND THE WORD === */
.banner-style-two.service-hero .pattern-layer{ position:absolute; inset:0; z-index:2; pointer-events:none; }
.banner-style-two.service-hero .pattern-layer > div{
  position:absolute; background-size:contain; background-repeat:no-repeat; background-position:center;
  /* width: clamp(42px, 6vw, 88px); height: clamp(42px, 6vw, 88px); */
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.35));
  /* animation: float 7s ease-in-out infinite; */
}

/* balanced positions (tweak if you like) */

.banner-style-two.service-hero .pattern-11{
  position: absolute;
  left:24%;                     
  top: 51%;                     
  /* transform: translateY(-50%);   */
  width: 120px;
  height: 120px;
  /* background-repeat: no-repeat; */
  z-index: 1;                   
  opacity: .95;  
  animation: rotate360 16s linear infinite;               
}

.banner-style-two.service-hero .pattern-10{
  position: absolute;
  top: -35px;      
  left: -30px;
  width: 25%;         /* size of the curved blob */
  height: 30%;
  /* background-repeat: no-repeat; */
  background-size: contain;
  opacity: 1;
  z-index: 2;           /* below header/logo, above hero background */
  pointer-events: none; /* purely decorative */
  
}


.banner-style-two.service-hero .pattern-12{
  left:6%; top:50%; transform:translateY(-50%);
  width:610px; height:110px; z-index:1; opacity:.95;
}


.banner-style-two.service-hero .pattern-13{    /* upper-left small */
  top:17%; left:24%;
  width:140px; height:140px;
  transform: rotate(277deg);
  animation: rotate360 16s linear infinite;
}


.banner-style-two.service-hero .pattern-14{    /* upper-right accent */
  top:20%; left:64%;
  width:225px; height:125px;
   transform: rotate(7deg);
   animation: rotate360 16s linear infinite;
}
.banner-style-two.service-hero .pattern-15{    /* lower-left */
  bottom:30%; left:65%;
  width:200px; height:120px;
   transform: rotate(173deg);
   animation: rotate360 18s linear infinite;

}

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


.banner-style-two.service-hero .pattern-16{    /* lower-right */
  bottom:-16%; right:-57%;
  width:2010px; height:1030px;
}

.banner-style-two.service-hero .pattern-17{    /* bottom mid-left */
  bottom:-16%; 
  left:-60%;
  width:2010px; height:1030px;
}


.banner-style-two.service-hero .pattern-18{ bottom:10%; right:20%; animation-delay:2.1s; }

@keyframes float{
  0%,100%{ transform: translateY(0) rotate(0deg); }
  50%    { transform: translateY(-8px) rotate(3deg); }
}

/* === MARQUEES === */
/* assumes you already have base .marquee & .marquee__track animation from your theme;
   we just re-position + add a reverse direction for track #2. */

.banner-style-two.service-hero .marquee{
  position:absolute; left:0; right:0;
  transform: rotate(0deg);         /* keep level (remove tilt) */
  z-index: 6;
  /* optional background strip look */
  background: #ffe16a; color:#131417;
  padding: 10px 0;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

/* move the original one down a bit */
.banner-style-two.service-hero .marquee--main{ bottom: 95px; }

/* new second marquee – sits below the first */
.banner-style-two.service-hero .marquee--alt{
  bottom: 35px;
  background: #ffef9d;            /* slightly lighter so they’re distinguishable */
}

/* reverse the direction for the second track (if base marquee animates left) */
.marquee__track--reverse{
  animation-direction: reverse !important;
}

/* spacing for items inside the track */
.banner-style-two.service-hero .marquee__track span{
  display:inline-block; padding: 0 28px; font-weight: 700;
}
.banner-style-two.service-hero .marquee__track i{
  display:inline-block; padding: 0 20px; opacity:.65;
}

@media (max-width: 767px){
  .service-hero-title{ top: 42%; font-size: clamp(40px, 12vw, 86px); }
  .banner-style-two.service-hero .marquee--main{ bottom: 90px; }
  .banner-style-two.service-hero .marquee--alt{  bottom: 30px; }
}

/* === MARQUEE MOVEMENT FIX === */

/* Base marquee wrapper */
.marquee {
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

/* The track that moves continuously */
.marquee__track {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
  animation: marqueeMove 25s linear infinite;
}

/* Reverse direction for second marquee */
.marquee__track--reverse {
  animation: marqueeMoveReverse 25s linear infinite;
}

/* Each word + divider */
.marquee__track span,
.marquee__track i {
  display: inline-block;
  font-weight: 700;
  padding: 0 28px;
  color: #131417;
}

/* Hover pause effect */
.marquee:hover .marquee__track,
.marquee:hover .marquee__track--reverse {
  animation-play-state: paused;
}

/* Left to right scroll */
@keyframes marqueeMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Right to left scroll */
@keyframes marqueeMoveReverse {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

/* ====== TEAM HERO MARQUEES (bold, creative, no pause) ====== */

/* Bars */
.banner-style-two.service-hero .marquee{
  position:absolute; left:0; right:0; z-index:6; overflow:hidden;
  background:#ffe16a; color:#0f1115; padding:12px 0;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}
.banner-style-two.service-hero .marquee--main{ bottom:95px; }
.banner-style-two.service-hero .marquee--alt { bottom:35px; background:#ffef9d; }

/* Moving belt (two identical sets for seamless loop) */
.marquee__belt{
  display:flex; width:max-content; will-change:transform;
}

/* Typography — bold/creative */
.marquee__set{
  display:inline-flex; align-items:center;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: clamp(14px, 1.15vw, 20px);
  /* subtle stroke+glow for punchy look on the yellow bars */
  -webkit-text-stroke: .4px rgba(0,0,0,.15);
  text-shadow: 0 1px 0 rgba(255,255,255,.35);
}
.marquee__set span{ display:inline-block; padding:0 34px; }
.marquee__set i{ display:inline-block; padding:0 24px; opacity:.8; }

/* Animations (no hover pause) */
@keyframes scroll-left  { from {transform:translateX(0)}    to {transform:translateX(-50%)} }
@keyframes scroll-right { from {transform:translateX(-50%)} to {transform:translateX(0)}    }

/* Top strip: LEFT → RIGHT */
.marquee__belt--right{ animation: scroll-right 20s linear infinite; }

/* Bottom strip: RIGHT → LEFT */
.marquee__belt--left { animation: scroll-left  14s linear infinite; }

/* Mobile offsets */
@media (max-width: 767px){
  .banner-style-two.service-hero .marquee--main{ bottom:90px; }
  .banner-style-two.service-hero .marquee--alt { bottom:30px; }
}










































