/* General Styles */
body {
  /* font-family: "Arial", sans-serif; */
  font-family: "Noto Sans Gujarati", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.8;
  color: #000000;
}

/* ==============================top bar================================================ */
.top-mail {
  text-decoration: none;
  color: white;
  font-size: 10px;
}
.top-icon {
  font-size: 11px;
}
@media (max-width: 360px) {
  .small-screen {
    flex-wrap: nowrap !important;
    gap: 10px; /* Add spacing */
  }
  .top-mail {
    font-size: 0.6rem;
    text-decoration: none;
    color: white;
  }
  .icon-small {
    font-size: 0.9rem !important;
  }
}
/* ========================== top line end=================================== */
/* General Styles */
/* Container */
.container {
  width: 96%;
  padding: 50px 0px;
  margin: 0 auto;
  max-width: 1400px;
  font-family: "Noto Sans Gujarati", sans-serif;
}

.right-section {
  flex: 2;
  background-color: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  /* height: 92vh; */
  /* overflow: scroll; */
}

/* Search Bar Container */
.search-bar-container {
  margin-bottom: 0px;
}

.search-bar {
  position: relative;
  margin-bottom: 15px;
  /* position: sticky; */
}

/* Search Form */
#searchForm {
  display: flex;
  position: relative;
  width: 100%;
}

.search-input {
  flex: 1;
  padding: 15px 25px;
  border: 2px solid #003FAB;
  border-radius: 50px;
  outline: none;
  font-size: 16px;
  color: #001f67;
  background-color: #f8f9fa;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding-right: 60px;
}

.search-input:focus {
  border-color: #5a69ca;
  box-shadow: 0 4px 15px rgba(90, 105, 202, 0.2);
}

.search-button {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  width: 50px;
  /* background: linear-gradient(45deg, #5a69ca, #3a4ab3); */
  border: none;
  border-radius: 50%;
  color: black;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-button:hover {
  background: linear-gradient(45deg, #3a4ab3, #2a3aa3);
  transform: scale(1.05);
}

.search-icon {
  font-size: 18px;
}

/* Search Suggestions */
.search-suggestions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  color: #666;
  font-size: 14px;
  margin-top: 11px;
  margin-bottom: -17px;
}

.suggestion-tag {
  background: #f0f2ff;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.suggestion-tag:hover {
  background: #e0e3ff;
  color: #3a4ab3;
}

/* Form Grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

/* Form Card */
.form-card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  max-width: 320px;
}
.form-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.form-card-actions {
  margin-top: auto;
  padding-top: 0;
}

.form-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Form Card Badge */
.form-card-badge {
  position: absolute;
  top: 15px;
  right: -30px;
  background: #ff4757;
  color: white;
  padding: 3px 15px;
  font-size: 12px;
  font-weight: bold;
  transform: rotate(45deg);
  transform-origin: center;
  width: 100px;
  text-align: center;
}

