* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Light", Helvetica, Arial, sans-serif;
  display: block;  /* Ensure block layout */
  background-color: #262525 !important;
  margin: 0; /* Reset default body margin */
  padding: 0; /* Reset default body padding */
}

/* Default Sidebar (Desktop) */
.sidebar {
width: 60px;
height: 100vh; /* Full viewport height */
background: rgba(46, 45, 43, 0.7);
color: white;
position: fixed; /* Fixes the sidebar to the viewport */
top: 0; /* Ensures it sticks to the top */
left: 0; /* Ensures it sticks to the left */
transition: width 0.5s ease;
overflow: hidden;
z-index: 1000; /* Ensures it stays above other content */
}
.sidebar:hover {
width: 200px;
}

.logo {
display: flex;
align-items: center;
justify-content: center;
height: 200px;
width: 100%;
transition: transform 0.3s ease; /* Rotation transition for desktop */
}

.logo img {
width: 40px;
height: auto;
transition: transform 0.3s ease; /* Smooth rotation for desktop */
}

.sidebar:hover .logo {
transform: rotate(90deg); /* Rotate on hover for desktop */
height: 100px; /* Adjust height on hover */
}

.nav {
list-style: none;
padding: 20px;
margin: 0;
}

.nav li {
padding: 25px;
opacity: 0;
transition: opacity 0.3s ease 0.1s;
width: 100%;
}

.sidebar:hover .nav li {
opacity: 1;
}

.nav li a {
text-decoration: none;
color: white;
display: block;
transition: color 0.3s;
}

.nav li a:hover {
color: #B26418;
}

.hamburger {
display: none; /* Hidden on desktop */
}

/* Main Content */
.main-content {
height: 100vh; /* Full viewport height */
width: 100%; /* Full viewport width */
position: relative;
margin: 0;
padding: 0;
}

.slider-container {
position: relative;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: hidden;
}

.slides {
display: flex;
transition: transform 0.5s ease-in-out;
width: 300%; /* 3 slides × 100% */
height: 100%;
}

.slide {
flex: 0 0 33.33%; /* Each slide takes 1/3 of container */
height: 100%;
}

.slide img {
width: 100%;
height: 100%;
object-fit: cover; /* Ensures images cover the full area */
}

.text-container {
position: absolute;
bottom: 40px;
left: 5rem;
z-index: 2;
text-align: left;
}

.slider-header {
color: #fff;
text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
margin: 0 0 5px 0; /* Margin bottom to separate from caption */
padding: 0;
}

.slider-caption {
color: #fff;
text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
font-size: 1.2em;
margin: 0;
padding: 0;
}


/* Navigation Buttons */
.slider-nav {
  position: absolute;
  bottom: 150px;
  left: 8%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  
}

.nav-btn {
  background: transparent;
  border: none; /* Initially no border */
  cursor: pointer;
  padding: 10px 15px;
  font-size: 18px;
  border-radius: 100%;
  transition: 0.3s;
  color: transparent;
}

.nav-btn:hover {
  color: #583E23;
}


/* containerp feature image  */

/* selected project*/
#containerp {
position: relative;
display: flex;
align-items: center;
height: 100vh;
width: 100%;
overflow: hidden;
}

.slidep {
position: relative;
flex: 1;
height: 100%;
overflow: hidden;
cursor: pointer;
transition: all 1s ease;
}

.slidep.active {
flex: 3; /* Expands when active */
}

.slidep.anim-in .image {
top: 0;
left: 0;
height: 100%;
width: 100%;
transition: all 1s ease;
}

.slidep.anim-out {
flex: 0;
opacity: 0;
}

.slidep .image {
position: absolute;
background-size: cover;
background-position: center center;
height: 100%;
width: 100%;
transition: all 1s ease;
}

.slidep .overlay {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
background-image: linear-gradient(rgba(20, 20, 20, 0.7), rgba(20, 20, 20, 0));
transition: all 0.5s ease;
}

.slidep .contentp {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
pointer-events: none;
}

.slidep .contentp .title {
position: absolute;
top: 20px;
width: 100%;
text-align: center;
font-size: 2.5em;
color: #fff;
opacity: 0;
transition: all 0.5s ease;
font-family: "Helvetica Light", Helvetica, Arial, sans-serif ;
}

