/* Global styles */


body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}


/* Header styles */
header {
  background-color: #0a192f;
  color: #fff;
  padding-left: 10px;
  text-align: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 0.2px solid #ffffff11;
}

nav {
  display: flex;
  justify-content: center;
  margin-right: -60px;
  width: 50%; /* Decrease the width to 40% */
}

nav a {
  color: #fff;
  text-decoration: none;
  padding: 10px 10px; /* Decrease padding */
  margin: 0 5px; /* Decrease margin */
  position: relative;
  transition: all 0.3s ease;
  border-radius: 10px;
  font-size: 1.01em; /* Decrease font size */
}


nav a:hover {
  transform: scale(1.1);
  background-color: #48e1ec;
  color: #0a192f;
  font-weight: bold;
}

/* Content section styles */
.content {
  padding: 20px;
  margin-top: 60px;
  background-color: #0a192f;
}

.section {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
}

#home,
#services,
#contact,
#about {
  background-color: #0a192f;
}

/* HOME section styles*/
.layout-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-container {
  width: 60%;
}

.text-container{
  width: 40%;
}

.image-container img {
  width: 100%;
  height: 100vh;
  object-fit: fill;
  margin-left: -20px;
}

.text-container {
  color: white;
  text-align: center;
}

.text-container h1 {
  font-size: 50px;
  text-align: center;
}

.text-container p {
  font-size: 20px;
  margin-bottom: 20px;
}

/* Media query for HOME */
@media screen and (max-width: 768px) {
  .layout-container {
    flex-direction: column; /* Stack elements vertically */
  }

  .image-container,
  .text-container {
    width: 100%; /* Make both containers take full width */
  }

  .image-container img {
    height: auto; /* Reset height to auto */
    margin-left: 0;
    border-radius: 10px;
  }

  .text-container {
    color: white;
    text-align: center;
  }
  
  .text-container h1 {
    font-size: 25px;
    text-align: center;
  }
  
  .text-container p {
    font-size: 15px;
    
  }
}

/* About section styles */
#about {
  background-color: #0a192f;
}

.layout-container-about {
  display: flex;
  flex-direction: column; /* Change flex direction to column */
  align-items: center;
}

.image-container-about {
  width: 100%;
}

.image-container-about img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.text-container-about {
  color: white;
  text-align: center;
  padding: 20px;
}

.content-wrapper {
  display: flex;
  justify-content: space-between;
  max-width: 600px;
  margin: 0 auto;
}

.title-container,
.paragraph-container {
  flex: 1; /* Grow to fill available space */
}

.text-container-about h1 {
  font-size: 70px;
  margin-left: -580px;
}

.text-container-about li {
  font-size: 25px;
  margin-right: -300px;
  margin-top: 50px;
}

/* Media Query for mobile screens */
@media only screen and (max-width: 768px) {
  .image-container-about img {
    max-height: 140px; /* Increase maximum height for mobile screens */
    width: auto; /* Allow the image to adjust its width according to the height change */
  }

  .content-wrapper {
    flex-direction: column; /* Change flex direction to column */
    align-items: center; /* Center align items */
  }

  .text-container-about h1 {
    font-size: 40px; /* Adjust font size for better mobile readability */
    margin-left: 0; /* Remove negative margin */
    margin-bottom: 20px; /* Add some space between h1 and li */
  }

  .text-container-about li {
    font-size: 20px; /* Adjust font size for better mobile readability */
    margin-right: 0; /* Remove negative margin */
    margin-top: 0; /* Remove top margin */
  }
}




/* Services section styles */
.services-content {
  display: flex;
  align-items: center;
}

.text {
  flex: 2;
  margin-right: 20px;
  color: #fff;
}

.text h2 {
  font-size: 50px;
  margin-bottom: 20px;
  text-align: center;
}

.text p {
  margin-top: 0;
}

.text li {
  padding-left: 140px;
}

.pyramid-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.circular-container {
  border-radius: 50%;
  overflow: hidden;
  margin: 20px;
  width: 290px;
  height: 290px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circular-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.big {
  width: 280px;
  height: 280px;
}

.medium {
  width: 200px;
  height: 200px;
}

.small {
  width: 200px;
  height: 200px;
  margin-left: 200px;
}

/* SOLUTIONS section styles */
#solutions {
  background-color: #0a192f;
}

