@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.logo
{
  height: 60px;
  width: auto;
}
html,body{
  overflow-x:auto;
  width: 100%;
  font-family: poppins;
}
/* Preloader Styling */
#preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #f8f8f8;
  background-size: 50%;
  align-items: center;
  display: flex;
  z-index: 9900; 
  justify-content: center;
}
/* From Uiverse.io by Nawsome */ 
.loadingspinner {
  --square: 26px;
  --offset: 30px;
  --duration: 2.4s;
  --delay: 0.2s;
  --timing-function: ease-in-out;
  --in-duration: 0.4s;
  --in-delay: 0.1s;
  --in-timing-function: ease-out;
  width: calc( 3 * var(--offset) + var(--square));
  height: calc( 2 * var(--offset) + var(--square));
  padding: 0px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  margin-bottom: 30px;
  position: relative;
}

.loadingspinner div {
  display: inline-block;
  background: #f8b526;
    /*background: var(--text-color);*/
    /*box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);*/
  border: none;
  border-radius: 2px;
  width: var(--square);
  height: var(--square);
  position: absolute;
  padding: 0px;
  margin: 0px;
  font-size: 6pt;
  color: black;
}

.loadingspinner #square1 {
  left: calc( 0 * var(--offset) );
  top: calc( 0 * var(--offset) );
  animation: square1 var(--duration) var(--delay) var(--timing-function) infinite,
               squarefadein var(--in-duration) calc(1 * var(--in-delay)) var(--in-timing-function) both;
}

.loadingspinner #square2 {
  left: calc( 0 * var(--offset) );
  top: calc( 1 * var(--offset) );
  animation: square2 var(--duration) var(--delay) var(--timing-function) infinite,
              squarefadein var(--in-duration) calc(1 * var(--in-delay)) var(--in-timing-function) both;
}

.loadingspinner #square3 {
  left: calc( 1 * var(--offset) );
  top: calc( 1 * var(--offset) );
  animation: square3 var(--duration) var(--delay) var(--timing-function) infinite,
               squarefadein var(--in-duration) calc(2 * var(--in-delay)) var(--in-timing-function) both;
}

.loadingspinner #square4 {
  left: calc( 2 * var(--offset) );
  top: calc( 1 * var(--offset) );
  animation: square4 var(--duration) var(--delay) var(--timing-function) infinite,
               squarefadein var(--in-duration) calc(3 * var(--in-delay)) var(--in-timing-function) both;
}

.loadingspinner #square5 {
  left: calc( 3 * var(--offset) );
  top: calc( 1 * var(--offset) );
  animation: square5 var(--duration) var(--delay) var(--timing-function) infinite,
               squarefadein var(--in-duration) calc(4 * var(--in-delay)) var(--in-timing-function) both;
}

@keyframes square1 {
  0% {
    left: calc( 0 * var(--offset) );
    top: calc( 0 * var(--offset) );
  }

  8.333% {
    left: calc( 0 * var(--offset) );
    top: calc( 1 * var(--offset) );
  }

  100% {
    left: calc( 0 * var(--offset) );
    top: calc( 1 * var(--offset) );
  }
}

@keyframes square2 {
  0% {
    left: calc( 0 * var(--offset) );
    top: calc( 1 * var(--offset) );
  }

  8.333% {
    left: calc( 0 * var(--offset) );
    top: calc( 2 * var(--offset) );
  }

  16.67% {
    left: calc( 1 * var(--offset) );
    top: calc( 2 * var(--offset) );
  }

  25.00% {
    left: calc( 1 * var(--offset) );
    top: calc( 1 * var(--offset) );
  }

  83.33% {
    left: calc( 1 * var(--offset) );
    top: calc( 1 * var(--offset) );
  }

  91.67% {
    left: calc( 1 * var(--offset) );
    top: calc( 0 * var(--offset) );
  }

  100% {
    left: calc( 0 * var(--offset) );
    top: calc( 0 * var(--offset) );
  }
}

@keyframes square3 {
  0%,100% {
    left: calc( 1 * var(--offset) );
    top: calc( 1 * var(--offset) );
  }

  16.67% {
    left: calc( 1 * var(--offset) );
    top: calc( 1 * var(--offset) );
  }

  25.00% {
    left: calc( 1 * var(--offset) );
    top: calc( 0 * var(--offset) );
  }

  33.33% {
    left: calc( 2 * var(--offset) );
    top: calc( 0 * var(--offset) );
  }

  41.67% {
    left: calc( 2 * var(--offset) );
    top: calc( 1 * var(--offset) );
  }

  66.67% {
    left: calc( 2 * var(--offset) );
    top: calc( 1 * var(--offset) );
  }

  75.00% {
    left: calc( 2 * var(--offset) );
    top: calc( 2 * var(--offset) );
  }

  83.33% {
    left: calc( 1 * var(--offset) );
    top: calc( 2 * var(--offset) );
  }

  91.67% {
    left: calc( 1 * var(--offset) );
    top: calc( 1 * var(--offset) );
  }
}

@keyframes square4 {
  0% {
    left: calc( 2 * var(--offset) );
    top: calc( 1 * var(--offset) );
  }

  33.33% {
    left: calc( 2 * var(--offset) );
    top: calc( 1 * var(--offset) );
  }

  41.67% {
    left: calc( 2 * var(--offset) );
    top: calc( 2 * var(--offset) );
  }

  50.00% {
    left: calc( 3 * var(--offset) );
    top: calc( 2 * var(--offset) );
  }

  58.33% {
    left: calc( 3 * var(--offset) );
    top: calc( 1 * var(--offset) );
  }

  100% {
    left: calc( 3 * var(--offset) );
    top: calc( 1 * var(--offset) );
  }
}

@keyframes square5 {
  0% {
    left: calc( 3 * var(--offset) );
    top: calc( 1 * var(--offset) );
  }

  50.00% {
    left: calc( 3 * var(--offset) );
    top: calc( 1 * var(--offset) );
  }

  58.33% {
    left: calc( 3 * var(--offset) );
    top: calc( 0 * var(--offset) );
  }

  66.67% {
    left: calc( 2 * var(--offset) );
    top: calc( 0 * var(--offset) );
  }

  75.00% {
    left: calc( 2 * var(--offset) );
    top: calc( 1 * var(--offset) );
  }

  100% {
    left: calc( 2 * var(--offset) );
    top: calc( 1 * var(--offset) );
  }
}

@keyframes squarefadein {
  0% {
    transform: scale(0.75);
    opacity: 0.0;
  }

  100% {
    transform: scale(1.0);
    opacity: 1.0;
  }
}                              
    
#header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 40px;
  background: #313131;
  z-index: 999;
  position: sticky;
  top: 0;
  left: 0;
}
/* Navbar Styles */
#navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  flex-direction: row;
}

#navbar li {
  list-style: none;
  padding: 0 20px;
  position: relative;
}

#navbar li a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  transition: 0.3s ease;
}

#navbar li a:hover,
#navbar li a.active {
  color: #f8b526;
  font-size: 18px;
}

#navbar li a.active::after {
  content: "";
  width: 30%;
  height: 2px;
  background: #f8b526;
  position: absolute;
  bottom: -4px;
  left: 20px;
}

#navbar button {
  background: #f8b526;
  border: none;
  border-radius: 15px;
  padding: 10px 20px;
  transition: 0.3s ease;
}

#navbar button:hover {
  transform: scale(1.05) translateZ(0);
}

#navbar button a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  color: rgb(255, 255, 255);
  transition: 0.3s ease;
}

/* Mobile Styles */
#mobile {
  display: none;
  align-items: center;
  cursor: pointer;
}

#close {
  display: none;
}
.menu-toggle {
  display: none;
}
#header input[type="checkbox"]{
  display: none;
}
/* Close button styles */
#close {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  font-size: 24px;
  color: #313131;
  z-index: 2;
}

#close i:hover {
  color: #f8b526;
  transition: color 0.3s ease;
}

/* Show close button when navbar is open */
.menu-toggle:checked ~ #close {
  display: block;
}

/* Hide menu icon when navbar is open */
.menu-toggle:checked ~ #mobile {
  display: none;
}

@media (max-width: 480px) {
  /* Navbar styles for mobile */
  #navbar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: fixed;
    top: 0;
    right: -300px;
    height: 100vh;
    width: 200px;
    background-color: #313131;
    box-shadow: 0 50px 70px rgba(0, 0, 0, 0.2);
    padding: 80px 0 0 10px;
    transition: 0.3s;
    overflow: hidden;
  }
  #navbar button:hover {
    transform: scale(1.05) translateZ(0);
  }
  

  #navbar.active {
    right: 0;
  }
  .menu-toggle:checked ~ #navbar {
    right: 0;
  }

  #navbar li {
    margin-bottom: 25px;
  }

  #navbar li a {
    font-size: 16px;
    color: #333;
  }

  #mobile {
    display: flex;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    font-size: 24px;
  }

  /* Menu icon hover effect */
  #mobile i:hover {
    color: #f8b526;
    font-size: 20px;
    transition: 0.3s;
  }
  
  /* Checkbox hack */
  #menu-toggle {
    display: none;
  }

  /* When the checkbox is checked, the navbar slides in */
  #menu-toggle:checked + #mobile + #navbar {
    right: 0;
  }
}

#WAButton{
  padding: 0;
  margin: 0;
}
#WAButton i {
  margin: 0 auto;
  text-decoration: none;
  color: white;
  font-size: 50px;
  border: none;
  background-color: #f8b526;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  position: fixed;
  bottom: 40px;
  left: 40px;
  z-index: 10;
  display: flex;
  align-items: center; /* Center vertically */
  justify-content: center; /* Center horizontally */
  box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.3);
  transition: .3s ease;
}
#WAButton i:hover{
  transform: scale(1.05) translateZ(0);
}
@media (max-width: 768px) {
  #WAButton i {
    position: fixed;
    font-size: 30px; /* Smaller icon size */
    width: 50px; /* Smaller button size */
    height: 50px; /* Smaller button size */
    bottom: 20px; /* Position closer to the bottom */
    left: 20px; /* Position closer to the left edge */
  }
}

@media (max-width: 480px) {
  #WAButton i {
    position: fixed;
    font-size: 30px; /* Even smaller icon size for very small screens */
    width: 45px; /* Smaller button size */
    height: 45px; /* Smaller button size */
    bottom: 15px; /* Adjust bottom for more space on small screens */
    left: 15px; /* Adjust left for smaller screens */
  }
}