.slidep.active .contentp .title {
opacity: 1;
left: -35%;
/* transform: translateX(-50px); Moves smoothly to the left */
}

/* View Project Button */
.slidep .contentp .view-project {
position: absolute;
top: 15%;
left: 8%;
transform: translate(-50%, -50%);
padding: 10px 20px;
background: #5f5e5d;
border: none;
color: white;
border-radius: 5px;
font-size: 1.2em;
cursor: pointer;
opacity: 0;
transition: all 0.5s ease;
pointer-events: none;
}

.slidep.active .contentp .view-project {
opacity: 1;
pointer-events: auto; /* Makes button clickable when visible */
}

.slidep .contentp .city-info {
position: absolute;
bottom: 30px;
right: 30px;
color: white;
opacity: 0;
transition: all 0.5s ease;
list-style: none; /* Removes bullet points */
padding: 0;
}

.slidep.active .contentp .city-info {
opacity: 1;
}

.slidep .contentp .city-info li {
margin-bottom: 10px;
text-align: right; /* Aligns text to the right */
}

.slidep .btn-close {
position: absolute;
top: 20px;
right: 20px;
width: 30px;
height: 30px;
cursor: pointer;
opacity: 0;
transition: all 0.5s ease;
}

.slidep.active .btn-close {
opacity: 1;
}

.slidep .btn-close:before,
.slidep .btn-close:after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 20px;
height: 2px;
background: white;
transition: all 0.3s ease;
}

.slidep .btn-close:before {
transform: translate(-50%, -50%) rotate(45deg);
}

.slidep .btn-close:after {
transform: translate(-50%, -50%) rotate(-45deg);
}

.slidep:hover:not(.active) .image {
transform: scale(1.05);
}

.slidep:hover:not(.active) .contentp .title {
opacity: 1;
}



.custombutton1{
background:black !important;
color: white;
width:100%;
border: 1px solid grey !important;
}

.custombutton1:hover{
background: #2b0d0d !important;
/* color: black; */
}


/* About Section */
.about-section {
  width: 100%;
  margin: 0 auto;
  display: flex; /* Use flexbox to align the image and text side by side */
  flex-direction: row; /* Ensure the content is side by side */
  align-items: center; /* Vertically center the content */
  justify-content: space-between; /* Add space between image and text */
  padding: 3rem 0;
  min-height: 100vh;
  position: relative;
  flex-wrap: wrap;
}
.about-left, .about-right {
flex: 1 1 50%; /* Each takes 50% of the width */
box-sizing: border-box; /* Include padding and borders in width */
padding: 20px; /* Add some padding for spacing */
}

/* Bangladesh Map */
.about-left {
  /* margin-left: -200px; */
  width:50%;
  height: 100%;
  position: relative;
  overflow: hidden;
  margin-top: -4rem;
  
}
/* Position the container */
.about-left {

  display: inline-block;
}

/* Style for location markers */
.map-marker {
  position: absolute;
  width: 15px;
  height: 15px;
  background-color: red;
  border-radius: 50%;
  cursor: pointer;
  transform: translate(-10%, -10%);
  transition: transform 0.3s ease-in-out;
}

/* Hover effect for markers */
.map-marker:hover {
  transform: scale(1);
}

.tooltip-box {
  position: absolute;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  list-style: none;
  display: block;
  white-space: nowrap;
  transform: translate(-50%, -120%);
}

.tooltip-box li {
  margin: 3px 0;
}


.map-image {
  width: 100%; /* Make the image responsive */
  max-width: 500px; /* Limit the size of the image */
  
}

/* Text Content */

.about-right {
  margin-top: 50px;
  height:100%;
  width: 100%; /* Ensure text section takes available space */
}

.about-right h2 {
  font-size: 28px;
  color: #B26418;
 
  margin-bottom: 2px; /* Adjust bottom margin as needed */
}

.about-right p {
width:80%;
  font-size: 18px;
  color: rgb(209, 211, 212);
  line-height: 1.6;
  margin-right: 10px; /* You can add right margin here if you want extra space on the right side of the text */
}

