﻿/*
* ----------------------------------------------------------------------------------------
* 09.PORTFOLIO CSS STYLE
* ----------------------------------------------------------------------------------------
*/
.projects-area {
  padding-top: 50px;
  /* padding-bottom: 100px; */
  /* background-color: #130f40;
  background-image: -webkit-linear-gradient(220deg, #130f40 0%, #000000 74%);
  background-image: linear-gradient(230deg, #130f40 0%, #000000 74%); */
}

.filter ul {
  margin: 0;
  padding: 0;
}
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #000000 !important;
  opacity: 1 !important;
}
.mfp-img {
  height: 650px !important; /* Force height */
  max-height: none !important; /* Remove max-height restriction */
}

.mfp-figure {
  height: 650px !important; /* Apply to image container */
}

.mfp-content {
  height: 650px !important; /* Apply to modal content */
}

@media (max-width: 768px) {
  .mfp-content {
  	    height: 494px !important;
    }
    .mfp-img {
    	    height: 495px !important;
        max-height: none !important;
    }
    
}


.filter ul li {
  position: relative;
  display: inline-block;
  border: 1px dashed black;
  border-radius: 2em;
  margin: 0 7px 10px 0;
  padding: 0.5em 1em;
  font-size: 0.9em;
  font-family: "Roboto Mono", monospace;
  color: black;
  cursor: pointer;
  -webkit-transition: linear 0.1s;
  transition: linear 0.1s;
}

.filter ul li:hover,
.filter ul li.mixitup-control-active {
  background: black;
  color: white;
}

.theme-dark .filter ul li {
  border-color: white;
  color: white;
}

.theme-dark .filter ul li:hover,
.theme-dark .filter ul li.mixitup-control-active {
  background: white;
  color: black;
}

.portfolio-box {
  position: relative;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  overflow: hidden;
  /* border-radius: 0.5em; */
}

.portfolio-box:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  background-image: -webkit-linear-gradient(
    bottom,
    rgba(0, 0, 0, 0.3),
    transparent
  );
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
  width: 100%;
  height: 100%;
  -webkit-transition: ease-out 0.16s;
  transition: ease-out 0.16s;
}