#welcome{
  background-image: url("https://assets-us-01.kc-usercontent.com/fa776f1a-4d27-4a6b-ae1c-2ce928f9647d/9cd8ea0f-679b-4ed3-a238-3ee8a3c5ea98/construction-site-Cropped2.jpg");
  height: 80vh;
  width: 100%;
  background-size: cover;
  background-position: top 75% right 0;
} 

.overlay {
  width: 100%;
  height: 80vh;
  background-color: rgba(0, 0, 0, 0.6); 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #f8f8f8;
  background-position: top 75% right 0;
  padding: 0 80px;
}
.overlay h4 {
  color: #f8f8f8;
  font-size: 60px;
  text-align: left;
  line-height: 69px;
}
.overlay h3 {
  color: #dfdfdf;
  font-size: 20px;
  text-align: left;
  line-height: 25px;
  font-weight: 400;
  margin-top: 50px;
    margin-left: 58px;
}
.overlay .square-frame img{
  height: 450px;
    position: absolute;
    margin-left: -550px;
    margin-top: -170px;
}
.section-p1 {
  padding: 30px 80px;
}
@media (max-width: 768px) {
  #welcome {
    height: 60vh; /* Reduced height for smaller screens */
  }
  
  .overlay {
    height: 60vh; /* Reduced height for smaller screens */
    padding: 0 40px; /* Reduced padding */
  }

  .overlay h4 {
    font-size: 30px; /* Even smaller font size */
    line-height: 35px; /* Adjust line height */
  }

  .section-p1 {
    padding: 20px 40px; /* Reduced padding */
  }
}

@media (max-width: 480px) {
  #welcome {
    height: 50vh; /* Further reduced height for very small screens */
  }
  

  .overlay {
    height: 50vh; /* Further reduced height */
    padding: 0 20px; /* Even smaller padding */
  }

  .overlay h4 {
    font-size: 30px; /* Even smaller font size */
    line-height: 35px; /* Adjust line height */
  }
  .overlay h3 {
    font-size: 13px; /* Even smaller font size */
    line-height: 17px; 
    margin-left: 33px;/* Adjust line height */
  }

  .section-p1 {
    padding: 15px 10px; /* Minimal padding */
  }
}

.clrs {
  font-size: 40px; 
  line-height: 1.5; 
  font-weight: bold;
}
.c1 {
  color: #000000; 
}
.c2{
  color: #f8b526;
}

/*avantages.................*/
.adv__container {
      width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 55px;
    margin-top: -80px;
}
.adv-grid {
  width: 100%;
  max-width: 100%; 
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px; 
  margin-top: -100px;
  margin-left: 0;
  padding-left: 0 ;
}
.header {
  margin-bottom: 2rem;
}
.header p {
  font-size: 12px;
  font-weight: 500;
}
.adv-grid .card h3 {
  font-weight: bold;
  font-size: 20px;
  display: flex;
  text-align: left;
  color: #ffffff;
}
.adv-grid .card .square {
  width: 15px;
  height: 15px;
  background-color: #ffcc00;
  border: 2px solid #333;
}
.adv-grid .card {
  padding: 25px;
  display: grid;
  width: 300px;
  background-color: var(--extra-light);
  border-radius: 0px;
  box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background-color: #313131;
  transition: .3s ease;
}
.adv-grid .card:hover{
  transform: scale(1.05) translateZ(0);
}
.adv-grid .card p {
  font-size: 13px;
  font-weight: 400;
  text-align: left;
  margin-top: 10px;
  color: #dcdcdc;
  padding-left: 0;
  margin-left: 0;
}

.adv-grid .card img {
  width: 50px;
  height: 50px;
  margin: 5px;
  border: none;
  padding: 5px;
  object-fit: cover;
}
.adv-grid .card .name {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-light);
}
@media (max-width: 768px) {
  .adv-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    gap: 1rem;
  }

  .adv-grid .card {
    width: 100%; /* Make cards take up full width */
    padding: 15px; /* Reduce padding */
    height: auto;
  }

  .adv-grid .card h3 {
    font-size: 18px; /* Smaller font size */
  }

  .adv-grid .card p {
    font-size: 12px; /* Smaller font size */
  }

  .adv-grid .card img {
    width: 40px; /* Smaller icon size */
    height: 40px;
  }

  .adv-grid .card .name {
    font-size: 14px; /* Smaller name font size */
  }
}

/* Media query for mobile devices (Max-width 480px) */
@media (max-width: 480px) {
  .adv-grid {
    gap: 0.5rem;
        column-gap: 0px;
        margin-top: -60px;
        padding: 0 3px;
  }
  .adv__container{
    padding: 0;
    margin-top: 15px;
  }

  .adv-grid .card {
    width: 80%; /* Full width of the container */
    padding: 10px; /* Even smaller padding */
    height: auto;
    margin:0 auto;
  }

  .adv-grid .card h3 {
    font-size: 16px; /* Smaller font size */
  }

  .adv-grid .card p {
    font-size: 11px; /* Smaller font size */
  }

  .adv-grid .card img {
    width: 35px; /* Further reduce icon size */
    height: 35px;
  }

  .adv-grid .card .name {
    font-size: 12px; /* Further reduce name font size */
  }
}
/*.........................intro................*/
#aboutintro{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto; 
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column; 
  align-items: center; 
  justify-content: center; 
  margin-bottom: 100px;
}
.aboutblock{
  width: 100%; 
  margin: 0 auto; 
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 1rem; 
}
.aboutblock .pic1{
  width: 500px;
  height: 600px;
  object-fit: cover;
  z-index: 2;
}

.aboutblock p{
  font-size: 13px;
  line-height: normal;
  width: 500px;
  text-align: justify;
  margin-bottom: 15px;
  margin-left: 42px;
}
.aboutblock h3{
  margin-left: 50px;
  font-size: 40px;
  text-align: left;
  line-height: 45px;
  margin-bottom: 15px;
  margin-top: 50px;
}
.aboutblock .lm{
  background-color: #f8b526; 
  color: white;
  border: none;
  padding: 0.7rem 1.4rem;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  margin-left: 56px;
    margin-top: 15px;
}
.aboutblock .lm:hover {
  background: #1e1e1e;
  transform: scale(1.05) translateZ(0);
}
.aboutblock .square-frame img{
  height: 300px;
  margin-top: -50px;
  position: absolute;
  z-index: 1;
}
.aboutblock .pt2{
  display: flex;
  flex-direction: column; 
  align-items: flex-start;
}
.aboutblock .pt2 img{
  width: 86px;
  position: relative;
}
.pt2 .exp{
  display: flex;
  flex-direction: row;
}
.exp{
  padding: 5px;
  background-color:#313131;
  border: none;
  margin-top: 76px;
  box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.2);
  width: 250px;
  align-items: center;
  margin-left: -93px;
  color: #ffffff;
}
.exp h3{
  margin: 5px;
  font-size: 50px;
  font-weight: 700;
  color: #f8b526;
}
.exp p{
  margin: 5px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 20px;
}
/* Mobile responsiveness */
@media screen and (max-width: 768px) {
  .aboutblock {
    grid-template-columns: 1fr; /* Stack columns on smaller screens */
    gap: 1rem;
  }
  #aboutintro{
    padding: 0 15px;
  }
  .aboutblock .pic2{
    display: none;
  }
  .about span {
    color: #f8b526 !important;
    font-weight: bold !important;
    font-size: 43px !important;
}

  .aboutblock .pic1{
    width: 100%;
    height: auto; /* Adjust images to be responsive */
    margin-top: 20px;
  }

  .aboutblock p {
    font-size: 14px; /* Slightly larger text on mobile */
    width: 100%; /* Use full width */
    text-align: left; /* Align text left for better readability */
  }

  .aboutblock h3 {
    font-size: 30px; /* Smaller heading size on mobile */
    text-align: center; /* Center the heading */
    line-height: 35px;
  }

  .aboutblock .lm {
    padding: 0.6rem 1.2rem; /* Slightly smaller button */
    font-size: 0.9rem; /* Smaller font size for button */
  }

  .exp {
    width: 50%; /* Make experience box full width on mobile */
    margin-left: 0;
    margin-top: -40px;
    left: 50%;
    position: relative;
  }

  .exp h3 {
    font-size: 30px; /* Smaller font size for experience heading */
  }

  .exp p {
    font-size: 12px; /* Smaller text for experience description */
  }
}

/* Very small screens (e.g., phones in portrait mode) */
@media screen and (max-width: 480px) {
  #aboutintro{
    padding: 0 15px;
  }
  .aboutblock .pic2{
    display: none;
  }
  .aboutblock p {
    font-size: 12px;
    margin: 0;/* Make text smaller for very small screens */
  }

  .aboutblock h3 {
    font-size: 25px;
    margin: 0; /* Even smaller heading for small screens */
  }

  .aboutblock .lm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .exp h3 {
    font-size: 25px; /* Adjust experience heading */
  }

  .exp p {
    font-size: 11px; /* Smaller font for experience description */
  }
}
/*..............banner..........................*/

#banner1 {
  position: relative;
  height: 50vh; /* Full viewport height */
  overflow: hidden; /* Prevents scrolling caused by the video */
}

#banner1 img {
  position: absolute;
  top: 115%;
  left: 36%;
  transform: translate(-50%, -70%);
  min-width: 100%; /* Ensures the video covers the width */
  min-height: 100%; /* Ensures the video covers the height */
  width: auto; /* Adjusts dynamically */
  height: auto; /* Adjusts dynamically */
  z-index: -1; /* Sends the video behind the content */
  object-fit: cover; /* Crops the video to fit the section */
}

.banner1_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); 
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 20px;
}
.banner1_overlay h4 {
  color: #f8f8f8;
  font-size: 50px;
  text-align: center;
  line-height: 60px;
}
.banner-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

.banner-content h1 {
  font-size: 40px;
  color: white;
  font-weight: bold;
  text-align: left;
  margin-left: 20px;
  line-height: 50px;
}
.vertical-line {
  height: 100px; 
  width: 6px; 
  background-color: #ffffff; 
  margin-left: 10px;
}
span {
  color: #f8b526; 
  font-weight: bold;
}
.about span {
  color: #f8b526 !important; 
  font-weight: bold !important;
  font-size: 65px ;
}


.btn {
  background-color: #f8b526; 
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  margin-left: 30%;
}