/* Initial hidden state for text and images */


.about-right h2, 
.about-right p, 
.about-left img {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}


/* When elements are visible */

.about-right.visible h2, 
.about-right.visible p, 
.about-left.visible img {
  opacity: 1;
  transform: translateY(0);
}






/* Counter Section inside About */
.container-fluid.text-center {

  text-align: center;
  color: #d1d3d4;
  margin-top: 15rem; /* Space between text and counter section */
}

/* Row containing counters */
.container-fluid.text-center .row {
  display: flex;
  /* justify-content: space-evenly; Distribute counters evenly with more space */
  /* gap: 3rem; Increased gap between counter elements */
  flex-wrap: wrap;
  align-items: center; /* Align items to the center vertically */
}

/* Counter Box Styling */
.col-sm-3 {
  padding: 1rem;
  width: 25%;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

/* Hover effect on each counter */
.col-sm-3:hover {
  transform: scale(1.05);

}


.counter-heading {
  font-size: 15px;
  color: #4d4b4b;
  margin-bottom: 0.5rem;
  white-space: nowrap; /* Prevents text from wrapping */
}

/* Number Styling for Counter */
/* Number Styling for Counter */
.counter-number {
  font-size: 20px; /* Default font size */
  color: #B26418;
  margin-bottom: 0.5rem;
  transition: font-size 0.3s ease-in-out; /* Smooth transition for font size changes */
}












.project-album-section {
  margin: 150px;
  text-align: center;
}

.section-heading {
  font-size: 2em;
  margin-bottom: 20px;
  color: #bdbaba;
}
.project-album1 {
  position: relative;
  margin:20px 10px;
  background: transparent;
  
}
.project-album2 {
  position: relative;
  /* margin:20px 10px; */
  background: transparent;
  
}

.project-album-previous {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 30px;
  color: white;
  z-index: 1;
}

.project-album-previous i {
  background: rgb(0, 0, 0, 0.4);
  transition: all 0.5s;
  cursor: pointer;
  padding: 5px 0;
}

.project-album-previous i:hover {
  background: rgb(0, 0, 0, 0.7);
  padding-left: 10px;
}

.project-album-next {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 30px;
  color: white;
  z-index: 1;
}

.project-album-next i {
  background: rgb(0, 0, 0, 0.4);
  transition: all 0.5s;
  cursor: pointer;
  padding: 5px 0;
}

.project-album-next i:hover {
  background: rgb(0, 0, 0, 0.7);
  padding-right: 10px;
}

.project-slider {
  display: flex;
  
  width: 100%;
  position: relative;
  margin: 0;
}
.project-slider {
  overflow-x: hidden;  /* Hide the horizontal scrollbar */
  scroll-behavior: smooth; /* Enable smooth scrolling */
}

.project-slider img {
  width: 300px;
  height: 150px;
  margin: 10px;
  cursor: pointer;
  border-radius: 5px;
  object-fit: cover;
  transition: opacity 0.3s ease-in-out;
}


.project-slider a {
  position: relative;
  display: inline-block;
}



.project-name {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  color: white;
  text-align: left;
  padding: 5px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.project-slider a:hover img {
  opacity: 0.3;
}

.project-slider a:hover .project-name {
  opacity: 1;
}


.project-album2 .project-slider img:nth-child(1) {
  margin-left: 0;
}

.project-album2 .project-slider img:nth-last-child(1) {
  margin-right: 0;
}

.project-album1 .project-slider img:nth-child(1) {
  margin-left: 0;
}

.project-album1 .project-slider img:nth-last-child(1) {
  margin-right: 0;
}




/* Fullscreen section */
.services {
  position: relative;
  width: 100%;
  height: 100vh; /* Fullscreen */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Title & subtitle */
.section-title {
  font-size: 36px;
  color: white;
  font-weight: bold;
  margin-bottom: 100px;
}

.subtitle {
  font-size: 18px;
  color: white;
  margin-bottom: 30px;
}

/* Service grid */
.service-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
  width: 80%;
  max-width: 1200px;
}

/* Cards */
.service-card {
  width: 350px; /* Adjust size as needed */
  padding: 20px;
  background: rgba(221, 219, 219, 0.5); /* Dark semi-transparent background */
  backdrop-filter: blur(10px); /* Blur effect */
  border-radius: 10px;
  color: white;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease-in-out;
}

.service-card:hover {
  transform: translateY(-5px);
}
/* Text & icons */
.service-card h3 {
  font-size: 20px;
  color: black;
}

.service-card p {
  font-size: 14px;
  color: black;
}

.service-card img {
  width: 50px;
  margin-top: 10px;
}

/* Hover effect */
.service-card:hover {
  transform: translateY(-5px);
}






/* Testimonial Section */
.heading {
  position: relative;
}
.testimonials {
  background: center no-repeat;
  background-size: cover;
  background-attachment: fixed;
  padding: 100px  100px;
  color: #ffffff; 
  
}
.testimonials:before {
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 80%;
  top: 0;
  position: absolute;
  left: 0;
}
.testimonials .heading h2 {
  font-size: 25px;
  font-weight: 700;
  color: #ffffff;
}

.testimonials .heading h2 span {
  color: #ffffff;
}

.testimonials p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #d1e5e7;
  margin: 20px 0;
  padding: 0;
}

/* Image */
.testimonials .carousel-inner .carousel-item .team {
  width: 100px;
  height: 100px;
  border: 2px solid #4e1515;
  border-radius: 100%;
  padding: 5px;
  margin: 50px 0 15px;
}

.testimonials .carousel-inner .carousel-item h3 {
  font-size: 20px;
  color: #ffffff;
  font-weight: 600;
}

.testimonials .carousel-inner .carousel-item h4 {
  font-size: 14px;
  font-weight: 300;
  color: #e2e1e1;
  margin-bottom: 20px;
}

.testimonials .carousel-indicators {
  bottom: -30px;
}

.testimonials .carousel-indicators li {
  background-color: #b8b7b7;
  border-radius: 30px;
  height: 4px;
  width: 40px;
}

.testimonials .carousel-indicators .active {
  background-color: #380404;
}

.testimonials .control span {
  cursor: pointer;
}

.testimonials .icon {
  height: 40px;
  width: 40px;
  background-size: 100%, 100%;
  border-radius: 50%;
  font-size: 30px;
  background-image: none;
  color: #ffffff;
}




a {
  transition: .3s;
}

.nav__title {
  font-weight: 400;
  font-size: 15px;
  margin-left: 200px;
}

.footer address {
  font-style: normal;
  color: #999;
}

.footer__btn {
  color: #999;
  
}
.footer__logo {
  font-weight: 400;
  text-transform: lowercase;
  font-size: 1.5rem;
  color: #999999;
}

.footer ul {
  list-style: none;
  padding-left: 0;
}

.footer li {
  line-height: 2em;
  text-align: center;
}

.footer a {
  text-decoration: none;
}

.footer__nav {
  display: flex;
  flex-flow: row wrap;
}

.footer__nav > * {
  flex: 1 50%;
  margin-right: 1.25em;
}

.nav__ul a {
  color: #999;
}

.nav__ul--extra {
  column-count: 2;
  column-gap: 1.25em;
}




a:hover,
a:active,
a:focus {
  outline: none;
  text-decoration: none;
}

.footer {
  position: relative;
  padding-top: 45px;
  background: #121518;
}

.footer .footer-blog,
.footer .footer-insta,
.footer .footer-tags,
.footer .footer-newsletter {
  position: relative;
  margin-bottom: 45px;
  
}

.footer .footer-blog h3,
.footer .footer-insta h3,
.footer .footer-tags h3,
.footer .footer-newsletter h3 {
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 10px;
  font-size: 18px;
  font-weight: 100;
  color: #ffffff;
  margin-left: 800px;
}

.footer .footer-blog h3::after,
.footer .footer-insta h3::after,
.footer .footer-tags h3::after,
.footer .footer-newsletter h3::after {
  position: absolute;
  content: "";
  width: 50px;
  height: 2px;
  left: 0;
  bottom: 0;
  background: #ffffff;
}

.footer .footer-blog div {
  position: relative;
  padding-left: 15px;
}

.footer .footer-blog div::before {
  position: absolute;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #cccccc;
  left: 0;
}

.footer .footer-blog div a {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
  color: #cccccc;
}

.footer .footer-blog div a:hover {
  color: #000000;
}

.footer .footer-blog div p {
  padding-left: 20px;
  color: #757575;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
}

.footer .footer-blog div p::before {
  position: absolute;
  content: "\f017";
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
  color: #757575;
  left: 15px;
}

.footer .footer-insta {
  float: left;
  font-size: 0;
}

.footer .footer-insta a {
  padding: 0 5px 5px 0;
  display: block;
  width: 33.33%;
  float: left;
}

.footer .footer-insta a img {
  width: 100%;
}

.footer .footer-tags {
  font-size: 0;
}

.footer .footer-tags a {
  display: inline-block;
  margin: 0 5px 5px 0;
  padding: 3px 8px;
  font-size: 14px;
  color: #dddddd;
  text-transform: capitalize;
  border: 1px solid #dddddd;
}

.footer .footer-tags a:hover {
  color: #ffffff;
  background: #4b2808;
  border-color: #311d03;
}

.footer .footer-newsletter .form {
  position: relative;
  width: 100%;
  margin-left: 800px;
  
}

.footer .footer-newsletter input {
  height: 45px;
  border: 1px solid #dddddd;
  border-radius: 0;
  background: #121518;
  margin-bottom: 15px;

}

.footer .footer-newsletter .btn {
  display: block;
  width: 100%;
  height: 45px;
  padding: 8px 20px;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  color: #dddddd;
  background: #000000;
  border-radius: 0;
  border: 1px solid #dddddd;
  transition: .3s;
}

.footer .footer-newsletter .btn:hover {
  color: #ffffff;
  background: #3a2002;
  border-color: #331d03;
}

.footer .footer-newsletter .btn:focus {
  box-shadow: none;
}

.footer .footer-contact {
  position: relative;
  padding: 25px 0;
  text-align: center;
  border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .footer-contact h4 {
  position: relative;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #ffffff;
}

.footer .footer-contact p {
  margin: 0;
  font-size: 16px;
  color: #999999;
}

.footer .footer-contact a {
  display: inline-block;
}

.footer .footer-contact a i {
  margin-right: 10px;
  font-size: 18px;
  color: #999999;
}

.footer .footer-contact a:last-child i {
  margin: 0;
}

.footer .footer-contact a:hover i {
  color: #0c0c0c;
}

@media (max-width: 767.98px) {
  .footer .footer-contact .col-md-4 {
    margin-bottom: 25px;
  }

  .footer .footer-contact .col-md-4:last-child {
    margin: 0;
  }
}

.footer .copyright {
  position: relative;
  padding: 25px 100px ;
  background: #000000;
}

.footer .copyright .copy-text p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: #999999;
}

.footer .copyright .copy-text p a {
  color: #dddddd;
}

.footer .copyright .copy-text p a:hover {
  color: #181717;
}

.footer .copyright .copy-menu {
  position: relative;
  font-size: 0;
  text-align: right;
}

.footer .copyright .copy-menu a {
  color: #999999;
  font-size: 16px;
  font-weight: 400;
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, .3);
}

