@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --primary-color: #ffffff;
  --button-color: #902E2E;
  --black-color: #000000;
  --ternory-color: #ffffff;
}

body{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Montserrat;
  font-weight: 400;
  letter-spacing: 0em;
  line-height: 1.66;
  font-size: 14px;
  border: 0px solid red;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, th {
  font-family: Playfair Display;
  color: #902E2E;
}
.btn{
  padding: 0.675rem 1.75rem !important;
}
.container-fluid{
  padding: 0px !important;
  margin: 0px !important;
}
a{
  font-family: Montserrat;
}
p{
  font-family: Montserrat !important;
}


/* ---footer css is here ---  */
.footer-logo{
  border: 0px solid red;
}
.footer_img{
  transform: scale(1);
  height: 80% !important;
}
.footer_nav{
  height: 100%;
  margin-top: 3rem !important;
}
.footer_nav ul li{
  line-height: 2em;
  border: 0px solid red;
}
.footer_border{
  border-right: 1px solid black;
}
.footer_first{
  border-top: 1px solid black;
  border-bottom: 1px solid black;
}
footer p{
  font-family: Montserrat;
}
.btn:hover{
  background-color: #902E2E !important;
  color: white;
  border: none;
}
.social-icon {
  font-size: 30px;
}
.footer-logo{
  height: 140px;
  overflow: hidden;
  border: 0px solid red;
}
.social-icon.twitter { color: #1DA1F2; } /* Twitter's color */
.social-icon.instagram { color: #C13584; } /* Instagram's color */
.social-icon.linkedin { color: #0077B5; } /* LinkedIn's color */
.social-icon.behance { color: #000000; } /* Behance's color */

/* ---footer left and right align ---  */
.footer_down_content > div:first-child {
  text-align: left;
}

.footer_down_content > div:nth-child(2) {
  text-align: right;
}

/* ---footer css is over now -----  */
@media screen and (max-width: 768px) and (min-width: 0px) {
  .footer-logo img {
    transform: scale(0.9);
  }
  .footer_nav{
    text-align: center;
    padding-top: 20px;
    margin-top: 0rem !important;
  }
  .footer_nav ul{
    margin-top: 0px;
  }
  .footer_border{
    border: none;
  }
  .border-bottom{
    border: none !important;
  }
  .footer_first{
    border-bottom: 1px solid black;
    margin-top: 15px;
  }
  /* ----contact form css is here ----  */
  .conatct_from{
    width: 100%;
  }
  .footer_down_content > div:first-child {
    text-align: center;
  }
  
  .footer_down_content > div:nth-child(2) {
    text-align: center;
  }
  /* -----contact form css is over ---  */
}

/* ---mobile device media query code ---  */


/* ----header slider css is here---  */
/* ----- header slider css is here---  */
.slider {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  position: relative;
  border: 0px solid red;
  font-family: Montserrat !important;
}
.slider .list .item {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0 0 0 0;
}
.slider .list .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider .list .item .content {
  position: absolute;
  top: 20%;
  width: 1140px;
  max-width: 80%;
  left: 42.5%;
  transform: translateX(-50%);
  padding-right: 30%;
  box-sizing: border-box;
  color: #fff;
  text-shadow: 0 5px 10px #0004;
}

.slider .list .item .content .title,
.slider .list .item .content .type {
  font-size: 5em;
  font-weight: bold;
  line-height: 1.3em;
}
.slider .list .item .type {
  color: #ff561d;
}
.slider .list .item .button {
  display: grid;
  grid-template-columns: repeat(2, 130px);
  grid-template-rows: 40px;
  gap: 5px;
  margin-top: 20px;
}
.slider .list .item .button button {
  border: none;
  background-color: #ff561d;
  font-family: Poppins;
  font-weight: 500;
  cursor: pointer;
  transition: 0.4s;
  letter-spacing: 2px;
}

.slider .list .item .button button:hover {
  letter-spacing: 3px;
}
.slider .list .item .button button:nth-child(2) {
  background-color: transparent;
  border: 1px solid #fff;
  color: #eee;
}

/* Thumbnail Section  */
.thumbnail {
  position: absolute;
  bottom: 50px;
  left: 50%;
  width: max-content;
  z-index: 99;
  display: flex;
  gap: 20px;
}

.thumbnail .item {
  width: 150px;
  height: 220px;
  flex-shrink: 0;
  position: relative;
}

.thumbnail .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
}

/* nextPrevArrows Section  */
.nextPrevArrows {
  position: absolute;
  top: 80%;
  right: 52%;
  z-index: 99;
  width: 300px;
  max-width: 30%;
  display: flex;
  gap: 10px;
  align-items: center;
}
.nextPrevArrows button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ff561d;
  border: none;
  color: #fff;
  font-family: monospace;
  font-weight: bold;
  transition: 0.5s;
  cursor: pointer;
}
.nextPrevArrows button:hover {
  background-color: #fff;
  color: #000;
}

/* Animation Part */
.slider .list .item:nth-child(1) {
  z-index: 1;
}

/* animation text in first item */
.slider .list .item:nth-child(1) .content .title,
.slider .list .item:nth-child(1) .content .type,
.slider .list .item:nth-child(1) .content .description,
.slider .list .item:nth-child(1) .content .buttons {
  transform: translateY(50px);
  filter: blur(20px);
  opacity: 0;
  animation: showContent 0.5s 1s linear 1 forwards;
}
@keyframes showContent {
  to {
    transform: translateY(0px);
    filter: blur(0px);
    opacity: 1;
  }
}
.slider .list .item:nth-child(1) .content .title {
  animation-delay: 0.4s !important;
}
.slider .list .item:nth-child(1) .content .type {
  animation-delay: 0.6s !important;
}
.slider .list .item:nth-child(1) .content .description {
  animation-delay: 0.8s !important;
}
.slider .list .item:nth-child(1) .content .buttons {
  animation-delay: 1s !important;
}

/* Animation for next button click */
.slider.next .list .item:nth-child(1) img {
  width: 150px;
  height: 220px;
  position: absolute;
  bottom: 50px;
  left: 50%;
  border-radius: 30px;
  animation: showImage 0.5s linear 1 forwards;
}

@keyframes showImage {
  to {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
}

.slider.next .thumbnail .item:nth-last-child(1) {
  overflow: hidden;
  animation: showThumbnail 0.5s linear 1 forwards;
}
.slider.prev .list .item img {
  z-index: 100;
}

@keyframes showThumbnail {
  from {
    width: 0;
    opacity: 0;
  }
}

.slider.next .thumbnail {
  animation: effectNext 0.5s linear 1 forwards;
}

@keyframes effectNext {
  from {
    transform: translateX(150px);
  }
}

/* Animation for prev button click */
.slider.prev .list .item:nth-child(2) {
  z-index: 2;
}

.slider.prev .list .item:nth-child(2) img {
  animation: outFrame 0.5s linear 1 forwards;
  position: absolute;
  bottom: 0;
  left: 0;
}
@keyframes outFrame {
  to {
    width: 150px;
    height: 220px;
    bottom: 50px;
    left: 50%;
    border-radius: 20px;
  }
}

.slider.prev .thumbnail .item:nth-child(1) {
  overflow: hidden;
  opacity: 0;
  animation: showThumbnail 0.5s linear 1 forwards;
}
.slider.next .nextPrevArrows button,
.slider.prev .nextPrevArrows button {
  pointer-events: none;
}

.slider.prev .list .item:nth-child(2) .content .title,
.slider.prev .list .item:nth-child(2) .content .type,
.slider.prev .list .item:nth-child(2) .content .description,
.slider.prev .list .item:nth-child(2) .content .buttons {
  animation: contentOut 1.5s linear 1 forwards !important;
}

@keyframes contentOut {
  to {
    transform: translateY(-150px);
    filter: blur(20px);
    opacity: 0;
  }
}
@media screen and (max-width: 678px) {
  .slider .list .item .content {
    padding-right: 0;
    position: absolute;
    left: 45%;
  }
  .slider .list .item .content .title {
    font-size: 50px;
  }
}

/* ----slider css is over now ----  */
/* ---header slider css is over now----  */
 /* -----projectlinkslider is here ---  */

@media screen and (max-width: 768px) and (min-width: 0px) {
 
.proejctLink_right h3{
  margin-top: 1.5em;
  margin-bottom: 1em;
  border: 0px solid red;
}

.grid-gallery{
  max-width: 100% !important;
  padding: 0px !important;
}

 }
 /* ---project link slider is over ---  */

@media screen and (max-width: 1300px) and (min-width: 5000px) {
 
  .slider .list .item .content {
    padding-right: 0;
    position: absolute;
    left: 45%;
    border: 1px solid red;
  }
}
/* Styles for the loader */
#loader {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  overflow: hidden;
}

/* Hide the loader when the page is loaded */
body.loaded #loader {
  display: none;
}

/* Keyframes animation for the loader */
@keyframes loaderAnimation {
  0% {
    top: 96px;
    left: 96px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  
  100% {
    top: 18px;
    left: 18px;
    width: 156px;
    height: 156px;
    opacity: 0;
  }
}

  .loader_in {
    border: 1px solid red;
    position: absolute;
    top: 39%;
    left: 40%;
}


/* Styles for the loader animation elements */
.loader_in div {
  position: absolute;
  border-width: 4px;
  border-style: solid;
  opacity: 1;
  border-radius: 50%;
  animation: loaderAnimation 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.loader_in div:nth-child(1) {
  border-color: #ae4d4d;
  animation-delay: 0s;
}

.loader_in div:nth-child(2) {
  border-color: #902E2E;
  animation-delay: -0.5s;
}
@media screen and (max-width: 565px) and (min-width: 0px) {
  .loader_in {
    border: 1px solid red;
    position: absolute;
    top: 39%;
    left: 24%;
}
}
/* ------loader is over now ----  */