* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;

  background: linear-gradient(to bottom, #000000, #38b6ff);
  background-attachment: fixed; /* Keeps the gradient fixed while scrolling */
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: linear-gradient(to bottom, #000000, #38b6ff);
  background-attachment: fixed; /* Keeps the gradient fixed while scrolling */

  color: #fff;
}

.logo {
  width: 200px;
  filter: drop-shadow(
    0px 0px 20px rgba(0, 0, 0, 0.8)
  ); /* Dark drop shadow for focus */
}

/* Lock the navbar at the top */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;

  padding: 15px 0; /* Adjust as needed */
  z-index: 1000; /* Ensures it's above other content */
}

/* Center align items in the navbar */
nav ul {
  list-style: none;
  display: flex;
  justify-content: center; /* Center align the menu items */
  margin: 0;
  padding: 0;
}

/* Spacing between menu items */
nav ul li {
  margin-left: 20px;
}

/* Style for links */
nav ul li a {
  color: #d9d9d9;
  text-decoration: none;
  font-weight: bold; /* Optional: makes text bold */
  padding: 10px 15px; /* Adds padding for easier clickability */
  transition: color 0.3s ease; /* Smooth color transition on hover */
}

/* Add hover effect */
nav ul li a:hover {
  color: #fff; /* Change color on hover */
}

section {
  padding: 2rem;
  text-align: center;
}

/* Hero Section Styling */
.hero {
  position: relative;
  height: 100vh; /* Full height of the viewport */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d9d9d9;
  text-align: center;
  overflow: hidden;
  background: transparent;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px; /* Added horizontal padding for responsiveness */
  margin-top: 0; /* Ensure no margin is pushing it down */
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  filter: drop-shadow(0px 0px 20px rgba(0, 0, 0, 0.9));
  color: #d9d9d9;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  filter: drop-shadow(
    0px 0px 20px rgba(0, 0, 0, 0.8)
  ); /* Dark drop shadow for focus */
  color: #fff;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 76%; /* Adjusted to cover entire hero section */
  object-fit: cover;
  z-index: 1;
  opacity: 0.4; /* Slight dark effect for focus on text */
}
.hero a {
  text-decoration: none;
}

.service-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* Services Section Styling */
#services {
  padding: 4rem 0;
  background-color: transparent;
}

#services h2 {
  color: #38b6ff;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.service-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.service {
  background: transparent;
  width: 250px;
  padding: 1.5rem;
  border-radius: 70px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
}

.service h3 {
  color: #38b6ff;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.service p {
  color: #d9d9d9;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.service-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: bold;
  color: #38b6ff;
  border: 1px solid #38b6ff;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.service-btn:hover {
  background-color: #38b6ff;
  color: #fff;
}

#about {
  background-color: transparent; /* Match the color theme */
  padding: 3rem 1rem;
  color: #d9d9d9;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#about h2 {
  color: #38b6ff;
  font-size: 2rem;
  margin-bottom: 1rem;
}

#about p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.about-metric {
  font-size: 1.3rem;
  color: #ffffff;
  font-weight: bold;
  margin-top: 1rem;
}

#testimonials {
  padding: 3rem 1rem;
  text-align: center;
  color: #d9d9d9;
  background-color: transparent;
}

#testimonials h2 {
  color: #38b6ff;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  padding: 0 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial {
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.testimonial:hover {
  transform: scale(1.05);
}

.testimonial img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.testimonial:hover img {
  opacity: 0.9;
}
.portfolio-highlights {
    padding: 50px 20px;
    background-color: transparent; /* Light background for contrast */
    text-align: center;
}

.portfolio-highlights h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #38b6ff; /* Darker text color */
}

.portfolio-container {
    display: flex;
    overflow-x: auto; /* Enables horizontal scrolling */
    padding: 10px 0;
    scroll-behavior: smooth; /* Smooth scrolling */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for Internet Explorer and Edge */
}

.portfolio-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, and Opera */
}

.portfolio-item {
    min-width: 300px; /* Minimum width for each card */
    margin: 0 15px; /* Spacing between cards */
    background:transparent;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s;
    flex: 0 0 auto; /* Prevents flex items from shrinking */
}

.portfolio-item:hover {
    transform: scale(1.02); /* Slight zoom on hover for effect */
}

.portfolio-item h3 {
    font-size: 1.5em; /* Slightly smaller title */
    margin-bottom: 10px;
    color: #38b6ff; /* Primary color for headings */
}

.portfolio-item p {
    color: #d9d9d9; /* Lighter color for text */
    margin-bottom: 10px;
}

.portfolio-image {
    width: 70%; /* Full width image */
    border-radius: 8px;
    margin-top: 10px;
}

@media (max-width: 600px) {
    .portfolio-container {
        flex-direction: column; /* Stack cards vertically on small screens */
        overflow-x: hidden; /* Hide horizontal overflow */
    }
}


