diff --git a/.DS_Store b/.DS_Store
index 2b26649..cbb8d59 100644
Binary files a/.DS_Store and b/.DS_Store differ
diff --git a/about.html b/about.html
index 20656c6..79bbcb0 100644
--- a/about.html
+++ b/about.html
@@ -3,29 +3,49 @@
+
About Us - CabRental
+
+
+
@@ -217,7 +305,8 @@
-
+
+
- Home
diff --git a/serv.css b/serv.css
index 77b5447..3a1a129 100644
--- a/serv.css
+++ b/serv.css
@@ -7,65 +7,131 @@ body {
display: flex;
flex-direction: column;
overflow-x: hidden;
+ background-color: #eeeff1;
}
main{
flex: 1;
}
-header {
- color: #000000;
- text-align: left;
-
- padding: 20px 0;
+ header {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 10px 20px;
+ background-color: #eeeff1;
+ box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
+ height: 70px;
}
-header h1 {
- margin: 0;
- font-size: 2rem;
+.theme-switch {
+ display: inline-block;
+ width: 60px;
+ height: 30px;
+ border-radius: 30px;
+ background: linear-gradient(49deg, #ffffff, #0644ff);
position: relative;
- left: 34px;
+ cursor: pointer;
+ transition: background 0.3s ease-in-out;
+ vertical-align: middle;
}
-nav {
- padding:0px 0;
- position: relative;
- left: 55px;
- top: -55px;
-
-
- }
-
- nav ul {
+.logo img {
+ height: 50px;
+ padding-left: 20px;
+ padding-top: 10px;
+}
+.CabRental_logo img{
+ padding-top: 20px;
+}
- list-style: none;
- margin:0;
- padding: 0;
+.navbar {
display: flex;
- justify-content: center;
-
- }
-
- nav ul li {
- margin: 0 20px;
+ gap: 20px;
+ padding-top: 5px;
+ list-style: none;
+ font-size: 30;
+}
- }
+.navbar li a {
+
+ text-decoration: none;
+ font-weight: 500;
+ color: #333;
+ padding: 10px 15px;
+ transition: 0.3s ease;
+}
- nav a:hover {
- background: rgb(231, 223, 223);
- padding-block:6px;
- padding-inline: 9px;
- border-radius: 2px;
- }
+.navbar li a:hover {
+ color: #007bff;
+}
- nav ul li a {
- color: #000000;
+.header-btn .sign-up {
+ padding: 20px;
+ padding: 10px 20px;
+ background-color: #007bff;
+ border-color: #007bff;
+ color: #fff;
text-decoration: none;
- font-size: 1rem;
- transition: color 0.3s;
- padding-block:6px;
- padding-inline: 9px;
- }
+ border-radius: 5px;
+}
+
+.header-btn .sign-up:hover {
+ background-color: red;
+ border-color: red;
+}
+/* Hide menu icon initially */
+#menu-icon {
+ display: none;
+}
+
+/* Responsive styles for mobile sidebar */
+@media (max-width: 600px) {
+ .navbar {
+ position: fixed;
+ top: 0;
+ left: -250px;
+ width: 250px;
+ height: 100%;
+ flex-direction: column;
+ align-items: start;
+ justify-content: flex-start;
+ padding: 20px;
+ transition: 0.3s;
+ z-index: 1000;
+ }
+
+ .navbar.active {
+ left: 0;
+ }
+
+ .navbar li {
+ width: 100%;
+ margin: 20px 0;
+ }
+
+ .navbar li a {
+ display: block;
+ width: 100%;
+ text-align: left;
+ padding: 10px 15px;
+ }
+
+ #menu-icon {
+ display: block;
+ font-size: 28px;
+ cursor: pointer;
+ position: absolute;
+ right: 20px;
+ }
+
+ .close-btn {
+ font-size: 28px;
+ cursor: pointer;
+ margin-left: auto;
+ margin-bottom: 20px;
+ }
+}
/* nav ul li a:hover {
color: #ff0000;
} */
diff --git a/serv.html b/serv.html
index 844758f..83e8c7a 100644
--- a/serv.html
+++ b/serv.html
@@ -15,17 +15,23 @@
-
+
+
+
+
@@ -116,6 +122,7 @@
Special Occasions
padding-bottom: 80px; /* Space for the footer */
}
+