.footer .copyright .copy-menu a:hover {
  color: #000000;
}

.footer .copyright .copy-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

@media (max-width: 767.98px) {
  .footer .copyright .copy-text,
  .footer .copyright .copy-menu {
    text-align: center;
  }

  .footer .copyright .copy-text p {
    margin-bottom: 5px;
  }
  .footer .row{
    width: calc(100% - 7rem);
    position: relative;
  }

}

/* Mobile Media Query */

/* Media query for mobile devices */
@media (max-width: 768px) {
.about-section {
    flex-direction: column; /* Stack items vertically */
    padding: 1.5rem 0; /* Reduce padding for mobile */
}

.about-left, .about-right {
    flex: 1 1 100%; /* Full width for both sections */
    padding: 10px; /* Reduce padding for mobile */
}

.about-right {
    order: 1; /* Move .about-right to appear first */
    width: calc(100% - 7rem);
    position:relative;
}

.about-left {
    order: 2; /* Move .about-left to appear second */
}

.about-right p {
    width: 100%; /* Full width for text on mobile */
}

.container-fluid.text-center {
    margin-top: 2rem; /* Reduce margin for mobile */
}

.col-sm-3 {
    width: 50%; /* Two counters per row on smaller screens */
}
/* sidebar  */
}


/* Media Query for Tablets and Below (max-width: 768px) */
@media (max-width: 768px) {
  .services {
    height: 100vh; /* Keep full height */
    width: 100vw; /* Full width */
    padding: 20px 0; /* Add some vertical padding */
  }

  .section-title {
    font-size: 28px; /* Smaller title */
    margin-bottom: 60px; /* Reduced spacing */
  }

  .subtitle {
    font-size: 16px; /* Slightly smaller */
    margin-bottom: 20px; /* Reduced spacing */
  }

  .service-container {
    display: flex; /* Switch to flex for column layout */
    flex-direction: column; /* Stack cards vertically */
    gap: 30px; /* Smaller gap between cards */
    width: 90%; /* Slightly wider container */
    max-width: none; /* Remove max-width constraint */
    align-items: center; /* Center cards */
  }

  .service-card {
    width: 80%; /* Responsive width */
    max-width: 350px; /* Cap at original width */
    padding: 15px; /* Slightly less padding */
  }

  .service-card h3 {
    font-size: 18px; /* Slightly smaller heading */
  }

  .service-card p {
    font-size: 13px; /* Slightly smaller text */
  }

  .service-card img {
    width: 40px; /* Smaller icon */
    margin-top: 8px;
  }
}