form input,
form textarea,
form button {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  background: #333;
  color: #fff;
  border: none;
  cursor: pointer;
}

form button:hover {
  background: #555;
}
.footer {
  background-color: #000;
  color: #d9d9d9;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1;
  min-width: 200px;
  margin: 10px 20px;
}

.footer-section h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
}

.footer-section p,
.footer-section ul {
  font-size: 0.9em;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li a {
  color: #d9d9d9;
  text-decoration: none;
}

.footer-section ul li a:hover {
  color: #fff;
}

.logo img {
  width: 150px;
  margin-bottom: 10px;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
}

.social-icons img {
  width: 30px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8em;
  padding-top: 20px;
  border-top: 1px solid #333;
  margin-top: 20px;
}

.footer-bottom a {
  color: #d9d9d9;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #fff;
}

.appear {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.hero-content h1 span::after {
  content: "|"; /* Cursor character */
  animation: blink 0.7s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0; /* Makes the cursor invisible at 50% */
  }
}

/* CTA Button Styling */
.cta-button1 {
  background-color: #ffffff; /* Background color on hover */
  color: #000; /* Text color on hover */
  
  border: 2px solid white; /* Border color */
  padding: 10px 20px; /* Padding around the text */
  font-size: 1rem; /* Font size */
  font-weight: bold; /* Bold text */
  text-transform: uppercase; /* Uppercase text */
  border-radius: 5px; /* Slightly rounded corners */
  cursor: pointer; /* Pointer cursor on hover */
  transition: background-color 0.3s, color 0.3s; /* Transition for hover effects */
  margin-top: 20px; /* Space between text and button */
}

.cta-button1:hover {
  background-color: transparent; /* Transparent background */
  color: white; /* Button text color */
}

.cta-button2 {
  background-color: #ffffff; /* Background color on hover */
  color: #000; /* Text color on hover */
  border: 2px solid white; /* Border color */
  padding: 10px 20px; /* Padding around the text */
  font-size: 1rem; /* Font size */
  font-weight: bold; /* Bold text */
  text-transform: uppercase; /* Uppercase text */
  border-radius: 5px; /* Slightly rounded corners */
  cursor: pointer; /* Pointer cursor on hover */
  transition: background-color 0.3s, color 0.3s; /* Transition for hover effects */
  margin-top: 20px; /* Space between text and button */
  text-decoration: none;
}

.cta-button2:hover {
  background-color: transparent; /* Transparent background */
  color: white; /* Button text color */
  
}

.contact-us {
  padding: 50px 20px;
  background-color: transparent; /* Light gray background */
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin: 50px 0; /* Space between sections */
}

.contact-us h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #38b6ff; /* Darker text color */
}

.contact-us p {
  font-size: 1.2em;
  color: #d9d9d9; /* Lighter text color for readability */
  margin-bottom: 30px;
}


.contact-form {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
  background-color: transparent;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
}

.contact-form label {
  display: block;
  font-size: 1em;
  color: #d9d9d9;
  margin-bottom: 5px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  font-size: 1em;
  border: 5px solid transparent;
  border-radius: 4px;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  border-color: black; /* Highlight color on focus */
  outline: none;
}

.submit {
  /* width: 100%;
  padding: 12px;
  font-size: 1em;
  color: white;
  background-color: #007BFF;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s; */

    display: inline-block;
    padding: 15px 30px;
    font-size: 1.2em;
    background-color: black; /* Darker blue on hover */
    color: #d9d9d9;
    border: none;
    border-radius: 5px;
    text-decoration: none; /* Remove underline */
    transition: background-color 0.3s, transform 0.3s; /* Smooth transition effects */
}

.submit:hover {
  background-color: white; /* Darker blue on hover */
    transform: scale(1.05); /* Slight scale effect on hover */
    color: #555;
}



/* Apply Montserrat for Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; /* Bold for emphasis */
}

/* Apply Open Sans for Body Text */
body, p, a, li {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400; /* Regular weight for readability */
}