.btn:hover {
  background-color: #1e1e1e; 
}
@media screen and (max-width: 768px) {
  #banner1 {
    height: 40vh; /* Reduced banner height for smaller screens */
  }

  #banner1 video {
    transform: translate(-50%, -50%); /* Adjust video positioning for mobile */
  }

  .banner1_overlay {
    padding: 15px; /* Reduced padding on mobile */
  }

  .banner1_overlay h4 {
    font-size: 30px; /* Smaller font size for the title */
    line-height: 40px; /* Adjust line height */
  }
  .about span{
    font-size: 43px;
  }

  .banner-content {
    flex-direction: column;
    align-items: center; /* Center-align content for smaller screens */
    text-align: center; /* Center text */
  }

  .banner-content h1 {
    font-size: 30px; /* Smaller font size for heading */
    margin-left: 0; /* Remove left margin */
    line-height: 40px;
  }

  .vertical-line {
    display: none; /* Hide vertical line on mobile */
  }

  .btn {
    margin-left: 0; /* Remove margin */
    padding: 0.6rem 1.2rem; /* Smaller padding for button */
    font-size: 0.9rem; /* Smaller font size for button */
  }
  #banner1 img{
        transform: translate(-64%, -60%);
  }
}

/* Very small screens (e.g., phones in portrait mode) */
@media screen and (max-width: 480px) {
  #banner1 {
    height: 35vh; /* Further reduce banner height */
  }

  #banner1 video {
    transform: translate(-60%, -70%); /* Adjust positioning for very small screens */
  }

  .banner1_overlay {
    padding: 10px; /* Even less padding */
  }

  .banner1_overlay h4 {
    font-size: 24px; /* Smaller title font for very small screens */
    line-height: 30px;
  }

  .banner-content h1 {
    font-size: 22px; /* Smaller heading font */
    line-height: 24px;
  }

  .btn {
    padding: 0.5rem 1rem; /* Even smaller button padding */
    font-size: 0.8rem; /* Smaller font size for button */
  }
}
@media (max-width: 768px) {
  .banner-content {
    flex-direction: column;
    text-align: center;
  }

  .btn {
    margin-top: 1rem;
  }
}

/*.......................services.......................*/
#services {
  text-align: center;
  padding: 2em 0;
  backdrop-filter: blur(10px);
  padding-top: 50px;
  padding-bottom: 20px;
  background-color: #e6e6e6;
}

#services h2 {
  font-size: 50px;
  z-index: 10;
}
#services p{
  font-size: 13px;
  color: #666;
  max-width: 1000px;
  margin: 0 auto ;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  z-index: 10;
}
#services .services-item p {
  font-size: 14px;
  color: #666;
  max-width: 600px;
  margin: 0.5em auto 0.5rem;
  display: flex;
  align-items: center;
}
#services img{
width: 100px;
height: 100px;
border-radius: 100%;
border: 5px solid white;
object-fit: cover;
padding: 0;
margin-right: 10px;
margin-left: 15px;
margin-top: -85px;
}
#services a{
text-decoration: none;
color: #f8b526;
font-size: 13px;
}
#services .pro-content a{
  text-decoration: none;
  color: #ffffff;
  font-size: 13px;
  }
.services-grid {
  display: grid;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  padding: 5rem;
}
.services-item {
  width: 280px;
  background-color: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
  padding: 0;
}
.services-item:hover {
  transform: translateY(-1px);
}
.services-image { 
  height: 200px;
  object-fit: cover;
  background-position: center;
}
.services-content {
  padding: 1rem;
  text-align: left;
  margin-left: 10px;
}


#services {
    text-align: center;
}

.carousel-container {
    width: 100%;
    max-width: 1200px;
    margin-left: -10px;
}

.services-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.services-item {
    flex: 0 0 33.33%; /* Show 3 cards at once */
    transition: transform 0.5s ease-in-out;
    transform: scale(0.8); /* Scale down the off-center cards */
    box-sizing: border-box;
    position: relative;
    margin: 0 15px; /* Adds space between cards */
    opacity: 0.8; /* Set opacity for off-center cards */
}

.services-item.center {
    transform: scale(1); /* Center card is in full scale */
    opacity: 1; /* Center card is fully visible */
    z-index: 10; /* Ensure center card is on top */
}

.services-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}
.services-content {
    padding: 15px;
}
.services-content img {
    width: 50px;
    margin-bottom: 15px;
}
.services-content h3{
  font-size: 25px;
  margin-top: -15px;
  margin-bottom: -5px;
}
.services-content p{
  font-size: 14px;
  color: #666;
  max-width: 600px;
  margin: 0 auto ;
  display: flex;
  align-items: center;
  padding: 0;
}
button.prev,
button.next {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    background-color: transparent;
    color: #f8b526;
    font-size: 2rem;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}


@media screen and (max-width: 768px) {
  .services-item {
      flex: 0 0 100%; /* Show one item at a time */
      transform: scale(0.9); /* Slight scale for off-center */
      margin: 0 10px; /* Reduce spacing */
      opacity: 0.6; /* Less opacity for non-center items */
  }

  .services-item.center {
      transform: scale(1); /* Full scale for center */
      opacity: 1; /* Full opacity for center */
  }

  button.prev,
  button.next {
      font-size: 1.5rem; /* Smaller buttons for mobile */
      top: 55%; /* Adjust position for smaller viewports */
  }
}
@media screen and (max-width: 480px) {
  .services-item {
      flex: 0 0 60%; /* Show one item at a time */
      transform: scale(0.6); /* Slight scale for off-center */
      margin: 0 1px; /* Reduce spacing for mobile */
      opacity: 0.6; /* Less opacity for non-center items */
  }

  .services-item.center {
      transform: scale(0.7); /* Full scale for center */
      opacity: 1; /* Full opacity for center */
  }
  .carousel-container {
    width: 100%;
    margin-left: 0;
}



  button.prev,
  button.next {
      font-size: 1.5rem; /* Smaller buttons for mobile */
      top: 60%; /* Adjust position for smaller viewports */
  }
}


/*..................projects...................*/
#featured_projects{
  background-color: #f6f6f6;
  padding: 2.5rem 0;
}
#f_projects1{
  margin-bottom: 20px;
}
.pro-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

.pro-content h1 {
  font-size: 40px;
  color: #1e1e1e;
  font-weight: bold;
  text-align: left;
  line-height: 50px;
  margin-left: 10%;
}
.pro-content .btn {
  background-color: #f8b526; 
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 25px;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  margin-left: 30%;
}
.pro-content .btn:hover {
  background-color: #1e1e1e; 
}
.project_container {
    position: relative; /* Use relative positioning for flexibility */
    width: 80%; /* Adjust width to be a percentage for responsiveness */
    max-width: 1100px; /* Set a maximum width */
    height: auto; /* Allow height to adjust dynamically */
    aspect-ratio: 2 / 1; /* Maintain a consistent aspect ratio */
    margin: 20px auto; /* Center with margin */
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden; /* Ensure content stays within the container */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-top: 50px;
}
.project_container .slide .item {
  width: 200px;
  height: 300px;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  border-radius: 20px;
  display: inline-block;
  transition: 0.5s;
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden; /* Ensure video doesn't overflow the card */
}

.slide .item:nth-child(1),
.slide .item:nth-child(2) {
  top: 0;
  left: 0;
  transform: translate(0, 0);
  border-radius: 15px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); 
}

.slide .item:nth-child(3) {
  left: 50%;
}

.slide .item:nth-child(4) {
  left: calc(50% + 220px);
}

.slide .item:nth-child(5) {
  left: calc(50% + 440px);
}

.slide .item:nth-child(n + 6) {
  left: calc(50% + 660px);
  opacity: 0;
}

/* Background Video Styling */
.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure video covers the whole container */
  z-index: -1; /* Place behind content */
}

/* Content Inside Each Slide */
.item .content {
  position: absolute;
  top: 50%;
  left: 100px;
  width: 380px;
  text-align: left;
  color: white;
  transform: translate(0, -50%);
  display: none;
  z-index: 1; /* Ensure content is above the video */
}

.slide .item:nth-child(2) .content {
  display: block;
}

.item .content h2 {
  font-size: 30px;
  text-transform: uppercase;
  font-weight: bold;
  opacity: 0;
  animation: animate 1s ease-in-out 1 forwards;
  text-shadow: #000000;
}
.item .content h3{
  font-size: 20px;
  text-transform: uppercase;
  font-weight: bold;
  opacity: 0;
  animation: animate 1s ease-in-out 1 forwards;
  text-shadow: #000000;
}
.item .content p {
  font-size: 12px;
  margin-top: 10px;
  margin-bottom: 20px;
  opacity: 0;
  padding: 0;
  animation: animate 1s ease-in-out 0.3s 1 forwards;
  text-align: justify;
  line-height: 14px;
}

/* Keyframes for Animation */
@keyframes animate {
  from {
      opacity: 0;
      transform: translate(0, 100px);
      filter: blur(33px);
  }
  to {
      opacity: 1;
      transform: translate(0);
      filter: blur(0);
  }
}

/* Navigation Buttons */
.button {
  width: 100%;
  text-align: flex start;
  position: absolute;
  bottom: 100px;
  left: 90px;
  opacity: 0;
  animation: animate 1s ease-in-out 0.9s 1 forwards;
}

.button button {
  width: 50px;
  height: 50px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  background-color: transparent;
}

.prev2 {
  margin-right: 15px;
}

.button button i {
  color: rgb(255, 255, 255);
}

.button button i:hover {
  color: #f8b526;
}
@media (max-width: 768px) {
  .pro-content {
    flex-direction: column;
    align-items: center;
  }

  .pro-content h1 {
    font-size: 30px;
    text-align: center;
    margin-left: 0;
  }

  .pro-content .btn {
    margin-left: 0;
    margin-top: 20px;
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
  }

  .project_container {
    width: 95%;
    margin-top: 30px;
  }

  .slide .item {
    width: 90%;
    height: 200px;
  }

  .item .content {
    width: 100%;
    left: 10px;
  }

  .item .content h2 {
    font-size: 24px;
  }

  .item .content h3 {
    font-size: 18px;
  }

  .item .content p {
    font-size: 10px;
    line-height: 12px;
  }

  .button {
    bottom: 50px;
    left: 10px;
  }
}

/* For Very Small Screens (e.g., Portrait on mobile) */
@media (max-width: 480px) {
  
  .pro-content h1 {
    font-size: 24px;
    line-height: 28px;
  }

  .project_container {
    width: 100%;
    margin-top: 20px;
  }

  .item .content h2 {
    font-size: 20px;
    width: 55%;
    line-height: 24px;
  }

  .item .content h3 {
    font-size: 14px;
    width: 55%;
  }

  .item .content p {
    display: none;
  }
  .item .content{
    left: 30px;
  }

  .button {
    bottom: 30px;
    left: 30px;
  }
  .button button {
    width: 50px;
    height: 0;
  }
  
}
/*................................*/
#brand-logos {
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
}

.carousel2 {
  width: 100%;
  overflow: hidden; /* Hide excess logos */
  position: relative;
}