/* Media Query for Very Small Screens (max-width: 300px) */
@media (max-width: 300px) {
  .services {
    height: 100vh; /* Full height */
    width: 100vw; /* Full width */
    padding: 15px 0; /* Tighter padding */
  }

  .section-title {
    font-size: 22px; /* Even smaller title */
    margin-bottom: 40px; /* Tighter spacing */
  }

  .subtitle {
    font-size: 14px; /* Smaller subtitle */
    margin-bottom: 15px; /* Tighter spacing */
  }

  .service-container {
    gap: 20px; /* Even smaller gap */
    width: 95%; /* Almost full width */
  }

  .service-card {
    width: 90%; /* Nearly full width */
    max-width: 300px; /* Smaller cap */
    padding: 10px; /* Minimal padding */
  }

  .service-card h3 {
    font-size: 16px; /* Smaller heading */
  }

  .service-card p {
    font-size: 12px; /* Tiny text */
  }

  .service-card img {
    width: 35px; /* Tiny icon */
    margin-top: 5px; /* Minimal spacing */
  }
}




@media (max-width: 767.98px) {
  .footer .footer-contact .col-md-4 {
    margin-bottom: 25px;
  }
  .ml3{
    margin-left: 3rem !important;
  }
  .footer .footer-contact .col-md-4:last-child {
    margin: 0;
  }
}