/* General mobile adjustments */
@media (max-width: 768px) {
 

    header {
      flex-direction: column;
      align-items: center;
      padding: 0.2rem;
      background: transparent;
      z-index: 1000;
    }
  
    .logo {
      width: 180px;
      margin-bottom: 5px; /* Adds spacing between logo and navbar */
      margin-top: 30px;
    }
  
    /* Navbar adjustments for single row */
    nav ul {
      flex-direction: row; /* Horizontal layout for navbar items */
      gap: 2px;
      font-size: 0.6rem; /* Smaller font for mobile */
    }
  
    nav ul li {
      margin: 0; /* Compact navbar items */
    }


  /* Hero Section */
  .hero {
      height: 80vh;
      padding: 20px;
  }
  .hero h1 {
      font-size: 1.8rem;
  }
  .hero p {
      font-size: 1rem;
  }
  .cta-button1 {
      font-size: 0.9rem;
      padding: 8px 15px;
  }
  .cta-button2 {
    font-size: 0.9rem;
    padding: 8px 15px;
  }
 


    /* Service Section: Display services in a compact 2x2 grid layout */
  .service-container {
      display: grid;
      grid-template-columns: 1fr 1fr; /* Two columns for a compact view */
      gap: 0.5rem; /* Smaller gap between service items */
      padding: 0 1rem; /* Reduce padding for better fit */
 

  }

  .service {
      width: 100%; /* Full width of the grid column */
      padding: 0.2rem; /* Reduce padding for compactness */
      border-radius: 10px;

  }

  .service h3 {
      font-size: 1rem; /* Smaller font for titles */
  }

  .service p {
      font-size: 0.8rem; /* Smaller font for descriptions */
  }

  .service-icon {
      padding-bottom: 0px;
      margin-bottom: 0px;
      width: 35px; /* Reduce icon size */
      height: 35px;
  }



  /* Adjust About Us Section for a single view */
  #about {
    padding: 1.5rem 1rem;
    overflow: hidden;
}

#about h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

#about p {
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 100%; /* Full width for mobile */
    margin: 0 0;
}

/* Testimonials Section: Horizontal scrolling */
#testimonials {
    overflow-x: auto;
    padding: 0.5rem;
    white-space: nowrap;
}

.testimonial-grid {
    display: inline-flex;
    gap: 1rem;
    padding-bottom: 0.5rem;
}

.testimonial {
    flex: 0 0 80%; /* Adjust width for horizontal scrolling */
    scroll-snap-align: start;
}

/* Hide scrollbar for smoother horizontal scroll */
#testimonials::-webkit-scrollbar {
    display: none;
}


  /* Adjust Portfolio Section for mobile view */
  .portfolio-highlights {
    padding: 1.5rem 0;
    overflow: hidden;
    text-align: center;
}

.portfolio-highlights h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Portfolio Container: Enable horizontal scrolling */
.portfolio-container {
    display: flex;
    overflow-x: scroll;
    padding: 1rem;
    gap: 1rem;
    scroll-snap-type: x mandatory; /* Enable scroll snapping */
    scroll-behavior: smooth;
}

.portfolio-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for a cleaner look */
}
.portfolio-container {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Portfolio Item: Card styling for scrollable effect */
.portfolio-item {
    flex: 0 0 80%; /* Set item width to 80% of viewport */
    max-width: 300px;
    scroll-snap-align: center;
    background: #1a1a1a; /* Card background */
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Card shadow effect */
    padding: 1rem;
    text-align: left;
    transition: transform 0.3s ease; /* Smooth scaling on hover */
}

.portfolio-item:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}

.portfolio-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #38b6ff;
}

.portfolio-item p {
    font-size: 0.9rem;
    color: #d9d9d9;
}

.portfolio-image {
    width: 100%;
    border-radius: 8px;
    margin-top: 10px;
}



  /* Contact Section */
  .contact-form {
      width: 90%;
      margin: 0 auto;
      padding: 10px;
  }

  /* Contact Us Section */
  .contact-us {
    padding: 2rem 1rem;
    text-align: center;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-us h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-us p {
    font-size: 1rem;
    color: #d9d9d9;
    margin-bottom: 1.5rem;
}

.contact-form {
    width: 100%; /* Full width for mobile */
    padding: 0rem;
    box-shadow: none; /* Remove extra shadow for cleaner look */
}

.contact-form label {
    font-size: 1rem;

}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    padding: 7px;
    font-size: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    border: 1px solid #ccc;
}



.submit {
    font-size: 1rem;
    padding: 10px 20px;
    width: 100%;
    margin-top: 1rem;
    border-radius: 4px;
    text-align: center;
}

  /* Footer adjustments */
  .footer-container {
      flex-direction: column;
      align-items: center;
  }
  .footer-section {
      text-align: center;
      width: 90%;
      margin-bottom: 20px;
  }
  .footer-section h3 {
      font-size: 1.1rem;
  }
}

/* Smaller devices, narrow screens */
@media (max-width: 480px) {
  .hero h1 {
      font-size: 1.5rem;
  }
  .hero p {
      font-size: 0.9rem;
  }
  .service h3 {
      font-size: 1rem;
  }
  .service p {
      font-size: 0.8rem;
  }
  .portfolio-item h3 {
      font-size: 1.2em;
  }
  .cta-button1 {
      font-size: 0.8rem;
      padding: 7px 12px;
  }
  .cta-button2 {
    font-size: 0.8rem;
    padding: 7px 12px;
}
  .footer-bottom {
      font-size: 0.7em;
  }
}
