body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
  transition: background-color 0.3s ease;
}

.container {
  max-width: 1200px; /* Set a maximum width for all content */
  margin: 0 auto; /* Center the content */
  padding: 0 15px; /* Add padding for content */
  box-sizing: border-box; /* Include padding in width */
}

header {
  width: 100%;
  z-index: 1000;
}

.navbar {
  background-color: #000 !important; /* Ensure the navbar is black */
  width: 100%;
  padding: 0 15px; /* Add padding to ensure content fits well */
}

.navbar-nav .nav-link {
  color: #fff !important; /* Ensure navbar links are white */
  padding: 10px 15px; /* Add padding for better touch targets */
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.1); /* Make the toggle button border visible */
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.hero {
  background-image: url('modi.jpg');
  background-size: cover; /* Ensures the image covers the area */
  background-repeat: no-repeat;
  background-position: top;
  color: #fff;
  padding: 35px 20px;
  min-height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px; /* Adjust margin to prevent overlap */
  transition: background-position 0.3s ease;
  width: 100%; /* Ensure full width */
  box-sizing: border-box; /* Include padding in width */
}

.intro, .features, .drone-solutions, .services {
  padding: 20px;
  text-align: center;
  background-color: #f9f9f9;
  color: #333;
  font-size: 1em;
  line-height: 1.6;
  width: 100%; /* Ensure full width */
  box-sizing: border-box; /* Include padding in width */
}

.features {
  background-color: #ffffff; /* Light blue background for features */
}

.feature-cards {
  display: flex;
  /* grid-template-columns: repeat(4, 1fr); 4 columns for feature items */
  gap: 25px;
  justify-items: center;
  justify-content: center;
}

.f-card {
  background-color: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 150px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.f-card h3 {
  margin-top: 25px;
  font-size: 1.5rem;
  font-weight: bold;
}

.f-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.drone-solutions {
  background-color: #e0f7fa; /* Light blue background for drone solutions */
}

.drone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns for drone solutions */
  gap: 20px;
  justify-items: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 columns for feature items */
  gap: 20px;
  justify-items: center;
}

.card {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 200px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card h3 {
  margin-top: 25px;
  font-size: 2rem;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.services {
  padding: 50px 20px;
  text-align: center;
  width: 100%; /* Ensure full width */
  box-sizing: border-box; /* Include padding in width */
}

.services h2 {
  font-size: 2em;
  animation: fadeIn 1s ease-in-out;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 5px; /* Pehle gap 10px tha, ab 5px kar diya */
  row-gap: 20px; /* Row ka gap chheda nahi */
  justify-items: center;
}

.service-cards .card {
  width: 95%; /* Pehle 180px ya 190px tha, ab width flexible hogi */
}

.service-cards .card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.service-cards .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service-cards .card:hover img {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .hero {
    min-height: 50vh; /* Adjust height for smaller screens */
    margin-top: 18px; /* Remove margin-top to decrease gap */
    background-size: contain;
    background-position: center;
  }

  .intro {
    margin-top: -100px;
  }

  .intro, .features, .drone-solutions, .services {
    padding: 10px; /* Reduce padding for smaller screens */
  }

  .feature-cards, .drone-grid, .features-grid, .service-cards {
    grid-template-columns: repeat(2, 1fr); /* Adjust for smaller screens */
  }

  .feature-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /*4 columns for feature items */
    gap: 5px;
    justify-items: center;
  }
}

.logo {
  width: 100px;
  transition: transform 0.3s ease;
}

.drone-tile, .feature-item {
  width: 100%;
  max-width: 300px;
  margin: 10px auto;
}

.footer {
  color: #000;
  width: 100%; /* Ensure footer occupies full width */
}

.footer-top {
  background-color: #00ff00;
  padding: 40px 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1;
  margin: 10px;
}

.footer-logo {
  width: 150px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.footer-section h3 {
  margin-bottom: 10px;
  font-size: 1.2em;
  color: #000;
}

.footer-section p, .footer-section input, .footer-section button {
  margin-bottom: 10px;
  font-size: 0.9em;
  color: #000;
}

.footer-section input {
  padding: 10px;
  border-radius: 20px;
  border: none;
  width: 80%;
  background-color: #fff;
  color: #000;
  transition: box-shadow 0.3s ease;
}

.footer-section input:focus {
  box-shadow: 0 0 5px #00ff00;
}

.footer-section button {
  padding: 10px 20px;
  border-radius: 20px;
  border: none;
  background-color: #000;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.footer-section button:hover {
  background-color: #fff;
  color: #00ff00;
  transform: scale(1.1);
}

.footer-bottom {
  background-color: #000;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 0.8em;
  width: 100%; /* Ensure footer occupies full width */
  box-sizing: border-box; /* Include padding in width */
}

.footer-bottom ul {
  display: flex;
  list-style: none;
  padding: 0;
}

.footer-bottom ul li {
  margin-right: 15px;
}

.footer-bottom ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom ul li a:hover {
  color: #00ff00;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slide-in {
  opacity: 0;
  transform: translateX(-100%);
  transition: transform 1s ease-out, opacity 1s ease-out;
}

.slide-in.visible {
  opacity: 1;
  transform: translateX(0);
}

.drone-solutions h2, .drone-solutions h3 {
  margin-bottom: 20px;
  color: #00796b;
}

.drone-solutions p {
  max-width: 800px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.drone-icon {
  width: 150px;
  height: 150px;
  margin-bottom: 15px;
}

.drone-solutions ul {
  list-style-type: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}

.drone-solutions ul li {
  margin-bottom: 10px;
  font-weight: bold;
  color: #00796b;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: #00ff00;
  transition: height 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.feature-item:hover::before {
  height: 100%;
  background-color: rgba(0, 255, 0, 0.1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
}

.feature-item p {
  font-size: 1.2em;
  font-weight: bold;
  color: #00796b;
  z-index: 1;
  position: relative;
}