/*style.css*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  scroll-padding-top: 2rem;
  scroll-behavior: smooth;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

/* Set global colors and background */
:root {
  --main-color: #34495e;
  --text-color: #02ac70;
  --bg-color: #fff;
  --container-color: #1e1e2a;
}

/* Global styles */
body {
  color: var(--bg-color);
  background-color: #1e1e2a;
  background: var(--container-color);
}

img {
  max-width: 100%;
}
section {
  padding-top: 80px; /* Adjust this value as needed */
}
::-webkit-scrollbar {
  width: 10px; 
}
/* Change the color of the scrollbar thumb */
::-webkit-scrollbar-thumb {
  background-color: #000000;
}
/* Change the color of the scrollbar thumb on hover */
::-webkit-scrollbar-thumb:hover {
  background-color: #222222;
  opacity: 1;
}
/* Header styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 12%;
  background: var(--container-color);
  box-shadow: 0 1px 4px hsla(0, 0%, 98%, 0.1);
  z-index: 100;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 30px;
}

.logo {
  font-size: 2rem;
  color: var(--bg-color);
  font-weight: 600;
  align-items: center;
}

.nav-links {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.nav-links a {
  margin: 0 10px;
  font-weight: bold;
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  margin-right: 30px;
  flex-direction: row;
  display: flex;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* Focus section styles */
.focus {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('img1.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}

.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  z-index: 1;
  text-size-adjust: auto;
}

.content h1 {
  font-size: 36px;
  margin: 20px 0;
}

/* About section styles */
#about {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50vh;
  margin-top: 50px;
  margin-bottom: 50px;
}

.about-container {
  width: 60%;
  padding: 20px;
  text-align: center;
}

.about-container h2 {
  font-size: 30px;
  margin-bottom: 10px;
}

.about-container p {
  font-size: 23px;
  line-height: 1.6;
}

/* Services section styles */
#services {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background-color: #1e1e2a;
  margin-top: 50px;
  margin-bottom: 50px;
}

.services-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1800px;
  margin: 0 auto;
}

.service {
  flex-basis: calc(33.33% - 60px);
  min-width: 300px;
  text-align: center;
  background-color: #34495e;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin: 10px;
}

.service img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 20px;
}

.service h2 {
  font-size: 30px;
  margin: 0;
  margin-bottom: 10px;
}

.service p {
  font-size: 20px;
  margin: 0;
}

/* Development Process section styles */
#Dev_Process {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 50px;
  margin-bottom: 50px;
}

.devProcess-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1800px;
  margin: 0 auto;
  background-color: #1e1e2a;
  margin-bottom: 80px;
}

.DevProcess {
  flex-basis: calc(33.33% - 60px); 
  min-width: 300px; 
  text-align: center;
  background-color: #34495e; 
  padding: 30px; 
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin: 10px; 
}

.DevProcess p{
    font-size: 20px; 
    margin: 0; 
}

.DevProcess h2 {
  margin-bottom: 30px;
  font-size: 24px;
}

.DevProcess i {
  font-size: 2rem;
}