/* Form Card Header */
.form-card-header {
  display: flex;
  margin-bottom: 15px;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

/* Prize with Coin Icon */
.chispa-prize {
  font-size: 12px;
  font-weight: bold;
  color: white;
  background: linear-gradient(45deg, #ff9a44, #ff6b6b);
  padding: 3px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  margin: -5px 0 0 0;
}

.chispa-prize i {
  color: white;
  font-size: 12px;
}

/* Title */
.form-title {
  font-size: 16px;
  font-weight: 600;
  color: #001f67;
  margin: 0;
  flex: 1;
}

/* Description */
.form-description {
  font-size: 11px;
  color: #555;
  margin-bottom: 5px;
  line-height: 1.2;
}

/* Form Card Footer */
.form-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Download Button */
.btn-download {
  background: linear-gradient(45deg, #5a69ca, #3a4ab3);
  color: white;
  border: none;
  /* padding: 10px 20px; */
  font-size: 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  /* display: flex; */
  /* align-items: center; */
  gap: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 8px 20px;
  text-align: center;
}

.btn-download:hover {
  background: linear-gradient(45deg, #3a4ab3, #2a3aa3);
  box-shadow: 0 5px 15px rgba(90, 105, 202, 0.3);
}

.btn-download i {
  font-size: 16px;
}

/* Form Usage */
.form-usage {
  font-size: 12px;
  color: #777;
  display: flex;
  align-items: center;
  gap: 5px;
}

.form-usage i {
  color: #5a69ca;
}

/* No Results Message */
.no-results {
  text-align: center;
  padding: 40px 20px;
  background: #f8f9fa;
  border-radius: 15px;
  margin-top: 20px;
  display: none;
}

.no-results i {
  font-size: 50px;
  color: #adb5bd;
  margin-bottom: 20px;
}

.no-results h3 {
  color: #343a40;
  margin-bottom: 10px;
}

.no-results p {
  color: #6c757d;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .form-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .container {
    padding: 10px 0px 10px 0px;
  }

  .right-section {
    padding: 20px;
  }

  .form-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .search-suggestions {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .search-input {
    padding: 12px 20px;
    padding-right: 50px;
  }

  .search-button {
    width: 40px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 20px;
  }
}

/* =================================================== scroll our forms =================================================== */
/* General Styling */
.unique-forms-section {
  padding: 20px 15px 40px 15px;
  background-color: #f1eeff;
}

.containerMain {
  margin: 30px auto;
  max-width: 1200px;
}

.unique-forms-title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

/* Form Boxes */
.unique-forms-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  padding: 18px 20px;
  border-radius: 12px;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  color: #333;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  min-height: 65px;
  border-left: 5px solid;
}

/* Different border colors for each category */
.unique-forms-box:nth-child(1) {
  border-color: #5271ff;
} /* Blue */
.unique-forms-box:nth-child(2) {
  border-color: #ffb400;
} /* Yellow */
.unique-forms-box:nth-child(3) {
  border-color: #00c1d4;
} /* Cyan */
.unique-forms-box:nth-child(4) {
  border-color: #ff5c8a;
} /* Pink */
.unique-forms-box:nth-child(5) {
  border-color: #aa00ff;
} /* Purple */
.unique-forms-box:nth-child(6) {
  border-color: #45c90f;
} /* Green */
.unique-forms-box:nth-child(7) {
  border-color: #e53935;
} /* Red */
.unique-forms-box:nth-child(8) {
  border-color: #0084ff;
} /* Light Blue */

.unique-forms-box:hover {
  background: #001f67;
  color: #fff;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
}

/* Icons */
.unique-icon i {
  font-size: 24px;
  color: inherit;
}

/* Text */
.unique-forms-text {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  padding: 0 10px;
}

/* Arrow */
.unique-arrow i {
  font-size: 18px;
  color: inherit;
}

/* Responsive Grid */
@media (max-width: 768px) {
  .unique-forms-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .unique-forms-col {
    flex: 0 1 calc(50% - 12px);
  }
}

@media (max-width: 480px) {
  .unique-forms-col {
    flex: 0 1 100%;
  }
  .unique-forms-box {
    padding: 14px;
    font-size: 14px;
  }
  .unique-icon i {
    font-size: 20px;
  }
  .unique-arrow i {
    font-size: 16px;
  }
}
.section-subtitleForms {
  font-size: 1.1rem;
  color: #7f8c8d;
  max-width: 695px;
  margin: 0 auto 15px;
  padding: 0 20px;
  text-align: center;
  margin-top: -15px;
}
/* ===================== Footer section====================== */
/* Modern Footer Styling - Responsive */
.unique-footer {
  background: linear-gradient(135deg, #08192b 0%, #0d2342 100%);
  color: #fff;
  padding: 50px 0 0;
  font-family: "Noto Sans Gujarati", sans-serif;
  position: relative;
  overflow: hidden;
}

.unique-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #fc5900, #ff8c00);
}

.unique-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.unique-footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 1;
}

.unique-footer-section {
  margin-bottom: 30px;
}

.unique-footer-logo-section {
  display: flex;
  flex-direction: column;
}

.unique-footer-logo {
  max-width: 180px;
  margin-bottom: 20px;
  /* filter: brightness(0) invert(1); */
  transition: transform 0.3s ease;
}

.unique-footer-logo:hover {
  transform: scale(1.05);
}

.unique-footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.unique-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
}

.unique-footer-social a:hover {
  background: #fc5900;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(252, 89, 0, 0.3);
}

.unique-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.unique-footer-section h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 10px;
  font-weight: 600;
}

.unique-footer-section h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: #fc5900;
}

.unique-footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.unique-footer-section ul li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 15px;
}

.unique-footer-section ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #fc5900;
  font-size: 14px;
  opacity: 0;
  transition: all 0.3s ease;
}

.unique-footer-section ul li:hover::before {
  opacity: 1;
  left: -5px;
}

.unique-footer-section ul li a {
  color: #d1d1d1;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 15px;
  display: inline-block;
}

.unique-footer-section ul li a:hover {
  color: #fff;
  transform: translateX(5px);
}

.unique-footer-section.contact-info h3 {
  font-size: 16px;
  color: #fff;
  margin: 15px 0 5px;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.unique-footer-section.contact-info h3 i {
  margin-right: 10px;
  color: #fc5900;
  font-size: 18px;
}

.unique-footer-section.contact-info a {
  color: #fc5900;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px dashed rgba(252, 89, 0, 0.3);
}

.unique-footer-section.contact-info a:hover {
  color: #ff8c00;
  border-bottom-color: #ff8c00;
}

.unique-footer-credits {
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 30px;
}

.unique-footer-credits p {
  margin: 0;
  position: relative;
}

.unique-footer-credits a {
  color: #fc5900;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
}

.unique-footer-credits a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #fc5900;
  transition: width 0.3s ease;
}

