/* ========== GLOBAL RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  overflow-x: hidden;
}


 


body {
  font-family: "Poppins", sans-serif;
  color: #333;
  background: #fff;
  overflow-x: hidden;
  
  
}

.container {

  max-width: 1000px;
  margin: 0 auto;
  height: auto;
  width: 100%;
  padding: 0 15px;
}

/* ========== HEADER ========== */
.header {
  background: #fff;
  border-bottom: 1px solid #eee;

}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: #333;
}
.logo  {
  color:black
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.navbar ul li a {
  text-decoration: none;
  color: #555;
  font-weight: 500;
  transition: 0.3s;
}

.active{
    color:#f15a29
}
.navbar ul li a {
  position: relative; /* important for positioning the ::before element */
  color: #333;
  text-decoration: none;
  padding: 10px 20px;
  transition: all 0.3s ease;
}

/* Pseudo-element for top border */
.navbar ul li a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;                /* start hidden */
  height: 3px;             /* thickness of the line */
  background-color: #f15a29;
  transition: width 0.3s ease; /* animation */
}

/* Hover effect */
.navbar ul li a:hover {
  color: #f15a29;
  background-color: whitesmoke;
}

/* Expand the line when hovered */
.navbar ul li a:hover::before {
  width: 100%; /* full width on hover */
}



.menu-toggle {
  display: none;
  font-size: 22px;
  cursor: pointer;
}

/* ========== HERO SECTION ========== */
.hero {
  background: #f9f9f9;
  text-align: center;
  padding: 60px 0 80px;
  width: 100%;
  max-width: 1170px;
  margin-left: 3rem;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  

}



.hero-img {
  width: 100px;
  margin: 0 10px;
  vertical-align: middle;
}

.hero-content h2 {
  margin-top: 20px;
  font-size: 12px;
  color: darkgray;

}

.hero-content h2 span {
  color: darkgrey;
  font-size: 20px;
}

.caption-box {
  
  color: #fff;background-color: #444;
  width: 420px;
  left: 0;
  margin-top: 30px;
  position: absolute;
  bottom: 0;
  width:350px;
  padding: 5px;
  
  
  
  font-size: 10px;
  margin-bottom: 12px;
}

.caption-box h4 {
  margin-bottom: 10px;
  font-size: 16px;
}

/* ========== INTRO ========== */
.intro {
  text-align: center;
  padding: 60px 0;
  background: #fff;
}

.intro h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

