/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Roboto Mono', monospace;
    background: linear-gradient(to bottom, #111, #333);
    color: white;
    line-height: 1.6;
  }
  
    /* Header Styles */
    header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 2rem;
      z-index: 1000;
      background: transparent;
      transition: background 0.5s ease;
    }
    
    header.scrolled {
        background: linear-gradient(
        to right, /* Horizontal gradient */
        rgba(0, 255, 255, 0.5), /* Cyan */
        rgba(255, 0, 255, 0.5) /* Magenta */
        );
        backdrop-filter: blur(3px); /* Vertical blur effect */
    }
  
  /* Logo Container */
  .logo-container {
    display: flex;
    align-items: center;
  }

  .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none; /* Remove underline from link */
    color: inherit; /* Inherit text color */
  }

  .logo-img {
    width: 50px;
    height: 50px;
    margin-right: 0.5rem;
  }

  .logo {
    display: flex;
    align-items: center;
    padding-left: 0.8rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: cyan;
    text-shadow: 0 0 10px cyan;
  }
  
  .logo-link:hover .logo-img {
    transform: scale(1.1); /* Slightly enlarge the logo on hover */
    transition: transform 0.3s ease;
  }

  .nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
  }
  
  .nav-links a {
    color: white;
    text-decoration: none;
    font-family: 'Roboto Mono', monospace;
    font-size: 1rem;
    transition: color 0.3s ease;
  }
  
  .nav-links a:hover {
    color: limegreen;
  }
  
  .hamburger-menu {
    display: none; /* Hidden by default */
    font-size: 2rem;
    cursor: pointer;
  }
  
  /* Responsive Styles */
  @media (max-width: 768px) {
    .nav-links {
      display: none; /* Hide nav links on small screens */
      flex-direction: column;
      background: rgba(0, 0, 0, 0.8);
      position: absolute;
      top: 60px;
      right: 0;
      width: 200px;
      padding: 1rem;
      border-radius: 10px;
      box-shadow: 0 0 10px cyan, 0 0 20px magenta;
    }
  
    .nav-links.active {
      display: flex; /* Show nav links when active */
    }
  
    .hamburger-menu {
      display: block; /* Show hamburger menu on small screens */
    }
  }
  
  /* Non-Critical Styles for Hero Section */
  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)); /* Overlay for better contrast */
    z-index: 1;
  }

  .hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #111); /* Fade to black */
    z-index: 1;
  }

  .hero-content {
    border-radius: 10px;
    box-shadow: 0 0 20px cyan, 0 0 20px magenta;
  }

  .hero-content h1 {
    text-shadow: 0 0 10px cyan;
    margin-bottom: 1rem;
  }

  .hero-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    text-shadow: 0 0 7px cyan;
    margin-bottom: 1.5rem;
  }

  .hero-content .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

  .hero-content .btn:hover {
    box-shadow: 0 0 20px cyan, 0 0 20px magenta;
    transform: scale(1.05);
  }

  /* Responsive Styles */
  @media (max-width: 768px) {
    .hero-content {
      padding: 1rem;
    }

    .hero-content h1 {
      font-size: 2rem;
    }

    .hero-content h2 {
      font-size: 0.9rem;
    }

    .hero-content .btn {
      padding: 0.5rem 1rem;
      font-size: 0.8rem;
    }
  }

  /* Particle Effect */
  #particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Place particles behind the hero content */
  }

  /* Section Styles */
.quote-section,
.about-us,
.numbered-list,
.services-carousel {
  padding: 3rem 1rem;
  text-align: center;
  background: #222; /* Uniform dark gray background */
}

/* Quote Section */
.quote-section {
  position: relative;
  display: flex;
  align-items: center; /* Align items vertically in the center */
  justify-content: space-between; /* Space out quote and image */
  padding: 4rem 4rem;
  background: #222; /* Default background for larger screens */
  color: white;
  flex-wrap: wrap; /* Wrap items on smaller screens */
  gap: 1rem; /* Add consistent spacing between elements */
}

.quote-content {
  flex: 1.5; /* Take up more space (1.5x the width of the image) */
  padding: 1rem;
  text-align: left;
  max-width: 70%; /* Limit the maximum width of the quote content */
}

