diff --git a/about.html b/about.html
index e76e814..d5fecc0 100644
--- a/about.html
+++ b/about.html
@@ -215,7 +215,7 @@
Ticket Marketplace
diff --git a/index.css b/index.css
index 9d6549f..daeb85b 100644
--- a/index.css
+++ b/index.css
@@ -283,12 +283,39 @@ p {
text-decoration: none;
margin-right: 20px;
font-weight: 600;
+ position: relative; /* Needed for the underline to position correctly */
}
+/* Hover Effect */
.navbar a:hover {
- text-decoration: underline;
+ color: #ffd700; /* Change text color on hover */
+ font-weight: bold; /* Optional: make hover link bold */
}
+/* Active Link Styles */
+.navbar a.active {
+ color: #ffd700;
+ font-weight: bold;
+}
+
+/* Underline effect for active link */
+.navbar a.active::after,
+.navbar a:hover::after {
+ content: "";
+ position: absolute;
+ left: 0;
+ right: 0;
+ bottom: -5px;
+ height: 2px;
+ background-color: #ffd700;
+ transform: scaleX(1);
+ transition: transform 0.3s ease;
+}
+
+/* Optional: Remove underline on hover if you want to keep it only for active */
+.navbar a:hover::after {
+ transform: scaleX(1); /* Keep underline visible on hover */
+}
.logo {
font-size: 1.5rem;
font-weight: bold;
@@ -749,4 +776,4 @@ button:hover {
.faq-heading {
font-size: 20px;
}
-}
+}
\ No newline at end of file
diff --git a/index.html b/index.html
index 5df76aa..6253242 100644
--- a/index.html
+++ b/index.html
@@ -517,7 +517,7 @@ What type of transportation do you prefer for your travels?