.unique-footer-credits a:hover::after {
  width: 100%;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .unique-footer-content {
    gap: 30px;
  }

  .unique-footer-links {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .unique-footer {
    padding: 40px 0 0;
  }

  .unique-footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .unique-footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .unique-footer-section {
    margin-bottom: 25px;
  }

  .unique-footer-credits {
    flex-direction: row;
    gap: 20px;
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .unique-footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .unique-footer-credits {
    flex-direction: column;
    gap: 10px;
  }

  .unique-footer-section h4 {
    font-size: 17px;
  }

  .unique-footer-section ul li a {
    font-size: 14px;
  }
}
/* Main Section */
.main-section {
  font-family: "Noto Sans Gujarati", sans-serif;
  background-color: white;
  padding: 40px 20px;
  text-align: center;
}

.main-title {
  font-size: 2rem;
  margin-bottom: 20px;
}

.steps-container {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.step-card {
  background-color: #fff;
  /* border-radius: 10px; */
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
  padding: 20px 7px;
  text-align: center;
  flex: 1;
  max-width: 335px;
}

.step-icon {
  font-size: 40px;
  color: #001f67;
  margin-bottom: 15px;
}

.step-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.step-description {
  font-size: 0.9rem;
  color: #555;
}

/* Responsive for Tablets (768px) */
@media (max-width: 768px) {
  .steps-container {
    flex-direction: column;
    align-items: center;
  }

  .step-card {
    max-width: 80%;
  }

  .main-title {
    font-size: 1.8rem;
  }
}

/* Responsive for Mobile (360px) */
@media (max-width: 360px) {
  .main-section {
    padding: 30px 10px;
  }

  .main-title {
    font-size: 1.5rem;
  }

  .step-card {
    max-width: 100%;
    padding: 15px;
  }

  .step-icon {
    font-size: 30px;
  }

  .step-title {
    font-size: 1rem;
  }

  .step-description {
    font-size: 0.8rem;
  }
}

/* ===================================================notification section */
/* Flash Message Styling */
/* Flash Message Styling */
.alert {
  position: fixed;
  top: 20px;
  right: -400px; /* Start off-screen */
  padding: 15px 20px;
  border-radius: 5px;
  font-size: 16px;
  font-family: "Noto Sans Gujarati", sans-serif;
  min-width: 280px;
  max-width: 450px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.5s ease-in-out;
  z-index: 9999;
}

/* Icon Styling */
.alert i {
  margin-right: 10px;
  font-size: 18px;
}

/* Government Theme Colors */
.alert-success {
  background-color: #e6f4ea; /* Soft green background */
  color: #006400; /* Dark green */
  border-left: 4px solid #006400;
}

.alert-danger {
  background-color: #fdecea; /* Soft red background */
  color: #8b0000; /* Dark red */
  border-left: 4px solid #8b0000;
}

.alert-info {
  background-color: #e8f0fe; /* Soft blue background */
  color: #1e4e8c; /* Dark blue */
  border-left: 4px solid #1e4e8c;
}

/* Bounce-in Effect */
.alert.show {
  right: 20px;
  opacity: 1;
  transform: translateX(0);
  animation: bounceIn 0.5s ease-out;
}

/* Subtle Bounce Effect */
@keyframes bounceIn {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  80% {
    transform: translateX(-5px);
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Exit Animation with Fade & Slide */
.alert.hide {
  animation: fadeOut 1s forwards;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

/* Dismiss Button */
.alert .btn-close {
  background: none;
  border: none;
  font-size: 16px;
  color: black;
  cursor: pointer;
  margin-left: auto;
}

/* card section ===============================================================================*/

.main-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 30px;
  max-width: 1300px;
  margin: auto;
}
.card {
  background: white;
  padding: 25px;
  /* border-radius: 12px; */
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease-in-out;
}
.card:hover {
  transform: translateY(-5px);
}
.card h3 {
  color: #0056b3;
  margin-bottom: 10px;
}
.primary-button {
  background-color: #0056b3;
  color: white;
  border: none;
  padding: 12px 18px;
  /* border-radius: 6px; */
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}
.primary-button:hover {
  background-color: #003d80;
}
.layout-wrapper {
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 30px;
}
.left-side {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.top-card img {
  width: 100%;
  height: auto;
  /* border-radius: 12px; */
}
.right-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.right-side img {
  width: 100%;
  height: auto;
  /* border-radius: 12px; */
}
.environment-cards {
  display: flex;
  gap: 20px;
}
.environment-cards .card {
  flex: 1;
}
@media (max-width: 768px) {
  .layout-wrapper {
    grid-template-columns: 1fr;
  }
  .environment-cards {
    flex-direction: column;
  }
}

/* scrolling bar section =============================================================================== */
/* Base Styles */
:root {
  --primary-color: #5271ff;
  --primary-light: #e8ebff;
  --secondary-color: #4caf50;
  --accent-color: #ff6b6b;
  --text-dark: #333;
  --text-medium: #555;
  --text-light: #777;
  --bg-color: #f8f9ff;
  --card-shadow: 0 10px 30px rgba(82, 113, 255, 0.1);
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-color);
  margin: 0;
  padding: 0;
}

/* Header with Wave Design */
.header-wave {
  margin-bottom: -5px;
}

.footer-wave {
  margin-top: -5px;
}

/* Centered Heading */
.latest-news-container {
  background: linear-gradient(180deg, #f1eeff 0%, #f8f9ff 100%);
  padding: 0;
  position: relative;
}

.news-heading {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 auto;
  padding: 20px 0;
  max-width: 800px;
}

.highlight-text {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.highlight-text::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

/* Main Container */
.scrolling-bar-container {
  display: flex;
  max-width: 1200px;
  margin: 20px auto 0;
  padding: 0 20px 40px;
  gap: 30px;
}

/* Left Static Section - Welcome Card */
.scrolling-bar-left {
  flex: 1;
}

.welcome-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: var(--card-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.welcome-card:hover {
  transform: translateY(-5px);
}

.welcome-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.welcome-icon {
  font-size: 2rem;
  margin-right: 15px;
}

.welcome-card h2 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--text-dark);
  font-weight: 700;
}

.welcome-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-medium);
  margin: 20px 0 30px;
}

.cta-button {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
  margin-top: auto;
  box-shadow: 0 4px 15px rgba(82, 113, 255, 0.3);
}

.cta-button:hover {
  background: #3a5bff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(82, 113, 255, 0.4);
}

/* Right Auto-Scrolling Section */
.scrolling-bar-right {
  width: 500px;
  height: 350px;
  overflow: hidden;
  position: relative;
  background: white;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  padding: 0;
}

.announcement-header {
  display: flex;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
  background: var(--primary-light);
  border-radius: 12px 12px 0 0;
}

.announcement-icon {
  font-size: 1.5rem;
  margin-right: 10px;
  color: var(--primary-color);
}

.announcement-header h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text-dark);
  font-weight: 700;
}

/* Scrolling Content */
.scrolling-bar-content {
  position: absolute;
  width: 100%;
  animation: scrollingBarUp 40s linear infinite;
}

@keyframes scrollingBarUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

/* News Item Styling */
.scrolling-bar-item {
  padding: 18px 20px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  color: var(--text-dark);
  background: white;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.scrolling-bar-item:hover {
  background: #fafaff;
}

.scrolling-bar-item.highlight-item {
  background: #fff9e6;
}

.scrolling-bar-item.highlight-item:hover {
  background: #fff5d9;
}

.item-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  margin-right: 12px;
  text-transform: uppercase;
  background: var(--primary-light);
  color: var(--primary-color);
}

.scrolling-bar-item.highlight-item .item-badge {
  background: #ffe082;
  color: #e65100;
}

.scrolling-bar-item:nth-child(2) .item-badge {
  background: #ffebee;
  color: #f44336;
}

.scrolling-bar-item:nth-child(3) .item-badge {
  background: #e8f5e9;
  color: var(--secondary-color);
}

.scrolling-bar-item:nth-child(4) .item-badge {
  background: #e3f2fd;
  color: #1976d2;
}

/* Clickable News Links */
.scrolling-bar-item a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  display: flex;
  align-items: center;
  flex: 1;
}

.item-icon {
  font-size: 1.2rem;
  margin-right: 12px;
  color: var(--primary-color);
}

.item-text {
  flex: 1;
}

.scrolling-bar-item:hover a {
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .scrolling-bar-container {
    flex-direction: column;
    gap: 20px;
  }

  .scrolling-bar-right {
    width: 100%;
    height: 300px;
  }
}

@media (max-width: 768px) {
  .news-heading {
    font-size: 1.8rem;
    padding: 20px 15px;
  }

  .scrolling-bar-container {
    padding: 0 15px 30px;
  }

  .welcome-card h2 {
    font-size: 1.3rem;
  }

  .welcome-card p {
    font-size: 1rem;
  }

  .scrolling-bar-item {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .news-heading {
    font-size: 1.5rem;
  }

  .welcome-card {
    padding: 20px;
  }

  .announcement-header h3 {
    font-size: 1.1rem;
  }

  .item-text {
    font-size: 0.9rem;
  }

  .item-icon {
    font-size: 1rem;
    margin-right: 8px;
  }

  .item-badge {
    margin-right: 8px;
  }
}

/* ==============================    #FC5900      eroorr */
/* Error message styling */
label.error {
  color: red; /* Red color for error messages */
  font-size: 12px; /* Smaller font size for error messages */
  margin-top: 5px; /* Space between the input field and the error message */
  display: block; /* Ensure the error message appears on a new line */
}

/* Optional: Add a red asterisk for required fields */
.required {
  color: red;
}

/* GLober Coins Width */

.globel-coins-Forms {
  font-size: 16px;
  color: #fc5900;
  padding-right: 5px;
}
.globel-Text-Forms {
  font-size: 20px;
  font-weight: bolder;
}

/* Simple Testimonials Section */
.simple-testimonials {
  padding: 40px 0;
  background: #f8f9fa;
}

.section-title {
  font-size: 1.9rem;
  color: #2c3e50;
  /* margin-bottom: 1rem; */
  font-weight: 600;
}

.section-subtitle {
  font-size: 1rem;
  color: #7f8c8d;
  max-width: 600px;
  margin: 0px auto -30px auto;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  width: 95%;
  margin: auto;
}

.testimonial-box {
  background: white;
  border-radius: 10px;
  padding: 25px 25px 0px 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stars {
  color: #ffd700;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.stars .far {
  color: #ddd;
}

.testimonial-text {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  /* font-style: italic; */
  font-weight: 600;
}

.testimonial-author h4 {
  font-size: 1.1rem;
  color: #2c3e50;
  margin-bottom: 5px;
  font-weight: 600;
}

.testimonial-author p {
  color: #7f8c8d;
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-box {
    padding: 20px;
  }
}

/* Gujarat Forms CTA Section */
.gujarat-forms-cta {
  padding: 0px 0;
  background: #4f46e5; /* indigo-700 */
  position: relative;
  overflow: hidden;
}

.cta-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0.1;
}

.cta-circle {
  position: absolute;
  border-radius: 50%;
  background: white;
}

.cta-circle-1 {
  top: -160px;
  left: -160px;
  width: 320px;
  height: 320px;
}

.cta-circle-2 {
  top: 80px;
  right: 40px;
  width: 80px;
  height: 80px;
}

.cta-circle-3 {
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 160px;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 10;
}

.cta-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
  line-height: 1.2;
  margin-top: -70px;
}

.cta-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  padding: 12px 32px;
  border-radius: 9999px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.cta-primary {
  background: white;
  color: #4f46e5;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-primary:hover {
  background: #f3f4f6;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.cta-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px) scale(1.02);
}

.cta-icon {
  margin-left: 8px;
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.cta-secondary:hover .cta-icon {
  transform: translateX(4px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .gujarat-forms-cta {
    padding: 60px 0;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-description {
    font-size: 1rem;
  }

  .cta-circle-1 {
    width: 240px;
    height: 240px;
    top: -120px;
    left: -120px;
  }
}

@media (max-width: 480px) {
  .cta-title {
    font-size: 1.75rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-btn {
    width: 100%;
    max-width: 280px;
  }
}

/* How It Works Section */
.how-it-works {
  padding: 45px 0;
  background: rgb(255, 255, 255);
  text-align: center;
}

.section-title {
  font-size: 2.1rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #7f8c8d;
  max-width: 700px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.steps-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
  padding: 0 20px;
}

.step-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px -1px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
  position: relative;
  width: 100%;
  max-width: 350px;
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-icon-container {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.step-icon {
  font-size: 2rem;
  color: #4f46e5;
  background: #e0e7ff;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-number {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background: #4f46e5;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

.step-title {
  font-size: 1.4rem;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 600;
}

.step-description {
  color: #555;
  line-height: 1.6;
  padding: 0 10px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .steps-grid {
    gap: 25px;
  }

  .step-card {
    max-width: 300px;
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .how-it-works {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .steps-grid {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .step-card {
    max-width: 100%;
    width: 100%;
    padding: 30px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
    padding: 0 15px;
  }

  .section-subtitle {
    font-size: 1rem;
    padding: 0 15px;
  }

  .steps-grid {
    padding: 0 15px;
    gap: 25px;
  }

  .step-card {
    padding: 25px 20px;
  }

  .step-title {
    font-size: 1.3rem;
  }

  .step-description {
    font-size: 0.95rem;
  }
}
.stats-banner {
  width: 100%;
  height: 170px;
  margin: 0 auto;
  background: linear-gradient(
    135deg,
    rgb(10, 14, 26) 0%,
    rgb(26, 39, 68) 25%,
    rgb(45, 74, 135) 50%,
    rgb(74, 123, 200) 75%,
    rgb(107, 163, 245) 100%
  );
  /* border-radius: 20px; */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 30px 50px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(10, 14, 26, 0.3),
    0 10px 20px rgba(26, 39, 68, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Animated Background Elements */
.stats-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 50%
    ),
    linear-gradient(
      45deg,
      transparent 40%,
      rgba(255, 255, 255, 0.03) 50%,
      transparent 60%
    );
  animation: backgroundShift 8s ease-in-out infinite;
  z-index: 1;
}

/* Geometric Background Pattern */
.background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 25px 25px;
  animation: patternMove 15s linear infinite;
  z-index: 1;
}

/* Floating Geometric Shapes */
.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: floatShape 10s ease-in-out infinite;
}

.shape-1 {
  width: 40px;
  height: 40px;
  top: 15%;
  left: 8%;
  animation-delay: 0s;
}

.shape-2 {
  width: 25px;
  height: 25px;
  top: 70%;
  right: 12%;
  animation-delay: -3s;
}

.shape-3 {
  width: 35px;
  height: 35px;
  top: 25%;
  right: 25%;
  animation-delay: -6s;
}

.shape-4 {
  width: 20px;
  height: 20px;
  bottom: 20%;
  left: 15%;
  animation-delay: -9s;
}

/* Statistics Items */
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 3;
  position: relative;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.stat-item:hover {
  transform: translateY(-8px) scale(1.05);
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 8px;
  position: relative;
  animation: countUp 2s ease-out;
}

.stat-number::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  transition: width 0.3s ease;
}

.stat-item:hover .stat-number::after {
  width: 100%;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
}

/* Glowing effect on hover */
.stat-item::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.stat-item:hover::before {
  opacity: 1;
}

/* Particle Effects */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: particleFloat 8s linear infinite;
}

.particle:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}
.particle:nth-child(2) {
  left: 25%;
  animation-delay: -2s;
}
.particle:nth-child(3) {
  left: 40%;
  animation-delay: -4s;
}
.particle:nth-child(4) {
  left: 55%;
  animation-delay: -6s;
}
.particle:nth-child(5) {
  left: 70%;
  animation-delay: -1s;
}
.particle:nth-child(6) {
  left: 85%;
  animation-delay: -3s;
}

/* Animations */
@keyframes backgroundShift {
  0%,
  100% {
    background-position: 0% 0%, 100% 100%, 0% 0%;
    opacity: 0.8;
  }
  50% {
    background-position: 100% 100%, 0% 0%, 100% 100%;
    opacity: 1;
  }
}

@keyframes patternMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(25px, 25px);
  }
}

@keyframes floatShape {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 1;
  }
}

@keyframes countUp {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes particleFloat {
  0% {
    transform: translateY(300px) translateX(0px);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-20px) translateX(20px);
    opacity: 0;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .stats-banner {
    height: auto;
    min-height: 250px;
    padding: 30px 20px;
    flex-wrap: wrap;
    gap: 30px;
  }

  .stat-number {
    font-size: 36px;
  }

  .stat-label {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .stats-banner {
    padding: 25px 15px;
    gap: 25px;
    grid-template-columns: repeat(3, 1fr);
    display: grid;
    justify-items: center;
    min-height: 100px;
  }

  .stat-number {
    font-size: 20px !important
  }

  .stat-label {
    font-size: 11px !important
  }
}

/* Additional polish */
.stat-item {
  animation: slideInUp 1s ease-out;
}

.stat-item:nth-child(1) {
  animation-delay: 0.1s;
}
.stat-item:nth-child(2) {
  animation-delay: 0.2s;
}
.stat-item:nth-child(3) {
  animation-delay: 0.3s;
}
.stat-item:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes slideInUp {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Glassmorphism effect */
.stats-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  z-index: 1;
}
/* Modern Professional Search Bar */
.search-bar-container {
  position: sticky;
  top: 0;
  text-align: center;
  z-index: 100;
  background: white;
  display: flex;
  justify-content: center;
  width: 100%;
}

.search-bar {
  width: 100%;
  max-width: 800px;
  /* padding: 0 20px; */
}

.search-input-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.search-input {
  width: 100%;
  padding: 5px 55px 5px 20px;
  border: 4px solid #4579ff;
  border-radius: 30px;
  font-size: 16px;
  outline: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  background: #f8f9ff;
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(0, 31, 103, 0.05);
}

.search-input:focus {
  border-color: #001f67;
  background: white;
  box-shadow: 0 0 0 4px rgba(0, 31, 103, 0.1), 0 4px 12px rgba(0, 31, 103, 0.1);
}

.search-button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #0d6efd, #001aa0e0);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 31, 103, 0.2);
}

.search-button:hover {
  background: linear-gradient(135deg, #0033a0, #001f67);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 31, 103, 0.3);
}

.search-icon {
  color: white;
  font-size: 16px;
}

/* Enhanced Search Dropdown */
.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e0e7ff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 31, 103, 0.15),
    0 5px 10px rgba(0, 31, 103, 0.05);
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  visibility: hidden;
}

.search-dropdown.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.dropdown-item {
  padding: 12px 20px;
  cursor: pointer;
  border-bottom: 1px solid #f5f7ff;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: #f8faff;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-icon {
  min-width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #001f67, #0033a0);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .search-bar {
    padding: 0 0px;
  }

  .search-input {
    padding: 12px 50px 12px 16px;
    font-size: 15px;
  }

  .search-button {
    width: 38px;
    height: 38px;
    right: 6px;
  }
}

@media (max-width: 480px) {
  .search-bar-container {
    padding: 12px 0;
  }

  .search-input {
    padding: 10px 45px 10px 14px;
    font-size: 14px;
    border-radius: 24px;
  }

  .search-button {
    width: 34px;
    height: 34px;
  }
  #searchForm{
      display: block;
  position: relative;
  width: 100%;

  }
}
/* Enhanced Popular Suggestions */
.search-suggestions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 15px 0;
}