.quote-content blockquote {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  font-style: italic;
  color: cyan;
  text-shadow: 0 0 10px cyan, 0 0 20px magenta;
  margin: 0;
}

.quote-content p {
  font-family: 'Roboto Mono', monospace;
  font-size: 1.2rem;
  color: limegreen;
  margin-top: 1rem;
  text-shadow: 0 0 5px limegreen;
}

.quote-image {
  flex: 1; /* Take up less space compared to the quote */
  text-align: center;
  max-width: 400px; /* Limit the width of the image */
}

.quote-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px cyan, 0 0 20px magenta;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .quote-section {
    flex-direction: column; /* Stack items vertically */
    background: url('images/ezio1.jpg') no-repeat center center/cover; /* Set image as background */
    height: auto;
    padding: 2rem 1rem;
  }

  .quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay */
    z-index: 1;
  }

  .quote-content {
    position: relative;
    z-index: 2;
    padding: 1rem;
    text-align: center; /* Center text for smaller screens */
  }

  .quote-content blockquote {
    font-size: 1.5rem; /* Reduce font size for smaller screens */
  }

  .quote-content p {
    font-size: 0.9rem;
  }

  .quote-image {
    display: none; /* Hide the separate image container */
  }
}

/* About Us Section */
.about-us {
  padding: 3rem 1rem;
  text-align: center;
}

.about-us h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  text-shadow: 0 0 10px cyan;
}

.about-us p {
  color: lightgray;
  max-width: 800px;
  margin: 1rem auto;
}

/* Numbered List Section */
.numbered-list {
  padding: 3rem 1rem;
  text-align: center;
}

.list-header h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  text-shadow: 0 0 10px cyan;
  margin-bottom: 1rem;
}

.list-header p {
  font-family: 'Roboto Mono', monospace;
  font-size: 1.2rem;
  color: lightgray;
  max-width: 800px;
  margin: 0 auto;
}

.list-items {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap; /* Wrap items on smaller screens */
}

.list-item {
  background: rgba(0, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 10px cyan, 0 0 20px magenta;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
  text-align: center;
}

.list-item h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  text-shadow: 0 0 10px cyan;
  margin-bottom: 1rem;
}

.list-item p {
  font-family: 'Roboto Mono', monospace;
  font-size: 1rem;
  color: lightgray;
}

.list-item:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px cyan, 0 0 40px magenta;
}

/* Services Carousel Section */
.services-carousel {
  padding: 3rem 1rem;
  text-align: center;
}

/* Slick Carousel Container */
.carousel {
  margin: 2rem auto; /* Center the carousel horizontally */
  max-width: 1200px;
  position: relative; /* Ensure arrows are positioned relative to this container */
  overflow: hidden; /* Prevent arrows from spilling out */
}

/* Slick Carousel Items */
.carousel-item {
  padding: 1rem;
  text-align: center;
}

.carousel-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 10px cyan, 0 0 20px magenta;
}

.carousel-item h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  margin-top: 1rem;
  text-shadow: 0 0 10px cyan;
}

/* Slick Carousel Container */
.carousel {
  margin: 2rem auto; /* Center the carousel horizontally */
  max-width: 1200px;
  position: relative; /* Ensure arrows are positioned relative to this container */
  overflow: hidden; /* Prevent arrows from spilling out */
  padding: 0 50px; /* Add padding to create space for the arrows */
  box-sizing: border-box; /* Include padding in width calculation */
}

/* Slick Carousel Arrows */
.slick-prev,
.slick-next {
  font-size: 2rem;
  color: cyan;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10; /* Ensure arrows are above carousel content */
  cursor: pointer;
  transition: background 0.3s ease;
}

.slick-prev {
  left: 10px; /* Position on the left, outside the padding */
}

.slick-next {
  right: 10px; /* Position on the right, outside the padding */
}

.slick-prev:hover,
.slick-next:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Responsive Styles */
@media (max-width: 600px) {
  .slick-prev,
  .slick-next {
    display: none; /* Hide arrows on small screens */
  }
}
  
  /* Footer Styles */
  footer {
    text-align: center;
    padding: 1rem;
    background: #222;
    color: lightgray;
    margin-top: 2rem;
  }

  /* Contact Hero Section */
.contact-hero {
  width: 100%;
  height: 30vh; /* 30% of the viewport height */
  overflow: hidden;
  position: relative;
}

