/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  color: #fff;
  background-color: #121212;
}


/* NavBar Styling */
.navbar {
  background-color: rgba(46, 43, 49, 0.8); /* Transparent background */
  padding: 15px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed; /* This makes the navbar fixed at the top */
  top: 0;
  width: 100%; /* Ensure the navbar spans the full width of the page */
  z-index: 1000; /* Keeps the navbar above other elements */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  backdrop-filter: blur(10px); /* Optional: for a blurred glass effect */
}

.logo img {
  height: 40px;
}

.nav-links {
  list-style-type: none;
  display: flex;
  gap: 40px;
}

.nav-links li {
  display: inline;
}

.nav-links li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  position: relative;
}

.nav-links li a.active::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background-color: #f5a623;
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links li a:hover {
  color: #f5a623;
}

.order-btn {
  background-color: transparent;
  border: 2px solid #f5a623;
  color: #f5a623;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}

.order-btn:hover {
  background-color: #f5a623;
  color: #2e2b31;
}

/* Hero Section */
.hero-section {
  text-align: left;
  padding: 100px 20px; /* Increased padding to move content down */
  position: relative;
  min-height: 700px; /* Increased height for more space */
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-size: cover;
  background-position: center;
  animation: backgroundSlideshow 30s infinite;
  z-index: 1;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
  z-index: -1; /* Places it behind the text */
}

.hero-content {
  max-width: 600px;
  margin: 0;
  padding-left: 50px; /* Ensure content doesn't touch the edge */
}

.hero-section h1 {
  font-size: 3rem;
  color: #ff9900;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.hero-section p {
  margin: 20px 0;
  font-size: 1.2rem;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

.cta-btn, .cta-secondary-btn {
  padding: 10px 20px;
  text-decoration: none;
  font-size: 1.1rem;
  border-radius: 5px;
}

.cta-btn {
  background-color: #ff9900;
  color: #121212;
}

.cta-secondary-btn {
  background-color: transparent;
  border: 2px solid #ff9900;
  color: #ff9900;
}

/* Background slideshow animation */
@keyframes backgroundSlideshow {
  0% {
    background-image: url('img/2.png');
  }
  33% {
    background-image: url('img/3.gif');
  }
  66% {
    background-image: url('img/4.jpg');
  }
  100% {
    background-image: url('img/2.png');
  }
}


/* Service Provider Section */
.service-provider {
  padding: 60px 20px;
  background-color: #272730;
  color: #ffffff;
}

.content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center; /* Center the image and text vertically */
  max-width: 1400px;
  margin: 0 auto;
  gap: 30px;
}

.logo-side {
  flex: 1;
  min-width: 200px;
  display: flex;
  justify-content: center;
  align-items: center; /* Ensure the logo is centered vertically and horizontally */
}

.logo-side img {
  max-width: 250px; /* Increased logo size */
}

.text-side {
  flex: 2;
  line-height: 1.7;
  color: #dddddd;
}

.text-side h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ffffff;
  position: relative;
}

.text-side h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #f5a623;
  margin-top: 10px;
}

.text-side p {
  margin-bottom: 15px;
  font-size: 1rem;
  color: #dddddd;
}

.text-side a {
  color: #f5a623;
  text-decoration: none;
}

.text-side a:hover {
  text-decoration: underline;
}

.highlight {
  color: #f5a623;
  font-weight: bold;
}


/* Responsive Design */
@media (max-width: 992px) {
  .content-wrapper {
      flex-direction: column;
      text-align: center;
  }

  .text-side {
      text-align: left; /* Keeps left alignment for smaller devices */
  }

  .logo-side {
      margin-bottom: 20px;
  }
}


/* Services & Pricing Section */
.services-pricing {
  padding: 60px 20px;
  background-color: #272730;
  color: #ffffff;
  text-align: center;
}

.services-header {
  margin-bottom: 40px;
}

.services-header h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: #ffffff;
  position: relative;
}

.services-header h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #f5a623;
  margin: 10px auto;
}

.services-header p {
  font-size: 1.1rem;
  color: #dddddd;
}

/* Services Grid Layout */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns on top */
  grid-template-rows: auto auto; /* Ensures two rows */
  gap: 30px; /* Space between the boxes */
  justify-items: center; /* Centers the items in the grid */
  justify-content: center; /* Centers the entire grid */
  max-width: 1400px;
  margin: 0 auto; /* Centers the grid on the page */
}