.portfolio-box img {
  
  -webkit-transform: scale(1);
  transform: scale(1);
  width: 100%;
  -webkit-transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: -webkit-transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    -webkit-transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio-box .portfolio-category {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-block;
  background: rgba(0, 0, 0, 0.2);
  /* -webkit-backdrop-filter: blur(5px); */
  /* backdrop-filter: blur(5px); */
  border-radius: 2em;
  padding: 0.5em 1em;
  color: white;
  font-weight: 400;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.portfolio-box .portfolio-caption {
  z-index: 1;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  visibility: hidden;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  margin-bottom: -6px;
  padding: 0 30px 24px;
  -webkit-transition: ease-out 0.5s;
  transition: ease-out 0.5s;
}

.portfolio-box .portfolio-caption * {
  margin: 0;
  color: white;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
  -webkit-transition: linear 0.06s;
  transition: linear 0.06s;
}

.portfolio-box .portfolio-caption *:hover {
  text-shadow: 0 0 white;
}

.portfolio-box:hover:after {
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

.portfolio-box:hover img {
  -webkit-transform: scale(1.04);
  transform: scale(1.04);
  /* -webkit-filter: blur(1.5px); */
  /* filter: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feGaussianBlur stdDeviation="1.5" /></filter></svg>#filter'); */
  /* filter: blur(1.5px); */
}

.portfolio-box:hover .portfolio-caption {
  visibility: visible;
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  margin-bottom: 0;
}

.single-project-page-right,
.single-project-page-left {
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.single-project-page-design {
  padding-top: 30px;
}

.single-project-image img {
  width: 100%;
}

.single-info h3 {
  font-size: 20px;
}
.single-image {
  margin-bottom: 30px;
}
.single-info {
  padding-bottom: 30px;
}
.single-info:last-child {
  padding-bottom: 0px;
}

.single-info p {
  margin-bottom: 0;
}

.project-image {
  margin-bottom: 45px;
}

.single-project-item {
  padding: 30px;
  border: 1px solid var(--border-color);
}


/* Before: possibly low contrast */
.bgc-secondary {
  background-color: #0100010A !important; /* This might be too light or transparent */
}
.bgc-secondary2 {
  background-color: #ffffff !important; /* This might be too light or transparent */
color: #000000 !important;
font-weight: 500;
font-size: 18px;
line-height: 24px;
text-align: center;
vertical-align: middle;

}
 a.theme-btn3 {
  background: #ffffff;
color: #000000 !important;
  font-weight: 500;
  line-height: 24px;
font-size: 18px;
  letter-spacing: 0%;
  text-align: center;
  width: 154px;
  height: 44px;
  color: rgb(255, 255, 255);
  cursor: pointer;
  -webkit-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
  font-weight: 600;
  overflow: hidden;
  text-align: center;
  position: relative;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex
;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-transform: capitalize;
}

/* After: use a darker, solid color for sufficient contrast */
.bgc-secondary {
  background-color: #000000 !important;  /* A dark blue that pairs well with white text */
}

/* Ensure your text color remains white */
.text-white {
  color: #ffffff !important;
}
#nav-overlay {
  position: fixed;
  /* top: 0;
  left: 0; */
  width: 100%;
  height: 100%;
  background: rgb(20 20 20 / 73%);; /* 50% black overlay; adjust opacity as needed */
  z-index: 998; /* Must be lower than your navbar (z-index: 999 or above) but above the page content */
  display: none; /* Hidden by default */
}
.main-header {
  position: relative; /* or fixed, if needed */
  z-index: 1000;      /* higher than overlay's 998 */
  background: #fff;   /* or your desired header background color */
}




.section-subheading {
  max-width: 89%;  /* Ya 500px, jis hisaab se aapko lagta hai fit ho jayega */
  margin: 0 auto;
  text-align: center; /* Ensure text is centered */
}

/* Default (phone) styles */
.figma-section {
  padding: 36px 16px !important; /* top-bottom = 36px, left-right = 16px */
}
.abt{
  font-size: 18px ;
  line-height: 26px;
  color: #FFFFFFCC;
  font-family: var(--base-font);

}

/* For larger screens (desktop) */
@media (min-width: 992px) {
  .figma-section {
    /* padding: 56px 68px !important;  */
    padding: 25px 29px !important;
  }
  /* .abt{
    font-size: 16px ;
    color: #FFFFFFCC;

    
  } */
}

/* csr  */

    /* Navigation Buttons */
    .slider-nav {
        display: flex;
        gap: 15px;
        justify-content: flex-end;
        /* Right align */
        margin-top: 20px;
    }

    .slider-btn {
        height: 60px;
        /* Increased from 40px */
        width: 60px;
        /* Ensuring a square shape */
        border-radius: 50%;
        background: #7AB0D3;

        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .slider-btn img {
        /* width: 30px; */
        /* Adjusting image size */
    }



    /* Section Styling */
    .csr-section p {
        color: #676667;

    }

    .csr-section2 {
        /* padding: 84px 0px 0px 0px; */
        background: #5097C5;
    }

    .csr-section {
      /* margin: 0px 0px 100px 0px; */
      padding: 68px 0px !important;
      background: #5097C5;
  }


    .section-subheading {
        color: #7f8c8d;
        font-size: 1.1rem;
        /* max-width: 800px; */
        margin: 0 auto;
    }
    .section-heading {
      font-size: 44px;
      line-height: 46px;
  }

    .csr-carousel {
        width: 100%;
        overflow: visible !important;
        position: relative;
        padding: 20px 0;
    }

    .csr-card {
        flex: 0 0 80%;
        background: white;
        border-radius: 0px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 10px;
        transition: all 0.3s ease;
        opacity: 0.7;
        transform: scale(0.9);
    }

    /* Carousel Styling */
    .csr-carousel {
        width: 100%;
        overflow: hidden;
        position: relative;
        padding: 20px 0;
    }

    .csr-carousel-track {
        display: flex;
        transition: transform 0.5s ease-in-out;
        gap: 20px;
        padding: 0 10%;
    }

    .csr-card {
        flex: 0 0 80%;
        background: white;
        border-radius: 0px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 10px;
        transition: all 0.3s ease;
        /* opacity: 0.7; */
        transform: scale(0.9);
    }

    .csr-card.active {
        opacity: 1;
        transform: scale(1);
    }

    /* Card Content Styling */
    .card-title {
        color: #010001;
        margin-bottom: 15px;

        font-weight: 700;
        font-size: 28.9px;
        line-height: 34.68px;
    }

    .card-text {
        color: #7f8c8d;
        margin-bottom: 20px;
    }

    .know-more-btn {
        display: inline-block;
        background: #3498db;
        color: white;
        padding: 10px 25px;
        border-radius: 25px;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .know-more-btn:hover {
        background: #2980b9;
        transform: translateY(-2px);
    }

    /* Navigation Buttons */


    /* Responsive Design */
    @media (max-width: 768px) {
        .csr-card {
            flex: 0 0 112%;
        }

        .section-heading {
            font-size: 2rem;
        }
        .padd{
          margin-left: 12px !important;
        }
    }

    .or-bgcolor{
      background: #141414;
    }
    @media (max-width: 767.98px) {
      .row {
          margin: 0 !important; /* Sab taraf se margin hata diya */
      }
      .mbb{
        margin-top: 15px;
      }
      .padd{
        padding-left: 12px !important;
      }
  }