.carousel2-inner {
  display: flex;
  transition: transform 1s ease-in-out; /* Smooth scrolling transition */
}

.carousel2-item {
  height: 200px;
  min-width: 150px; /* Adjust the width of the logos */
  margin-right: 20px; /* Space between logos */
  display: flex;
  margin: 0 30px;
  justify-content: center;
  align-items: center;
}

.carousel2-item img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .carousel2-item {
    min-width: 120px;
  }
}

  /*.........foooter...........*/
  footer{
    background-color: #2d2d2d;
    color: #ffffff;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    
  }
  .section-footer{
    padding: 50px 30px;
    padding-bottom: 30px;
  }
  .section-footer p{
    text-align: center;
    color: #949494;
    font-size: 12px;
    position: relative;
    margin: 0 auto;

  }
  .footer-container{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    margin: 0 auto;
    gap: 50px;
    margin-bottom: 40px;
  }
  footer .col{
    margin-bottom: 30px;
    text-align: left;
    padding: 25px 5px;
    margin-left: 0;
  }
  footer .logo{
    height: 40px;
    width: auto;
    margin-left: 15px;
  }
  .footer-container p{
    font-size: 15px;
    margin: 0 0 8px 0;
    line-height: 25px;
    text-align: left;
  }
  footer a{
    font-size: 13px;
    color: #8a8a8a;
    text-decoration: none;
    margin-bottom: 10px;
    text-align: left;
  }
  footer span{
    font-size: 15px;
  }
  footer i{
    font-size: 25px;
  }
 /* For Mobile Screens */
@media (max-width: 768px) {
  footer {
    padding: 20px 10px;
    flex-direction: column;
    align-items: center;
  }

  .section-footer {
    padding: 40px 15px;
  }

  .footer-container {
    grid-template-columns:  1fr; /* 2 columns on small screens */
    gap: 30px;
    margin-bottom: 20px;
  }

  .footer-container p {
    font-size: 14px;
  }

  footer .col {
    text-align: center;
    padding: 20px 5px;
  }

  footer .logo {
    height: 35px;
  }

  footer a {
    font-size: 12px;
  }

  footer span {
    font-size: 14px;
  }

  footer i {
    font-size: 22px;
  }

  .section-footer p {
    font-size: 12px;
  }
}

/* For Very Small Screens (e.g., Portrait on mobile) */
@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: (2, 1fr);
    gap: 10px;
  }

  footer .col {
    text-align: center;
    padding: 15px 5px;
    justify-self: left
  }

  .footer-container p {
    font-size: 12px;
  }
  footer .logo{
    margin: 0;
  }

  footer a {
    font-size: 11px;
  }

  footer i {
    font-size: 20px;
  }
}       
  /*responsive*/
  @media (max-width:768px) {
    .section-p1 {
      padding: 40px 50px;
  }
  
    #navbar {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-start;
      position: fixed;
      top: 0;
      right: -300px;
      height: 100vh;
      width: 200px;
      background-color: #ffffff;
      box-shadow: 0 50px 70px rgba(0, 0, 0, 0.2);
      padding: 80px 0 0 10px;
      transition: 0.3s;
      overflow: hidden;
    }
    
    #navbar.active {
      right: 0px;
    }
    #navbar li{
      margin-bottom: 25px;
    }
    #mobile {
      display: flex;
    }
    #mobile i:hover{
      color: #f8b526;
      font-size: 20px;
      transition: 0.3s;
    }
    #close{
      display: initial;
      position: absolute;
      top: 30px;
      left: 30px;
      color: #2d2d2d;
      font-size: 20px;
    }
    #close i:hover{
      color: #f8b526;
      font-size: 22px;
      transition: 0.3s;
    }
    
    .container {
      margin-top: 1180px;
      width: 450px;
      height: 550px;
     transform: translate(-50%, -50%);
    }
    .item .content{
      position: absolute;
      top: 30%;
      left: 50px;
      width: 300px;
    }
    
    .slide .item:nth-child(3){
      left: 50%;
      top: 60%;
      width: 100px;
      height: 150px;
    }
    .slide .item:nth-child(4){
      left: calc(50% + 110px);
      top: 60%;
      width: 100px;
      height: 150px;
    } 
    .slide .item:nth-child(5){
      left: calc(50% + 220px);
      top: 60%;
      width: 100px;
      height: 150px;
    }
    .slide .item:nth-child(n + 6){
      left: calc(50% + 330px);
      top: 60%;
      width: 100px;
      height: 150px;
    }
    .button{
      display: initial;
      position: absolute;
      top: 150px;
      left: 40px;
    }
    .button button i{
      font-size: 25px;
    }
    
  }  
/*..........................projects...............................................*/
  
#page-projects{
  background-image: url("https://www.letsbuild.com/wp-content/uploads/2023/07/Depositphotos_118533102_l-2015.jpg");
  height: 60vh;
  width: 100%;
  background-size: cover;
  background-position: top 50% right 0;
}

#page-projects .overlay {
  width: 100%;
  height: 60vh;
  background-color: rgba(0, 0, 0, 0.5); 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #f8f8f8;
  background-position: top 75% right 0;
  padding: 0 80px;
}
#page-projects .overlay h4{
  font-size: 60px;
  margin: 0;
}

@media only screen and (max-width: 768px) {
  #page-projects {
    height: 35vh; /* Further reduce height */
  }
  #page-projects .overlay h4 {
    font-size: 40px; /* Adjust heading size */
  }
  #page-projects .overlay {
    height: 35vh;
    padding: 0 20px; /* Compact padding for smaller screens */
  }
}

@media only screen and (max-width: 480px) {
  #page-projects {
    height: 30vh; /* Compact height for narrow screens */
  }
  #page-projects .overlay h4 {
    font-size: 30px; /* Smaller heading for better readability */
  }
  #page-projects .overlay {
    height: 30vh;
    padding: 0 10px; /* Minimal padding */
  }
}

.ongoing-complete{
  display: flex;
  flex-direction: row;
  gap: 180px;
  justify-content: center;
  text-align: center;
  padding-top: 70px;
  padding-bottom: 70px;
  background-color: rgba(236, 236, 236, 0.4);
}
.ongoing h2{
  font-size: 90px;
  color: #f8b526;
  line-height: 80px;
}
.ongoing h3{
  font-size: 18px;
}
/* Tablet Styles */
@media (max-width: 768px) {
  .ongoing-complete {
    flex-direction: column; /* Stack items vertically */
    gap: 40px; /* Reduce the gap between items */
    padding: 50px 20px;
  }

  .ongoing h2 {
    font-size: 60px; /* Adjust font size for better fit */
    line-height: 60px; /* Adjust line height */
  }

  .ongoing h3 {
    font-size: 16px; /* Slightly reduce font size */
  }
}

/* Mobile Styles */
@media (max-width: 480px) {
  .ongoing-complete {
    flex-direction: row; /* Keep stacked layout */
    gap: 50px; /* Further reduce gap */
    padding: 30px 10px;
  }

  .ongoing h2 {
    font-size: 40px; /* Reduce font size for small screens */
    line-height: 45px; /* Adjust line height */
  }

  .ongoing h3 {
    font-size: 12px; /* Reduce font size for better readability */
  }
}


.projects {
  text-align: center;
  padding:  10px;
  background-color: #313131;
}
.projects .header{
  text-align: center;
  margin-left: 50px;
  line-height: 30px;
  margin-top: 50px;
  margin-bottom: 30px;
}

.projects .header h1 {
  font-size: 30px;
  color: #ffffff;
  margin-left: -40px;
}



.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 50px;
}

.project-card {
  background-color: rgb(63, 63, 63);
  display:flex ;
  height: 400px;
    width: 320px;
    flex-direction: column;
  padding: 0 ;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  line-height: 20px;
  text-align: left;
}

.project-card:hover {
  transform: translateY(-10px);
}
.text-container{
  margin-left: 20px;
  display: flex;
  flex-direction: column;
}
.image-container {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.image-container img {
  width: 320px;
  height: 200px;
  padding: 0;
  object-fit: cover;
}

.badge {
  position: relative;
  background-color: #f8b526;
  padding: 5px ;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 5px 5px 20px rgba(0, 0.5, 0, 0.3);
}
.badge a{
  text-decoration: none;
  color: #1e1e1e;
}
.text-container span{
  width: 100px;
  margin-top: -15px;
  align-items: center;
  justify-content: center;
  color: #2d2d2d;
  display: flex;
}
.project-card i{
  color: #f8b526;
}

.project-card h3 {
  font-size: 18px;
  color: #f8b526;
  margin-top: 4px;
  margin-top: 15px;
}

.project-card h6 {
  font-size: 12px;
  color: #ffffff;
  margin-top: 4px;
  margin-bottom: 10px;
}

.project-card .text-container p{
  width: 250px;
  font-size: 12px;
  color: #a3a3a3;
  margin-bottom: 20px;
}
/* Tablet and below (max-width: 768px) */
@media only screen and (max-width: 768px) {
  .project-grid {
    grid-template-columns: 1fr; /* Stacks cards in a single column */
    gap: 20px;
    margin: 30px auto; /* Centers the grid with smaller margins */
  }

  .project-card {
    flex-direction: column; /* Stacks image and text vertically */
    height: auto; /* Adjusts height for stacked layout */
  }

  .image-container img {
    width: 100%; /* Full width for stacked layout */
    height: auto; /* Maintains aspect ratio */
    border-radius: 25px 25px 0 0; /* Adjusts corners for vertical stacking */
  }

  .text-container {
    padding: 15px; /* Adds consistent padding for smaller screens */
  }

  .project-card h3 {
    font-size: 16px; /* Slightly smaller headings for tablets */
  }

  .project-card p {
    font-size: 12px; /* Adjust text size for readability */
  }
}

/* Mobile and below (max-width: 480px) */
@media only screen and (max-width: 480px) {
  .project-grid {
    grid-template-columns: 1fr; /* Keeps single-column layout for smaller screens */
    gap: 15px;
    padding: 0 25px;
    margin: 20px auto; /* Reduces margins for compact layout */
  }

  .project-card {
    flex-direction: column;
    height: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Slightly lighter shadow for mobile */
  }

  .image-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px 15px 0 0; /* Reduces border radius for smaller cards */
  }

  .text-container {
    padding: 10px; /* Compact padding for text container */
  }

  .project-card h3 {
    font-size: 14px; /* Smaller headings for mobile */
    margin: 0;
  }
  .project-card h6{
    margin-bottom: 10px;
  }

  .project-card p {
    font-size: 10px; /* Adjusts paragraph size for mobile readability */
    padding: 0;
    margin-bottom: 10px;
    line-height: 14px;
  }
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.pagination a {
  color: #ffffff;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  margin: 0 4px;
  border-radius: 50%;
  transition: background-color 0.3s, color 0.3s;
}

.pagination a.active {
  background-color: #f8b526;
  color: white;
  border: none;
}

.pagination a:hover:not(.active) {
  background-color: #ddd;
  color: #f8b526;
}


/*.......................................about..........................*/

/* Introduction Section */
.about {
  position: relative;
  background-image: url('https://images.ctfassets.net/fqtbha7ac6p4/wCuEjVSAM8mCoq9sTo5QC/f5ed83d82cc37670583b774a94f09ac4/Blog-UpToDate__2_.jpg'); 
  background-size: cover;
  background-position: top;
  height: 60vh;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: inherit; /* Inherit background image from the parent */
  background-size: inherit; /* Ensure background size is consistent */
  background-position: inherit; /* Ensure background position is consistent */
  filter: grayscale(100%); /* Apply grayscale filter only to background */
  z-index: 0; /* Ensure it's behind the content */
}

.about-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1; /* Moves the overlay behind the text */
}