.footer .copyright {
  position: relative;
  padding: 25px 100px ;
  background: #000000;
}

.footer .copyright .copy-text p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: #999999;
}

.footer .copyright .copy-text p a {
  color: #dddddd;
}

.footer .copyright .copy-text p a:hover {
  color: #181717;
}

.footer .copyright .copy-menu {
  position: relative;
  font-size: 0;
  text-align: right;
}

.footer .copyright .copy-menu a {
  color: #999999;
  font-size: 16px;
  font-weight: 400;
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, .3);
}

.footer .copyright .copy-menu a:hover {
  color: #000000;
}

.footer .copyright .copy-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

@media (max-width: 767.98px) {
  .footer .copyright .copy-text,
  .footer .copyright .copy-menu {
    text-align: center;
  }

  .footer .copyright .copy-text p {
    margin-bottom: 5px;
  }

}


















/* Mobile devices (up to 768px) */
@media (max-width: 768px) {
  .project-album-section {
    margin: 20px; /* Reduce margin for smaller screens */
  }

  .section-heading {
    font-size: 1.5em; /* Smaller heading */
  }

  .project-slider {
    display: flex;
    flex-wrap: nowrap; /* Prevent wrapping to ensure one item at a time */
    /* overflow-x: auto; Allow horizontal scrolling */
   
    scroll-snap-type: x mandatory; /* Snap to each item */
    position: relative; /* Ensure arrows are positioned relative to slider */
  }

  .project-slider a {
    flex: 0 0 100%; /* Each item takes full width */
    scroll-snap-align: start; /* Snap to the start of each item */
  }

  .project-slider img {
    width: 300px; /* Smaller images */
    height: 300px;
    margin: 5px; /* Reduced margin */
  }

  .project-album-previous {
    position: absolute;
    top: 50%; /* Center vertically */
    left: 3.5rem; /* Move right to avoid sidebar overlap (slightly past 3rem) */
    transform: translateY(-50%); /* Vertically center */
    height: auto; /* Remove full height to avoid overflow issues */
    font-size: 20px;
    color: white;
    z-index: 2; /* Ensure it’s above content */
  }

  .project-album-next {
    position: absolute;
    top: 50%; /* Center vertically */
    right: 0; /* Keep aligned to the right edge */
    transform: translateY(-50%); /* Vertically center */
    height: auto; /* Remove full height to avoid overflow issues */
    font-size: 20px;
    color: white;
    z-index: 2; /* Ensure it’s above content */
  }

  .project-album-previous i,
  .project-album-next i {
    background: rgba(0, 0, 0, 0.4);
    padding: 5px; /* Consistent padding for visibility */
    border-radius: 50%; /* Optional: make arrows circular */
    transition: all 0.5s;
    cursor: pointer;
  }

  .project-album-previous i:hover {
    background: rgba(0, 0, 0, 0.7);
    padding-left: 8px; /* Slightly larger hover effect */
  }

  .project-album-next i:hover {
    background: rgba(0, 0, 0, 0.7);
    padding-right: 8px; /* Slightly larger hover effect */
  }

  .project-name {
    bottom: 20px; /* Adjust position */
    font-size: 0.9em; /* Smaller text */
    padding: 3px;
  }

  .project-album1,
  .project-album2 {
    margin: 10px 5px; /* Adjust container margins */
    position: relative; /* Ensure arrows stay within bounds */
  }
}

