:root {
  --primary-blue: #1f2a6d;
  --secondary-blue: #66b3c6;
  --light-bg: #f4f8ff;
  --accent: #3b82f6;
  --dark-text: #1e3a8a;
  --light-text: #555;
  --success: #10b981;
  --danger: #ef4444;
  --gradient: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--light-bg);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.bg-darkblue {
  background-color: var(--primary-blue) !important;
}

.bg-lightblue {
  background-color: var(--secondary-blue) !important;
}

/* Navbar Styles */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
}

.nav-link {
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-blue);
  transition: width 0.3s ease;
}

.nav-link:hover:after {
  width: 100%;
}

.dropdown-menu {
  border: none;
  box-shadow: var(--shadow);
  border-radius: 10px;
  overflow: hidden;
}

.dropdown-item {
  padding: 10px 15px;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background-color: var(--light-bg);
  padding-left: 20px;
}

/* Hero Section */
.hero-section {
  background: var(--gradient);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.hero-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,192C1248,192,1344,128,1392,96L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  background-position: bottom;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn-hero {
  background-color: white;
  color: var(--primary-blue);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-hero:hover {
  background-color: transparent;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Search Section */
.search-section {
  padding: 40px 0;
  background: white;
  margin-bottom: 50px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  position: relative;
  top: -30px;
  margin-left: 20px;
  margin-right: 20px;
}

.search-container {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.search-input {
  border-radius: 30px;
  padding: 15px 25px;
  border: 2px solid var(--secondary-blue);
  width: 100%;
  padding-right: 60px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.search-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(102, 179, 198, 0.25);
  border-color: var(--primary-blue);
}

.search-btn {
  position: absolute;
  right: 5px;
  top: 5px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary-blue);
  color: white;
  border: none;
  transition: all 0.3s ease;
}

.search-btn:hover {
  background: var(--primary-blue);
  transform: scale(1.05);
}

/* Modern Vibrant Stats Section */
.stats-section {
  padding: 100px 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(74, 108, 247, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.stats-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(19, 209, 171, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.stat-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 30px;
  padding: 45px 30px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* Vibrant Card Variants */
.card-blue {
  background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
}

.card-blue:hover {
  box-shadow: 0 20px 40px rgba(74, 108, 247, 0.15);
  border-color: rgba(74, 108, 247, 0.3);
}

.card-green {
  background: linear-gradient(135deg, #ffffff 0%, #f0fffb 100%);
}

.card-green:hover {
  box-shadow: 0 20px 40px rgba(19, 209, 171, 0.15);
  border-color: rgba(19, 209, 171, 0.3);
}

.card-red {
  background: linear-gradient(135deg, #ffffff 0%, #fff0f0 100%);
}

.card-red:hover {
  box-shadow: 0 20px 40px rgba(255, 107, 107, 0.15);
  border-color: rgba(255, 107, 107, 0.3);
}

.card-orange {
  background: linear-gradient(135deg, #ffffff 0%, #fffaf0 100%);
}

.card-orange:hover {
  box-shadow: 0 20px 40px rgba(255, 159, 67, 0.15);
  border-color: rgba(255, 159, 67, 0.3);
}

.stat-card:hover {
  transform: translateY(-15px) scale(1.02);
}

.stat-icon-wrapper {
  width: 75px;
  height: 75px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 30px;
  transition: all 0.4s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.stat-card:hover .stat-icon-wrapper {
  transform: rotate(15deg) scale(1.15);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

/* Icon Colors */
.scheme-color {
  background: linear-gradient(135deg, #4a6cf7 0%, #6e8efb 100%);
  color: #ffffff;
}

.category-color {
  background: linear-gradient(135deg, #13d1ab 0%, #29e8c1 100%);
  color: #ffffff;
}

.user-color {
  background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
  color: #ffffff;
}

.success-color {
  background: linear-gradient(135deg, #ff9f43 0%, #ffb86c 100%);
  color: #ffffff;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 15px;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}

.card-blue .stat-number {
  background-image: linear-gradient(45deg, #4a6cf7, #1e3c72);
}

.card-green .stat-number {
  background-image: linear-gradient(45deg, #13d1ab, #0b8a73);
}

.card-red .stat-number {
  background-image: linear-gradient(45deg, #ff6b6b, #c0392b);
}

.card-orange .stat-number {
  background-image: linear-gradient(45deg, #ff9f43, #d35400);
}

.stat-text {
  font-size: 1.2rem;
  color: #7a82a0;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.8;
}

/* Quick Actions */
.quick-actions {
  padding: 30px 0;
  margin-bottom: 50px;
}

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.action-btn {
  background: white;
  border: 2px solid var(--secondary-blue);
  color: var(--primary-blue);
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow);
}

.action-btn:hover {
  background: var(--gradient);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Section Title */
.section-title {
  text-align: center;
  margin-bottom: 40px;
  color: var(--dark-text);
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--secondary-blue);
  border-radius: 2px;
}

/* Modern Category Section */
.categories-section {
  padding: 100px 0;
  background: #f8faff;
  position: relative;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 0 15px;
}

.category-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 35px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.category-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(0, 60, 150, 0.08);
}

/* Category Icon Wrapper Styling */
.category-icon-wrapper {
  width: 65px;
  height: 65px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 25px;
  transition: all 0.4s ease;
}

.category-card:hover .category-icon-wrapper {
  transform: scale(1.1) rotate(-5deg);
}

/* Color-based Category Variants */
.cat-blue .category-icon-wrapper {
  background: rgba(74, 108, 247, 0.1);
  color: #4a6cf7;
}

.cat-blue:hover {
  border-color: rgba(74, 108, 247, 0.3);
}

.cat-blue .category-name {
  color: #4a6cf7;
}

.cat-red .category-icon-wrapper {
  background: rgba(255, 107, 107, 0.1);
  color: #ff6b6b;
}

.cat-red:hover {
  border-color: rgba(255, 107, 107, 0.3);
}

.cat-red .category-name {
  color: #ff6b6b;
}

.cat-indigo .category-icon-wrapper {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
}

.cat-indigo:hover {
  border-color: rgba(102, 126, 234, 0.3);
}

.cat-indigo .category-name {
  color: #667eea;
}

.cat-green .category-icon-wrapper {
  background: rgba(19, 209, 171, 0.1);
  color: #13d1ab;
}

.cat-green:hover {
  border-color: rgba(19, 209, 171, 0.3);
}

.cat-green .category-name {
  color: #13d1ab;
}

.cat-orange .category-icon-wrapper {
  background: rgba(255, 159, 67, 0.1);
  color: #ff9f43;
}

.cat-orange:hover {
  border-color: rgba(255, 159, 67, 0.3);
}

.cat-orange .category-name {
  color: #ff9f43;
}

.cat-pink .category-icon-wrapper {
  background: rgba(255, 159, 243, 0.1);
  color: #ff9ff3;
}

.cat-pink:hover {
  border-color: rgba(255, 159, 243, 0.3);
}

.cat-pink .category-name {
  color: #ff9ff3;
}

.cat-purple .category-icon-wrapper {
  background: rgba(162, 155, 254, 0.1);
  color: #a29bfe;
}

.cat-purple:hover {
  border-color: rgba(162, 155, 254, 0.3);
}

.cat-purple .category-name {
  color: #a29bfe;
}

.cat-yellow .category-icon-wrapper {
  background: rgba(253, 203, 110, 0.1);
  color: #fdcb6e;
}

.cat-yellow:hover {
  border-color: rgba(253, 203, 110, 0.3);
}

.cat-yellow .category-name {
  color: #fdcb6e;
}

.category-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.category-description {
  font-size: 1rem;
  color: #7a82a0;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.category-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.category-count {
  font-size: 0.9rem;
  font-weight: 700;
  color: #7a82a0;
  background: #f0f4ff;
  padding: 6px 15px;
  border-radius: 12px;
}

.explore-link {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateX(-10px);
  opacity: 0;
  transition: all 0.4s ease;
}

.category-card:hover .explore-link {
  transform: translateX(0);
  opacity: 1;
}

/* How It Works Section */
/* Modern How It Works Section */
.how-it-works {
  padding: 100px 0;
  background: #ffffff;
  position: relative;
}

.how-subtitle {
  color: #7a82a0;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 0.9rem;
}

.how-main-title {
  font-size: 2.8rem;
  color: #1a1a1a;
  line-height: 1.2;
}

.how-step-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.how-step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(19, 209, 171, 0.1);
  border-color: rgba(19, 209, 171, 0.2);
}

.how-icon-box {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #13d1ab;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.how-step-card:hover .how-icon-box {
  background: #13d1ab;
  color: #ffffff;
  transform: scale(1.1);
}

.how-step-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #13d1ab;
  margin-bottom: 15px;
}

.how-step-desc {
  color: #4a4a4a;
  font-size: 1.1rem;
  line-height: 1.6;
}

.how-step-desc strong {
  color: #1a1a1a;
  font-weight: 800;
}

/* Connectors */
.step-connector {
  font-size: 1.8rem;
  color: #e0e0e0;
  display: flex;
  justify-content: center;
  gap: 5px;
}

/* Dot Patterns */
.dot-pattern-left,
.dot-pattern-right {
  position: absolute;
  width: 180px;
  height: 180px;
  background-image: radial-gradient(#13d1ab 2px, transparent 2px);
  background-size: 20px 20px;
  opacity: 0.1;
  z-index: 1;
}

.dot-pattern-left {
  top: 40%;
  left: -20px;
}

.dot-pattern-right {
  bottom: -20px;
  right: -20px;
}

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

  .how-step-card {
    margin-bottom: 30px;
  }

  .how-main-title {
    font-size: 2.22rem;
  }
}

/* About Section */
.about-section {
  padding: 60px 0;
  background: var(--light-bg);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  color: var(--dark-text);
  margin-bottom: 20px;
  font-weight: 700;
}

.about-text p {
  color: var(--light-text);
  line-height: 1.6;
  margin-bottom: 20px;
}

.view-more {
  color: var(--primary-blue);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.view-more:hover {
  color: var(--secondary-blue);
  gap: 10px;
}

.about-image {
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.about-image:hover {
  transform: translateY(-5px);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* FAQ Section */
.faq-section {
  padding: 60px 0;
  background: white;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
  background: var(--light-bg);
  padding: 20px;
  font-weight: 600;
  color: var(--dark-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #e6f0ff;
}

.faq-question i {
  transition: all 0.3s ease;
}

.faq-item.active .faq-question {
  background: var(--gradient);
  color: white;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--light-text);
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 500px;
}

/* Testimonials */
.testimonials-section {
  padding: 60px 0;
  background: var(--light-bg);
}

.testimonial-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--shadow);
  margin: 15px;
  transition: all 0.3s ease;
}

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

.testimonial-content {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--light-text);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

.author-info h4 {
  margin: 0;
  color: var(--dark-text);
  font-size: 1.1rem;
}

.author-info p {
  margin: 0;
  color: var(--light-text);
  font-size: 0.9rem;
}

/* News & Updates */
.news-section {
  padding: 60px 0;
  background: white;
}

.news-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
}

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

.news-image {
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-content {
  padding: 20px;
}

.news-date {
  color: var(--secondary-blue);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.news-title {
  color: var(--dark-text);
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.news-excerpt {
  color: var(--light-text);
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.read-more {
  color: var(--primary-blue);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.read-more:hover {
  gap: 10px;
  color: var(--secondary-blue);
}

/* Footer */
footer {
  background: var(--primary-blue);
  color: white;
  padding: 50px 0 20px;
  margin-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column h3 {
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--secondary-blue);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

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

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--secondary-blue);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* New Features Styles */

/* Quick Actions Bar */
.quick-actions {
  background: white;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 30px;
  background: var(--light-bg);
  color: var(--dark-text);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
}

.action-btn:hover {
  background: var(--primary-blue);
  color: white;
  transform: translateY(-2px);
}

/* Scheme Cards with Enhanced Features */
.schemes-section {
  padding: 40px 0;
  background: var(--light-bg);
}

.schemes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.scheme-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  height: 370px;
  width: 350px;
}

.scheme-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.scheme-card-header {
  padding: 20px;
  border-bottom: 1px solid #e0e8ff;
  position: relative;
}

.scheme-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 5px;
}

.scheme-card-ministry {
  font-size: 0.9rem;
  color: var(--secondary-blue);
  font-weight: 600;
}

.scheme-card-actions {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  gap: 10px;
}

.scheme-action-btn {
  background: none;
  border: none;
  color: var(--light-text);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.scheme-action-btn:hover {
  color: var(--primary-blue);
}

.scheme-action-btn.favorite.active {
  color: var(--danger);
}

.scheme-card-body {
  padding: 20px;
}

.scheme-card-description {
  color: var(--light-text);
  line-height: 1.6;
  margin-bottom: 15px;
}

.scheme-card-footer {
  height: 60px;
  padding: 15px 20px;
  background: var(--light-bg);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.scheme-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scheme-tag {
  background: var(--light-bg);
  color: var(--dark-text);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* View Details and Apply Buttons Container */
.scheme-buttons-container {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

.viewdta {
  background: var(--primary-blue);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  font-size: 0.9rem;
}

.viewdta:hover {
  background: var(--secondary-blue);
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}

.scheme-apply-btn {
  background: var(--primary-blue);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  font-size: 0.9rem;
}

.scheme-apply-btn:hover {
  background: var(--secondary-blue);
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.modal {
  background: white;
  border-radius: 15px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: all 0.3s ease;
  position: relative;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-header {
  padding: 20px;
  border-bottom: 1px solid #e0e8ff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--light-text);
  transition: all 0.3s ease;
}

.modal-close:hover {
  color: var(--danger);
}

.modal-body {
  padding: 20px;
}

/* Comparison Table Enhanced */
.comparison-container {
  position: relative;
}

.vs-circle {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 10px;
  box-shadow: 0 5px 15px rgba(31, 42, 109, 0.3);
  border: 3px solid white;
  position: relative;
  z-index: 2;
}

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e8ff;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 600px;
  /* Ensure table doesn't get too squished on mobile */
}

.comparison-table th {
  background: #f8fbff;
  color: var(--primary-blue);
  font-weight: 700;
  padding: 18px 20px;
  text-align: left;
  border-bottom: 2px solid #e0e8ff;
  position: sticky;
  top: 0;
  z-index: 1;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.comparison-table th.feature-col {
  width: 20%;
  background: #fff;
  border-right: 1px solid #e0e8ff;
}

.comparison-table th.scheme-col-1,
.comparison-table th.scheme-col-2 {
  width: 40%;
  text-align: center;
  font-size: 1.1rem;
}

.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #f0f4ff;
  color: var(--dark-text);
  vertical-align: middle;
  line-height: 1.5;
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--secondary-blue);
  background: #fff;
  border-right: 1px solid #f0f4ff;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background-color: #f8fbff;
}

.comparison-table tr:hover td:first-child {
  background-color: #fff;
}

/* Eligibility Finder Button Enahnced */
#eligibilityFinderBtn {
  background: var(--gradient);
  color: white;
  border: none;
  padding: 12px 25px;
  box-shadow: 0 4px 15px rgba(31, 42, 109, 0.2);
}

#eligibilityFinderBtn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(31, 42, 109, 0.3);
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Modal Styles */
.modal-content {
  border-radius: 15px;
  overflow: hidden;
  border: none;
}

.modal-header {
  background: var(--gradient);
  color: white;
  border-bottom: none;
}

.modal-footer {
  border-top: none;
}

/* Eligibility Finder Styles */
.eligibility-finder {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}

.progress-container {
  margin-bottom: 30px;
}

.progress {
  height: 8px;
  background-color: var(--light-bg);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 15px;
}

.progress-bar {
  height: 100%;
  background: var(--gradient);
  transition: width 0.3s ease;
}

.step-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.step-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--light-bg);
  border: 3px solid var(--light-bg);
  transition: all 0.3s ease;
}

.step-dot.active {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.btn-skip {
  background: none;
  border: none;
  color: var(--light-text);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-skip:hover {
  color: var(--primary-blue);
}

.btn-reset {
  background: none;
  border: none;
  color: var(--light-text);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-reset:hover {
  color: var(--danger);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .about-content {
    flex-direction: column;
  }

  .steps-container {
    flex-direction: column;
    gap: 40px;
  }

  .steps-container:before {
    display: none;
  }

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

  .action-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  /* Adjust scheme buttons for tablet */
  .scheme-buttons-container {
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 100px 0 60px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .search-section {
    margin-left: 10px;
    margin-right: 10px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }

  /* Stack buttons vertically on mobile */
  .scheme-buttons-container {
    flex-direction: column;
    gap: 8px;
  }

  .viewdta,
  .scheme-apply-btn {
    width: 100%;
  }
}