.about h2 {
  font-size: 50px;
  line-height: 55px;
  text-align: left;
  z-index: 2; /* Brings the text to the front */
  transform: translateZ(10px); /* Moves text forward for the effect */
}
@media only screen and (max-width: 768px) {
  .about {
    height: 40vh; /* Adjust height for mobile */
    text-align: center; /* Center text on mobile */
    overflow: hidden;
  }

  .about h2 {
    font-size: 36px; /* Reduce font size on mobile */
    line-height: 40px;
    text-align: center; /* Center the heading on mobile */
    padding: 0 20px; /* Add padding for better text alignment */
  }
}

@media only screen and (max-width: 480px) {
  .about {
    height: 30vh; /* Further adjust height for smaller screens */
    overflow: hidden;
  }

  .about h2 {
    font-size: 28px; /* Further reduce font size for small screens */
    line-height: 32px;
  }
}

.intro .solarcompany {
  display: flex;
  margin: 60px ;
  margin-top: 80px;
  align-items: flex-start;
}
.intro {
  text-align: center;
}
.intro h2 {
  color: #1e1e1e;
  font-size: 40px;
  text-align: left;
  line-height: 45px;
}
.intro .solarcompany p{
  font-size: 13px;
  color: #555;
  width: auto;
  text-align: center;
  line-height: 15px;
  column-gap: 30px;
  margin: 0 auto;
  margin-top: -20px;
  padding: 0 300px;
}
/* Mobile responsiveness */
@media only screen and (max-width: 768px) {
  .intro .solarcompany {
    flex-direction: column; /* Stack the items vertically on smaller screens */
    align-items: center; /* Center align the content */
    margin: 40px; /* Adjust margins for better spacing */
  }
  .intro{
    overflow: hidden;
  }

  .intro h2 {
    font-size: 30px; /* Reduce font size for mobile */
    line-height: 35px;
    text-align: center; /* Center align the heading on mobile */
    margin-bottom: 20px; /* Add some margin for better spacing */
  }

  .intro .solarcompany p {
    font-size: 14px; /* Increase font size slightly for better readability */
    column-count: 1; /* Set to single column for better readability on small screens */
    text-align: center; /* Center align the paragraph text */
    margin-top: 0; /* Reset the top margin */
  }
}

@media only screen and (max-width: 480px) {
  .intro{
    overflow: hidden;
  }
  .intro .solarcompany {
    margin: 20px; /* Further reduce margins on very small screens */
  }

  .intro h2 {
    font-size: 24px; /* Further reduce font size for very small screens */
    line-height: 28px;
  }

  .intro .solarcompany p {
    font-size: 10px; /* Increase font size for better readability */
    column-count: 1; /* Maintain single column layout */
    padding: 0 10px; /* Add some padding for better readability */
  }
}

.section-services {
  display:flex;
  flex-direction: row;
  align-items: center;
  background-color:  #313131;
}
.services{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 600px;
}

.service-main {
  text-align: center;
  margin: 50px;
  width: 600px;
}

.service-main img {
  position: relative;
  width: 400px;
  height: 250px;
  object-fit: cover;
  margin-top: 20px;
  z-index: 1;
}
.service-main .bg img {
  position: absolute;
  width: 400px;
  height: 250px;
  object-fit: cover;
  margin-top: -307px;
  margin-left: -391px;
  z-index: 0;
}

.services .service-card {
  background: #fff;
  padding: 30px;
  border-radius: 0;
  width: 100%;
  max-width: 280px;
  text-align: left;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: 0.3s ease;
}

.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.service-card .card-topic{
  display: flex;
  flex-direction: row;
  align-items: center;
}
.services .service-card img{
  height: 60px;
    width: 60px;
    margin-top: -10px;
}
.service-main h1{
  position: relative;
  font-size: 40px;
  margin-bottom: -15px;
  margin-left: 216px;
  z-index: 2;
  color: #fff;
}
.services .service-card h3 {
  color: #1e1e1e;
  font-size: 24px;
  line-height: 22px;
}
.services  .service-card p {
  color: #555;
  font-size: 14px;
  line-height: 17px;
}
/* Mobile responsiveness */
@media only screen and (max-width: 768px) {
  .section-services {
    flex-direction: column; /* Stack the sections vertically on smaller screens */
    padding: 20px; /* Add padding for spacing */
  }

  .services {
    grid-template-columns: repeat(1, 1fr); /* Display items in a single column */
    width: 100%; /* Full width */
    gap: 10px;
    overflow: hidden;
  }

  .service-main {
    width: 100%; /* Make the service main section take full width */
    margin: 30px 0; /* Adjust margin for spacing */
  }

  .service-main img {
    width: 100%; /* Make the image full width */
    height: auto; /* Maintain aspect ratio */
  }

  .service-card {
    max-width: 100%; /* Ensure the cards take full width */
    margin: 10px 0; /* Adjust margin for spacing */
  }

  .service-main h1 {
    font-size: 32px; /* Reduce font size for mobile */
    margin-bottom: 10px; /* Adjust margin */
  }

  .service-card h3 {
    font-size: 16px; /* Reduce font size */
  }

  .service-card p {
    font-size: 14px; /* Increase font size for better readability */
  }
}

@media only screen and (max-width: 480px) {
  .service-main h1 {
    font-size: 28px; /* Further reduce font size for very small screens */
  }

  .service-card h3 {
    font-size: 14px; /* Further reduce font size */
  }
  .service-main .service-card{
    margin: 0 auto;
    border-radius: 15px;    
    width: 90%;
  }
  .service-main i{
    font-size: 20px;
  }
  .services{
    padding-bottom: 10px;
  }

  .service-card p {
    font-size: 12px; /* Further reduce font size */
  }
}

.team {
  padding: 3em 0;
  text-align: center;
  width: 90%;
  margin: 40px auto;
  
}
.team h2 {
  color: #1e1e1e;
  font-size: 40px;
  margin-bottom: -5px;
}
.team p{
  color: #949494;
  font-size: 14px;
    line-height: 18px;
  margin-bottom: 30px;
  margin-top: 10px;
  padding: 0 120px;
}
.team .members {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  justify-content: center;
  gap: 2em;
  align-items: center;
  margin: 0 80px;
}
.member-card {
  display: flex;
  flex-direction: column;
  isolation: isolate;
  position: relative;
  width: 18rem;
  height: 7rem;
  text-align: left;
  background: #313131;
  border-radius: 1rem;
  overflow: hidden;
  font-size: 16px;
  --gradient: linear-gradient(to bottom, #f8b526, #f8b526, #f8b526);
  --color: #f8b526
}
.member-card:before {
  position: absolute;
  content: "";
  inset: 0.0625rem;
  border-radius: 0.9375rem;
  background: #313131;
  z-index: 2
}

.member-card:after {
  position: absolute;
  content: "";
  width: 2px;
  inset: 0.65rem auto 0.65rem 0.5rem;
  border-radius: 0.125rem;
  background: var(--gradient);
  transition: transform 0.3s ease;
  z-index: 4;
}

.member-card:hover:after {
  transform: translateX(0.15rem)
}

.notititle {
  color: var(--color);
  padding: 0.65rem 0.25rem 0.4rem 1.25rem;
  font-weight: 500;
  font-size: 19px;
  line-height: 24px;
  transition: transform 0.3s ease;
  z-index: 5;
}

.member-card:hover .notititle {
  transform: translateX(0.15rem)
}

.notibody {
  color: #d1d1d1;
  padding: 0 1.25rem;
  transition: transform 0.3s ease;
  font-size: 15px;
  line-height: 18px;
  z-index: 5;
}
.notibody2 {
  color: #99999d;
  padding: 0 1.25rem;
  transition: transform 0.3s ease;
  font-size: 14px;
  z-index: 5;
}

.member-card:hover .notibody {
  transform: translateX(0.1rem)
}

.notiglow,
.notiborderglow {
  position: absolute;
  width: 20rem;
  height: 20rem;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle closest-side at center, white, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.notiglow {
  z-index: 3;
}

.notiborderglow {
  z-index: 1;
}

.member-card:hover .notiglow {
  opacity: 0.1
}
.member-card:hover .notiborderglow {
  opacity: 0.1
}

.note {
  color: var(--color);
  position: fixed;
  top: 80%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 0.9rem;
  width: 75%;
}

.member-card h3 {
  margin-top: 20px;
  color: #000000;
  margin-bottom: -5px;
  line-height: 22px;
}
.member-card p {
  color: #646464;
  font-size: 12px;
  margin-bottom: 20px;
  padding: 0;
}

.member-card:hover{
  transform: scale(1.05) translateZ(0);
  transform: 0.3s ease;
}

/* Mobile responsiveness */
@media only screen and (max-width: 768px) {
  .team {
    width: 100%; /* Make the team section full width */
    padding: 2em 0; /* Adjust padding for better spacing */
  }

  .team h2 {
    font-size: 30px; /* Reduce the font size */
  }

  .team p {
    font-size: 14px; /* Increase font size for readability */
    padding: 0 60px; /* Adjust padding */
  }

  .team .members {
    grid-template-columns: repeat(2, 1fr); /* Change to 2 columns */
    gap: 1.5em; /* Adjust the gap */
    margin: 0 40px; /* Adjust margins */
  }

  .member-card {
    width: 180px; /* Reduce card width */
    height: 140px; /* Increase card height */
  }

  .member-card h3 {
    font-size: 16px; /* Adjust font size */
  }

  .member-card p {
    font-size: 14px; /* Adjust font size */
  }
}

@media only screen and (max-width: 480px) {
  .team {
    padding: 1.5em 0; /* Adjust padding for smaller screens */
  }

  .team h2 {
    font-size: 24px; /* Reduce font size */
  }

  .team p {
    font-size: 10px; /* Adjust font size */
    padding: 0 20px; /* Reduce padding */
  }

  .team .members {
    grid-template-columns: repeat(2,1fr); /* Stack members in a single column */
    margin: 0 20px; /* Adjust margins */
  }

  .member-card {
    width: 180px; /* Further reduce card width */
  }

  .member-card h3 {
    font-size: 14px; /* Adjust font size */
  }

  .member-card p {
    font-size: 12px; /* Adjust font size */
    line-height: 14px;
  }
}



/*..............................contact...................*/
#contact {
  position: relative;
  background-image: url('https://www.onboardmeetings.com/wp-content/uploads/2023/01/Corporate-Minutes-2.jpeg'); 
  background-size: cover;
  filter: grayscale(100%);
  background-position: top;
  height: 50vh;
  color: #fff;
}
#contact .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  height: 50vh;
}
#contact h1 {
  font-size: 90px;
  position: relative;
  
}
/* Mobile responsiveness */
@media only screen and (max-width: 768px) {
  #contact, #contact .overlay {
    height: 40vh; /* Adjust the height for tablet screens */
  }

  #contact h1 {
    font-size: 60px; /* Reduce font size */
  }
}