.service-item {
  background-color: #292929;
  padding: 30px;
  border-radius: 10px;
  width: 100%;
  max-width: 330px; /* Uniform size for all boxes */
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.service-item img {
  width: 40px;
  margin-bottom: 20px;
}

.service-item h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.service-item p {
  font-size: 1rem;
  color: #dddddd;
}

.service-item p span {
  color: #f5a623; /* Highlighted price and keywords */
  font-weight: bold;
}

/* Special alignment for centering the single box in the second row */
.service-item:nth-child(5) {
  grid-column: 2 / span 2; /* Centers the fifth item across two grid columns */
}

/* Responsive Design */
@media (max-width: 992px) {
  .services-grid {
      grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
  }
}

@media (max-width: 768px) {
  .services-grid {
      grid-template-columns: 1fr; /* Single column for mobile */
  }
}


/* Navigation Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  padding: 10px;
  cursor: pointer;
  font-size: 2rem;
  z-index: 10;
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

.carousel-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* How to Order Section */
.how-to-order {
  padding: 60px 20px;
  background-color: #272730;
  color: #ffffff;
  text-align: center;
}

.order-header {
  margin-bottom: 40px;
}

.order-header h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: #ffffff;
  position: relative;
}

.order-header h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #f5a623;
  margin: 10px auto;
}

/* Order Grid Layout */
.order-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns on top */
  grid-template-rows: auto auto; /* Two rows */
  gap: 30px; /* Space between the items */
  justify-items: center;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto; /* Center the grid */
}

.order-item {
  background-color: #292929;
  padding: 30px;
  border-radius: 10px;
  width: 100%;
  max-width: 330px; /* Uniform size for all boxes */
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.order-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.order-item img {
  width: 40px;
  margin-bottom: 20px;
}

.order-item h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.order-item p {
  font-size: 1rem;
  color: #dddddd;
}

.order-item p span {
  color: #f5a623; /* Highlighted keywords */
  font-weight: bold;
}

/* Special alignment for centering the single box in the second row */
.order-item:nth-child(5) {
  grid-column: 2 / span 2; /* Centers the fifth item across two grid columns */
}

/* Responsive Design */
@media (max-width: 992px) {
  .order-grid {
      grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
  }
}

@media (max-width: 768px) {
  .order-grid {
      grid-template-columns: 1fr; /* Single column for mobile */
  }
}

/* Footer Styling */
.footer {
  background-color: #181824;
  color: #ffffff;
  padding: 40px 20px;
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto;
  flex-wrap: wrap; /* Ensures responsiveness */
  gap: 40px;
}

.footer-left {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  max-width: 150px;
  margin-bottom: 10px;
}

.footer-left p {
  line-height: 1.6;
  color: #dddddd;
}

.footer-links {
  display: flex;
  flex: 2;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-column {
  min-width: 150px;
  margin: 10px;
}

.footer-column h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 5px;
}

.footer-column ul li a {
  color: #dddddd;
  text-decoration: none;
}

.footer-column ul li a:hover {
  color: #f5a623;
}

/* Footer Bottom Section */
.footer-bottom {
  display: flex;
  justify-content: center; /* Center the content horizontally */
  flex-direction: column;  /* Stack payment methods and trustpilot vertically */
  align-items: center;
  padding: 20px 0;
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid #333;
}

.payment-methods {
  margin-bottom: 10px;
}

.payment-methods img {
  max-width: 50px;
  margin-right: 10px;
}

.trustpilot p {
  color: #dddddd;
  text-align: center; /* Center the Trustpilot text */
}

.trustpilot a {
  color: #00b67a; /* Trustpilot's green color */
  text-decoration: none;
  font-weight: bold;
}

.trustpilot a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-container {
      flex-direction: column;
      text-align: center;
  }

  .footer-links {
      justify-content: center;
      gap: 20px;
  }

  .footer-bottom {
      flex-direction: column;
      align-items: center;
  }

  .payment-methods {
      margin-bottom: 10px;
  }
}

/* Remove Scrollbar Arrows (Up/Down buttons) in WebKit Browsers */
::-webkit-scrollbar-button {
  display: none; /* Hides both up and down arrow buttons */
}

/* Custom Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px; /* Make the scrollbar width narrower */
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1); /* Transparent background for the scrollbar track */
}

::-webkit-scrollbar-thumb {
  background-color: #f5a623; /* Gold color for the scrollbar thumb */
  border-radius: 10px; /* Rounded edges for a smooth appearance */
  border: 2px solid rgba(0, 0, 0, 0.2); /* Transparent border for smooth effect */
}

::-webkit-scrollbar-thumb:hover {
  background-color: #e5a123; /* Slightly darker gold when hovering */
}

/* Firefox Scrollbar */
html {
  scrollbar-width: thin; /* Thin scrollbar in Firefox */
  scrollbar-color: #f5a623 rgba(0, 0, 0, 0.1); /* Gold thumb with transparent background */
}

/* Enable Smooth Scrolling for the Page */
html {
  scroll-behavior: smooth;
}
