header {
  position: fixed; /* Fixes the header to the top */
  top: 0;          /* Anchors it to the very top */
  left: 0;
  width: 100%;     /* Ensures it spans the full width */
  z-index: 999;    /* Keeps it on top of other elements */
  background-color: #ffffff; /* You can customize the color */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Optional: subtle shadow for depth */
}


body {
     padding-top: 200px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px; /* base font size */
  line-height: 1.6;
  color: #333333; /* dark gray text */
  background-color: #f9f9f9; /* very light gray background */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 1px ;
}




body {
  opacity: 0;
  animation: fadeInWebsite 0.8s ease-in forwards;
}

@keyframes fadeInWebsite {
  to {
    opacity: 1;
  }
}

.hero-banner {
  background-image: url('../img/bg.jpg');
  background-size: contain;           /* Ensures full image is visible */
  background-position: center;
  background-repeat: no-repeat;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #fff;
}


.hero-content {
  animation: fadeInUp 1s ease forwards;
  font-size: 50px;
  margin-left: 100px;
}

.hero-content h1 {
    color: #161616;
  margin-bottom: 0px;
}

.hero-content p {
    color: #161616;
  margin-top: 0px;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.cta-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 2rem;
  background: #0d6efd;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cta-btn:hover {
  background: #0056b3;
}

.join-now-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #007bff; /* Blue background */
    color: #ffffff; /* White text */
    text-decoration: none; /* Remove underline */
    border-radius: 25px; /* Rounded corners */
    font-weight: bold;
    transition: background-color 0.3s ease;
    font-size: 30px;
  }

  .join-now-btn:hover {
    background-color: #0056b3; /* Darker blue on hover */
  }


/* Section styling */
.live-projects-section {
  background-color: #ffffff;
  padding: 4rem 1rem;
  color: #333;
}

.live-projects-section .container {
  max-width: 100%;
  margin: 0 auto;
  margin-left: 100px;
  text-align: left;
}

/* Section title */
.section-title {
  margin-bottom: 2rem;
  color: #222;
  position: relative;
  display: inline-block;
  margin-top:0px;
  margin-left: 100px;
}
.section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #0d6efd;
  margin: 8px auto 0;
  border-radius: 2px;
}

/* Projects grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Make the project cards bigger */
.project-card {
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  padding: 2rem; /* increased padding */
}

.project-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  height: 250px;
  object-fit: cover;
}

.project-card h3 {
  margin-top: 1.5rem;
  font-size: 1.8rem; /* larger heading */
  color: #222;
}

.project-card p {
  font-size: 1.2rem; /* larger text */
  color: #555;
}

.project-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 1.1rem; /* bigger link text */
  color: #0d6efd;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.projects-grid {
  gap: 2.5rem; /* bigger gap between cards */
}

/* Responsive adjustments to avoid overflow on small screens */
@media (max-width: 576px) {
  .project-card {
    padding: 1.5rem;
  }
  .project-card h3 {
    font-size: 1.4rem;
  }
  .project-card p {
    font-size: 1rem;
  }
}

/* Animations */
.animate {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s forwards;
}
.animate.delay-1 {
  animation-delay: 0.3s;
}
.animate.delay-2 {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 576px) {
  .section-title {
    font-size: 1.6rem;
  }
  .project-card h3 {
    font-size: 1.2rem;
  }
}


/* Responsive adjustments for Live Projects Section */
@media (max-width: 768px) {
  .live-projects-section {
    padding: 1rem 0.5rem; /* smaller padding */
  }

  .live-projects-section .container {
    margin: 0 auto;
   
  }

  .section-title {
    font-size: 1.6rem; /* smaller font */
    margin-left: 15px; /* remove margin */
  }
  
  .partners {
      padding:50px 60px 50px 20px;
  }

  .section-title::after {
    margin: 6px auto 0;
  }

  /* Horizontal slider for smaller screens */
  .projects-grid {
    display: flex;
    overflow-x: auto;
    gap: 0.5rem; /* smaller gap */
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem; /* smaller bottom padding */
  }

  .project-card {
    max-width: 60%; /* wider for small screens */
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: 1rem; /* smaller padding */
  }

  /* Hide scrollbar for cleaner look */
  .projects-grid::-webkit-scrollbar {
    display: none;
  }

  .projects-grid {
    -ms-overflow-style: none;  /* IE 10+ */
    scrollbar-width: none;  /* Firefox */
  }

  /* Project card text adjustments */
  .project-card h3 {
    font-size: 1.2rem; /* smaller heading */
  }

  .project-card p {
    font-size: 0.9rem; /* smaller text */
  }
  .project-card img {
  width: 20%;
  height: auto;
  border-radius: 6px;
  object-fit: cover; 
}


}

.partners {
  padding: 50px 60px;
  background-color: #f9f9f9;
  text-align: left;
   font-size: 3rem;
  margin-bottom: 40px;
  color: #333;/* Align section title to the left */
}



.partners-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slider-track {
  display: flex;
  width: calc(260px * 20); /* 10 logos repeated twice = 20 */
  animation: scroll 40s linear infinite;
}

.partner-logo {
  flex: 0 0 auto;
  width: 240px;
  height: 120px; /* Increased height */
  margin: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  width: 200px;
  height: 100px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.partner-logo img:hover {
  filter: grayscale(0%);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}



.upcoming-projects {
  padding: 60px 20px;
  background-color: #f4f4f4;
  text-align: left; /* Aligns all inner text left by default */
}

.upcoming-projects {
  font-size: 3rem;
  margin-bottom: 40px;
  color: #222;
  padding-left: 0;
}


.project-slider {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
}

.project-slide {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: opacity 1s ease-in-out;
}

.project-slide.active {
  display: flex;
}

.project-slide img {
  width: 100%;
  max-width: 500px;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

.project-slide h3 {
  font-size: 1.6rem;
  color: #444;
  margin: 10px 0;
}

.project-slide p {
  font-size: 1rem;
  color: #666;
  max-width: 500px;
}










.services-section {
  padding: 4rem 2rem;
  background-color: #f9f9f9;
  text-align: center;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.service-card h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: #333;
}




















/* Style for the project link button */
.btn-apply {
  display: inline-flex;
  align-items: center;
  background: #0d6efd;
  color: #fff;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 4px;
  position: relative;
}

.blink-apply {
  background: #ff0000;
  color: #fff;
  padding: 0 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  animation: blink 1s infinite;
}

/* Blinking animation */
@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

/* Popup form styling */
.popup-form {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.form-container {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  width: 300px;
  text-align: center;
}

.form-container input {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.5rem;
}

.form-container button {
  background: #0d6efd;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  margin-top: 0.5rem;
  cursor: pointer;
  border-radius: 4px;
}


@media (max-width: 768px) {
  .hero-banner {
    
    background-position: center center;
    background-size: contain;
    background-image: url('../img/bg2.jpg');
    height: auto;
    min-height: 60vh;
    padding: 40px 20px;
  }

  .hero-content {
    font-size: 24px; /* Smaller font size */
    margin-left: 20px; /* Reduced left margin */
    text-align: center; /* Center align text for better view */
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .join-now-btn {
    padding: 8px 16px;
    font-size: 18px;
  }
}

