/* Base styles for .nav.nav-tabs (already provided) */

:root {
  --primary-color: #1a1f3d;
  --secondary-color: #97837a;
  --text-color: #ffffff;
  --bg-card: #14172f;
}

.text-phone
{
  text-align: right;
}
iframe.reounded-4 {
  /* height: 100vh; */
  width: 400px;
  height: 400px;
  border-radius: 7px;
}
@media (max-width: 1280px)
{
  .title-style {
    font-size: 3rem;
}


svg.svg-inline--fa.fa-arrow-right-long ,
svg.svg-inline--fa.fa-arrow-left-long {
  color: var(--bg-card);
  font-size: 5rem;
  display: none;
}
.carousel-control-next, .carousel-control-prev {
  display: none;
}
h1.text-outline {
  font-size: 12rem !important;
  top: -80px;
}

#about
{
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
}

/* For tablets (768px and below) */
@media (max-width: 768px) {
  ul.nav.nav-tabs {
    width: fit-content;
    flex-direction: row;
  }

  .nav-tabs .nav-link {
    -webkit-writing-mode: horizontal-tb;
    margin: 0px;
  }

  .nav-tabs .nav-item {
    margin: -31px 0 10px 0px;
    padding: 0px 10px 1px 10px;
  }

  #about {
    position: relative;
    height: fit-content;
    overflow: hidden;
  }
  h1.text-outline {
    position: absolute;
    bottom: 88px;
    font-size: 5rem !important;
  }
}
@media (max-width: 850px) {
  #about {
    position: relative;
    height: fit-content;
    overflow: hidden;
  }
  h1.text-outline {
    position: absolute;
    top: 70%;
    font-size: 10rem !important;
    font-size: 20rem;
  }

  .nav-tabs .nav-link {
    font-size: 1.5rem !important;
  }

  .nav-tabs .nav-link.active::before {
    position: absolute;
    content: "";
    top: -30px;
    left: 62%;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: transparent;
    z-index: 1000;
    box-shadow: 15px 15px 0 #1a1f3d;
    transition: 0.5s all;
  }
  .nav-tabs .nav-link.active::after {
    position: absolute;
    content: "";
    top: -30px;
    right: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: transparent;
    z-index: 1000;
    box-shadow: 15px -15px #1a1f3d;
    transition: 0.5s all;
  }

  .nav-tabs .nav-item.show .nav-link,
  .nav-tabs .nav-link.active {
    margin: 0 -5px 0 0;
  }

  .achievement-section {
    padding: 65px 0;
  }

  .image-overlay-circle {
    right: -10%;
  }

  .col-lg-8-services {
    position: relative;
    z-index: 100000;
  }

  .project-p {
    font-size: 1.2rem;
    line-height: 3rem;
  }

  .title-style {
    font-size: 2rem !important;
  }

  .team-slider-p {
    font-size: 1rem;
    text-align: right;
    line-height: 2rem;
  }

  iframe.reounded-4 {
    text-align: center;
    padding: 35px;
    border-radius: 10px;
    width: 100%;
    height: 132%;
  }

  .social-media {
    position: relative;
    bottom: 0;
    right: 0%;
  }

  h4.text-white.py-5 {
    padding-bottom: 0 !important;
  }

  .title-style::before, .title-style::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 200px;
    height: 1px;
    background-color: #b8a9a4;
    transform: translateY(-50%);
}

.title-style {
  font-family: "Alexandria", serif;
  font-size: 5rem;
  color: #b8a9a4;
  text-align: center;
  position: relative;
  display: inline-block;
  font-weight: 900;
}

.title-color-two
{
  font-size: 1.0rem !important;
}
.text-center-phone
{
  text-align: center !important;
}
}


/* For phones (480px and below) */
@media (max-width: 480px) {
p#lightboxModalDescription {
    font-size: 13px;
}
  ul.nav.nav-tabs {
    width: fit-content;
    flex-direction: row;
  }

  .nav-tabs .nav-link {
    margin: 0px;
    -webkit-writing-mode: horizontal-tb;
  }
  .nav-tabs .nav-item {
    margin: -11px 0 10px 0px;
    padding: 0px 10px 1px 10px;
  }

  .slide-content h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.hero-slider {
    height: 60vh;
}

.bottom-logo {
    height: 78px;
    opacity: 0.8;
}

#about {
    padding: 10px 0 ;
    margin: 10px 0;
    height: 60vh;
}

.nav-tabs .nav-link {
    font-size: 14px !important;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link {
    margin: -12px 0px 0px 0;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    margin: -12px 0px 0px 0;
}
.nav-tabs .nav-link.active::before {
    position: absolute;
    content: "";
    top: -20px;
    right: 8%;
    width: 10px;
    height: 10px;
    background-color: transparent;
}

ul.nav.nav-tabs {
    padding: 20px 0 6px 0;
}


.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    border-radius: 10px;
}



.title-style-phone
{
    font-size: 12px;
    margin-right: 1rem !important;
}

h1.text-outline {
    position: absolute;
    font-size: 3.5rem !important;
    top: 81%;
    right: -9px;
    -webkit-text-stroke: 1px #ffffff0d;
}

.title-style {
  font-size: 1.1rem !important;

}

.overflow-hide
{
  overflow: hidden;
}

.project-p {
    font-size: 12px;
    line-height: 2rem;
}

.title-color-two {
    color: var(--secondary-color);
    padding-top: 0px !important;
    font-size: 22px;
}