@media only screen and (max-width: 480px) {
  #contact, #contact .overlay {
    height: 30vh; /* Adjust height for mobile screens */
  }

  #contact h1 {
    font-size: 40px; /* Further reduce font size for small screens */
    text-align: center; /* Center the heading for better alignment */
    margin: 0 20px; /* Add some margin for spacing */
  }
}

.contact {
  position: relative;
  margin: auto;
  max-width: 500px;
  left: 250px;
  margin-bottom: 0;
  margin-top: -200px;
}

.contact-form {
  max-width: 500px;
  padding: 30px;
  background-color: #f8b526;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;  
  z-index: 5; 
}

.contact h2 {
  font-size: 40px;
  line-height: 42px;
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #fff;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 0px solid;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease; 
  background-color: #eaeaea;
  
}
.contact-form input[type="text"]:hover,
.contact-form input[type="email"]:hover,
.contact-form textarea:hover {
  border-color: #fff; 
  box-shadow: 0px 0px 5px #656565; 
}
.contact-form button {
  width: 30%;
  padding: 10px;
  background-color: #1e1e1e;
  color: white;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: .3s ease;
  margin-top: 10px;
  font-weight: bold;
}
.contact-form button:hover {
  background-color: #fff;
  color: #1e1e1e;
  transform: scale(1.05) translateZ(0);
}
.whatsappchat {
  background-color: rgb(236, 236, 236);
  position: relative;
  padding: 25px;
  color: #1e1e1e;
  margin-left: -450px;
  width: 400px;
  height: auto;
  top: 150px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: .3s ease;
}
.whatsappchat button:hover {
  transform: scale(1.05) translateZ(0);
  background-color: #ffffff;
  color: #000000;
}
.whatsappchat p{
  font-size: 11px;
  margin-bottom: 15px;
  color: #2d2d2d;
}
.whatsappchat button{
  width: 30%;
  padding: 9px;
  background-color: #f8b526;
  color: white;
  border: none;
  font-size: 14px;
  cursor: pointer;  
  transition: .3s ease;
  font-weight: bold;
}
/* Mobile responsiveness */
/* Mobile responsiveness */
@media only screen and (max-width: 768px) {
  .contact {
    display: flex;
    flex-direction: column;  /* Stacking the form elements vertically */
    align-items: center;     /* Centering horizontally */
    justify-content: center; /* Centering vertically */
    position: relative;
    margin: auto;
    top: 0;
    left: 0;
    max-width: 90%;
    padding: 20px;
  }

  .contact-form {
    display: flex;
    flex-direction: column; /* Stacking form elements vertically */
    align-items: stretch;   /* Stretch inputs and buttons */
    width: 100%;            /* Take full width */
    padding: 20px;
    background-color: #f8b526;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 5;
  }

  .contact h2 {
    font-size: 30px; /* Adjust font size */
    line-height: 35px;
    text-align: center;  /* Center heading */
    margin-bottom: 20px;
  }

  .contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #fff;
  }

  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 15px;
    background-color: #eaeaea;
    border: 1px solid #ccc;
  }

  .contact-form button {
    width: 50%;
    padding: 12px;
    background-color: #1e1e1e;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: .3s ease;
    margin-top: 10px;
    font-weight: bold;
    align-self: center; /* Center button */
  }

  .contact-form button:hover {
    background-color: #fff;
    color: #1e1e1e;
    transform: scale(1.05);
  }

  .whatsappchat {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center contents horizontally */
    justify-content: center; /* Center contents vertically */
    padding: 20px;
    background-color: rgb(236, 236, 236);
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin-top: 20px;
    width: 80%; /* Full width but with some padding */
  }

  .whatsappchat button {
    width: 60%;  /* Adjust button width */
    padding: 12px;
    background-color: #f8b526;
    color: white;
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: .3s ease;
    font-weight: bold;
    margin-top: 10px;
  }

  .whatsappchat button:hover {
    transform: scale(1.05);
    background-color: #ffffff;
    color: #000000;
  }

  .whatsappchat p {
    font-size: 14px;
    color: #2d2d2d;
    margin-bottom: 15px;
  }
}

@media only screen and (max-width: 480px) {
  .contact {
    display: grid;
    grid-template-columns: repeat(1, 1fr);  /* Stack elements vertically */
    align-items: center;     /* Center content horizontally */
    justify-content: center; /* Center content vertically */
    position: relative;
    padding: 20px;
    margin: 0;
    max-width: 100%;
    top: 0;
    left: 0;
  }
  .form-topic{
    margin-top: 190px;
  }

  .contact-form {
    width: 100%;
    padding: 20px;
    background-color: #f8b526;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 5;
    position: relative;
  }

  .contact h2 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 15px;
  }

  .contact-form label {
    margin-bottom: 10px;
  }

  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 15px;
    background-color: #eaeaea;
  }

  .contact-form button {
    width: 50%;
    padding: 12px;
    background-color: #1e1e1e;
    color: white;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    transition: .3s ease;
    font-weight: bold;
    align-self: center;
  }

  .contact-form button:hover {
    background-color: #fff;
    color: #1e1e1e;
    transform: scale(1.05);
  }

  .whatsappchat {
    width: 80%;
    padding: 20px;
    margin-top: 20px;
    background-color: rgb(236, 236, 236);
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
    margin: 0 auto;
    margin-top: -230px;
  }

  .whatsappchat button {
    width: 100%;
    padding: 12px;
    background-color: #f8b526;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    cursor: pointer;
    transition: .3s ease;
    font-weight: bold;
  }

  .whatsappchat button:hover {
    transform: scale(1.05);
    background-color: #ffffff;
    color: #000000;
  }

  .whatsappchat p {
    font-size: 10px;
    color: #2d2d2d;
    margin-bottom: 0px;
  }
  .image1{
    display: none;
  }
}


.map{  
  background-color:  rgba(236, 236, 236, 0.4);
}
.map h2{
  text-align: center;
  padding: 40px;
  font-size: 40px;
}
.branch-card-container {
  max-width: 100%;
  height: auto;
  overflow: hidden;
  padding-bottom:  100px; 
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
  padding-left: 80px;
  padding-right: 80px;
}
.map iframe{
height: 500px; 
width:100%;
object-fit: cover;
border: 0;
border-radius: 0 0 20px 20px;
margin-bottom: -10px;
}
.map .branch-card{
  background-color: #1e1e1e;
  border-radius: 20px;
  margin-top: 5px;
  width: 320px;
  transition: 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.branch-card:hover {
  transform: scale(1.01);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
.branch-card h3, p{
  padding-left: 15px;
}
.branch-card h3{
  color: white;
  font-size: 25px;
  margin-bottom: 10px;
  padding-top: 20px;
}
.branch-card i{
  color: #f8b526;
  margin-right: 5px;
}
.branch-card p{
  font-size: 13px;
  color: #cacaca;
  line-height: 20px;
  margin-bottom: 15px;
}
/* Responsive styles */
@media only screen and (max-width: 768px) {
  .map h2 {
    font-size: 30px; /* Adjust font size */
    padding: 20px;
  }

  .branch-card-container {
    grid-template-columns: repeat(2, 1fr); /* Reduce the number of columns to 2 */
    padding-left: 20px;
    padding-right: 20px;
    gap: 20px; /* Reduce gap between cards */
  }

  .map iframe {
    height: 250px; /* Adjust height for better fit */
    width: 100%; /* Make iframe responsive */
  }

  .map .branch-card {
    width: 100%; /* Allow card to stretch to container width */
  }

  .branch-card h3 {
    font-size: 20px; /* Adjust heading font size */
  }

  .branch-card p {
    font-size: 12px; /* Adjust paragraph font size */
  }
}

@media only screen and (max-width: 480px) {
  .branch-card-container {
    grid-template-columns: 1fr; /* Stack cards vertically */
    gap: 15px; /* Reduce gap for smaller screens */
    padding-left: 20px;
    padding-right: 20px;
  }

  .map iframe {
    height: 200px; /* Further adjust iframe height */
  }

  .map .branch-card {
    width: 100%; /* Make branch card full-width */
    margin: 0 auto; /* Center the card */
  }

  .branch-card h3 {
    font-size: 18px; /* Adjust heading size further */
  }

  .branch-card p {
    font-size: 11px; /* Adjust paragraph size */
  }
}

.image1{
  margin-left: -500px;
  margin-top: -250px;
  padding: 0;
  margin-bottom: 80px;
}
.image1 img{
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 0;
  height: 400px;
  width: 600px;
  object-fit: cover;
}
.image2 img {
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 0;
    height: 250px;
    width: 350px;
    object-fit: cover;
    margin-left: 42px;
    margin-top: -200px;
    padding: 0;
    margin-bottom: 80px;
}

/*.................. products....................*/
#products-header {
  height: 40vh;
  width: 100%;
  background-size: cover;
  background-position: top 50% right 0;
  margin-top: 2px;
}
#products-header .overlay {
  width: 100%;
  height: 40vh;
  background: rgb(130,180,64);
  background: linear-gradient(180deg, rgba(130,180,64,1) 35%, rgba(255,255,255,1) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #f8f8f8;
  background-position: top 75% right 0;
  padding: 0 80px;
}
#products-header .overlay h4{
  font-size: 60px;
}
/* Responsive styles */
@media only screen and (max-width: 768px) {
  #products-header {
    height: 40vh; /* Adjust the height for smaller screens */
    background-position: center; /* Center the background image */
  }
  
  #Products-header .overlay {
    height: 40vh; /* Match the height of the header */
  }

  #Products-header .overlay h4 {
    font-size: 40px; /* Reduce the font size for better fit */
    text-align: center; /* Center-align the heading for smaller screens */
  }
}