.contact-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Darken the image slightly */
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay */
  z-index: 1;
}

.contact-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #222); /* Fade to dark gray */
  z-index: 2;
}

  /* Contact Info Section */
.contact-info {
    padding: 3rem 1rem;
    text-align: center;
  }
  
  .info-box {
    margin-bottom: 2rem;
  }
  
  .info-box h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    text-shadow: 0 0 10px cyan;
    margin-bottom: 1rem;
  }
  
  .info-box p {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.2rem;
    color: lightgray;
  }
  
  .contact-info hr {
    border: none;
    border-top: 2px solid cyan;
    width: 50%;
    margin: 2rem auto;
  }

        /* Map and Form Section */
    .map-form {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 5rem; /* Increased spacing between map and form */
        padding: 3rem 1rem;
        max-width: 1500px;
        margin: 0 auto;
        flex-wrap: wrap; /* Wrap items on smaller screens */
    }
    
    .map-container,
    .form-container {
        flex: 1; /* Equal width for both map and form */
        min-width: 300px; /* Prevent collapsing on small screens */
    }
    
    .map-container iframe {
        width: 100%;
        height: 565px;
        border-radius: 10px;
        box-shadow: 0 0 10px cyan, 0 0 20px magenta;
    }
    
    .form-container {
        text-align: center;
        background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
        padding: 2rem;
        border-radius: 10px;
        box-shadow: 0 0 10px cyan, 0 0 20px magenta; /* Neon glow effect */
        border: 2px solid cyan; /* Outline for the form */
    }
    
    .form-container h2 {
        font-family: 'Orbitron', sans-serif;
        font-size: 2rem;
        text-shadow: 0 0 10px cyan;
        margin-bottom: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
        text-align: left;
    }
    
    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: bold;
        color: white;
    }
    
    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 0.8rem;
        border: 2px solid cyan;
        border-radius: 5px;
        background: rgba(0, 0, 0, 0.3);
        color: white;
        font-family: 'Roboto Mono', monospace;
    }
    
    .form-group input:focus,
    .form-group textarea:focus {
        outline: none;
        box-shadow: 0 0 10px cyan;
        border-color: limegreen;
    }
    
    .btn {
        background: linear-gradient(to right, #00FFFF, #FF00FF);
        color: white;
        padding: 0.8rem 2rem;
        border: none;
        border-radius: 5px;
        font-family: 'Orbitron', sans-serif;
        font-size: 1rem;
        cursor: pointer;
        box-shadow: 0 0 10px cyan, 0 0 20px magenta;
        transition: all 0.3s ease;
    }
    
    .btn:hover {
        box-shadow: 0 0 20px cyan, 0 0 40px magenta;
        transform: scale(1.05);
    }

  /* Services Section */
.services {
    padding: 3rem 1rem;
    text-align: center; /* Center align text */
  }
  
  .service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive 2x2 grid */
    gap: 2rem; /* Add spacing between items */
    margin-top: 2rem;
    justify-content: center; /* Center align items */
  }
  
  .service-card {
    background: rgba(0, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 0 10px cyan, 0 0 20px magenta;
    transition: all 0.3s ease;
    width: 100%; /* Full width for stacked layout */
    max-width: 400px; /* Limit max width for better alignment */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content inside cards */
  }
  
  .service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem; /* Space between image and text */
    box-shadow: 0 0 10px cyan, 0 0 20px magenta;
  }
  
  .service-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    text-shadow: 0 0 10px cyan;
  }
  
  .service-card p {
    color: lightgray;
  }

  /* Services Intro Section */
.services-intro {
    padding: 3rem 1rem;
    text-align: center;
  }
  
  .services-intro h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    text-shadow: 0 0 10px cyan;
    margin-bottom: 1rem;
  }
  
  .services-intro p {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.2rem;
    color: lightgray;
    max-width: 800px;
    margin: 0 auto;
  }

  /* Services Hero Section */
.services-hero {
  width: 100%;
  height: 30vh; /* 30% of the viewport height */
  overflow: hidden;
  position: relative;
}

.services-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Darken the image slightly */
}

.services-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay */
  z-index: 1;
}

.services-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #222); /* Fade to dark gray */
  z-index: 2;
}