.HoverBtn {
  transition: all 0.3s ease !important;
}

.HoverBtn:hover {
  background: white !important;
  color: #001f67 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 31, 103, 0.2);
}

.HoverBtn:active {
  background: #001f67 !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 31, 103, 0.2);
}

/* Description */
.form-description {
  font-size: 11px;
  color: #555;
  line-height: 1.5;
  max-height: 35px;
  overflow-y: hidden;
}

/* Keep all your existing styles below */
.form-grid {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: #f8f9fa;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  align-content: start;
}

/* .form-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 180px;
} */

/* Enhanced No Results */
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: #666;
  background: white;
  border-radius: 12px;
  margin: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.no-results i {
  font-size: 48px;
  color: #001f67;
  margin-bottom: 20px;
}

.no-results h3 {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
}

.no-results p {
  font-size: 16px;
  color: #666;
}

/* Fade in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom Scrollbar */
.form-grid::-webkit-scrollbar {
  width: 8px;
}

.form-grid::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.form-grid::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.form-grid::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 15px;
  }

  .right-section {
    height: 80vh;
    width: 90%;
    margin-left: 6%;
  }

  .search-bar-container {
    padding: 15px;
  }
  .search-bar {
    margin: 0 0 0 15px;
  }
  .search-input-wrapper {
    width: 70vh;
  }

  .form-card {
    min-height: 180px;
  }
  .stats-overlay {
    visibility: hidden;
  }
}