.layout-container-solutions {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping of image containers */
  align-items: center;
}

.image-container-solutions {
  width: calc(20% - 20px); /* Adjust width for each image container */
  margin: 10px; /* Add margin between image containers */
}

.image-container-solutions img {
  width: 100%;
  height: 30vh;
  object-fit: cover;
  border-radius: 10px;
}

.text-container-solutions {
  color: white;
  text-align: center;
  padding: 20px;
  flex-basis: 100%; /* Ensure text container spans full width */
} 


.content-wrapper {
  display: flex;
  justify-content: space-between;
  max-width: 600px;
  margin: 0 auto;
}

.title-container,
.paragraph-container {
  flex: 1; /* Grow to fill available space */
}

.text-container-solutions h1 {
  font-size: 60px;
  margin-left: -500px;
}

.text-container-solutions li {
  font-size: 25px;
  margin-right: -300px;
  margin-top: 50px;
}




/* Media query for BLOG */
@media screen and (max-width: 768px) {
  /* Adjust blog section layout */
  #blog .layout-container-solutions {
    display: flex; /* Use flexbox for layout */
    flex-wrap: wrap; /* Allow items to wrap to the next line */
    justify-content: center; /* Center align items horizontally */
    position: relative; /* Set position to relative for absolute positioning */
  }

  #blog .image-container-solutions {
    width: 40%; /* Set width for mobile responsiveness */
    max-width: 150px; /* Set maximum width for images */
    margin-bottom: 20px; /* Add some space between images */
    position: relative; /* Set position to relative for absolute positioning */
  }

  #blog .image-container-solutions img {
    width: 100%; /* Ensure images fill their containers */
    height: auto; /* Auto adjust height for responsive resizing */
  }

  #blog .text-container-solutions {
    text-align: center; /* Center align text content */
  }

  #blog .title-container h1 {
    color: #fff;
    font-size: 30px;
    margin-right: -500px; /* Adjust as needed */
  }

  #blog .paragraph-container li {
    color: #fff;
    font-size: 15px;
    margin: 0; /* Remove default margin */
    padding: 0 10px; /* Add some padding to the list item */
  }

  /* Apply circular image and floating effect only to the 5th image */
  #blog .image-container-solutions:nth-child(5) img {
    border-radius: 50%; /* Make the image circular */
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5); /* Add a shadow effect */
    z-index: 1; /* Ensure it's on top of other images */
    width: 150px; /* Custom width for the 5th image */
    height: 150px; /* Custom height for the 5th image */
    margin-left: -20px;
  }

  /* Move the 5th image to the middle */
  #blog .image-container-solutions:nth-child(5) {
    position: absolute; /* Set position to absolute */
    top: 30%; /* Move to the vertical center */
    left: 50%; /* Move to the horizontal center */
    transform: translate(-50%, -50%); /* Center the image */
  }
}
/* ENQUIRY section styles */
#enquiry {
  background-color: #0a192f;
  min-height: 550vh;
}

.layout-container-enquiry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  position: relative;
}

.image-container-enquiry {
  width: 50%;
  position: relative;
  margin-left: 100px;
}

.image-container-enquiry {
  width: 50%;
  position: relative;
  order: 2; /* Change the order to move it to the right side */
}

.text-container-enquiry {
  padding-left: 50px; /* Adjust padding */
  width: 50%;
  order: 1; /* Change the order to move it to the left side */
}

.small-image:nth-of-type(1) {
  left: 10px; /* Position enq2 on the left */
}

.small-image:nth-of-type(2) {
  right: 10px; /* Position enq3 on the right */
}


.main-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.small-image {
  position: absolute;
 
}

.small-image-top {
  top: 70px; 
  height: 200px;
  width: 200px;
  border-radius: 10px;
  margin-left: 17px;
  
}

.text-container-enquiry h1 {
  color: white;
  font-size: 40px;
  margin-bottom: 20px;
}

.form-container {
  color: white;
  margin-right: 50px;

}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
  color: white;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