footer {
  background-color: #f0f0f0;
  color: #333;
  padding: 10px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.container h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.footer-contact,
.footer-location,
.footer-policies {
  width: 30%;
  margin-bottom: 20px;
}

/* Smooth scrolling behavior for anchor links */
.nav-links a,
a[href="#about"],
a[href="#services"],
a[href="#Dev_Process"],
a[href="#contact"] {
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.nav-links a:hover,
a[href="#about"]:hover,
a[href="#services"]:hover,
a[href="#Dev_Process"]:hover,
a[href="#contact"]:hover {
  color: var(--main-color);
}

/* Responsive adjustments for devices with a screen width less than 768px (mobile devices) */
@media (max-width: 898px) {
 #about{
     margin-top: 20px;
     margin-bottom:20px;
 }
 .about-container{
    width: auto;
    height: auto;
  }
  .nav-links {
    flex-direction: row;
    align-items: center;
    max-height: 10%;
  }
    h1 {
    font-size-adjust: auto;
    text-size-adjust: auto;
  }
  .nav-container h1{
    font-size: 28px;
  }
  .nav-links a {
    flex-direction: row;
    font-size: 12px;
    margin: 0 5px;
    text-size-adjust: auto;
  }

  .logo {
    margin-bottom: 0;
    font-size: 16px;
  }
  .content{
      text-size-adjust: auto;
}
 .background-image{
     width: 100%;
 }
  .nav-links a {
    margin: 0;
  }

  .content h1 {
    font-size: 28px;
  }

  .about-container h2 {
    font-size: 30px;
  }

  .about-container p {
    font-size: 16px;
    line-height: 1.5;
  }

  .service {
    flex-basis: 100%;
    max-width: 100%;
  }

  .DevProcess {
    flex-basis: 100%;
    max-width: 100%;
    padding: 20px;
  }

  .devProcess-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  footer .container {
    flex-direction: column;
    width: 100%;
  }

  .footer-contact,
  .footer-location,
  .footer-policies {
    width: 100%;
  }
}
/* Responsive adjustments for devices with a screen width less than 768px (mobile devices) */
@media (max-width: 767px) {
  .nav-links {
    flex-direction: row;
    align-items: center;
    max-height: 10%;
  }
    h1 {
    font-size-adjust: auto;
    text-size-adjust: auto;
  }
    .nav-container h1{
      text-size-adjust: auto;
      font-size-adjust: auto;

  }
  
  .nav-links a {
    flex-direction: row;
    font-size: 12px;
    margin: 0 5px;
  }

  .logo {
    margin-bottom: 0;
    font-size: 16px;
  }

  .nav-links a {
    margin: 0;
  }
  .content{
      text-size-adjust: auto;
}
 .background-image{
     width: 100%;
 }
  .content h1 {
    font-size: 28px;
text-size-adjust: auto;
  }

  .about-container h2 {
    font-size: 30px;
  }

  .about-container p {
    font-size: 18px;
    line-height: 1.5;
  }

  .service {
    flex-basis: 100%;
    max-width: 100%;
  }

  .DevProcess {
    flex-basis: 100%;
    max-width: 100%;
    padding: 20px;
  }

  .devProcess-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  footer .container {
    flex-direction: column;
    width: 100%;
  }

  footer .container {
    flex-direction: column;
    width: 100%;
  }

  .footer-contact,
  .footer-location,
  .footer-policies {
    width: 100%;
  }
}


/* Responsive adjustments for devices with a screen width less than 480px (smaller mobile devices) */
@media (max-width: 479px) {
  h1 {
    font-size-adjust: auto;
    text-size-adjust: auto;
  }  
  .nav-container h1{
      text-size-adjust: auto;
      font-size-adjust: auto;
  }

  .nav-links a {
    font-size: 12px;
    margin: 0 2px;
  }

  .content h1 {
    font-size: 24px;
  }

  .logo {
    margin-bottom: 0;
    font-size: 16px;
  }

  .about-container h2 {
    font-size: 30px;
  }

  .about-container p {
    font-size: 14px;
    line-height: 1.4;
  }

  .service {
    flex-basis: 100%;
    max-width: 100%;
    padding: 20px;
  }

    .content{
      text-size-adjust: auto;
}
 .background-image{
     width: 100%;
 }

  .DevProcess {
    flex-basis: 100%;
    max-width: 100%;
    padding: 20px;
  }

  .devProcess-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

   footer .container {
    flex-direction: column;
    width: 100%;
  }

  .footer-contact,
  .footer-location,
  .footer-policies {
    width: 100%;
  }
}
/* Styles for the popup container */
#popupContainer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 30, 42, 0.7); /* Updated background color */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Styles for the popup content */
#popupContent {
  background-color: #1e1e2a; /* Updated background color */
  color: white; /* Text color */
  padding: 20px;
  border-radius: 5px;
  max-width: 80%;
}

/* Styles for the close button */
#closePopupBtn {
  margin-top: 10px;
  font-size: 16px; /* Increased font size */
}
#submitBtn{
  margin-top: 10px;
  font-size: 16px;
}

/* Styles to center the form fields */
input {
  display: block;
  width: 100%;
  margin-bottom: 10px;
}

/* Styles for the header */
#popupContent h2 {
  font-size: 30px;
  margin-bottom: 10px;
}
/* Media query for mobile devices */
@media screen and (max-width: 600px) {
  #popupContent {
    max-width: 90%;
  }
}
/* Styles for the hamburger menu */
.hamburger {
  display: none; /* Initially hide on larger screens */
  cursor: pointer;
}

