@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #f4f9fd;
  color: #333;
  line-height: 1.6;
}

/* Hero / Welcome Section */
/* Welcome Hero Section */
.welcome-hero {
  background: linear-gradient(to right, #eaf2fc, #f5f9ff);
  padding: 4rem 2rem;
  border-radius: 12px;
  max-width: 1100px;
  margin: 2rem auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.welcome-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-logo {
  width: 180px;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.hero-text {
  flex: 1;
  min-width: 280px;
}

#welcomeMessage {
  font-size: 1.2rem;
  font-weight: 600;
  color: #205295;
  margin-bottom: 0.5rem;
}

.hero-text h1 {
  font-size: 2.5rem;
  color: #1e3a8a;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero-btn {
  background-color: #205295;
  color: white;
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  display: inline-block;
  transition: all 0.3s ease-in-out;
}

.hero-btn:hover {
  background-color: #163f70;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 63, 112, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
  .welcome-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-btn {
    width: 100%;
    padding: 0.9rem;
  }

  .hero-logo {
    width: 140px;
    margin-bottom: 1rem;
  }
}


.floating-cta {
  position: fixed;
  bottom: 40px;
  right: 30px;
  background: rgba(28, 78, 128, 0.6); /* Semi-transparent */
  backdrop-filter: blur(100px); /* Blur behind the box */
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.3s, background-color 0.3s;
  z-index: 1000;
  cursor: grab;
  user-select: none;
  border: 1px solid rgba(255, 255, 255, 0.2); /* subtle border */
}


.floating-cta:hover {
  background-color: #153c61;
  transform: scale(1.03);
}

.cta-text {
  font-size: 0.9rem;
  line-height: 1.3;
}

.cta-text strong {
  font-size: 1rem;
}

.cta-icon {
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.floating-cta:hover .cta-icon {
  transform: translateX(5px);
}



/* Description Text */
.description {
  max-width: 1050px;
  margin: 2rem auto;
  font-size: 1.1rem;
  color: #444;
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Gallery Section */
.dgp-gallery-section {
  padding: 4rem 1rem;
  background: #eef6ff;
  border-top: 3px solid #1c4e80;
  border-bottom: 3px solid #1c4e80;
}

.gallery-title {
  text-align: center;
  color: #1c4e80;
  font-size: 2.4rem;
  margin-bottom: 3rem;
  font-weight: 700;
}

.gallery-showcase {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.gallery-card {
  width: 320px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.gallery-card:hover {
  transform: scale(1.03);
}

.gallery-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid #1c4e80;
}

.gallery-caption {
  padding: 1rem;
  text-align: center;
  background-color: #f9fcff;
}

.gallery-caption h3 {
  font-size: 1.2rem;
  color: #1c4e80;
  font-weight: 600;
}

.gallery-caption p {
  font-size: 0.95rem;
  color: #444;
}

/* Services Section */
h2 {
  text-align: center;
  margin: 2rem auto 1.5rem;
  color: #1c4e80;
  font-size: 1.8rem;
  font-weight: 600;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
}

/* 📦 Wrapper to center the search bar */
.search-wrapper {
    display: flex;
    justify-content:center;
    margin: 0px 30px 30px 30px;
  }
  
  /* 🔍 Search Box Styling */
  .search-box {
    width: 90%;
    max-width: 500px;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 8px;
    transition: 0.3s ease;
    background-color: #fff;
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  }
  
  .search-box:focus {
    outline: none;
    border-color: #2e8b57; /* Dark green to match rural-tech theme */
    box-shadow: 0 0 8px rgba(46, 139, 87, 0.2);
  }
  


.service-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.service-card h3 {
  color: #205295;
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
}

.service-card p {
  color: #555;
  margin-bottom: 1rem;
}

.action-btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 0.6rem 1.2rem;
  background-color: #1c4e80;
  color: white;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.action-btn:hover {
  background-color: #153c61;
}

/* Applied Services */
/* Applied Services */
.applied-services {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 1.5rem;
    background: #f8fbff;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
  }
  
  /* Applied Card */
  .applied-card {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    background-color: #ffffff;
    padding: 1rem 1.5rem;
    border-left: 4px solid #87aade;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    margin-bottom: 1rem;
    transition: all 0.2s ease-in-out;
  }
  
  .applied-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  }
  
  /* Titles and Labels */
  .applied-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: #2c3e50;
  }
  
  .applied-card p {
    margin: 0.2rem 0;
    font-size: 0.95rem;
    color: #333;
  }
  
  .applied-card strong {
    color: #2c3e50;
  }
  
  /* Status Styling */
  .status {
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    display: inline-block;
    margin-top: 0.3rem;
  }
  
  .status.pending {
    background-color: #fef3e0;
    color: #e67e22;
    border: 1px solid #e67e22;
  }
  
  .status.approved {
    background-color: #e8f7ee;
    color: #27ae60;
    border: 1px solid #27ae60;
  }
  
  .status.rejected {
    background-color: #fbeaea;
    color: #e74c3c;
    border: 1px solid #e74c3c;
  }
  
  
    

/* Footer */
footer {
  background: #1c4e80;
  color: white;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.95rem;
  margin-top: 3rem;
}