@media only screen and (max-width: 480px) {
  #products-header {
    height: 30vh; /* Further adjust height for extra-small screens */
  }
  
  #products-header .overlay {
    height: 30vh;
  }

  #products-header .overlay h4 {
    font-size: 30px; /* Further reduce font size */
    padding: 0 20px; /* Add padding for spacing */
  }
}

.products {
  text-align: center;
  padding:  10px;
  margin-bottom: 40px;
}
.products .header{
  text-align: center;
  margin-left: 50px;
  line-height: 30px;
  margin-top: 50px;
  margin-bottom: 30px;
}

.products .header h1 {
  font-size: 30px;
  color: #1e1e1e;
}
/* From Uiverse.io by ilkhoeri */ 
.dropdown1 {
  border: 1px solid #c1c2c5;
  border-radius: 25px;
  transition: all 300ms;
  display: flex;
  flex-direction: column;
  min-height: 58px;
  background-color: white;
  overflow: hidden;
  position: relative;
  inset-inline: auto;
  max-width: 90%;
  min-width: 298px;
  margin: 40px auto;
  padding: 10px;
}
.dropdown1:hover {
  color: #f8b526;
}
.dropdown1 input:where(:checked) ~ .list {
  opacity: 1;
  transform: translateY(-3rem) scale(1);
  transition: all 500ms ease;
  margin-top: 32px;
  padding-top: 4px;
  margin-bottom: -32px;
}
.dropdown1 input:where(:not(:checked)) ~ .list {
  opacity: 0;
  transform: translateY(3rem);
  margin-top: -100%;
  user-select: none;
  height: 0px;
  max-height: 0px;
  min-height: 0px;
  pointer-events: none;
  transition: all 500ms ease-out;
}
.trigger {
  cursor: pointer;
  list-style: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  font-weight: 600;
  color: inherit;
  width: 100%;
  display: flex;
  align-items: center;
  flex-flow: row;
  gap: 1rem;
  height: max-content;
  position: relative;
  z-index: 99;
  border-radius: inherit;
  background-color: white;
  justify-content: center;
  font-size: 25px;
}
@media only screen and (max-width: 480px) {
  .trigger {
    font-size: 22px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.dropdown1 input:where(:checked) + .trigger {
  margin-bottom: 1rem;
}
.dropdown1 input:where(:checked) + .trigger:before {
  rotate: 90deg;
  transition-delay: 0ms;
}


.trigger:before,
.trigger::after {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.trigger:before {
  content: "›";
  rotate: -90deg;
  width: 17px;
  height: 17px;
  color: #262626;
  border-radius: 2px;
  font-size: 26px;
  transition: all 350ms ease;
  transition-delay: 85ms;
}

.list {
  height: 100%;
  max-height: 20rem;
  width: calc(100% - calc(var(--w-scrollbar) / 2));
  display: grid;
  grid-auto-flow: row;
  overflow: hidden auto;
  gap: 1rem;
  padding: 0 1rem;
  margin-right: -8px;
  --w-scrollbar: 8px;
}
.listitem {
  height: 100%;
  width: calc(100% + calc(calc(var(--w-scrollbar) / 2) + var(--w-scrollbar)));
  list-style: none;
}


.webkit-scrollbar::-webkit-scrollbar {
  width: var(--w-scrollbar);
  height: var(--w-scrollbar);
  border-radius: 9999px;
}
.webkit-scrollbar::-webkit-scrollbar-track {
  background: #0000;
}
.webkit-scrollbar::-webkit-scrollbar-thumb {
  background: #0000;
  border-radius: 9999px;
}
.webkit-scrollbar:hover::-webkit-scrollbar-thumb {
  background: #c1c2c5;
}


/* When the first dropdown is checked, show 'Solar Panels' */
#state-dropdown1 + .trigger::after {
  content: "Solar Panels";
}

/* When the second dropdown is checked, show 'Inverters' */
#state-dropdown2 + .trigger::after {
  content: "Inverters";
}

/* When the third dropdown is checked, show 'Batteries' */
#state-dropdown3 + .trigger::after {
  content: "Cables & Switchgear";
}

/* When the fourth dropdown is checked, show 'Mounting Systems' */
#state-dropdown4 + .trigger::after {
  content: "Enclosures";
}

/* When the fifth dropdown is checked, show 'Accessories' */
#state-dropdown5 + .trigger::after {
  content: "Other Accessories";
}


.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.product-card {
  background-color: white;
  display:flex ;
  height: 300px;
  flex-direction: column;
  border-radius: 25px;
  padding: 0 ;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  line-height: 20px;
  text-align: left;
}

.product-card:hover {
  transform: translateY(-10px);
}
.product-card .text-container{
  margin: 0 20px;
}
.product-card .image-container {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.product-card .image-container img {
  width: 100%;
  height: 200px;
  padding: 0;
  object-fit: cover;
  border-radius: 25px 25px 0 0;;
}
.product-card i{
  color: #f8b526;
}
.product-card h3 {
  font-size: 20px;
  color: #333;
  margin-top: 15px;
}
.product-card a{
  color: #f8b526;
  font-size: 12px;
  margin-bottom: 15px;
  text-decoration: none;
}

.product-card h6 {
  font-size: 14px;
  color: #666;
  margin-top: 4px;
}

.product-card p{
  width: 100%;
  font-size: 12px;
  color: #666;
  margin-bottom: 20px;
  padding: 0;
}
/* Responsive Styles */
@media only screen and (max-width: 768px) {
  .products .header {
    margin-left: 0; /* Remove extra margin for smaller screens */
    margin-top: 30px;
  }

  .products .header h1 {
    font-size: 24px; /* Reduce font size */
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr); /* Change grid to 2 columns */
    margin: 30px 20px; /* Reduce margins for smaller screens */
    gap: 20px; /* Adjust gap between grid items */
  }

  .product-card {
    height: 350px; /* Reduce card height */
  }

  .product-card .image-container img {
    height: 200px; /* Adjust image height for better fit */
  }

  .product-card h3 {
    font-size: 16px; /* Reduce title font size */
  }

  .product-card h6,
  .product-card p {
    font-size: 10px; /* Reduce text size */
  }
}

@media only screen and (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr; /* Single column layout for mobile */
    margin: 20px 10px; /* Narrower margins */
  }

  .product-card {
    height: auto; /* Allow flexible height for content */
  }

  .product-card .image-container img {
    height: 180px; /* Further reduce image height */
    border-radius: 0 0 25px 25px;
  }

  .product-card h3 {
    font-size: 14px; /* Reduce title font size for mobiles */
  }

  .product-card h6,
  .product-card p {
    font-size: 10px; /* Reduce text size for mobiles */
    line-height: 14px;
  }
}

/*................................services...............................*/
#Services-overlay {
  position: relative;
  background-image: url('https://www.pbctoday.co.uk/news/wp-content/uploads/2025/01/iStock-1796838374-scaled.jpg'); 
  background-size: cover;
  background-position: 50%;
  top: 50%;
  height: 50vh;
  color: #fff;
}
#Services-overlay img{
  z-index: 1;
    height: 255px;
    position: absolute;
    margin-left: 500px;
    margin-top: 56px;
}
#Services-overlay .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  height: 50vh;
  z-index: 0;
}

#Services-overlay .overlay h4{
  font-size: 60px;
  margin: 0;
  z-index: 2;
}
/* Responsive Styles */
@media only screen and (max-width: 768px) {
  #Services-overlay {
    height: 40vh; /* Reduce height for tablets */
    background-position: center; /* Adjust background positioning */
  }

  #Services-overlay .overlay {
    height: 40vh; /* Match reduced height */
  }

  #Services-overlay .overlay h4 {
    font-size: 40px; /* Reduce font size */
    text-align: center; /* Center text alignment */
    padding: 0 20px; /* Add padding for better fit */
  }
}

@media only screen and (max-width: 480px) {
  #Services-overlay {
    height: 30vh; /* Further reduce height for smaller screens */
  }

  #Services-overlay .overlay {
    height: 30vh; /* Match height adjustment */
  }

  #Services-overlay .overlay h4 {
    font-size: 28px; /* Further reduce font size */
    padding: 0 10px; /* Narrow padding */
    line-height: 1.2; /* Adjust line height for better readability */
  }
}
#other-services-header {
  background-color: #2d2d2d;
  padding-bottom: 1px;
}
#other-services-header h2{
  text-align: center;
  margin: 0 auto;
  padding-top: 40px;
  margin-bottom: 15px;
  font-size: 40px;
  color: #fff;
}
#other-services-header .bg {
  position: absolute;
  z-index: 0;
  height: 400px;
  margin-left: 100px;
    margin-top: -109px;
}
#services-header h2{
  text-align: center;
  margin: 0 auto;
  padding-top: 40px;
  margin-bottom: 15px;
  font-size: 40px;
}
#services-header .bg {
  position: absolute;
  z-index: 0;
  height: 400px;
  margin-left: 100px;
    margin-top: -109px;
}
.services-container {
  position: relative;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto; /* Centers the container horizontally */
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column; /* Ensures the grid stays centered in the flow */
  align-items: center; /* Centers the grid horizontally */
  justify-content: center; /* Centers the grid vertically if height is defined */
  margin-bottom: 60px;
  z-index: 2;
}
.serv-grid {
  width: 100%;
  max-width: 100%; 
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 20px;
  margin: 0 auto;
  padding: 0 120px;
}
.serv-grid .o-card h3 {
  font-weight: bold;
  font-size: 20px;
  display: flex;
  align-items: center;
}
.serv-grid .o-card {
  display: grid;
  width: 500px;
  height: auto;
  background-color: var(--extra-light);
  box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-color: #333;
  transition: .3s ease;
  padding: 10px;
  color: #fff;
}
.serv-grid .o-card:hover{
  transform: scale(1.03) translateZ(0);
}
.serv-grid .o-card p {
  font-size: 13px;
  font-weight: 400;
  text-align: left;
  margin-top: 10px;
  padding: 0;
  color: #fff;
}
.serv-grid .o-card hr {
  width: 50%;
  color: var(--text-light);
}
.serv-grid .o-card img {
  width: 150px;
  height: 170px;
  border: none;
  object-fit: cover;
  margin-bottom: -6px;
  margin-right: 5px;
}