@media (max-width: 480px) {
  .form-grid {
    grid-template-columns: 1fr;
    /* Enable vertical scrolling for mobile */
    overflow-y: auto;
    max-height: calc(100vh - 200px); /* Adjust based on your layout */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  }
  
  .search-bar-container {
    margin-bottom: 5px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    padding: 10px 0;
  }
  
  .search-input-wrapper {
    width: 95%;
    margin: 0 0 10px 5px;
  }
  
  .search-suggestions {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
  }
  
  .right-section {
    height: auto; /* Changed from 126vh to auto for better scrolling */
    min-height: 100vh;
    padding-bottom: 20px;
  }
  
  .stats-overlay {
    visibility: hidden;
  }
  
  /* Improved scrolling behavior for mobile */
  html, body {
    overflow-x: hidden;
    width: 100%;
  }
  
  /* Better touch scrolling */
  .form-grid::-webkit-scrollbar {
    width: 4px;
  }
  
  .form-grid::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
  }
  
  /* Prevent horizontal scrolling */
  .container {
    overflow-x: hidden;
  }
  
  /* Fix for iOS scrolling */
  .form-grid {
    -webkit-overflow-scrolling: touch;
  }
}

/* Updated Form Card Design to match the reference image */
.form-card {
  background: white;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 180px;
  border: 1px solid #e8e8e8;
}