/* Extra small devices (below 480px) */
@media (max-width: 480px) {
  .project-album-section {
    margin: 10px;
  }

  .section-heading {
    font-size: 1.2em;
  }

  

  .project-slider img {
    width: 300px;
    height: 300px;
    margin: 8px;
  }

  .project-album-previous {
    left: 3.5rem; /* Consistent with larger mobile */
    font-size: 18px;
  }

  .project-album-next {
    font-size: 18px;
  }

  .project-name {
    bottom: 15px;
    font-size: 0.8em;
    padding: 2px;
  }
}

/* Tablets (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .project-album-section {
    margin: 50px;
  }

  .section-heading {
    font-size: 1.8em;
  }

  .project-slider img {
    width: 300px;
    height: 300px;
    margin: 8px;
  }

  .project-album-previous,
  .project-album-next {
    font-size: 25px;
  }
}

/* Large screens (above 1024px) */
@media (min-width: 1025px) {
  .project-album-section {
    margin: 150px;
  }

  .section-heading {
    font-size: 2em;
  }

  .project-slider img {
    width: 300px;
    height: 150px;
  }

  .project-album-previous,
  .project-album-next {
    font-size: 30px;
  }
}


@media (max-width: 768px) {

  .slidep .contentp .title {
    font-size: 1em;
    
  }
  
  .slidep.active .contentp .title {
    opacity: 1;
    left: 1%;
    /* transform: translateX(-50px); Moves smoothly to the left */
  }
  .copy-menu{
    width: 60%;
    text-align: center;
  }
  
  /* View Project Button */
  .slidep .contentp .view-project {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 20px;
    background: #5f5e5d;
    border: none;
    color: white;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
    opacity: 0;
    transition: all 0.5s ease;
    pointer-events: none;
  }
  
  .slidep.active .contentp .view-project {
    opacity: 1;
    pointer-events: auto; /* Makes button clickable when visible */
  }


}