.intro p {
  margin-top: 15px;
  color: #666;
  line-height: 1.8;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

/* ========== FEATURES ========== */
.features {
  background: #fafafa;
  padding: 60px 0;
   /* width: 100%; 
  max-width: 1150px;
 margin-left: 50px; */
}

.feature-grid {
  display: flex;
  justify-content: space-between;
  text-align: center;
}

.feature-box {
  background: #fff;
  padding: 25px;
  border: 1px solid #eee;
  width: 30%;
  border-radius: 5px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-box h4 {
  margin-bottom: 10px;
  font-size: 16px;
  color: #333;
}

.feature-box p {
  color: #777;
  margin-bottom: 15px;
}

.btn {
  display: inline-block;
  background: #f15a29;
  color: #fff;
  padding: 10px 18px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 12px;
  margin-top: 5px;
  margin-right: 1rem;
}

/* ========== PROJECTS ========== */
.projects {
  padding: 60px 0;
}

.projects h3 {
  text-align: center;
  font-size: 22px;
  color: #333;
  margin-bottom: 40px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.project-card {
  background: #fff;
  border: 2px solid #eee;
  text-align: center;
  padding-bottom: 15px;
  border-radius: 4px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
  padding: 3px;
}

.project-card img {
  width: 100%;
  border-radius: 4px 4px 0 0;
}

.project-card h5 {
  margin-top: 10px;
  font-size: 16px;
  color: #333;
}

.project-card p {
  color: #777;
  font-size: 13px;
}

/* ========== QUOTE SECTION ========== */
.quote{
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 2px solid whitesmoke;
  flex-wrap: wrap;
  padding: 20px 40px;
}


/* ========== BLOG & TESTIMONIALS ========== */
.main-box{
    margin-top: 35px;
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
       
        gap: 35PX;

}
.left-side{
    max-width: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.right-side{
    max-width: 300px;
    border: 2px solid whitesmoke;
    padding: 10px;
    
}
.container h3 {
     margin-top: 30px;
    margin-bottom: 20px;
    


}
.blog-heading{
     font-size: 14px;
    color: rgba(0, 0, 0, 0.721);
    margin-top: 13px;
    font-weight: 600;
    padding-left: 5px;
    
    
}
.blog-text{
     font-size: 12px;
    color: darkgray;
    padding-bottom: 15px;
    padding-left: 10px;
   
    
}
.blog-date {
     font-size: 13px;
    color: darkgray;
    padding-left: 5px;
   line-height: 1.7rem;
    
}
.box3x{
     border: 2px solid whitesmoke;

}
.box3x img{
    padding: 5px;   
}
.box1x{
     border: 2px solid whitesmoke;
    position: relative;
}
.box1x img{
    padding: 5px;   
}
.box2x{
     border: 2px solid whitesmoke;

}
.box2x img{
    padding: 5px;   
}
.right-side p{
    font-size: 13px;

}
.right-side p {
    text-align: center;
    text-justify: center;
  
   color: darkgray;
   padding: 8px;
}
.t{
    position: absolute;
    margin: 0 !important;
    margin-top: -50px !important;
    
}
#left{
    position: absolute;
    left: 0;
    top: 35%;
   background-color: rgb(91, 88, 88);
    color: white;
    margin-left: 5px;
   
     border-radius: 0px 2px 2px 0px;
   padding:8px 2px ;

}
#right{
    position:absolute;
   background-color: rgb(91, 88, 88);
    color: white;
    margin-right: 5px;
    padding: 5px 2px;
    border-radius: 2px 0 0 2px;
   padding:8px 2px ;
right: 0;
top: 35%;
}
.main-box{
    position: relative;
}

/* ========== CLIENTS ========== */
.client h3{
    margin-bottom: 17px;
    color: rgba(0, 0, 0, 0.721);
    padding-top: 10px;
    padding-bottom: 10px;
}
.client-box{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.box1c{
    border: 2px solid whitesmoke;
    padding: 12px 30px;
}
.box2c{
    border: 2px solid whitesmoke;
    padding: 12px 35px;
}
.box3c{
    border: 2px solid whitesmoke;
    padding: 12px 35px;
}
.box4c{
    border: 2px solid whitesmoke;
    padding: 12px 35px;
}
.box5c{
    border: 2px solid whitesmoke;
    padding: 12px 35px;
}
/* ========== FOOTER ========== */
footer {
  background: #2b2b2b;
  color: #bbb;
  padding: 60px 0 30px;
  font-size: 14px;
  margin-top: 52px;
  padding: 20px 20px 0 20px
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  
}

.footer-col {
  width: 23%;
}

.footer-col h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 15px;
}

.footer-col p {
  color: #aaa;
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #aaa;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #f15a29;
}

.strem-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.flickr-grid img {
  width: 100%;
  border-radius: 3px;
}

.copyright {
  text-align: start;
  margin-top: 40px;
  
  padding-top: 5px;
  color: #888;
  align-items: center;
  
}
.copyright{
  padding-left: 30px;
}
.hero-img{
  width: 100px;
  height: 100px;
}
.icons{
  position: absolute;
}
.client{
  margin-left: 30px;
}
.text-button{
  display: flex;
  justify-content:space-between;
}
.text-butto a{
  padding-right: 30px;
}
.fa-brands {
  font-size: 30px;
  
}
.fa-brands:hover{
  
  color: cornflowerblue;
}

.footer-page {
  background-color: #2b2b2b;
  color: white;
  display: flex;
  justify-content: space-between; /* copyright left, links right */
  align-items: center;
  padding: 15px 40px; /* space around content */
  font-family: "Poppins", sans-serif;
  
}

.footer-page {
  background-color: black;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  font-family: "Poppins", sans-serif;
  border-top: 2px solid #444; /* separator line */
  box-sizing: border-box;
  width: 100%;
  border-bottom: 2px solid #444;
  height: auto;
}

/* ✅ Remove default margins that cause extra lines/spaces */
.footer-page p,
.footer-page ul {
  margin: 0;
  padding: 0;
}

.footer-page .copyright {
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links li a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links li a:hover {
  color: #f15a29;
}


.box1-f{
    border: 2px solid #676565;;
    height: 61px;
     height:60px;
    width: 60px;
}
.box1-f img {
   
      height: 100%;
    width: 100%;
}
.box2-f{
    border: 2px solid #676565;
   
    height:60px;
    width: 60px;
}
.box2-f img {
    
        height: 100%;
    width: 100%;
}

.box3-f{
    border: 2px solid #676565;
     height:60px;
    width: 60px;
}
.box3-f img {
    
      height: 100%;
    width: 100%;
}
.box4-f{
    
   height:60px;
    width: 60px;
}
.box4-f img {
    border: 2px solid #676565;
     height: 100%;
    width: 100%;
}
.box5-f{
    
      height:60px;
    width: 60px;
}
.box5-f img {
   border: 2px solid #676565;
    height: 100%;
    width: 100%;
}
.box6-f{
    
      height:60px;
    width: 60px;
}
.box6-f img {
    border: 2px solid #676565;
    height: 100%;
    width: 100%;
}
.box7-f{
    
    height:60px;
    width: 60px;
}
.box7-f img {
    border: 2px solid #676565;
      height: 100%;
    width: 100%;
}
.box8-f{
   
     height:60px;
    width: 60px;
}
.box8-f img {
    border: 2px solid #676565;;
    height: 100%;
    width: 100%;
}


.footer-col span {
    font-size: 15px;
    color: white;
    font-weight: 400;
}
.icon{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 15px;
    color: darkgray;
    border-top: 2px solid whitesmoke;
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: 2px solid whitesmoke;
    gap: 10px;
    margin-left: 5px;
    margin-right: 5px;
}
.facebook{
    display: flex;
    justify-content: start;
    align-items: center;
    
    gap: 10px;
}


/* ==========================
   📱 MEDIA QUERIES
   ========================== */

/* For tablets and medium screens (max-width: 992px) */
@media (max-width: 992px) {
  .container {
    max-width: 100%;
  }
  .feature{
    margin-left: 0px;
  }

  /* Header adjustments */
  .navbar ul {
    gap: 15px;
  }

  .feature-grid,
  .blog-test-container {
    flex-direction: column;
    align-items: center;
    
  }

  .feature-box {
    width: 80%;
    margin-bottom: 20px;
    margin-left: 0;
    
    
  }
  

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .client-grid img {
    width: 90px;
  }

  .footer-grid {
    flex-wrap: wrap;
  }

  .footer-col {
    width: 45%;
    margin-bottom: 20px;
  }
}

/* For mobile screens (max-width: 768px) */
@media (max-width: 768px) {
  /* Show the hamburger menu */
  .menu-toggle {
    display: block;
    color: #333;
    font-size: 26px;
  }

  /* Hide navbar initially */
  .navbar {
    display: none;
    width: 100%;
    background-color: white;
    position: absolute;
    top: 70px;
    left: 0;
    border-top: 1px solid #ddd;
  }

  /* Show navbar when active */
  .navbar.active {
    display: block;
  }

  .navbar ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px 0;
  }

  .navbar ul li a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  .hero {
    flex-direction: column;
    margin-left: 0;
    padding: 40px 0;
  }

  .hero-content h2 {
    font-size: 18px;
    line-height: 1.4;
  }

  .hero-img {
    width: 80px;
    height: 80px;
  }

  .caption-box {
    position: static;
    width: 90%;
    margin: 20px auto;
    font-size: 12px;
  }

  .intro p {
    width: 95%;
  }

  .feature-grid {
    flex-direction: column;
    gap: 20px;
    margin-left: 0px;

  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    flex-direction: column;
    align-items: center;
  }

  .blog-item {
    width: 90%;
  }

  .testimonials {
    margin-top: 20px;
  }

  .footer-grid {
    flex-direction: column;
    text-align: center;
  }

  .footer-col {
    width: 90%;
  }

  .flickr-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-page {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .footer-links {
    justify-content: center;
  }
}

/* For small mobile screens (max-width: 480px) */
@media (max-width: 480px) {
  .hero h2 {
    font-size: 16px;
  }

  .caption-box h4 {
    font-size: 14px;
  }

  .feature-box {
    width: 100%;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }
  .feature{
    margin-left: 0;
  }

  .client-grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .client-grid img {
    width: 70px;
  }

  .blog-item img {
    height: auto;
  }

  .footer-links {
    flex-direction: column;
    gap: 5px;
  }
  .feature{
    margin-left: 0px;
  }
}
@media(max-width:786px){
  .quote{
    flex-direction: column;
    align-items: flex-start;

  }
  .feature{
    margin-left: 0px;
  }
  .text-content{
    max-width: 100%;
    text-align: left;
  }
  .text-btn{
    margin-top: 15px;
  }
}













 


 





