/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2c3e50;
}

.nav-links {
  display: flex;

  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #8b8d8e;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #8b8d8e;
}

/* Hero Section */
.hero {
  height: 100vh;
  background-image: url("p8.jpg");
  color: white;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 0 5%;
}

.nav-links1 {
  display: flex;
  list-style: none;
}

.nav-links1 li {
  margin-left: 30px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: transparent;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: transparent;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Dropdown arrow */
.dropdown>a::after {
  content: '▼';
  font-size: 0.7em;
  margin-left: 5px;
}

.nav-links1 a {
  text-decoration: none;
  color: #8b8d8e;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links1 a:hover {
  color: black;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: 30px;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  letter-spacing: 1px;
  opacity: 0.9;
}

.hero p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 30px;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .hero {
    background-image: url("p8.jpg");
    /* Use a mobile-friendly version if needed */
    height: 100vh;

    background-position: center;
    background-size: cover;
    /* Adjust height for smaller screens */
  }

  .nav-links {
    display: flex;
    background-color: #f4f6f7;
    list-style: none;
  }

  .nav-links1 {
    display: flex;
    background-color: #f4f6f7;
    list-style: none;

  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    padding-left: 1rem;
  }
}

.hero h1 {
  font-size: 1.8rem;
  /* Adjust font size for readability */
}

.hero p {
  font-size: 1rem;
}





.cta-button {
  font-family: 'Roboto', sans-serif;
  display: inline-block;
  padding: 10px 20px;
  background-color: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 5px;

  transition: transform 0.3s ease;
}

.cta-button:hover {
  transform: scale(1.05);
}

/* Services Section */
.services {
  color: #34495e;
  padding: 100px 5%;
  background-color: #f4f6f7;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background-color: white;
  padding: 40px 20px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  font-size: 3rem;
  color: #3498db;
  margin-bottom: 20px;
}

.technologies {
  color: white;
  padding: 50px 5%;
  background-color: #3498db;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  letter-spacing: 1px;
  opacity: 0.9;
}

.technologies h2 {
  font-weight: 300;
  font-size: 2.5rem;
  margin-bottom: 20px;
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.service-card {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
}

.step-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #3498db;
  margin-bottom: 1rem;
}

.show-more-btn {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 1rem;
  transition: background-color 0.2s;
}

.show-more-btn:hover {
  background-color: #2980b9;
}

.gallery-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  padding: 2rem;
  overflow-y: auto;
}

.gallery-content {
  background: white;
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 10px;
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #e74c3c;
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover {
  background: #c0392b;
}

.services h2 {
  font-weight: 300;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.technologies p {
  font-weight: 300;
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.tech-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 50px;
}

.tech-logo {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.tech-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* Footer */
footer {
  background-color: white;
  color: #34495e;
  text-align: center;
  padding: 40px 5%;
}

.footer-contact {
  margin-top: 20px;
}



body {
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f6f7;
  min-height: 100vh;
  /* Ensures body takes full viewport height */
  display: flex;
  flex-direction: column;
  /* For proper layout flow */

}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  width: 100%;
  z-index: 1000;
  position: absolute;

  background: transparent;
  /* Makes the navbar background transparent */
}


.logo img {
  width: 50px;
  /* Adjust size as needed */
  height: 50px;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
  /* Makes it circular */
  overflow: hidden;



}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #8b8d8e;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #8b8d8e;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;

  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: rgb(10, 10, 10);
}

.hamburger1 {
  display: none;
  flex-direction: column;
  gap: 5px;

  cursor: pointer;
}

.hamburger1 div {
  width: 25px;
  height: 3px;
  background-color: rgb(10, 10, 10);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    /* Hide by default */
    flex-direction: column;

    position: absolute;
    top: 60px;
    /* Adjust to sit below the navbar */
    right: 0;
    width: 100%;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  @media (max-width: 768px) {
    .nav-links1 {
      display: none;
      /* Hide by default */
      flex-direction: column;

      position: absolute;
      top: 60px;
      /* Adjust to sit below the navbar */
      right: 0;
      width: 100%;
      box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
      z-index: 999;
    }
  }



  .nav-links.active {
    display: flex;
    /* Show when active */
  }

  .nav-links li {
    margin: 10px 0;
    text-align: center;
  }

  .nav-links1.active {
    display: flex;
    /* Show when active */
  }

  .nav-links1 li {
    margin: 10px 0;
    max-height: 50vh;
    text-align: center;
  }

  .hamburger {
    display: flex;
  }

  .hamburger1 {
    display: flex;
  }

  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    width: 100%;
    z-index: 1000;
    position: absolute;

    background: #f4f6f7;
    /* Makes the navbar background transparent */
  }

  .estimate-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 5%;
    margin-top: 100px;
    background-color: white;
  }
}

.navbar1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  width: 100%;
  z-index: 1000;
  position: absolute;


  background-color: white;

}

.estimate-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 5%;
  margin-top: 100px;
  background-color: #f4f6f7;
}

.estimate-form-wrapper {
  width: 100%;
  max-width: 800px;

  padding: 60px;
  background-color: white;

}

.estimate-header {
  text-align: center;
  margin-bottom: 40px;
  color: #2c3e50;
}

.estimate-header h2 {
  font-weight: 300;
  color: #3498db;
}

.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  margin-bottom: 10px;
  color: #34495e;
  font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #bdc3c7;
  border-radius: 5px;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-button {
  display: block;
  width: 100%;
  padding: 15px 30px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 5px;
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  cursor: pointer;
  letter-spacing: 1px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
}

.submit-button:hover {
  background-color: #2980b9;
  transform: scale(1.02);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.service-checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.service-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 768px) {

  .form-row,
  .service-checkbox-group {
    grid-template-columns: 1fr;
  }

  .estimate-form-wrapper {
    padding: 30px 20px;
  }
}