.bar {
  width: 30px;
  height: 3px;
  background-color: #34495e;
  margin: 6px 0;
}

/* Show Navigation Links on Mobile */
.show {
  display: block;
}
@media (max-width: 768px) {
  .hamburger {
      display: block; /* Show on smaller screens */
  }
  
  .nav-links {
      display: none; /* Hide navigation links initially */
  }
  
  .nav-links.show {
      display: block; /* Show navigation links when .show class is added */
  }
}
/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: -200px; /* Adjust width as needed */
  height: 100%;
  max-height: 100vh;
  background-color: #34495e; /* Opacity set to 70% */
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: right 0.3s ease-in-out;
  z-index: 999;
}
.close-sidebar {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  position: absolute;
  top: -10px;
  right: -5px;
  cursor: pointer;
}
.sidebar a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  padding: 20px;
  width: 100%;
  text-align: center;
  transition: background-color 0.2s ease;
}
.sidebar a:hover {
  background-color: #2c3e50;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0; /* Initial opacity set to 0 */
  visibility: visible; /* Initial visibility set to visible */
  z-index: 9;
  transition: opacity 0.3s ease-in-out; /* Only need opacity transition */
}
.sidebar.open {
  transform: translateX(0);
}
.sidebar.open + .overlay {
  opacity: 1; /* Change opacity when sidebar is open */
  visibility: visible; /* Show the overlay */
}
/* User feedback button */
.feedback-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #34495e;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
/* Feedback popup container */
.feedback-popup-container {
  position: fixed;
  bottom: 120px;
  right: 40px;
  background-color: #34495e;
  border: 2px solid black;
  border-radius: 5px;
  width: 300px;
  height: 200px;
  padding: 20px;
  color: white;
  display: none;
  z-index: 999;
}
/* Feedback popup content */
.feedback-popup-content {
  background-color: #34495e;
  width: 300px; /* Adjust the width as needed */
  height: 200px; /* Adjust the height as needed */
  color: white;
  padding: 20px;
  border: 2px solid black;
  border-radius: 5px;
}
@keyframes popupAnimation {
  0% {
    transform: scale(0); /* Initial state: hidden */
  }
  100% {
    transform: scale(1); /* Final state: fully visible */
  }
}
/* Input textarea */
#feedbackMessageInput {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  background-color: white;
  color: #333;
  margin-bottom: 10px;
}
/* Buttons */
button {
  background-color: #34495e;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
  cursor: pointer;
  margin-right: 10px;
}
/* Additional button styles */
#feedbackPopupContent button {
  padding: 5px 10px; /* Adjust padding as needed */
  font-size: 12px; /* Adjust font size as needed */
}
/* Remove textarea resize */
#feedbackPopupContent textarea {
  resize: none;
}
.feedback-button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#packages {
  text-align: center;
  padding: 20px;
}

.package h2{
  margin-bottom: 30px;
  text-size-adjust: auto ;
}

.package p{
  text-size-adjust: auto;
  font-size: 20px;
}

.package-container {
  display: flex;
  justify-content: space-around; /* Change to space-around or flex-start */
  margin-top: 20px;
  padding-right: 50px;
  padding-left: 50px;
  padding-bottom: 40px;
}

.package {
  width: 400px;
  height: 520px;
  background-color: #34495e;
  border-radius: 10px;
  padding: 20px;
  box-sizing: border-box;
}

@media screen and (max-width: 600px) {
  .package-container {
    flex-direction: column;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
  }

  .package {
    width: 100%; /* Make the packages take up full width */
    margin-bottom: 20px; /* Add space between the packages */
  }

  .package p {
    font-size: 17px;
  }
}

#client-projects {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.project {
  text-align: center;
  background-color: var(--main-color);
  height: 450px;
  width: 55%;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center; /* Center content vertically within .project */
  overflow: hidden; /* Ensure image doesn't overflow the container */
}

.project h2 {
  font-size: 30px;
  margin-top: 10px; /* Adjust the spacing above the heading */
}

.project img {
  width: 95%; /* Adjust the size according to your design */
  height: auto;
  cursor: pointer;
  display: block;
  margin: 0 auto; 
  border-radius: 10px;
}

@media (max-width: 898px) {
  .project{
    width: 90%;
    height: fit-content;
  }
}