@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
:root{

    --font-color:#9c9c9c;
    --heading-color:#ccffcc;
    --primar-color: #00823c;
    --navbar-color:#ccffcc;
    
}
:root {
  --section-bg: #1f2a2b; /* deep charcoal for contrast */
}

*{
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
    transition: .2s;

    transition:all .2s linear;
    text-decoration: none;
    font-family:'Poppins', sans-serif ;
   

}
html{
    font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

 
header {
  background: var(--navbar-color);
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

.logo img {
  height: 45px;
}


nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: auto;
  padding: 0 30px;
  height: 80px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;

}

nav ul li a {
  color: var(--primar-color);
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  padding: 8px 0;
  text-decoration: none; 
  position: relative;
  letter-spacing: 0.5px;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  height: 3px;
  width: 0%;
  background-color: var(--primar-color);
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li a:hover {
  color: var(--primar-color);
}

/* Mobile menu icons */
.checkbtn,
.open-menu-btn,
.close-menu-btn {
  display: none;
}

/* ===== Mobile Menu ===== */
.checkbtn,
.open-menu-btn,
.close-menu-btn {
  display: none;
  cursor: pointer;
  font-size: 28px;
  color: var(--primar-color);
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1001;
}


/* When NOT checked (default): show ☰, hide × */
#check:not(:checked) ~ .open-menu-btn {
  display: block;
}

#check:not(:checked) ~ .close-menu-btn {
  display: none;
}

/* When checked (menu open): show ×, hide ☰ */
#check:checked ~ .open-menu-btn {
  display: none;
}

/* Logo default */
label.logo {
  display: block;
  text-align: center;
  margin: 0 auto;
  padding: 0;
}
#check{
 display: none;
}
/* Default: hide hamburger and X on desktop */
.checkbtn,
.open-menu-btn,
.close-menu-btn {
  display: none;
}


/*------my icons----*/

.myicons div{
  margin-left: 1rem;
  font-size: 2rem;
  color: white;
}
.myicons div:hover{
  color: var(--primar-color);
  cursor: pointer;
}
#menu-bar{
  display: none;
}
.navbar.active{
  right: 0;
}
/* Desktop Navigation Adjustments */
@media (min-width: 859px) {
   nav {
    justify-content: space-between; /* Push logo left & menu right */
    padding: 0 30px;
  }

  label.logo {
    margin-right: auto; /* Logo stays on left */
  }

  nav ul {
    gap: 25px; /* Spacing between menu items */
    margin-left: 0;
  }

  nav ul li {
    padding: 0;
  }

  nav ul li a {
    font-size: 15px;
    padding: 5px 0;
  }

  /* Hide hamburger + X on desktop */
  .checkbtn,
  .open-menu-btn,
  .close-menu-btn {
    display: none !important;
  }
}
@media (max-width: 952px){
  label.logo{
    font-size: 30px;
    padding-left: 50px;
  }
  nav ul li a{
    font-size: 16px;
  }
}
@media (max-width: 858px){
 .checkbtn,
  .open-menu-btn,
  .close-menu-btn {
    display: block;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1001;
    color: var(--primar-color);
    font-size: 30px;
  }
    #check:checked ~ .open-menu-btn {
    display: none; /* Hide hamburger */
  }
  nav {
    padding: 0 15px;
  }

nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    flex-direction: column;
    background: var(--navbar-color);
    height: 100%;
    width: 250px;
    padding-top: 100px;
    gap: 30px;
    transition: right 0.5s ease;
  }
  
 nav ul li {
    text-align: center;
    width: 100%;
  }
 .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    text-align: center;
  }

  .logo img {
    height: 50px;
    width: auto;
  }

 /*nav ul li a {
    font-size: 1.8rem;
    color: var(--primar-color);
    padding: 10px 0;
  }
  nav ul li a:hover {
    color: #006b31;
  }
  a:hover,a.active{
    background: none;
    color: var(--primar-color);
  }
  #check:checked ~ ul{
    left: 0;
  }
   .about-section {
        flex-direction: column;
        text-align: center;
    }

    .about-col-2 h1 {
        font-size: 2.4rem;
    } */
}
.myicons div{
  margin-left: 1rem;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  align-items: center;
  line-height: 80px;

  
}

 



