/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #000000;
    color: white;
    padding: 10px 20px;
    text-align: center;
    font-weight: bold;
    font-family:Arial, Helvetica, sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img{
    height: 50px;
 width:auto;   
padding-right: 100px;
}

.logo {
    margin-right: 17%; /* Pushes everything else to the right */
    padding-left: 30px;
}

nav ul {
    display:flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: flex;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: flex;
}

nav ul li a:hover {
  
    color: #87eba8;
}


.hero {
   /* Replace with your image */
    background-size: cover;
    background-position: center;
    min-height: 64.5vh;
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 100px 20px;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1;
    overflow: hidden;
    
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 0.5 = 50% darkness */
    z-index: 0;
}

.hero h1,
.hero p {
    position: relative;
    z-index: 1;
}
.hero h1 {
    font-size: 5rem; /* adjust as needed */
    margin-bottom: 20px;
   
}

.hero p {
    font-size: 4rem;
    font-weight:bold; /* adjust as needed */
}

.slideshow {
    background-image: url('img/bg1.jpg');
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-size: cover;
    background-position: center;
    animation: slideShow 20s infinite;
    opacity: 0.75;
}

/* Adjust duration and image URLs below */
@keyframes slideShow {
    0%   { background-image: url('img/bg1.jpg'); }
    25%  { background-image: url('img/bg2.jpg'); }
    50%  { background-image: url('img/bg3.jpg'); }
    75%  { background-image: url('img/bg4.jpg'); }
    100% { background-image: url('img/bg1.jpg'); }
}
main {
    padding: 20px;
}
.cbutton{ 
  font-size: 20px;
  position:absolute;
    bottom:10%;
    left:70%;
    padding:15px 20px;
    border:none;
    outline:none;
    color:#FFF;
    cursor:pointer;
    z-index: 0;
    border-radius: 12px;
    background-color: #333;
    
}

.cbutton:hover {
    background-color: #87eba8;
    transform: scale(1.05);
    transition: all 0.3s ease;
    color:#000;
}
/*  About US Section */

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

h1, h2 {
  font-weight: 600;
}

main {
  padding: 40px 20px;
}

/* ABOUT SECTION */
.about-section h1 {
  text-align: center;
  font-size: 42px;
  margin-bottom: 40px;
  color: #1a4d2e;
}

.about-content {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-content p {
  line-height: 1.8;
  font-size: 18px;
  text-align: justify;
}

.about-image {
  width: 100%;
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* MISSION & VISION SECTION */
.mission-vision {
  max-width: 1200px;
  margin: 80px auto 40px auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.box {
  display: flex;
  gap: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.box img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
}

.box .text {
  flex: 1;
}

.box h2 {
  font-size: 28px;
  color: #1a4d2e;
  margin-bottom: 15px;
}

.box p {
  font-size: 17px;
  line-height: 1.7;
}

/* Footer */
footer {
  background: #1a4d2e;
  color: white;
  text-align: center;
  padding: 20px;
}



/*  Services Section */
.services-section {
  padding: 40px 20px;
  text-align: center;
  background-color: beige;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  max-width: relative;
  margin: 0 auto;
  margin-bottom: 70px;
}

.service-item {
  background-color: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.service-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.service-item p {
  margin-top: 10px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
}

/*  Projects Section */
.projects {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px 20px;
  background-color: bisque;
  margin-bottom: 90px;
}

.project {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.project-img {
  width: 300px;
  height: auto;
  border-radius: 10px;
}

.project-text {
  max-width: 600px;
}

.project-text h2 {
  margin-top: 0;
  font-size: 1.8rem;
}

.project-text p {
  font-size: 1rem;
  line-height: 1.6;
}


/*  Vacany Hero Section */
.vacancy-hero {
  background-color: #000000;
  color: rgb(255, 255, 255);
  text-align: center;
  padding: 100px 20px;
}

.vacancy-hero h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.vacancy-hero p {
  font-size: 20px;
  max-width: 600px;
  margin: 0 auto;
}

/* Grid Layout */
.vacancy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
  padding: 40px 20px;
  margin-bottom: 200px;
}

/* Cards */
.vacancy-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s;
}

.vacancy-card:hover {
  transform: translateY(-5px);
}

.vacancy-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.vacancy-card h2 {
  font-size: 24px;
  padding: 15px 20px 5px;
}

.vacancy-card p {
  padding: 0 20px 20px;
  font-size: 15px;
}

.apply-btn {
  display: block;
  background: #2e6e43;
  color: white;
  text-align: center;
  margin: 0 20px 20px;
  padding: 10px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s;
}

.apply-btn:hover {
  background: #245a36;
}

/* Contact Us Section*/
.cnt {

  background-image: url('img/pitons.jpg'); 
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    color: rgb(255, 255, 255);
    display:flex;
    justify-content: center;
    align-items: center;
     padding: 20px;
     flex-direction: column;

   
}

.contact-form-container {
  background-color: #000000;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.3);
  max-width: 600px;
  width: 100%;
  margin: 50px auto 100px auto;
  margin-top: 50px;
  margin-bottom: 100px;
  
 
}

.contact-form-container h1 {
  text-align: center;
  color: #2e7d32;
}

label{
  color:white;
}

form {
  display: flex;
  flex-direction: column;
}

form label {
  margin-top: 15px;
  margin-bottom: 5px;
  font-weight: 600;
}

form input,
form select,
form textarea {
  padding: 10px;
  border: 1px solid #aaa;
  border-radius: 6px;
  font-size: 16px;
  color: #000000;
}

form button {
  margin-top: 20px;
  background-color: #2e7d32;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

form button:hover {
  background-color: #1b5e20;
}

.response {
  margin-top: 20px;
  text-align: center;
  color: #2e7d32;
  font-weight: bold;
}
/*Footer Section*/
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: relative;
    width: 100%;
    bottom: 0;
}

/* HAMBURGER MENU */
.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  padding: 15px;
  cursor: pointer;
  z-index: 9999;
}

/* MEDIA QUERIES */
@media screen and (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  
  }

  .hamburger {
    display: block;
    align-self: flex-end;
    margin-right: 20px;
  }

  nav#nav-list {
    width: 100%;
    display: none;
    flex-direction: column;
    background-color: #000;
  }

  nav#nav-list ul {
    flex-direction: column;
    width: 100%;
  }

  nav#nav-list li {
    width: 100%;
    margin: 0;
  }

  nav#nav-list li a {
    padding: 15px;
    width: 100%;
    display: block;
    border-top: 1px solid #444;
  }

  nav#nav-list.active {
    display: flex;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.5rem;
  }

  .cbutton {
    left: 50%;
    transform: translateX(-50%);
    bottom: 5%;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .box {
    flex-direction: column;
    text-align: center;
  }

  .project {
    flex-direction: column;
    text-align: center;
  }

  .contact-form-container {
    margin: 20px;
    padding: 20px;
  }
}
