From b89eaaaa0bc86fe9caad6a1d7ac2bfd1995088c0 Mon Sep 17 00:00:00 2001 From: Esha jha Date: Thu, 12 Feb 2026 20:38:31 +0530 Subject: [PATCH 1/3] fixed navbar of terms and service page --- terms-and-service.css | 170 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 169 insertions(+), 1 deletion(-) diff --git a/terms-and-service.css b/terms-and-service.css index d84a8f7f..25dad2c8 100644 --- a/terms-and-service.css +++ b/terms-and-service.css @@ -776,4 +776,172 @@ body { transform: translate(-50%, -50%) scale(1.8); background-color: #22c55e; /* Changes to AgriTech green on hover */ box-shadow: 0 0 20px #22c55e; -} \ No newline at end of file +}/* ================================ + NAVBAR ALIGNMENT FIX + ================================ */ + +.navbar { + width: 100%; + position: sticky; + top: 0; + z-index: 999; +} + +.navbar-content { + display: flex; + align-items: center; /* ✅ Vertical alignment */ + justify-content: space-between; + gap: 16px; + padding: 12px 24px; +} + +/* Brand (Logo / Site Name) */ +.navbar .brand { + display: flex; + align-items: center; +} + +/* Spacer should actually flex */ +.navbar-spacer { + flex: 1; +} + +/* Right side buttons */ +.nav-buttons { + display: flex; + align-items: center; /* ✅ Align buttons vertically */ + gap: 10px; /* ✅ Consistent spacing */ +} + +/* Buttons & links inside navbar */ +.nav-buttons .btn { + display: inline-flex; + align-items: center; + justify-content: center; + white-space: nowrap; +} + +/* Theme toggle alignment */ +.theme-toggle { + display: inline-flex; + align-items: center; + gap: 6px; +} + +/* Prevent wrapping on desktop */ +@media (min-width: 768px) { + .navbar-content { + flex-wrap: nowrap; + } +} +/* ============================ + NAVBAR SPACING & ALIGNMENT + ============================ */ + +.navbar { + padding: 12px 0; /* Vertical breathing space */ +} + +.navbar-content { + max-width: 1200px; /* Center + consistent width */ + margin: 0 auto; + padding: 0 24px; /* Left/right spacing */ + display: flex; + align-items: center; + gap: 24px; /* Space between brand & buttons */ +} + +/* Brand/logo spacing */ +.navbar .brand { + display: flex; + align-items: center; + gap: 10px; +} + +.navbar .logo { + font-size: 1.4rem; + letter-spacing: 0.5px; +} + +/* Spacer should actually push buttons right */ +.navbar-spacer { + flex: 1; +} + +/* Buttons container spacing */ +.nav-buttons { + display: flex; + align-items: center; + gap: 12px; /* Space between buttons */ +} + +/* Button consistency */ +.nav-buttons .btn { + padding: 8px 16px; + border-radius: 8px; + font-size: 0.9rem; + line-height: 1; + white-space: nowrap; +} + +/* Theme toggle tighter + aligned */ +.theme-toggle { + display: flex; + align-items: center; + gap: 6px; +} + +/* Mobile responsiveness */ +@media (max-width: 768px) { + .navbar-content { + padding: 0 16px; + gap: 12px; + } + + .nav-buttons { + gap: 8px; + } + + .navbar .logo { + font-size: 1.2rem; + } +} +/* ========================================= + EXTREME LEFT LOGO + EXTREME RIGHT BUTTONS + ========================================= */ + +.navbar-content { + max-width: 100% !important; /* Allow full width */ + width: 100%; + padding: 0 32px; /* Edge spacing */ + display: flex; + align-items: center; +} + +/* Force brand to extreme left */ +.navbar .brand { + margin-right: auto; /* Push everything else right */ +} + +/* Kill spacer impact just in case */ +.navbar-spacer { + display: none !important; +} + +/* Force buttons to extreme right */ +.nav-buttons { + margin-left: auto; + display: flex; + align-items: center; + gap: 12px; +} + +/* Optional polish */ +.navbar { + padding: 12px 0; +} + +.navbar .logo { + font-size: 1.4rem; + letter-spacing: 0.5px; +} From 6c7fd143ac996c171b84a5ce71ef2bfb15bb4188 Mon Sep 17 00:00:00 2001 From: Esha jha Date: Thu, 12 Feb 2026 20:47:38 +0530 Subject: [PATCH 2/3] fixed search feature of faq page --- faq.html | 115 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) diff --git a/faq.html b/faq.html index 1a8577a8..cbe927ec 100644 --- a/faq.html +++ b/faq.html @@ -16,6 +16,34 @@ rel="stylesheet" /> + @@ -110,6 +138,10 @@

Frequently Asked Questions

+
@@ -668,6 +700,89 @@

Smart Tools

} }); + + From 715b9a881a31431ae79214a74c193b3e23c07395 Mon Sep 17 00:00:00 2001 From: Esha jha Date: Thu, 12 Feb 2026 21:32:24 +0530 Subject: [PATCH 3/3] fixed language in scheme page --- scheme.html | 444 ++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 326 insertions(+), 118 deletions(-) diff --git a/scheme.html b/scheme.html index 120b14fe..7d36b74f 100644 --- a/scheme.html +++ b/scheme.html @@ -306,7 +306,63 @@ transform: translate(-50%, -50%) scale(1.8); background-color: #22c55e; /* AgriTech green */ box-shadow: 0 0 20px #22c55e; +}/* ===== Floating Language Button ===== */ +#langFloatBtn { + position: fixed; + bottom: 25px; + right: 25px; + width: 55px; + height: 55px; + border-radius: 50%; + background: linear-gradient(135deg, #2e7d32, #1b5e20); + color: #fff; + font-size: 22px; + font-weight: 900; + display: flex; + align-items: center; + justify-content: center; + cursor: pointer; + box-shadow: 0 12px 30px rgba(0,0,0,0.35); + z-index: 9999; +} + +#langPanel { + position: fixed; + bottom: 95px; + right: 25px; + background: var(--card); + box-shadow: var(--shadow); + border-radius: 18px; + padding: 16px; + display: none; + flex-direction: column; + gap: 10px; + z-index: 9999; + min-width: 160px; +} + +#langPanel h4 { + margin-bottom: 8px; + font-size: 15px; + text-align: center; + color: var(--primary); +} + +#langPanel button { + border: none; + border-radius: 20px; + padding: 8px 12px; + font-weight: 700; + cursor: pointer; + background: #e8f5e9; + color: #1b5e20; +} + +[data-theme="dark"] #langPanel button { + background: #1e293b; + color: #4caf50; } + @@ -315,30 +371,61 @@
-
-

Check Your Scheme Eligibility

- - - - - - - - -
+
+ +

+ Check Your Scheme Eligibility +

+ + + + + + + + + + + +
@@ -351,131 +438,196 @@

Close
+ +
🌐
+ + +
+

Select Language

+ + +
+
+ + +