.serv-grid .o-card .name {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-light);
}


.header {
  margin-bottom: 2rem;
}

.header p {
  font-size: 12px;
  font-weight: 500;
}

.serv-grid .card h3 {
  font-weight: bold;
  font-size: 20px;
  display: flex;
  align-items: center;
}
.serv-grid .card {
  display: grid;
  width: 500px;
  height: auto;
  background-color: var(--extra-light);
  box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-color: white;
  transition: .3s ease;
  padding-right: 5px;
}
.serv-grid .card:hover{
  transform: scale(1.03) translateZ(0);
}
.text-container p{
  color: #555;
  padding: 0;
}
.serv-grid .card p {
  font-size: 13px;
  font-weight: 400;
  text-align: left;
  margin-top: 10px;
  padding: 0;
}
.serv-grid .card hr {
  width: 50%;
  color: var(--text-light);
}
.serv-grid .card img {
  width: 150px;
  height: 170px;
  border: none;
  object-fit: cover;
  margin-bottom: -6px;
  margin-right: 5px;
}

.serv-grid .card .name {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-light);
}
.serv-grid .text-container{
  padding: 4px;
}
/* Responsive Styles */
@media only screen and (max-width: 768px) {
  #services-header h2 {
    font-size: 30px; /* Reduce font size for smaller screens */
    padding-top: 20px;
  }

  .services-container {
    padding: 0.5rem; /* Adjust padding for smaller screens */
  }

  .serv-grid {
    grid-template-columns: 1fr; /* Change to single-column layout */
    padding: 0 ; /* Reduce horizontal padding */
  }
  .services-container {
    grid-template-columns: ( 1fr); /* Change to single-column layout */
    padding: 0 10px; /* Reduce horizontal padding */
  }

  .serv-grid .card {
    width: 100%; /* Full width for single-column layout */
    height: auto; /* Adjust height to fit content dynamically */
    flex-direction: column; /* Stack content vertically */
    padding: 10px; /* Add padding for better spacing */
  }

  .serv-grid .card img {
    width: 100%; /* Image takes full width */
    height: auto; /* Maintain aspect ratio */
    margin: 0; /* Center-align images */
    border-radius: 25px 25px 0 0; /* Adjust border radius for stacked design */
    height: 160px;
    width: 320px;
  }

  .serv-grid .text-container {
    text-align: left; /* Center-align text in single-column view */
    padding: 10px;
    margin: 0;
  }

  .serv-grid .card h3 {
    font-size: 16px; /* Adjust font size */
  }

  .serv-grid .card p {
    font-size: 10px; /* Adjust font size */
    line-height: 14px; /* Improve readability */
  }
}

@media only screen and (max-width: 480px) {
  #services-header h2 {
    font-size: 26px;
    padding-top: 30px;
  }
  #services-header .bg {
    height: 300px; /* Adjust background height for smaller screens */
    margin-left: 115px; /* Adjust margin for better fit */
    margin-top: -80px; /* Adjust top margin */
  }
  #other-services-header h2 {
    font-size: 26px;
    padding-top: 30px;
  }

  .serv-grid .card {
    height: auto; /* Ensure content fits smaller screens */
    padding: 5px; /* Add compact padding */
  }
  .serv-grid .o-card {
    height: auto; /* Ensure content fits smaller screens */
    padding: 5px; 
    width: 385px;/* Add compact padding */
  }
  #services-header .serv-grid{
      grid-template-columns: repeat(2, 1fr);
      padding: 0;
    }
  
   #services-header .serv-grid .card img {
    border-radius: 15px; /* Adjust border radius for smaller screens */
    height: 160px;
    width: 100%;
  }
  .serv-grid .o-card img {
    border-radius: 15px; /* Adjust border radius for smaller screens */
    height: 160px;
    width: 150px;
  }
  #gallery .gallery-container{
    grid-template-columns: 1fr;
    overflow: hidden;
  }
  .image2 img{
    margin-left: 53px;
    margin-top: 20px;
  }
  .image1 img{
    margin-left: 0px;
    margin-top: 20px;
    height: 200px;
    width: 300px;
  }

  .serv-grid .card h3 {
    font-size: 16px; /* Smaller header text */
  }
  .serv-grid .o-card h3 {
    font-size: 16px; /* Smaller header text */
  }

  .serv-grid .card p {
    font-size: 11px; /* Compact text size */
  }
  .serv-grid .o-card p {
    font-size: 11px;
     /* Compact text size */
  }
}

.other-services {
  display:flex;
  flex-direction: row;
  align-items: center;
  background-color:  rgba(73, 73, 73, 0.19);
  padding-bottom: 20px;
}
.o-services{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 600px;
}
.service-other {
  text-align: center;
  margin: 50px;
  width: 600px;
}
.service-other p{
  color: #666;
  font-size: 12px;
  text-align: left;
  padding: 0;
}
.service-card {
  background: #fff;
  padding: 20px;
  width: 100%;
  max-width: 320px;
  text-align: left;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: 0.3s ease;
}

.service-card:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.service-card .card-topic{
  display: flex;
  flex-direction: row;
  align-items: center;
}
.service-other i{
  font-size: 30px;
  color: #f8b526;
  margin-right: 10px;
}
.service-other h1{
  position: relative;
  font-size: 50px;
  z-index: 2;
  text-align: left;
}
.service-card h3 {
  color: #1e1e1e;
  font-size: 18px;
  line-height: 22px;
}
.service-card p {
  color: #555;
  font-size: 12px;
  line-height: 15px;
  padding: 0;
}
/* Responsive Adjustments for Other Services */
@media only screen and (max-width: 1024px) {
  .other-services {
    flex-direction: column; /* Stack content vertically */
    align-items: center; /* Center-align for better presentation */
    padding: 20px; /* Adjust padding for smaller screens */
  }

  .service-other {
    margin: 20px; /* Reduce margin for smaller viewports */
    width: 100%; /* Full width to fit screen */
  }

  .o-services {
    grid-template-columns: 1fr; /* Single-column layout */
    gap: 20px; /* Adjust gap for better spacing */
    width: 100%; /* Fit screen width */
  }

  .service-card {
    max-width: 100%; /* Allow cards to adapt to full width */
    padding: 15px; /* Compact padding */
  }

  .service-card h3 {
    font-size: 16px; /* Slightly smaller heading */
    line-height: 20px;
  }

  .service-card p {
    font-size: 11px; /* Smaller paragraph text */
    line-height: 14px;
  }

  .service-other h1 {
    font-size: 35px; /* Reduce heading size */
  }
}

@media only screen and (max-width: 768px) {
  .other-services {
    padding: 10px; /* Compact padding */
  }

  .service-other {
    margin: 10px; /* Compact margin for smaller screens */
  }

  .o-services {
    gap: 15px; /* Tighter spacing between cards */
  }

  .service-other h1 {
    font-size: 28px; /* Further reduce heading size */
  }

  .service-card {
    padding: 10px; /* Compact padding for small screens */
  }

  .service-card h3 {
    font-size: 14px; /* Smaller heading */
  }

  .service-card p {
    font-size: 10px; /* Smaller paragraph text */
  }
}

@media only screen and (max-width: 480px) {
  .other-services {
    padding: 5px; /* Very compact padding for narrow screens */
    padding-bottom: 40px;
  }
  .service-other i {
    font-size: 20px;
  }

  .service-other h1 {
    font-size: 26px; /* Adjust heading size further */
    text-align: center; /* Center-align text for better readability */
  }
  .service-other p {
    font-size: 10px; /* Adjust heading size further */
    text-align: center;
    padding: 10px;
  }

  .o-services {
    gap: 10px; /* Reduce gap for smaller layouts */
    display: grid;
    grid-template-columns: repeat(2,1fr);
  }

  .service-card {
    padding: 8px; /* Compact card padding */
    gap: 5px;
    margin: 0 auto;
    padding-bottom: 20px;
  }

  .service-card h3 {
    font-size: 12px; /* Adjust text size */
  }

  .service-card p {
    font-size: 9px; /* Compact text size */
    padding: 0;
  }
}


/*................................blog...............................*/

#blog-overlay {
  position: relative;
  background-image: url(https://i0.wp.com/reglobal.org/wp-content/uploads/2020/05/shutterstock_633490982-scaled.jpg?fit=2560%2C1725&ssl=1);
  background-size: cover;
  background-position: 50%;
  height: 50vh;
  color: #fff;
}

#blog-overlay .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  height: 50vh;
  z-index: 1;
}

.blog-section {
  text-align: center;
  padding: 10px;
  margin-bottom: 40px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 50px;
}

.blog-card {
  background-color: white;
  display: flex;
  flex-direction: column;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  line-height: 1.6;
  text-align: left;
  width: 100%;
  max-width: 500px;
  margin: auto;
}

.blog-card .image-container img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 25px 25px 0 0;
}

.blog-card .text-container {
  padding: 20px;
  margin: 0;
}

.blog-card h3 {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
}

.blog-card p {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
}

/* Media Queries for responsiveness */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr; /* 1 column layout for tablets */
    margin: 20px; /* Less margin on smaller screens */
  }

  .blog-card {
    max-width: 100%; /* Full width for blog cards on tablets */
  }

  .blog-card .image-container img {
    height: 180px; /* Slightly smaller image height on tablets */
  }

  .blog-card h3 {
    font-size: 14px; /* Smaller font for headers */
  }

  .blog-card p {
    font-size: 12px; /* Smaller font for paragraph text */
  }
}

@media (max-width: 480px) {
  .blog-grid {
    grid-template-columns: 1fr; /* 1 column layout for mobile */
    margin: 10px; /* Less margin on mobile */
  }

  .blog-card {
    max-width: 100%; /* Full width for blog cards on mobile */
    margin: 10px 0; /* Add margin between cards on mobile */
  }

  .blog-card .image-container img {
    height: 160px; /* Adjust image height for mobile */
  }

  .blog-card h3 {
    font-size: 12px; /* Smaller header font on mobile */
  }

  .blog-card p {
    font-size: 11px; /* Smaller paragraph font on mobile */
  }
}


#gallery .gallery-container{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 20px;
}
#gallery .text-container{
  text-align: center;
}
#gallery .text-container h3{
  color: #f8b526;
  font-size: 30px;
  margin-top: 20px;
}
#gallery .text-container h6{
  color: #1e1e1e;
  font-size: 20px;
  margin-top: 5px;
}
#gallery .text-container p{
  color: #555;
  font-size: 14px;
  line-height: 16px;
  margin-top: 5px;
}
.gallery-item img{
  height: 350px;
  width: 350px;
  object-fit: cover;
}