/* ===== SLIDER ===== */
.home {
  margin-top: 80px;
}

.swiper {
  width: 100%;
  height: 85vh;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-slider {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.main-slider h1 {
  font-size: 3rem;
  line-height: 1.3;
  color: white;
  text-decoration:none;
}

.green-dark { color: #fff; font-weight: bold; }
.green-light { color: #fff; font-weight: bold; }

.slider-button {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.slider-button a {
  background-color: var(--primar-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: 6px;
  font-size: 1.4rem;
  text-decoration:none;
}

.slider-button a:hover {
  background-color: #006b31;
}

/* ===== About Section ===== */
#about {
  padding: 60px 5%;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

/* Left Side - Images */
.about-images {
  flex: 1;
}

.about-images .image-top img,
.about-images .image-bottom img {
  width: 100%;
  border-radius: 6px;
  display: block;
}

.about-images .image-top img {
  width: 100%;
  max-height: 300px; /* Adjust height as needed */
  object-fit: cover; /* Crops neatly instead of squashing */
  border-radius: 6px;
}

.about-images .image-bottom {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-top: 15px;
}

.green-block {
  background-color: var(--primar-color); /* Your light green */
  width: 100px;
  height: 100px;
}

/* Right Side - Text */
.about-content {
  flex: 1;
}

.about-content h2 {
  font-size: 4.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.highlight-bar {
  display: inline-block;
  background: var(--primar-color);
  width: 6px;
  height: 30px;
  margin-right: 10px;
  vertical-align: middle;
}

.about-content p {
  margin-bottom: 15px;
  font-size: 1.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  
}





/*------Services--------*/
#services{
    padding: 30px 0;
    text-align: center ;
}
.services-list{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px, 1fr));
    grid-gap: 40px ;
    margin-top: 50px; 
}
.services-list div{
   background: #262626;
   padding: 40px;
   font-size: 1.9rem;
   font-weight: bold;
   margin-bottom: 20px;
   border-radius: 9px;
   transition: background 0.5s, transform 0.5s ;
   text-align: center;
}
.services-list div i{
    font-size: 80px;
    margin-bottom: 30px;
    align-items: center;
}
.services-list div h2{
     font-size: 3.5rem; 
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
    color: #fff;
}
.services-list div a{
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
}
.services-list div:hover{
    background:#00823c ;
    transition: translsteY(-10PX);
}
.sub-title{
  color:black;
  font-size: 5rem;
}
.highlight-bar {
  display: inline-block;
  background: var(--primar-color); /* Your light green from root */
  width: 6px;
  height: 35px;
  margin-right: 10px;
  vertical-align: middle;
}

 /* ===== OUR MISSION Section ===== */
#mission {
  position: relative;
  background:url(images/Blog-earthworks\(slider1\).jpg) no-repeat center center/cover;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.mission-overlay {
  background: rgba(0, 0, 0, 0.4); /* semi-transparent overlay */
  padding: 20px;
  border-radius: 10px;
}

.mission-overlay h2 {
  font-size: 4.5rem; 
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
  
}

.highlight-bar {
  display: inline-block;
  background: var(--primar-color); /* Your light green from root */
  width: 6px;
  height: 35px;
  margin-right: 10px;
  vertical-align: middle;
}

.mission-overlay p {
  font-size: 1.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--navbar-color);
}

/* ===== Projects Section ===== */
#projects {
  padding: 60px 5%;
}

.projects-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

/* Left Side - Images */
.projects-images {
  flex: 1;
}

.image-top img,
.image-bottom img {
  width: 100%;
  border-radius: 6px;
  display: block;
}

.image-top img {
  width: 100%;
  max-height: 300px; 
  object-fit: cover; 
  border-radius: 6px;
}

.image-bottom {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-top: 15px;
}

.green-block {
  background-color: var(--primar-color);
  width: 100px;
  height: 100px;
}

/* Right Side - Text */
.projects-content {
  flex: 1;
}

.projects-content h2 {
  font-size: 4.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.highlight-bar {
  display: inline-block;
  background: var(--primar-color);
  width: 6px;
  height: 30px;
  margin-right: 10px;
  vertical-align: middle;
}

.projects-content p {
  font-size: 1.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.projects-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.projects-content ul li {
  margin-bottom: 10px;
  font-size: 2rem;
  position: relative;
  padding-left: 20px;
}

.projects-content ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primar-color);
  font-size: 1.2rem;
}

.btn-view {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primar-color);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background 0.3s;
}

.btn-view:hover {
  background: #006b31; /* Darker green */
}


/*-----Footer -----*/

.footer {
  background: var(--navbar-color); /* Dark blue background */
  color: var(--primar-color);
  padding: 40px 5% 20px;
  position: relative;
  z-index: 1 ;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-left,
.footer-middle,
.footer-right {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  width: 150px;
  margin-bottom: 15px;
}

.footer-social a {
  display: inline-block;
  margin-right: 10px;
  color: white;
  font-size: 1.8rem;
}

.footer-social a:hover {
  color: var(--primar-color);
}

.footer-middle h4,
.footer-right h4 {
  color: #ffb400; /* Yellow headings */
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-middle ul,
.footer-right ul {
  list-style: none;
  padding: 0;
}

.footer-middle ul li,
.footer-right ul li {
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.footer-middle ul li a {
  color: #006b31;
  text-decoration: none;
}

.footer-middle ul li a:hover {
  color: var(--primar-color);
}

.footer-right ul li i {
  color: #ffb400;
  margin-right: 8px;
}

.copyright {
  margin-top: 15px;
  font-size: 1.3rem;
}

.footer-bottom {
  text-align: right;
  margin-top: 20px;
  font-size: 1.4rem;
}

.footer-bottom a {
  color: #ffb400;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}


/*-----Get in touch -----*/

.container{
    width: 100%;
    background-color: #f9f9f9;
    border-radius: 0;
    padding: 20px 60px 30px 40px;
   
  }
  .container .content{
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .container .content .left-side{
    width: 65%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    position: relative;
  }
  .content .left-side::before{
    content: '';
    position: absolute;
    height: 70%;
    width: 2px;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    background: #afafb6;
  }
  .content .left-side .details{
    margin: 14px;
    text-align: center;
  }
  .container .left-side .topic{
    color: #3c81bd;
  }
  .content .left-side .details i{
    font-size: 30px;
    color:#eee;
    margin-bottom: 10px;
  }
  .content .left-side .details .topic{
    font-size: 18px;
    font-weight: 500;
  }
  .content .left-side .details .text-one,
  .content .left-side .details .text-two{
    font-size: 14px;
    color: white;
  }
  .content .left-side .details .text-one1{
    font-size: 14px;
    color: white;
    text-transform: lowercase;
  }

  .content .right-side h1{
    font-size: 40px;
    font-weight: 600;
    color: #3c81bd;
    text-align: left;
  }

  .content .right-side  p{
    color: white;
  }

  
  @media (max-width: 950px) {
    .container{
      width: 90%;
      padding: 30px 40px 40px 35px ;
    }
  
  }
  @media (max-width: 820px) {
    .container{
      margin: 40px 0;
      height: 100%;
    }
  
    .container .content{
      flex-direction: column-reverse;
    }
   .container .content .left-side{
     width: 100%;
     flex-direction: row;
     margin-top: 40px;
     justify-content: center;
     flex-wrap: wrap;
   }
   .container .content .left-side::before{
     display: none;
   }
 
  }
  right-side .input-box,
  .right-side .input-box input,
  .right-side .input-box textarea,
  .right-side .message-box,
  .right-side .input-box textarea,
  .right-side .button{

  display: none;


  }







/*--------------Responsive: Screens smaller than 768px-----------------*/
@media (max-width: 768px) {

  /*.checkbtn {
    display: block;
  }
   .close-menu-btn {
    display: block;
   }*/
  header {
    padding: 10px;
  }

  header.show-mobile-menu::before {
    content: "";
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    z-index: 999;
  }

  label.logo {
    font-size: 1.7rem;
     margin: 0 auto;
  display: block;
  text-align: center;
  padding-left: 0
  }

  nav ul {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100vh;
    background: var(--navbar-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 20px 20px 20px;
    transition: left 0.5s ease;
    z-index: 999;
    gap: 15px;              
    padding-top: 80px;
  }

  #check:checked ~ ul {
    left: 0;
  }

  nav ul li {
    margin: 10px 0;
    width: 100%;
  }

  nav ul li a {
    color: var(--primar-color);
    font-size: 16px;
    width: 100%;
  }

  nav ul li a:hover {
    color: #00823c; /* Your green */
  }
  .swiper {
    height: 100vh;
  }


  .swiper-slide img {
    height: 100%;
    object-fit: cover;
  }
   .inner-text h1 {
    font-size: 20px;
  }
   #mission {
    height: auto;
    padding: 40px 20px;
  }
  .mission-overlay h2 {
    font-size: 2.4rem;
  }
  .mission-overlay p {
    font-size: 1.4rem;
  }
   .projects-container {
    flex-direction: column;
    gap: 30px;
  }
  
  .green-block {
    width: 60px;
    height: 60px;
  }

  .projects-content h2 {
    font-size: 2rem;
  }
  .about-container {
    flex-direction: column;
    gap: 30px;
  }

  .green-block {
    width: 60px;
    height: 60px;
  }

  .about-content h2 {
    font-size: 2rem;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .footer-bottom {
    text-align: center;
  }
   .inner-text h1 {
    font-size: 1.8rem;
    line-height: 1.3;
    white-space: normal;
  }
  .slider-button a {
    font-size: 1.2rem;
    padding: 0.8rem 1.5rem;
  }
 #services h2,
  #about h2,
  #projects h2 {
    font-size: 3rem;
  }

}



/*--------------Responsive: Screens smaller than 600px-----------------*/
@media (max-width: 600px) {
   .checkbtn {
    display: block;
  }
  #menu-bar{
        display: initial;

    }

  header {
    /*background-image: url(Images/android\ version.jpg);*/
    background-size: cover;
  }

  nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 20px;
  }

  label.logo img {
    font-size: 20px;
    color: white;
    padding-left: 0; /* Keep clean like Civtek */
    height: 50px;
     align-items: center;
  }

  nav ul {
    background:var(--navbar-color);
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100vh;
    padding-top: 70px;
    transition: right 0.5s;
    z-index: 999;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  #check:checked ~ ul {
    left: 0;
  }

  nav ul li {
    display: block;
    margin: 8px 0;
    width: 100%;
  }

  nav ul li a {
    color: var(--primar-color);
    font-size: 15px;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
  }

  nav ul li a:hover {
    color: #00823c;
  }

  .swiper-slide img {
    height: 100%;
    object-fit: cover;
  }
    .swiper {
    height: 100vh;
  }
  .slider-button{
  margin-top: 2rem;
  display: flex;
  gap: 2rem;
  justify-content: flex-start;
  height: 23%;
}

.slider-button a{
    padding: 1.2rem 2rem;
    color:white;
    background-color:var(--primar-color);
    border-radius: 10px;
    font-size: 1.5rem;
    transition: 1s;
    margin: 0.5rem;
    font-size: 12px;
}


}