.form-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Colorful top border */
.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    #1e3a8a 0%,
    #004ac2 25%,
    #125dfe 50%,
    #2962ff 75%,
    #3492fe 100%
  );
  border-radius: 16px 16px 0 0;
}

/* Card content container */
.form-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 12px;
}

/* Header section with title and price */
.form-card-header {
  display: flex;
  justify-content: space-between;
  /* align-items: flex-start; */
  gap: 12px;
  margin-bottom: 1px;
}

/* Statistics Overlay */
.stats-overlay {
  position: absolute;
  top: 30px;
  right: 10px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: statsFloat 4s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 45px 0 0;
  z-index: 3;
}

.stat-item {
  text-align: center;
  margin-bottom: 0;
}

.stat-number {
  color: #ffffff;
  font-size: 33px;
  font-weight: 800;
  display: block;
  animation: countUp 2.5s ease-out;
}

.stat-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 30px;
  font-weight: 500;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #3498db, #2980b9); /* Gradient button */
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  color: white;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  line-height: 28px;
  transition: transform 0.2s ease; /* Add hover effect */
}

.close-btn:hover {
  transform: scale(1.1);
}
/* Your custom CSS */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.66);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-card .popup-heading {
  z-index: 1;
}

.popup-card {
  background: #e8f0fe; /* Light bluish background */
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 40, 123, 0.25); /* Blue shadow */
  width: 90vh;
  max-width: 54%;
  height: 586px;
  max-height: 90vh;
  padding: 25px;
  text-align: center;
  transform: scale(0.7) translateY(-50px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.popup-overlay.active .popup-card {
  transform: scale(1) translateY(0);
}

.popup-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #001f67;
  background-size: 300% 100%;
  z-index: 0;
  /* animation: gradient-slide 3s ease infinite; */
}