button {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #45a049b4;
}
/* ENRQUIRY */
@media (max-width: 768px) {
  .layout-container-enquiry {
    flex-direction: column; /* Stack elements vertically */
    padding: 10px;
  }

  .image-container-enquiry {
    width: 80%;
    margin-left: -10px;
    order: 1; /* Move the image container to the top */
  }

  .text-container-enquiry {
    width: 100%;
    padding-left: 0; /* Remove left padding */
    order: 2; /* Move the text container to the bottom */
  }

  .small-image {
    display: none; /* Hide small images on smaller screens */
  }

  .main-image {
    width: 100%; /* Make the main image full width */
  }

  .text-container-enquiry h1 {
    font-size: 28px; /* Reduce font size for heading */
  }

  .form-container {
    margin-right: 0; /* Remove right margin */
  }
}

/* Contact Form Styles */
.contact-wrapper {
  background-color: #0a192f;
  border-radius: 15px;
  padding: 15px;
  margin: 20px auto;
  width: 60%;
  height: auto;
  max-height: none;
  box-shadow: 0 6px 8px rgba(128, 198, 219, 0.356);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: -60px;
}

.contact-form {
  color: #fff;
  text-align: center;
}

.contact-form h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 18px;
  margin-bottom: 5px;
  text-align: left;
  color: #fff;
}

.form-group input,
.form-group textarea {
  width: calc(100% - 20px);
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 16px;
  background-color: #0a192f;
  color: #fff;
}

.form-group textarea {
  height: calc(100% - 180px);
}

.button-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

button[type="submit"] {
  width: 100%;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: #4c2882;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

/* Added CSS for row layout */
.form-group.row {
  display: flex;
  justify-content: space-between;
}

.form-group.row .col {
  flex-basis: 48%;
}

input[type="radio"] {
  margin-right: 5px;
}

.small-text,
label {
  color: white;
  font-size: 15px;
}

.top-left-text {
  color: white;
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 5px;
}

.required {
  color: grey;
  font-size: 12px;
}

/* Burger menu styles */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.bar {
  width: 100%;
  height: 3px;
  background-color: #fff;
}

/* Sidebar styles */
.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  top: 60px;
  left: 0;
  background-color: #0a192f;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 20px;
  z-index: 999;
}

.sidebar a {
  padding: 10px 20px;
  text-decoration: none;
  font-size: 20px;
  color: #fff;
  display: block;
  transition: 0.3s;
}

.sidebar a:hover {
  background-color: #48e1ec;
  color: #0a192f;
}

.bold {
  font-weight: bold;
  font-size: 30px;
}

.sectors-text {
  font-size: 30px;
  font-weight: bold;
}

.list {
  margin: 0;
}

.list-container {
  margin-left: -130px;
  font-size: 20px;
  font-weight: normal;
}

.phase-list {
  list-style-type: none;
}

.phase-list li {
  font-size: 1.2rem;
  color: #fff;
}

.half-width {
  width: 50%;
}

.half-width img {
  width: 100%;
  height: auto;
}

.left-section {
  text-align: center; /* Center align text */
  padding: 0 20px; /* Adjust padding as needed */
}

/* Media query for mobile screens */
@media screen and (max-width: 768px) {
  .contact-wrapper {
    height: auto;
    width: 80%;
    max-height: none;
    overflow-y: auto;
    margin-bottom: -100px;
  }

  .top-left-text {
    font-size: 15px;
  }

  .small-text,
  label {
    font-size: 10px;
  }

  .contact-form h2 {
    font-size: 15px;
  }

  .form-group label {
    font-size: 10px;
  }

  .required {
    font-size: 8px;
  }

  .button-container {
    justify-content: center;
    padding-top: 30px;
  }

  textarea {
    width: 362px;
  }
}

/* Media query for side sidebar*/
@media screen and (max-width: 768px) {
  .burger-menu {
    display: flex;
  }

  nav {
    display: none;
  }

  .content {
    margin-top: 0;
  }

  .sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    top: 60px;
    left: 0;
    background-color: #0a192f;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 20px;
  }

  h1 {
    padding-right: 20px;
  }

  /* Burger menu animation */
  .burger-menu.active .bar:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .burger-menu.active .bar:nth-child(2) {
    opacity: 0;
  }

  .burger-menu.active .bar:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  .sidebar {
    width: 0;
  }
}

/* Services section styles */
.services-content {
  display: flex;
  align-items: center;
}

.text {
  flex: 2;
  margin-right: 20px;
  color: #fff;
}

.text h2 {
  font-size: 50px;
  margin-bottom: 20px;
  text-align: center;
}

.text p {
  margin-top: 0;
}

.text li {
  padding-left: 140px;
}

