/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global Styles */
body {
  font-family: "Roboto Flex", sans-serif;
  line-height: 1.6;
  height: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* Font Styling */
.roboto-flex-bold {
  font-family: "Roboto Flex", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800; /* Bold weight */
  font-style: normal;
  font-variation-settings: "slnt" 0, "wdth" 100, "GRAD" 0, "XOPQ" 96, "XTRA" 468,
    "YOPQ" 79, "YTAS" 750, "YTDE" -203, "YTFI" 738, "YTLC" 514, "YTUC" 712;
}

.roboto-flex-condensed {
  font-family: "Roboto Flex", sans-serif;
  font-weight: 400;
  font-variation-settings: "wdth" 50; /* More condensed letters */
}

.roboto-flex-italic {
  font-family: "Roboto Flex", sans-serif;
  font-style: italic;
  font-variation-settings: "slnt" -10; /* Slightly slanted */
}

/* Sticky Header Styling */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #0c0232;
  color: #fff;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

header .logo img {
  height: 50px;
}

header nav ul {
  display: flex;
  list-style: none;
}

header nav ul li {
  margin-left: 20px;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

header nav ul li a:hover {
  color: #f4f4f4;
}

/* Parallax Background Section */
.parallax {
  background-image: url("../assets/images/main_logo.png"); /* Your background image path */
  min-height: 100vh;
  background-attachment: fixed; /* Makes the background stay in place */
  background-size: cover; /* Ensures the background scales */
  background-position: center; /* Centers the background */
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  position: relative;
  padding-top: 80px; /* Add padding to account for fixed header */
}

.parallax::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(42, 7, 241, 0.4); /* Adjust color and opacity */
  z-index: 1; /* Ensures the overlay is on top of the background image */
}

/* Content inside the parallax section */
.parallax .content {
  position: relative;
  z-index: 2; /* Content stays above overlay */
  color: white;
  text-align: center; /* Optional: Centering the text */
}

.parallax h1 {
  font-size: 4rem;
  margin-bottom: 10px;
}

.parallax p {
  font-size: 1.5rem;
}

/* Services Section */
#services {
  background-color: rgb(24, 13, 125); /* Using the later version */
  padding: 50px 20px;
}

#services .content h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 5px;
  color: #ffffff;
}

#services .content h4 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
}

#services a {
  text-decoration: none; /* Turns off the underline */
  color: inherit; /* Inherits the color from the parent element */
}

.services-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.service-item {
  width: 30%; /* Each service takes 30% of the row */
  text-align: center;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px); /* Adds a hover effect */
}

.service-item img {
  width: 100%; /* Image takes full width of the container */
  height: auto;
  border-radius: 50%;
}

.service-item h3 {
  margin: 15px 0 10px;
  font-size: 1.5rem;
}

.service-item p {
  font-size: 1rem;
  color: #000000; /* Using the later version */
}

/* Responsive Design */
@media (max-width: 768px) {
  .service-item {
    width: 100%; /* Each service takes full width on mobile */
    margin-bottom: 20px;
  }

  header .logo img {
    height: 40px;
  }

  header nav ul li {
    margin-left: 10px;
  }

  .parallax h1 {
    font-size: 2.5rem;
  }

  .parallax p {
    font-size: 1.2rem;
  }
}

/* Footer Styling */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

/* Contact Section Styling */
.contact-section {
  background-image: url("../assets/images/main_logo2.png"); /* Background image path */
  min-height: 100vh;
  background-attachment: fixed; /* Keeps the background fixed */
  background-size: cover; /* Ensures the background scales to the size of the section */
  background-position: center; /* Centers the background */
  display: flex;
  justify-content: center;
  align-items: center;
  color: white; /* White font color for text */
  text-align: center; /* Centers text */
  padding-top: 100px; /* Adds space at the top to account for the fixed header */
}

.contact-section .content {
  background-color: rgba(
    128,
    128,
    128,
    0.914
  ); /* Semi-opaque grey background */
  padding: 30px; /* Adds padding inside the box */
  border-radius: 15px; /* Rounds the corners */
  border: 5px solid #fff; /* Thick white border */
  max-width: 800px; /* Sets a maximum width for the box */
  margin: 0 auto; /* Centers the box */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optional: Adds a subtle shadow for effect */
}

.contact-section h1 {
  font-size: 2.5rem; /* Adjust the font size as needed */
  margin-bottom: 10px;
}

.contact-section p {
  font-size: 1.8rem; /* Adjust the font size as needed */
  line-height: 1.3; /* Adjust the line height for readability */
}

/* Specific Section Styling (POS, Drone, IT) */
#pos-consulting,
#drone,
#it {
  padding-top: 100px; /* Adjust this value to match the height of your header */
}

#pos-consulting h2,
#drone h2,
#it h2 {
  margin-bottom: 20px; /* Adds 20px of space below the h3 */
  text-align: center;
}

#pos-consulting h3,
#drone h3 {
  margin-top: 20px; /* Adds 20px of space above the ul */
  text-align: center;
}

#pos-consulting .content,
#drone .content {
  padding-left: 20px; /* Add left padding */
}

#pos-consulting ul,
#drone ul {
  margin: 20px auto;
  padding: 25px;
  width: 80%;
  max-width: 600px;
  border: 2px solid #005f99;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  border-radius: 10px;
  text-align: left;
}

.service-logo {
  display: block;
  margin: 0 auto 20px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
}

.centered-box {
  margin: 20px auto;
  padding: 20px;
  width: 80%;
  max-width: 600px;
  border: 2px solid #005f99;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  border-radius: 10px;
  text-align: center;
}