.title-color-two {
    color: var(--secondary-color);
    padding-top: 0px !important;
    font-size: 13px;
    margin: 20px 0 0 0;
}

iframe.reounded-4 {
    text-align: center;
    padding: 0;
    margin-top: 17px;
    border-radius: 10px;
    width: 109%;
    height: 132%;
}

.bg-contact-us .container {
    background-color: var(--bg-card);
    padding: 7px 56px 50px 56px;
    border-radius: 25px;
}

.services-section.py-5.my-5.aos-init.aos-animate {
    padding: 0 !important;
    margin: 0 !important;
}

.image-overlay-circle {
    right: -36%;
}

.title-color {
    color: var(--text-color);
    font-size: 15px;
}

.p-color {
    color: var(--secondary-color);
    font-size: 12px !important;
}

.card.card-project.py-5.rounded-5.mx-2 {
    padding: 0 !important;
    margin: 0 !important;
}

.radio-group {
    display: block;
}

.image-container {
  position: relative;
  width: 100%;
  height: fit-content;
  border-radius: 32px;
  overflow: hidden;
  clip-path: polygon(80% 0, 80% 25%, 80% 43%, 100% 43%, 100% 100%, 34% 100%, 0 100%, 0% 43%, 0 0);
  border-radius: 25px;
}
.main-image {
  width: 70%;
  height: 100%;
  object-fit: cover;
  border-radius: 7px;
  transition: opacity 0.3s ease;
}

.image-overlay-circle img {
  width: 49%;
  animation: circle 20s infinite linear;
}
.image-overlay-circle {
  right: 23%;
  top: -28px;;
}


.img-phone-size {
  width: 100%;
  height: 140px;
  aspect-ratio: 2 / 3;
  object-fit: fill;
  overflow: hidden;
  position: relative;
  text-align: center;
  position: relative;
}

.img-phone-size img {
  width: 100%;
  object-fit: fill;
  height: -webkit-fill-available;
}

/* .wrapper {
  position:sticky;
  bottom: 60px;
  width: 100%;
  transition: transform 0.3s ease;
} */




.wrapper {
  position: sticky;
  bottom: 60px;  /* Adjust this value depending on where you want the cards to start appearing */
  z-index: 1; /* Keeps cards on top of other elements */
  width: 100%;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.wrapper-card {
  transform: translateY(0); /* Set initial position */
  transition: transform 0.3s ease;
}





.wrapper.sticky {
  transform: translateY(-10px); /* Move card up when it's sticky */
}

/* Optional: Add a shadow effect when sticky */
.wrapper.sticky .wrapper-card {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.wrapper-card .card-body {
  padding: 15px;
}


.services-section {
  padding: 0rem 0;
  text-align: right !important;
}



.img-phone-size-title {
  position: absolute;
  bottom: 12px;
  font-size: 10px;
  background: #ffffff7d;
  text-align: center;
  right: 13px;
  width: 86%;
  margin: auto;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  padding: 5px;

}

.img-phone-size-title  h5
{
  font-size: 13px !important;
  color: var(--primary-color);
}

iframe.reounded-4 {
  text-align: center;
  padding: 0;
  margin-top: 17px;
  border-radius: 10px;
  width: 100%;
  height: 132%;
}

.text-phone
{
  text-align: center;
}

.ms-phone
{
  margin-right: 1rem !important;
}

.title-size-phone-s
{
  font-size: 1.0rem !important;
}
.p-size-phone
{
  font-size: 0.6rem !important;
}




/* .image-filters-box {
  width: -webkit-fill-available;
  height: 150px;
  object-fit: fill;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  transition: all 0.2s ease-in-out;
}



.image-filters-box:hover img {
 transform: scale(1.05);
 transition: all 0.2s ease-in-out;

} */

}



.bg-custom-phone
{
  background-color: #14172f !important;
  border-radius: 14px;
}

/*  media query for phone and tablet */
@media screen and (max-width: 768px) {
  h1.text-outline {
    position: absolute;
    bottom: -27px;
    font-size: 10rem;
  }
  p#lightboxModalDescription {
    font-size: 13px;
}
}
@media screen and (max-width: 576px) {
  h1.text-outline {
    position: absolute;
    bottom: 88px;
    font-size: 4.8rem !important;
  }
  .achievement-section {
    color: white;
    padding: 0px 0 10px 0 !important;
  }
  p#lightboxModalDescription {
    font-size: 13px;
}
}






.image-filters-box {
  position: relative;
  overflow: hidden;
}

.image-filters-box img {
  transition: transform 0.3s ease-in-out;
  height: 20vh;
  object-fit: cover !important;
}


.project-name {
  position: absolute;
  bottom:0;
  width: fit-content;
  background-color: rgba(26, 31, 61, 0.85);
  padding: 10px 15px;
  transition: all 0.4s ease-in-out;
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}


.project-name {
  right: 0;
  border-radius: 15px 0 0 0;
}


.image-filters-box:hover .project-name{
  transform: scale(1.05);
  background-color: #1a1f3d;
  box-shadow: 0 0 15px #1a1f3d;

}

.project-name h4 {
  font-size: 10px;
  color: #fff;
  transition: color 0.3s ease-in-out;
}

.image-filters-box:hover .project-name h4 {
  color: #fff;
}


.image-filters-box:hover .project-name {
  right:7%;
  border-radius: 15px 15px 0 0;
}