.pyramid-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.circular-container {
  border-radius: 50%;
  overflow: hidden;
  margin: 20px; /* Adjusted margin to add space between circular containers */
  width: 290px; /* Add width to ensure consistent sizing */
  height: 290px; /* Add height to ensure consistent sizing */
  display: flex; /* Make the circular container a flex container */
  justify-content: center; /* Center the image horizontally */
  align-items: center; /* Center the image vertically */
}

.circular-container img {
  width: 100%; /* Ensure the image fills the circular container */
  height: 100%; /* Ensure the image fills the circular container */
  object-fit: cover; /* Ensure the image covers the circular container */
  border-radius: 50%; /* Make the image circular */
}

.big {
  width: 280px;
  height: 280px;
}

.medium {
  width: 200px;
  height: 200px;
}

.small {
  width: 200px;
  height: 200px;
  margin-left: 200px;
}

/* Media query for services */
@media screen and (max-width: 1100px) {
  .text p {
    margin-top: 0;
    font-size: 15px;
  }
  .list-container {
    margin-right: -145px;
    text-align: center;
    font-weight: normal;
  }
  .services-content {
    position: relative;
  }

  .pyramid-container {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: -1160px;
  }

  .circular-container {
    border-radius: 50%;
    overflow: hidden;
    margin: 20px 10px; /* Adjusted margin to add space between circular containers */
  }

  .circular-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .big {
    width: 200px;
    height: 200px;
  }

  .medium {
    width: 120px;
    height: 120px;
    margin-right: -200px;
  }

  .small {
    width: 120px;
    height: 120px;
    margin-left: -150px;
    margin-top: -20px;
  }

  /* Adjust layout of text in services section for mobile screens */
  .section#services .text {
    text-align: center;
    margin-right: 0;
    margin-bottom: -350px; /* Adjusted margin to position text */
  }

  .section#services .text h2 {
    font-size: 28px; /* Decrease font size of "Who We Work With" */
  }

  .section#services .text li {
    font-size: 16px; /* Decrease font size of list items */
    padding-left: 0;
    list-style: none; /* Remove default list styles */
  }
}


.market-wrapper {
  position: absolute;
  border-radius: 15px;
  padding: 15px;
  margin: 20px auto;
  width: 50%;
  height: auto; /* Change height to auto */
  max-height: 55%; /* Set a maximum height */
  margin-top: -2500px;
}

#survey-form {
  height: 150%; /* Set height to auto to fit content */
}

.image-wrapper {
  padding-bottom: 3200px;
  margin-top: -500px;
}

.image-wrapper img {
  height: 50vh; /* Ensure the image maintains its aspect ratio */
  border-radius: 10px;
  max-width: 33.33%
}

.image-wrapper {
  display: flex; 
  justify-content: space-between;
}



.text-top {
  width: 70%;
  text-align: center;
  position: absolute;
  font-size: 20px;
  font-weight: bold;
  margin: 10px;
  padding-bottom: 10px;
  margin-top: -3100px;
  color: #fff;
}

/* Media query for ENQUIRY */
@media screen and (max-width: 768px) {
  .text-top {

    width: 90%;
    text-align: center;
    position: absolute;
    font-size: 20px;
    font-weight: bold;
    margin: 10px;
    margin-top: -3000px;
    color: #fff;
  }

  .market-wrapper {
    position: absolute;
    background-color: #0a192f;
    border-radius: 15px;
    padding: 15px;
    margin: 20px auto;
    width: 70%;
    height: auto; /* Change height to auto */
    max-height: 400%; /* Set a maximum height */
    box-shadow: 0 6px 8px rgba(128, 198, 219, 0.356);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow-y: auto; /* Add scrollbars if content exceeds height */
    margin-bottom: -200px;
  }

  #survey-form {
    height: 20%; /* Set height to auto to fit content */
  }

  textarea {
    width: 80%;
  }
}

@media screen and (max-width: 768px) {
  .image-wrapper {
    display: flex;
    flex-wrap: wrap; /* Allow images to wrap to the next row */
    justify-content: center; /* Center items horizontally */
  }

  .image-wrapper img {
    width: calc(50% - 20px); /* Two images per row with some spacing */
    height: auto;
    margin: 10px; /* Add spacing between images */
  }
}

h1 {
  font-weight: bold; /* Increase weight */
  font-size: 50px; /* Increase font size */
  margin-bottom: -10px;
}