@keyframes gradient-slide {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.popup-card .close-btn {
  position: absolute;
  top: 14px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  font-weight: 100;
  color: #e8e3fa52;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 1;
}

.popup-card .close-btn:hover {
  color: #333;
}

.popup-card .popup-header {
  margin-bottom: 20px;
}

.popup-card .welcome-icon {
  font-size: 40px;
  margin-bottom: 10px;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

.popup-card .welcome-title {
  font-size: 23px;
  color: #ffffff;
  margin-bottom: 31px;
  margin-top: -10px;
  font-weight: bold;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}

.popup-card .welcome-subtitle {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

.popup-card .forms-section {
  flex: 1;
  margin-bottom: 20px;
}

.popup-card .form-item {
  background: rgb(247, 247, 247);

  color: #00287b;
  padding: 10px 7px;
  border-radius: 10px;
  margin: 8px 10px;
  text-align: left;
  position: relative;
  animation: slideInLeft 0.5s ease forwards;
  opacity: 0;
  transform: translateX(-20px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05), 0 8px 20px rgba(0, 0, 0, 0.1),
    0 16px 32px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
}

.popup-card .form-item:nth-child(2) {
  animation-delay: 0.1s;
  border-left: 6px solid #0243dc;
  border-right: 6px solid #0243dc;
}
.popup-card .form-item:nth-child(3) {
  animation-delay: 0.2s;
  border-left: 6px solid #0243dc;
  border-right: 6px solid #0243dc;
}
.popup-card .form-item:nth-child(4) {
  animation-delay: 0.3s;
  border-left: 6px solid #0243dc;
  border-right: 6px solid #0243dc;
}
.popup-card .form-item:nth-child(5) {
  animation-delay: 0.4s;
  border-left: 6px solid #0243dc;
  border-right: 6px solid #0243dc;
}
.popup-card .form-item:nth-child(6) {
  animation-delay: 0.4s;
  border-left: 6px solid #0243dc;
  border-right: 6px solid #0243dc;
}
.popup-card .form-item:nth-child(7) {
  animation-delay: 0.4s;
  border-left: 6px solid #0243dc;
  border-right: 6px solid #0243dc;
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.popup-card .form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.popup-card .popup-form-title {
  font-weight: bold;
  font-size: 16px;
  font-family: "Noto Sans Gujarati", sans-serif;
}

.popup-card .form-badge {
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 9px;
  font-weight: bold;
}

.popup-card .live-badge {
  background: #ff6b6b;
  animation: pulse 2s ease-in-out infinite;
}

.popup-card .upcoming-badge {
  background: #ffa726;
}

.popup-card .beta-badge {
  background: #9c27b0;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.popup-form-description {
  font-size: 11px;
  opacity: 0.9;
  line-height: 1.3;
}

.popup-card .action-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.popup-card .whatsapp-btn {
  background: linear-gradient(135deg, #00e676 0%, #00c853 100%);
  color: white;
  padding: 9px 20px;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.popup-card .whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}
@media (max-width: 480px) {
  .popup-card .action-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .popup-card .close-btn {
    top: 15px;
    right: 10px;
  }
  .popup-card {
    width: 90%;
    max-width: 90vw;
    height: 71vh;
    max-height: 80vh;
    padding: 20px;
  }
  .popup-card .welcome-title {
    margin-top: -2px;
    font-size: 18px;
  }
}

/* Base Styles - Desktop/Tablet (Full Width) */
.category-section {
  width: 100%;
  margin: 25px 0;
  padding: 0 20px;
}

.category-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  max-width: 1200px;
  margin: 7 auto;
}

.category-label {
  font-weight: 600;
  color: #001f67;
  margin-right: 12px;
  font-size: 16px;
  letter-spacing: 0.3px;
}

.category-button {
  background: linear-gradient(135deg, #001f67, #00308a);
  color: white;
  border: none;
  padding: 2px 18px;
  font-size: 14px;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 31, 103, 0.1);
}

.category-button:hover {
  background: linear-gradient(135deg, #00308a, #0045b8);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 31, 103, 0.2);
}

.category-link {
  text-decoration: none;
}

/* Mobile Responsiveness (Centered) */
@media (max-width: 768px) {
  .category-section {
    margin: 30px 0;
    padding: 0 15px;
  }

  .category-container {
    justify-content: center;
    gap: 10px;
    padding: 0;
  }

  .category-label {
    text-align: center;
    width: 100%;
    margin: 0 0 12px 0;
    font-size: 15px;
  }

  .category-button {
    padding: 7px 16px;
    font-size: 13px;
    box-shadow: 0 1px 3px rgba(0, 31, 103, 0.1);
  }
}

@media (max-width: 480px) {
  .category-section {
    margin: 25px 0;
  }

  .category-container {
    gap: 8px;
  }

  .category-button {
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 20px;
  }

  .category-label {
    font-size: 14px;
    margin-bottom: 10px;
  }
}

/* For very small devices */
@media (max-width: 360px) {
  .category-section {
    margin: 20px 0;
  }

  .category-container {
    gap: 6px;
  }

  .category-button {
    padding: 5px 12px;
    font-size: 11px;
  }
}

/* seo Start */
.seo-visible {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Alternative method that keeps content in document flow but visually hidden */
.seo-visible-alt {
  opacity: 0;
  visibility: hidden;
  height: 0;
  width: 0;
  overflow: hidden;
  display: inline;
}








/* ------------------- last app downloaded ----------------*/
.install-btnDownloaded {
  background: transparent;
  color: #ff5722;
  font-size: 1rem;
  font-weight: 700;
  padding: 3px 18px 0px  18px ;
  border: 3px solid #ff5722;
  border-radius: 25px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.install-btnDownloaded:hover {
  background: #003FAB;
  color: white;
}

.install-btnDownloaded:active {
  transform: scale(0.98);
}

.install-btnDownloaded i {
  font-size: 1.1rem;
}
